mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 13:54:16 +01:00
[d3d11] Use sfence before finishing or submitting command list
This commit is contained in:
parent
1c92cc5ffa
commit
6757b5a249
@ -163,6 +163,9 @@ namespace dxvk {
|
|||||||
ID3D11CommandList **ppCommandList) {
|
ID3D11CommandList **ppCommandList) {
|
||||||
D3D10DeviceLock lock = LockContext();
|
D3D10DeviceLock lock = LockContext();
|
||||||
|
|
||||||
|
// Make writes to mapped buffers available
|
||||||
|
bit::sfence();
|
||||||
|
|
||||||
// End all queries that were left active by the app
|
// End all queries that were left active by the app
|
||||||
FinalizeQueries();
|
FinalizeQueries();
|
||||||
|
|
||||||
|
@ -1105,6 +1105,9 @@ namespace dxvk {
|
|||||||
if (!GetPendingCsChunks() && !hEvent)
|
if (!GetPendingCsChunks() && !hEvent)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Make writes to mapped buffers available
|
||||||
|
bit::sfence();
|
||||||
|
|
||||||
// Unbind unused resources
|
// Unbind unused resources
|
||||||
ApplyDirtyNullBindings();
|
ApplyDirtyNullBindings();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user