headers: Update to Vulkan header version 1.1.87
Updated: - include/vulkan/vulkan.h - include/vulkan/vulkan.hpp - include/vulkan/vulkan_core.h - registry/genvk.py - registry/reg.py - registry/validusage.json - registry/vk.xml Added: - include/vulkan/vulkan_fuchsia.h Note: A local, modified version of Vulkan-Docs/xml/reg.py was used to generate these files. This modification filters out disabled extensions when populating the structextends list for a given base struct.
This commit is contained in:
parent
ba4c50ae55
commit
b65941cc4b
8 changed files with 1145 additions and 284 deletions
|
|
@ -502,12 +502,17 @@ class Registry:
|
|||
|
||||
# Construct a "validextensionstructs" list for parent structures
|
||||
# based on "structextends" tags in child structures
|
||||
disabled_types = []
|
||||
for disabled_ext in self.reg.findall('extensions/extension[@supported="disabled"]'):
|
||||
for type in disabled_ext.findall("*/type"):
|
||||
disabled_types.append(type.get('name'))
|
||||
for type in self.reg.findall('types/type'):
|
||||
parentStructs = type.get('structextends')
|
||||
if (parentStructs != None):
|
||||
for parent in parentStructs.split(','):
|
||||
# self.gen.logMsg('diag', type.get('name'), 'extends', parent)
|
||||
self.validextensionstructs[parent].append(type.get('name'))
|
||||
if type.get('name') not in disabled_types:
|
||||
parentStructs = type.get('structextends')
|
||||
if (parentStructs != None):
|
||||
for parent in parentStructs.split(','):
|
||||
# self.gen.logMsg('diag', type.get('name'), 'extends', parent)
|
||||
self.validextensionstructs[parent].append(type.get('name'))
|
||||
# Sort the lists so they don't depend on the XML order
|
||||
for parent in self.validextensionstructs:
|
||||
self.validextensionstructs[parent].sort()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue