summaryrefslogtreecommitdiff
path: root/src/glsl/tests/condition-03.glsl
blob: 9af5d7aa470e409a03fbc62b6c7fc7bc01f0735c (plain)
1
2
3
4
5
6
7
8
/* PASS */

uniform bool a;

void main()
{
  gl_Position = (a) ? vec4(1.0, 0.0, 0.0, 1.0) : vec4(0.0, 1.0, 0.0, 1.0);
}