aboutsummaryrefslogtreecommitdiff
path: root/common/vulkan_wrapper.cpp
diff options
context:
space:
mode:
authorMike Schuchardt <mikes@lunarg.com>2021-09-28 09:45:09 -0700
committerMike Schuchardt <mikes@lunarg.com>2021-09-28 15:29:55 -0700
commitcde128728af6983a49692051b1cf73ce8723dd9b (patch)
tree5a66b060fab7d15b01487e6ee03ae25f48af08d6 /common/vulkan_wrapper.cpp
parentbd6c95c544a28893289f1ae51cf57f6e466c9562 (diff)
downloadusermoji-cde128728af6983a49692051b1cf73ce8723dd9b.tar.xz
scripts: Fix codegen with hard-coded enum indices
Currently some of the generators use a fixed child index to locate extension enums, which will break if comment blocks are added near the top of an extension definition. This change makes the enum lookup more robust by searching for the expected enum name instead of using a hard-coded offset.
Diffstat (limited to 'common/vulkan_wrapper.cpp')
0 files changed, 0 insertions, 0 deletions