mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Use sfence before submitting command list
This commit is contained in:
parent
6757b5a249
commit
d4033e38e0
1 changed files with 3 additions and 0 deletions
|
@ -6086,6 +6086,9 @@ namespace dxvk {
|
||||||
if constexpr (Synchronize9On12)
|
if constexpr (Synchronize9On12)
|
||||||
m_submitStatus.result = VK_NOT_READY;
|
m_submitStatus.result = VK_NOT_READY;
|
||||||
|
|
||||||
|
// Make writes to mapped buffers available
|
||||||
|
bit::sfence();
|
||||||
|
|
||||||
// Update signaled staging buffer counter and signal the fence
|
// Update signaled staging buffer counter and signal the fence
|
||||||
m_stagingMemorySignaled = m_stagingBuffer.getStatistics().allocatedTotal;
|
m_stagingMemorySignaled = m_stagingBuffer.getStatistics().allocatedTotal;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue