mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 07:24:12 +01:00
[dxvk] Fixed offset in buffer to image copy
This commit is contained in:
parent
82ffa88efd
commit
ec0ff35b96
@ -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…
Reference in New Issue
Block a user