3 const mat4 tempMat = mat4(1,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0);
4 const vec4 v1 = tempMat[true ? 0 : 1]; // 1,0,0,1
5 const vec4 v2 = tempMat[0,1]; // 1,0,1,0
6 const vec4 v3 = tempMat[int(v2.x)]; // tempMat[1]; = 1,0,1,0
7 const vec4 v4 = tempMat[1+2]; // 0,0,0,0
8 const vec4 v5 = tempMat[int(!false)]; // 1,0,1,0
9 const float f = v1[1,0]; // v[0] = 1
10 const float f2 = v1[3-2]; // v[1] = 0
12 vec4 v7 = tempMat[2,1]; // 1,0,1,0
13 mat4 m = mat4(1,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0);
17 gl_FragColor = v1 + v2 + v3 + v4 + v5 + vec4(f) + vec4(f2) + v7 + v9;