summaryrefslogtreecommitdiff
path: root/tests/if-03.glsl
blob: 179618c716efc4c91fb7aa8bc11b8a641f55b59a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PASS */

uniform bool a;

void main()
{
  if (a)
    gl_Position = vec4(1.0, 0.0, 0.0, 1.0);
  else
    gl_Position = vec4(0.0, 1.0, 0.0, 1.0);
}