6 // Check that 'invariant(all)' cannot be used in fragment shader.
8 // From the GLSL ES 3.00 specification, section 4.6.1 ("The
9 // Invariant Qualifier"):
11 // "To force all output variables to be invariant, use the pragma
13 // #pragma STDGL invariant(all)
15 // before all declarations in a shader. If this pragma is used
16 // after the declaration of any variables or functions, then the
17 // set of outputs that behave as invariant is undefined. It is an
18 // error to use this pragma in a fragment shader."
21 #pragma STDGL invariant(all)