This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
[glsl-out] Invalid GLSL emission when using firstLeadingBit and others #1968
Labels
area: back-end
Outputs of shader conversion
kind: bug
Something isn't working
lang: GLSL
OpenGL Shading Language
Apologies for the lack of clarity in #1946, but I didn't mention specifically that the GLSL in that issue was emitted by naga after being provided valid WGSL. I assumed it was a glsl-in problem, but it seems I was incorrect - sorry for the confusion! I'm not sure that the GLSL mentioned in the linked issue should be being output by naga, as it's invalid (as answered in the issue).
WGSL:
GLSL output by naga (included in linked issue, also applies for 450 core):
Error when validating above GLSL with naga (included in linked issue):
The text was updated successfully, but these errors were encountered: