-
Notifications
You must be signed in to change notification settings - Fork 245
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
stop relying on spirv-tools #841
Comments
can you show where it says that? not seeing where it says that. |
section 3.21 builtin says that kernel, groupnonuniform and sugroupballotkhr are enabling capabilities for |
That's an |
so how do I enable it? I currently get this:
|
As the error implies, you need to enable "one of these capabilities: Kernel GroupNonUniform SubgroupBallotKHR". You can do that using the API to enable capabilities. |
cool, thanks! |
currently the spirv spec says that subgroups are restricted to kernels. however glsl supports subgroups in regular compute shaders. seems like the glsl spec team forgot to tell the spirv spec team to update their specs. this leads to spirv-tools complaining about an invalid decorator in the opt/validation phases which in turn leads to rust-gpu not being competitive with glsl for no real reason. removing the dependency on spirv-tools would allow supporting "defacto" standards instead of just what was bothered to be written down in a spec.
The text was updated successfully, but these errors were encountered: