mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 08:44:36 +00:00
Fix aliased types not being generated
Types that are promoted get turned into aliases, but the dispatch table was missing these types. This was due to a simple mistake of mixing up the alias with the type being aliased.
This commit is contained in:
parent
ee817ba3c8
commit
c16df41166
@ -160,9 +160,9 @@ for command_node in commands_node:
|
|||||||
aliases[command_node['@alias']] = command_node['@name']
|
aliases[command_node['@alias']] = command_node['@name']
|
||||||
|
|
||||||
# Push the alias name as a device function if the alias exists in device commands
|
# Push the alias name as a device function if the alias exists in device commands
|
||||||
for alias_name, alias in aliases.items():
|
for aliased_type, alias in aliases.items():
|
||||||
if alias in commands:
|
if aliased_type in commands:
|
||||||
commands[alias] = copy.deepcopy(commands[alias_name])
|
commands[alias] = copy.deepcopy(commands[aliased_type])
|
||||||
commands[alias]['is_alias'] = True
|
commands[alias]['is_alias'] = True
|
||||||
|
|
||||||
# Add requirements for core PFN's
|
# Add requirements for core PFN's
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user