mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-28 08:35:50 +00:00
Fix vulkan drawindirect - not incrementing arg pointer each draw
This commit is contained in:
@@ -471,6 +471,7 @@ bool WrappedVulkan::Serialise_vkCmdDrawIndirect(Serialiser *localSerialiser,
|
||||
{
|
||||
params = *((VkDrawIndirectCommand *)&argbuf[cmdOffs]);
|
||||
valid = true;
|
||||
cmdOffs += sizeof(VkDrawIndirectCommand);
|
||||
}
|
||||
|
||||
offs += strd;
|
||||
@@ -765,6 +766,7 @@ bool WrappedVulkan::Serialise_vkCmdDrawIndexedIndirect(Serialiser *localSerialis
|
||||
{
|
||||
params = *((VkDrawIndexedIndirectCommand *)&argbuf[cmdOffs]);
|
||||
valid = true;
|
||||
cmdOffs += sizeof(VkDrawIndexedIndirectCommand);
|
||||
}
|
||||
|
||||
offs += strd;
|
||||
|
||||
Reference in New Issue
Block a user