Skip to content

Conversation

@charles-lunarg
Copy link
Contributor

No description provided.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build queued with queue ID 547182.

@charles-lunarg charles-lunarg changed the title Vulkan object Codegen rewrite to use Vulkan-Object Oct 4, 2025
@ci-tester-lunarg
Copy link

CI Vulkan-Tools build queued with queue ID 547197.

@ci-tester-lunarg
Copy link

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.
@ci-tester-lunarg
Copy link

CI Vulkan-Tools build queued with queue ID 547214.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build # 1834 running.

@ci-tester-lunarg
Copy link

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')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
out.append('// See vulkan_tools_helper_file_generator.py for modifications\n')
out.append(f'// See {os.path.basename(__file__)} for modifications\n')

nit

Copy link
Contributor

@spencer-lunarg spencer-lunarg left a 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

@charles-lunarg
Copy link
Contributor Author

Did some additional testing and found no showstopping issues, going ahead with the merge.

@charles-lunarg charles-lunarg merged commit fe4e68d into KhronosGroup:main Oct 6, 2025
18 checks passed
@charles-lunarg charles-lunarg deleted the vulkan_object branch October 6, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vulkaninfo: missing structures when using --show-promoted-structs

3 participants