Skip to content

Slang Support: Error loading SPIR-V bytes: operand decoding error: unknown value 11 for operand kind SourceLanguage at index 532 #257

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

Open
fcarucci opened this issue Apr 18, 2025 · 1 comment

Comments

@fcarucci
Copy link

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.

@MarijnS95
Copy link
Collaborator

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:

Slang = 11u32,

Can you validate that you're using the latest version?

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

No branches or pull requests

2 participants