vulkaninfo: check that extensions aren't disabled
authorCharles Giessen <charles@lunarg.com>
Mon, 18 Nov 2019 22:11:37 +0000 (15:11 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 19 Nov 2019 16:09:34 +0000 (09:09 -0700)
commit73d9cfa91968bf8a6d792718e3aad76ea9ac1cb8
tree01577248a3f8f396fbf710a0d7ac5328a40944ea
parent99b986c82b14fc75c261feae2fac4fb7bd8ee364
vulkaninfo: check that extensions aren't disabled

Previous versions of vulkainfo's autogen code didn't check if enums and
bitmasks from extensions were disabled, possibly letting them leak into
the generated code. This commit checks and skips any fields which aren't
supported.

File changed:
scripts/vulkaninfo_generator.py

Change-Id: I0e6fd9872d9377a17797cfcf6c2fbcee649e3657
scripts/vulkaninfo_generator.py