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

uniform float a;

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