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

uniform bvec4 a;

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