4 * require_extensions: GL_ARB_arrays_of_arrays
7 * From page 18 (page 24 of the PDF) of the GLSL 1.20 spec:
9 * "Member declarators can contain arrays. Such arrays must have a size
10 * specified, and the size must be an integral constant expression that's
11 * greater than zero (see Section 4.3.3 "Constant Expressions")."
13 * From page 19 (page 25 of the PDF) of the GLSL 1.20 spec:
15 * "All basic types and structures can be formed into arrays."
18 #extension GL_ARB_arrays_of_arrays: enable
28 gl_Position = vec4(a.length() + a[0][0].x.length());