1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[dxvk] Use correct command buffer for buffer updates

Fixes a regression in SpellForce 3.
This commit is contained in:
Philip Rebohle 2019-07-16 23:47:33 +02:00
parent 493b55b073
commit 7895272806
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1910,7 +1910,7 @@ namespace dxvk {
region.dstOffset = bufferSlice.offset; region.dstOffset = bufferSlice.offset;
region.size = size; region.size = size;
m_cmd->cmdCopyBuffer(DxvkCmdBuffer::ExecBuffer, m_cmd->cmdCopyBuffer(cmdBuffer,
stagingHandle.handle, bufferSlice.handle, 1, &region); stagingHandle.handle, bufferSlice.handle, 1, &region);
m_cmd->trackResource(stagingSlice.buffer()); m_cmd->trackResource(stagingSlice.buffer());