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