layers: layer generate confused by Count parameter
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 23 Sep 2015 18:28:10 +0000 (12:28 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 24 Sep 2015 00:15:15 +0000 (18:15 -0600)
commit1f68b2cde08f1401c20c8507444a781dc96da461
tree467da8939e36a89048ffc6752ca91f33f9a0f71a
parent29a7a6fd15972d2005621add34cfdc6436643614
layers: layer generate confused by Count parameter

The generator was getting confused by the argument list of
vkCmdDrawIndexed(cmdBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance)
It saw instanceCount and then wanted to expand firstInstance.
I had to terminate it match search after one miss to stop it recognizing firstInstance as an array of Instance items.
vk-layer-generate.py