diff options
author | marha <marha@users.sourceforge.net> | 2012-07-02 08:47:42 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-07-02 08:47:42 +0200 |
commit | fdef5bff99e6079f64bc6b91c91b42195c85adeb (patch) | |
tree | 5d9c311d9f36cfa26850d02801388953ccc17b54 /pixman/test | |
parent | f6d1847eef027266daa0f75ee92ceb09698b2761 (diff) | |
download | vcxsrv-fdef5bff99e6079f64bc6b91c91b42195c85adeb.tar.gz vcxsrv-fdef5bff99e6079f64bc6b91c91b42195c85adeb.tar.bz2 vcxsrv-fdef5bff99e6079f64bc6b91c91b42195c85adeb.zip |
mesa pixman xserver git update 2 Jul 2012
Diffstat (limited to 'pixman/test')
-rw-r--r-- | pixman/test/affine-test.c | 12 | ||||
-rw-r--r-- | pixman/test/scaling-test.c | 12 |
2 files changed, 22 insertions, 2 deletions
diff --git a/pixman/test/affine-test.c b/pixman/test/affine-test.c index a4ceed3da..6827cc3a8 100644 --- a/pixman/test/affine-test.c +++ b/pixman/test/affine-test.c @@ -301,11 +301,21 @@ test_composite (int testnum, return crc32; } +#if BILINEAR_INTERPOLATION_BITS == 8 +#define CHECKSUM 0x1EF2175A +#elif BILINEAR_INTERPOLATION_BITS == 7 +#define CHECKSUM 0x74050F50 +#elif BILINEAR_INTERPOLATION_BITS == 4 +#define CHECKSUM 0x4362EAE8 +#else +#define CHECKSUM 0x00000000 +#endif + int main (int argc, const char *argv[]) { pixman_disable_out_of_bounds_workaround (); - return fuzzer_test_main ("affine", 8000000, 0x1EF2175A, + return fuzzer_test_main ("affine", 8000000, CHECKSUM, test_composite, argc, argv); } diff --git a/pixman/test/scaling-test.c b/pixman/test/scaling-test.c index 6f2da1432..44c4f3de4 100644 --- a/pixman/test/scaling-test.c +++ b/pixman/test/scaling-test.c @@ -357,11 +357,21 @@ test_composite (int testnum, return crc32; } +#if BILINEAR_INTERPOLATION_BITS == 8 +#define CHECKSUM 0x80DF1CB2 +#elif BILINEAR_INTERPOLATION_BITS == 7 +#define CHECKSUM 0x2818D5FB +#elif BILINEAR_INTERPOLATION_BITS == 4 +#define CHECKSUM 0x387540A5 +#else +#define CHECKSUM 0x00000000 +#endif + int main (int argc, const char *argv[]) { pixman_disable_out_of_bounds_workaround (); - return fuzzer_test_main("scaling", 8000000, 0x80DF1CB2, + return fuzzer_test_main("scaling", 8000000, CHECKSUM, test_composite, argc, argv); } |