diff options
| author | Mike Schuchardt <mikes@lunarg.com> | 2021-09-28 09:45:09 -0700 |
|---|---|---|
| committer | Mike Schuchardt <mikes@lunarg.com> | 2021-09-28 15:29:55 -0700 |
| commit | cde128728af6983a49692051b1cf73ce8723dd9b (patch) | |
| tree | 5a66b060fab7d15b01487e6ee03ae25f48af08d6 /scripts/generate_vulkan_wrapper.py | |
| parent | bd6c95c544a28893289f1ae51cf57f6e466c9562 (diff) | |
| download | usermoji-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
