mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Fix descriptor buffer versioning when rebound multiple times per cmdbuf
* This affects static usage calculation as data could be overwritten
This commit is contained in:
@@ -335,6 +335,7 @@ void WrappedVulkan::VersionDescriptorBuffers(VkCommandBuffer cmd)
|
||||
|
||||
uint64_t neededBytes = 0;
|
||||
|
||||
offsets.clear();
|
||||
for(uint32_t i = 0; i < renderstate.descBufs.size(); i++)
|
||||
{
|
||||
offsets.push_back(neededBytes);
|
||||
|
||||
Reference in New Issue
Block a user