diff options
author | marha <marha@users.sourceforge.net> | 2012-07-02 08:51:35 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-07-02 08:51:35 +0200 |
commit | fcc2cc7dabb46c39a76351fc12da4e9ad9d1d817 (patch) | |
tree | bcc60a76e7cc205710b91c67ff700c26886ea3e8 /pixman/test/scaling-test.c | |
parent | 393178cdbca247c6ad077f7dab9a97d6817c625c (diff) | |
parent | fdef5bff99e6079f64bc6b91c91b42195c85adeb (diff) | |
download | vcxsrv-fcc2cc7dabb46c39a76351fc12da4e9ad9d1d817.tar.gz vcxsrv-fcc2cc7dabb46c39a76351fc12da4e9ad9d1d817.tar.bz2 vcxsrv-fcc2cc7dabb46c39a76351fc12da4e9ad9d1d817.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
pixman/pixman/pixman-sse2.c
Diffstat (limited to 'pixman/test/scaling-test.c')
-rw-r--r-- | pixman/test/scaling-test.c | 12 |
1 files changed, 11 insertions, 1 deletions
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); } |