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 }