repo.or.cz
/
mesa
/
nouveau-pmpeg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i965: Request that returns be lowered in shader main
[mesa/nouveau-pmpeg.git]
/
src
/
glsl
/
tests
/
if-03.glsl
blob
179618c716efc4c91fb7aa8bc11b8a641f55b59a
1
/* PASS */
2
3
uniform bool 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
}