Skip to content

Commit

Permalink
library: Fix library generation when using profiles with multiple var…
Browse files Browse the repository at this point in the history
…iants #464
  • Loading branch information
christophe-lunarg committed Aug 10, 2023
1 parent aeacd50 commit e35d1eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
### Bugfixes:
- Fix query of capabilities of aliased extensions
- Fix error message typo
- Fix library generation when using profiles with multiple variants #464

## [Vulkan Profiles Toolset 1.3.250](https://github.com/KhronosGroup/Vulkan-Profiles/tree/sdk-1.3.250.0) - June 2023

Expand Down
2 changes: 1 addition & 1 deletion scripts/gen_profiles_solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,7 @@ def __init__(self, registry, data, caps):
# When we have multiple possible capabilities blocks, we load them all but effectively the API library can't effectively implement this behavior.
if type(capName).__name__ == 'list':
for capNameCase in capName:
self.mergeCaps(registry, caps[capNameElement])
self.mergeCaps(registry, caps[capNameCase])
elif capName in caps:
self.mergeCaps(registry, caps[capName])
else:
Expand Down

0 comments on commit e35d1eb

Please sign in to comment.