Skip to content

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

@eddyb

Description

@eddyb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions