Commit 3db00a0f authored by Philip Rebohle's avatar Philip Rebohle

[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.
parent 0343938c
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment