summaryrefslogtreecommitdiff
path: root/src/glsl/tests/condition-01.glsl
blob: d89c313117e2bbf25dda7286667795e19ce96ce0 (plain)
1
2
3
4
5
6
7
8
/* FAIL - :? condition is not bool scalar */

uniform bvec4 a;

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