mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-29 16:09:29 +00:00
Fix base_generator vendorTags logic
The logic didn't correctly iterate through the children of tags, causing the vendorTags list to be generated incorrectly.
This commit is contained in:
parent
cf011e717a
commit
beadc7e034
1 changed files with 3 additions and 2 deletions
|
@ -125,8 +125,9 @@ class BaseGenerator(OutputGenerator):
|
|||
for platform in self.registry.tree.findall('platforms/platform'):
|
||||
self.vk.platforms[platform.get('name')] = platform.get('protect')
|
||||
|
||||
for tag in self.registry.tree.findall('tags'):
|
||||
self.vk.vendorTags.append(tag.get('name'))
|
||||
for tags in self.registry.tree.findall('tags'):
|
||||
for tag in tags.findall('tag'):
|
||||
self.vk.vendorTags.append(tag.get('name'))
|
||||
|
||||
# No way known to get this from the XML
|
||||
self.vk.queueBits[Queues.TRANSFER] = 'VK_QUEUE_TRANSFER_BIT'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue