glsl-1.20: move a bunch of shaders to the glsl-1.20 dir
[piglit.git] / tests / spec / glsl-1.20 / execution / glsl-inexact-overloads.shader_test
blob6a6b20bc5b81aca652f967345a3d1b1a44eb1e58
1 [require]
2 GLSL >= 1.20
4 [vertex shader]
5 void main()
7         gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
10 [fragment shader]
11 #version 120
12 void foo(float x, float y)
14         gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
17 void foo(float x, int y)
19         gl_FragColor = vec4(0.0, 0.0, 1.0, 1.0);
22 void foo(int x, int y)
24         gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);
27 void main()
29         foo(5, 6);
32 [test]
33 clear color 0.0 0.0 0.0 0.0
34 clear
35 ortho
36 draw rect 10 10 10 10
37 probe rgb 15 15 0.0 1.0 0.0