1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 10:24:10 +01:00

[d3d11] Increment transfer command counter when initializing UAV counter

Otherwise, we won't clear the counter before it is being used if there are
no other transfer commands recorded to the initializer command buffer.
This commit is contained in:
Philip Rebohle 2020-01-03 13:42:25 +01:00
parent 0343938c2e
commit 3db00a0f40

View File

@ -55,6 +55,7 @@ namespace dxvk {
return;
std::lock_guard<std::mutex> lock(m_mutex);
m_transferCommands += 1;
const uint32_t zero = 0;
m_context->updateBuffer(