1/* FAIL - if-statement condition is not bool scalar */ 2 3uniform float a; 4 5void 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