aboutsummaryrefslogtreecommitdiff
path: root/scripts/vulkaninfo_generator.py
diff options
context:
space:
mode:
authorMike Schuchardt <mikes@lunarg.com>2021-09-15 08:53:19 -0700
committerMike Schuchardt <mikes@lunarg.com>2021-09-15 10:29:01 -0700
commita12d15bd45312fb6d3c3d20bf686fdc695483e66 (patch)
tree5847136e2f4ff00c65bdfeec9b7d77c600183844 /scripts/vulkaninfo_generator.py
parentf4974ccd170cf2338c0582f607af5d8dfc3dac51 (diff)
downloadusermoji-a12d15bd45312fb6d3c3d20bf686fdc695483e66.tar.xz
scripts: Ignore compatibility constants in wrapper
When the working group changes the name of a constant: VK_KHR_MAINTENANCE1_SPEC_VERSION -> VK_KHR_MAINTENANCE_1_SPEC_VERSION they will still #define the original name to maintain backward compatibility with existing code that uses it: #define VK_KHR_MAINTENANCE_1_SPEC_VERSION 2 #define VK_KHR_MAINTENANCE_1_EXTENSION_NAME "VK_KHR_maintenance1" #define VK_KHR_MAINTENANCE1_SPEC_VERSION VK_KHR_MAINTENANCE_1_SPEC_VERSION #define VK_KHR_MAINTENANCE1_EXTENSION_NAME VK_KHR_MAINTENANCE_1_EXTENSION_NAME In this case, we need to ignore the non-numeric _SPEC_VERSION and unquoted _EXTENSION_NAME constants because they don't define a separate extension.
Diffstat (limited to 'scripts/vulkaninfo_generator.py')
0 files changed, 0 insertions, 0 deletions