1 /* For testing an opimization which eliminates varying assigned from
2 * uniform. This will copy/move the assigned uniform to another shader.
3 * This test use the builtin uniform.
13 color1 = gl_LightSource[0].position;
14 color2 = gl_LightSource[1].diffuse;
15 gl_Position = ftransform();
23 gl_FragColor = color1 + color2;
27 light 0 GL_POSITION float 0.2 0.5 0.8 0.1
28 light 1 GL_DIFFUSE float 0.3 0.2 0.1 0.4
30 probe all rgba 0.5 0.7 0.9 0.5
31 light 0 GL_POSITION float 0.5 0.1 0.4 0.6
32 light 1 GL_DIFFUSE float 0.1 0.3 0.5 0.2
34 probe all rgba 0.6 0.4 0.9 0.8