7 // Check that an array can be used as a function inout parameter in
10 // In this test, the array is declared using C-style array
11 // declaration syntax (float x[2] as opposed to float[2] x).
13 // From section 5.8 of the GLSL 1.20 spec:
14 // Variables that are built-in types, entire structures or arrays,
15 // structure fields, l-values with the field selector ( . )
16 // applied to select components or swizzles without repeated
17 // fields, l-values within parentheses, and l-values dereferenced
18 // with the array subscript operator ( [] ) are all l-values.
22 void f(inout float x[2])
30 gl_Position = vec4(0.0);