-
Notifications
You must be signed in to change notification settings - Fork 188
Codegen rewrite to use Vulkan-Object #1164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codegen rewrite to use Vulkan-Object #1164
Conversation
|
CI Vulkan-Tools build queued with queue ID 547182. |
|
CI Vulkan-Tools build queued with queue ID 547197. |
|
CI Vulkan-Tools build # 1833 running. |
Structs were only checking the first alias when deciding the display name to use. Now, pNext chains consider all aliases. Additionally, --show-promoted-structs now includes printing aliased types, whereas before it would only work for 'completely distinct aliases', eg the structs are different types instead of being C typedefs.
033e469 to
e2e5523
Compare
|
CI Vulkan-Tools build queued with queue ID 547214. |
|
CI Vulkan-Tools build # 1834 running. |
|
CI Vulkan-Tools build # 1834 passed. |
|
|
||
| # File Comment | ||
| out.append('// *** THIS FILE IS GENERATED - DO NOT EDIT ***\n') | ||
| out.append('// See vulkan_tools_helper_file_generator.py for modifications\n') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| out.append('// See vulkan_tools_helper_file_generator.py for modifications\n') | |
| out.append(f'// See {os.path.basename(__file__)} for modifications\n') |
nit
spencer-lunarg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get paid to write Python for a living, this isn't how I would have wrote the code, but it is very readable and a good use of Vulkan-Object and would actually be willing to touch this code gen in the future... so ya, got my approval
|
Did some additional testing and found no showstopping issues, going ahead with the merge. |
No description provided.