-
Notifications
You must be signed in to change notification settings - Fork 809
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
OpUConvert for specialization constant should not generate spirv-opt error. #3506
Comments
Sorry, reported to wrong repository. |
Reposted here: KhronosGroup/SPIRV-Tools#5571 |
This is technically a glslang error I think, SPIR-V 1.0 does indeed have the restriction you mention and so glslang should not be generating this code because you explicitly requested SPIR-V 1.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I compile the following program:
As follows:
spirv-opt produces the following error:
According to #848 the spec has been updated to include OpUConvert in the list of permitted opcodes. Is this a spirv-opt error?
I'm using the most recent builds that are publicly available:
The text was updated successfully, but these errors were encountered: