glsl-1.10: move a whole bunch shader tests to the glsl-1.10 dir
[piglit.git] / tests / shaders / glsl-floating-constant-120.shader_test
blob5c7ec92e94b58c1a3d8b9ad80f3be4cbaf2993de
1 [require]
2 GLSL >= 1.20
4 [vertex shader]
5 void main()
7         gl_Position = gl_Vertex;
10 [fragment shader]
11 #version 120
13 void main()
15         float f1 = 1.0f;
16         float f2 = 0.F;
17         float f3 = .2f;
18         float f4 = 5e-1F;
20         gl_FragColor = vec4(f1, f2, f3, f4);
23 [test]
24 draw rect -1 -1 2 2
25 probe rgba 1 1 1.0 0.0 0.2 0.5