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

spirv-val: Add an option to use friendly names or not #4951

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

ShabbyX
Copy link
Contributor

@ShabbyX ShabbyX commented Sep 29, 2022

The always-friendly messages make it harder to debug when the
disassembly is later generated without friendly names.

Additionally, the friendly-name-mapper is slow. Disabling it improves
performance of an ANGLE test that creates numerous shaders by ~5%.

@ShabbyX
Copy link
Contributor Author

ShabbyX commented Sep 29, 2022

Note: Merge #4950 first and I'll rebase. The second commit is the real PR here.

@ShabbyX
Copy link
Contributor Author

ShabbyX commented Sep 29, 2022

@dnovillo

@ShabbyX
Copy link
Contributor Author

ShabbyX commented Sep 30, 2022

@dneto0 for dispatch

@dneto0 dneto0 self-requested a review September 30, 2022 15:18
Copy link
Collaborator

@dneto0 dneto0 left a comment

Choose a reason for hiding this comment

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

Thanks for generalizing this way.

Please add a method comment and remove the output to stderr.

test/val/val_id_test.cpp Show resolved Hide resolved
test/val/val_id_test.cpp Outdated Show resolved Hide resolved
test/val/val_id_test.cpp Show resolved Hide resolved
The always-friendly messages make it harder to debug when the
disassembly is later generated without friendly names.

Additionally, the friendly-name-mapper is slow.  Disabling it improves
performance of an ANGLE test that creates numerous shaders by ~5%.
Copy link
Collaborator

@dneto0 dneto0 left a comment

Choose a reason for hiding this comment

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

Thanks!

test/val/val_id_test.cpp Show resolved Hide resolved
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.

None yet

2 participants