mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Fixed offset in buffer to image copy
This commit is contained in:
parent
82ffa88efd
commit
ec0ff35b96
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ namespace dxvk {
|
|||
m_barriers.recordCommands(m_cmd);
|
||||
|
||||
VkBufferImageCopy copyRegion;
|
||||
copyRegion.bufferOffset = srcOffset;
|
||||
copyRegion.bufferOffset = srcSlice.offset();
|
||||
copyRegion.bufferRowLength = srcExtent.width;
|
||||
copyRegion.bufferImageHeight = srcExtent.height;
|
||||
copyRegion.imageSubresource = dstSubresource;
|
||||
|
|
Loading…
Add table
Reference in a new issue