1
0
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:
Philip Rebohle 2018-01-18 19:09:21 +01:00
parent 82ffa88efd
commit ec0ff35b96
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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;