-
Notifications
You must be signed in to change notification settings - Fork 543
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
Declaration of global uniform bool raises validation error #3387
Comments
Are you targeting OpenGL? This functionality does not exist in Vulkan, and hence might be a hole in some tools or specifications. |
Yes, I'm targeting OpenGL. Explicitly specifying OpenGL target to spirv-val does not solve the problem. |
I suspect the specifications should be updated to allow Boolean type for this purpose. |
Where should I file bugs against the SPIR-V specification? |
File SPIR-V specification bugs at https://github.com/KhronosGroup/SPIRV-Registry. Thanks. |
The tooling will be updated once the spec is changed. Closing this issue. |
Tooling was already updated actually in anticipation of a future spec change, see #5237 |
The use of "uniform bool" results in a spirv-val error:
GLSL shader:
Compiled with:
Disassembly of compiled SPIR-V code:
Possibly regression in #1872 (CC @jaebaek, linked issue #1405). Tested with latest master versions of glslang and SPIRV-Tools.
The text was updated successfully, but these errors were encountered: