mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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);
|
m_barriers.recordCommands(m_cmd);
|
||||||
|
|
||||||
VkBufferImageCopy copyRegion;
|
VkBufferImageCopy copyRegion;
|
||||||
copyRegion.bufferOffset = srcOffset;
|
copyRegion.bufferOffset = srcSlice.offset();
|
||||||
copyRegion.bufferRowLength = srcExtent.width;
|
copyRegion.bufferRowLength = srcExtent.width;
|
||||||
copyRegion.bufferImageHeight = srcExtent.height;
|
copyRegion.bufferImageHeight = srcExtent.height;
|
||||||
copyRegion.imageSubresource = dstSubresource;
|
copyRegion.imageSubresource = dstSubresource;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user