1 #version 120 2 /* PASS */ 3 4 uniform bool a; 5 uniform int b; 6 7 void main() 8 { 9 float x; 10 11 x = (a) ? 2.0 : b; 12 gl_Position = vec4(x); 13 } 14