projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
llvmpipe: switch to using dynamic stack allocation instead of registers
[mesa.git]
/
progs
/
vpglsl
/
ifelse.glsl
1
2
void main() {
3
gl_Position = gl_Vertex;
4
if (gl_Position.x < 0.5)
5
gl_FrontColor = vec4(1.0, 0.0, 0.0, 1.0);
6
else
7
gl_FrontColor = gl_Color;
8
}