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:
parent
493b55b073
commit
7895272806
@ -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, ®ion);
|
stagingHandle.handle, bufferSlice.handle, 1, ®ion);
|
||||||
|
|
||||||
m_cmd->trackResource(stagingSlice.buffer());
|
m_cmd->trackResource(stagingSlice.buffer());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user