Skip to content
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

Add name_variables option to spirv-builder #660

Merged
merged 2 commits into from
Jun 9, 2021
Merged

Add name_variables option to spirv-builder #660

merged 2 commits into from
Jun 9, 2021

Conversation

khyperia
Copy link
Contributor

@khyperia khyperia commented Jun 9, 2021

Fixes #657

I opted for the simpler approach of "just keep names for all global OpVariables", to cover the use case of maybe wanting input/output names too, as including those don't bloat the binary much at all (the real issue is all the type/function names, AFAIK)

@khyperia khyperia requested a review from hrydgard June 9, 2021 12:50
@khyperia khyperia requested a review from eddyb as a code owner June 9, 2021 12:50
Copy link
Contributor

@hrydgard hrydgard left a comment

Choose a reason for hiding this comment

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

Great!

@khyperia khyperia merged commit c3eff4d into main Jun 9, 2021
@khyperia khyperia deleted the name-variables branch June 9, 2021 13:27
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.

Don't strip OpName from variables with descriptor set metadata
2 participants