summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2/condition-08.vert
blob: 0b819aa2c12b6e6c8ff110bb6c8dd38b5b2a1069 (plain)
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); }