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

Debuginfo "extended instruction sets" (e.g. OpenCL.DebugInfo.100, NonSemantic.Shader.DebugInfo.100). #11

Open
eddyb opened this issue Nov 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eddyb
Copy link
Collaborator

eddyb commented Nov 6, 2024

Right now we only support the SPIR-V instructions OpLine/OpNoLine, Rust-GPU does its own custom instructions to add a bit more information, and there's also SPIR-T-only attributes:

Ideally, though, we could interop with SPIR-V's equivalents of DWARF:

Sadly, they each have drawbacks/limitations, so we probably need to do a tiered system where we can express all of their metadata (e.g. as weirdly-typed Consts) and only convert some of them into SPIR-T-native attributes etc. - at the very least, we should be able to do correct passthru even of features that Rust-GPU itself doesn't use/need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant