[require] GLSL >= 1.10 [fragment shader] vec2 a1[]; vec2 a2[]; void main() { a1[3].y = 1.0; a2[3]=abs(a1[3]); gl_FragColor = vec4(0.0, a2[3].y, a1[3].y, 1.0); } [test] draw rect -1 -1 2 2 probe all rgb 0.0 1.0 1.0