layers: Update PV codegen for Windows warning
authorMike Schuchardt <mikes@lunarg.com>
Wed, 12 Jul 2017 16:10:01 +0000 (10:10 -0600)
committerMark Young <marky@lunarg.com>
Thu, 13 Jul 2017 17:01:16 +0000 (11:01 -0600)
commit638a65f0ef93afed2656eec44ae5109396fa2406
tree8f854e527d98802ad50e518b8fac436aae381a3a
parent7e90b4d60997446074136292d3660648bb876391
layers: Update PV codegen for Windows warning

Code gen declarations of allowed_structs in nested scopes could cause
warnings in Windows.  Modified codegen to append the type name to
allowed_structs (eg allowed_structs_VkGraphicsPipelineCreateInfo) to
avoid name collisions.

Change-Id: I40bd57ff34dcd1df01d3606c79dacbe06b00f464
scripts/parameter_validation_generator.py