mesa/tests/condition-04.glsl
2010-03-29 15:34:21 -07:00

8 lines
156 B
GLSL

/* 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);
}