Open castano opened 4 months ago
Sorry, reported to wrong repository.
Reposted here: https://github.com/KhronosGroup/SPIRV-Tools/issues/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.
When I compile the following program:
As follows:
spirv-opt produces the following error:
According to https://github.com/KhronosGroup/glslang/issues/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: