rspirv
rspirv copied to clipboard
Slang Support: Error loading SPIR-V bytes: operand decoding error: unknown value 11 for operand kind SourceLanguage at index 532
Hello,
When I try parsing a spv file compiled by Slang, I get this error. It looks like Slang is not fully supported by rspirv.
This should be fixed by the addition of Slang = 11u32 to pub enum SourceLanguage in #244, which should have made it into the spirv 0.3 / rspirv 0.12 releases:
https://github.com/gfx-rs/rspirv/blob/975dab29d435604365b649c66d0d7e7afd3be11f/spirv/autogen_spirv.rs#L39
Can you validate that you're using the latest version?