mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 04:54:15 +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) {
|
||||
D3D10DeviceLock lock = LockContext();
|
||||
|
||||
// Make writes to mapped buffers available
|
||||
bit::sfence();
|
||||
|
||||
// End all queries that were left active by the app
|
||||
FinalizeQueries();
|
||||
|
||||
|
@ -1105,6 +1105,9 @@ namespace dxvk {
|
||||
if (!GetPendingCsChunks() && !hEvent)
|
||||
return;
|
||||
|
||||
// Make writes to mapped buffers available
|
||||
bit::sfence();
|
||||
|
||||
// Unbind unused resources
|
||||
ApplyDirtyNullBindings();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user