gallium: add target-helpers/wrap_screen.c to C_SOURCES
[mesa/mesa-lb.git] / progs / vpglsl / nestedifs.glsl
blobabb235cd65bdaef49f3db7ad9ec37e861462e38e
2 void main() {
3    gl_Position = gl_Vertex;
4     if (gl_Position.x < 0.5) {
5         if (gl_Position.y < 0.20) {
6             gl_FrontColor = vec4(1.0, 0.0, 0.0, 1.0);
7         } else {
8             gl_FrontColor = vec4(0.0, 1.0, 0.0, 1.0);
9         }
10         gl_FrontColor.y = 1.0;
11     } else
12         gl_FrontColor = gl_Color;