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

API Dump: Feature request, shader output in SPIR-V or even GLSL #1613

Open
mark-lunarg opened this issue Oct 21, 2021 · 1 comment
Open

API Dump: Feature request, shader output in SPIR-V or even GLSL #1613

mark-lunarg opened this issue Oct 21, 2021 · 1 comment
Assignees

Comments

@mark-lunarg
Copy link
Contributor

Was surprised to see that selecting the show_shader option in api dump resulted in only the binary data for the shaders being dumped. It'd be super-cool if they'd use SPIRV-Tools to spit out the SPIR-V or GLSL shader source.

@charles-lunarg
Copy link
Contributor

I agree, this is a very worthwhile addition. Printing the binary is of limited use since it requires further processing to look at manually. But I don't think GLSL is an appropriate output format since spir-v can contain constructs which don't necessarily map to glsl. Just printing a textual form of spirv would be ideal.

https://github.com/KhronosGroup/SPIRV-Tools would be the candidate library for the disassembler, since its widely used and lightweight.

@spencer-lunarg spencer-lunarg added OS - Android Android specific bug and removed OS - Android Android specific bug labels Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants