aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/condition-04.glsl
blob: f440b7e9955c345a40db87d0b2245eb0c2a13e7c (plain)
1
2
3
4
5
6
7
8
/* FAIL - type of second two operands must match */

uniform bool a;

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