From 78952728069d93cf801b674bbfb5800629d98093 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 16 Jul 2019 23:47:33 +0200 Subject: [PATCH] [dxvk] Use correct command buffer for buffer updates Fixes a regression in SpellForce 3. --- src/dxvk/dxvk_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index 6df6e3c30..cc72173d3 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -1910,7 +1910,7 @@ namespace dxvk { region.dstOffset = bufferSlice.offset; region.size = size; - m_cmd->cmdCopyBuffer(DxvkCmdBuffer::ExecBuffer, + m_cmd->cmdCopyBuffer(cmdBuffer, stagingHandle.handle, bufferSlice.handle, 1, ®ion); m_cmd->trackResource(stagingSlice.buffer());