mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-30 11:21:01 +00:00
Fix buffer readback on vulkan not advancing source offset for copies
* This would affect anything that displayed more than 16MB of buffer data in the UI, as well as replay proxying with the remote server displaying more than 16MB of buffer data.
This commit is contained in:
@@ -1337,6 +1337,7 @@ void VulkanDebugManager::GetBufferData(ResourceId buff, uint64_t offset, uint64_
|
||||
RDCASSERT(pData != NULL);
|
||||
memcpy(&ret[dstoffset], pData, (size_t)chunkSize);
|
||||
|
||||
srcoffset += chunkSize;
|
||||
dstoffset += (size_t)chunkSize;
|
||||
sizeRemaining -= chunkSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user