Update for Vulkan-Docs 1.4.304
This commit is contained in:
parent
6a74a7d65c
commit
d4a196d8c8
12 changed files with 1693 additions and 1256 deletions
|
|
@ -134,8 +134,10 @@ def mergeAPIs(tree, fromApiNames, toApiName):
|
|||
definitionName = child.get('name')
|
||||
definitionVariants = parent.findall(f"{child.tag}[@name='{definitionName}']")
|
||||
elif child.tag in ['require']:
|
||||
definitionName = child.get('feature')
|
||||
definitionVariants = parent.findall(f"{child.tag}[@feature='{definitionName}']")
|
||||
# No way to correlate require tags because they do not have a definite identifier in the way they
|
||||
# are used in the latest forms of the XML so the best we can do is simply enable all of them
|
||||
if child.get('api') in fromApiNames:
|
||||
child.set('api', toApiName)
|
||||
elif child.tag in ['command']:
|
||||
definitionName = child.find('proto/name').text
|
||||
definitionVariants = parent.findall(f"{child.tag}/proto/name[.='{definitionName}']/../..")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue