6 * From page 38 (page 44 of the PDF) of the GLSL 1.20 spec:
8 * "The ternary selection operator (?:). It operates on three expressions
9 * (exp1 ? exp2 : exp3)....The second and third expressions can be any
10 * type, as long their types match....This resulting matching type is
11 * the type of the entire expression."
15 const vec4[] a = vec4[](vec4(0), vec4(1));
16 const vec4[] b = vec4[](vec4(1), vec4(0));
17 uniform vec4 c[((true) ? a : b).length()];