repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git]
/
tests
/
shaders
/
glsl-unused-varying.frag
blob
abd90a12d04c2dcb03702913d0c8af8858f5f548
1
/* Note that we don't use the red varying */
2
varying vec4 green;
3
uniform int do_red;
4
5
void main()
6
{
7
if (do_red != 0)
8
gl_FragColor = vec4(1,0,0,0);
9
else
10
gl_FragColor = green;
11
}