aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_vulkan_wrapper.py
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 /scripts/generate_vulkan_wrapper.py
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 'scripts/generate_vulkan_wrapper.py')
0 files changed, 0 insertions, 0 deletions