framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / glslparsertest / shaders / preprocess3.frag
blob675b9dc6a9bf5734faffc7143df19bbd085659dd
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.10
4 //
5 // [end config]
7 // simple macro expansions.
8 // Tests for Too few macro arguments, too many macro arguments.
9 // Macros with no arguments.
11 #define t1 -1
12 #define t2 2
14 #define test -258
15 #define test1 (test*test)
16 #define test2(x) (x+test1)
17 #define test3() (test2(8)*(test*test1))
18 #define test4(x,y) (x+y)
20 void main(void)
22  int sum =0;
23  sum = test3();
24  sum = test3(3);
26  sum = test2(9);
27  sum = test2(9,8);
29  sum = test4;
30  sum = test2(8,5,78,9);
31  sum = sum + test1;
32  sum = 8+58+sum;
33  sum = sum +test;
34  sum = (t1+t2);
35  sum = test4(test3(),test2(test3())); 
36  sum = test4(3,8,5);
37  sum = test4();