Merge pull request #533 from birsoyo/bugfix/multidraw-indirect-call
Pass the full count of the indirectCommands to vkCmdDrawIndexedIndirect
This commit is contained in:
commit
cd8b82b3fa
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ public:
|
|||
|
||||
if (vulkanDevice->features.multiDrawIndirect)
|
||||
{
|
||||
vkCmdDrawIndexedIndirect(drawCmdBuffers[i], indirectCommandsBuffer.buffer, 0, indirectStats.drawCount, sizeof(VkDrawIndexedIndirectCommand));
|
||||
vkCmdDrawIndexedIndirect(drawCmdBuffers[i], indirectCommandsBuffer.buffer, 0, indirectCommands.size(), sizeof(VkDrawIndexedIndirectCommand));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue