This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
[glsl-in] naga rejects use of clamp in constant initializer #1498
Labels
area: front-end
Input formats for conversion
kind: bug
Something isn't working
lang: GLSL
OpenGL Shading Language
This shader is legal in GLSL 4.5:
because builtins such as clamp are allowed in constant expressions if invoked with constant expression arguments (see "4.3.3 Constant Expressions" in the GLSL 4.5 spec).
naga (revision 9d2b357) rejects the example with:
The text was updated successfully, but these errors were encountered: