summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-04-20 12:27:17 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-04-20 12:27:17 -0700
commitb26a0acd18aac615a2abc4df5adc888cb3e3714b (patch)
treee1c24ddc1645942096a8862f87fc55a07acda6b4 /main.c
parente5e49a6b67e2e2919d5236583f01088fdecf347b (diff)
Add a test for various-sized repeating sources. Reveals issues with EXA Radeon
render acceleration. Thanks to frederikh for the testcase that suggested the necessity here.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6d25e6a..8c4de3f 100644
--- a/main.c
+++ b/main.c
@@ -108,7 +108,7 @@ usage (char *program)
fprintf(stderr, "usage: %s [-d|--display display] [-v|--verbose]\n"
"\t[-t test1,test2,...] [--sync]\n"
"\tAvailable tests: dcoors,scoords,mcoords,tscoords,\n"
- "\t\ttmcoords,blend,composite,cacomposite,gradients\n",
+ "\t\ttmcoords,blend,composite,cacomposite,gradients,repeat\n",
program);
exit(1);
}
@@ -169,6 +169,8 @@ int main(int argc, char **argv)
enabled_tests |= TEST_CACOMPOSITE;
} else if (strcmp(test, "gradients") == 0) {
enabled_tests |= TEST_GRADIENTS;
+ } else if (strcmp(test, "repeat") == 0) {
+ enabled_tests |= TEST_REPEAT;
} else {
usage(argv[0]);
}