1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-27 04:54:15 +01:00

[d3d9] Use sfence before submitting command list

This commit is contained in:
Philip Rebohle 2025-02-24 23:59:37 +01:00
parent 6757b5a249
commit d4033e38e0

View File

@ -6086,6 +6086,9 @@ namespace dxvk {
if constexpr (Synchronize9On12)
m_submitStatus.result = VK_NOT_READY;
// Make writes to mapped buffers available
bit::sfence();
// Update signaled staging buffer counter and signal the fence
m_stagingMemorySignaled = m_stagingBuffer.getStatistics().allocatedTotal;