projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7adccea0432a5eab5ae1d856ab3f77e01f5f13e0
[mesa.git]
/
src
/
glsl
/
tests
/
if-02.glsl
1
/* FAIL - if-statement condition is not bool scalar */
2
3
uniform float a;
4
5
void main()
6
{
7
if (a)
8
gl_Position = vec4(1.0, 0.0, 0.0, 1.0);
9
else
10
gl_Position = vec4(0.0, 1.0, 0.0, 1.0);
11
}