1 /* PASS */ 2 3 uniform bool a; 4 5 void main() 6 { 7 if (a) 8 gl_Position = vec4(1.0, 0.0, 0.0, 1.0); 9 else 10 gl_Position = vec4(0.0, 1.0, 0.0, 1.0); 11 } 12