1 2 3 4 5 6 7 8
// [config] // expect_result: pass // glsl_version: 1.10 // [end config] uniform bool b; float v = b ? 1.0 : 0.0; void main() { gl_Position = vec4(v); }