summaryrefslogtreecommitdiff
path: root/test/lowlevel-blt-bench.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-20 08:28:32 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-20 15:08:56 +0100
commit8d7e7010e33d73a7d99948403b62d859d7a4dfaa (patch)
tree721db4bd37f35093ea3f38d830a0015d84b2c78a /test/lowlevel-blt-bench.c
parentdb6dfc3227155a4792ba3831681daf16839b14bb (diff)
test: Increase number of tiled sources
Significantly improve the stress impose upon the tiled BLT operations. Also start dumping pngs of the failures. References: https://bugs.freedesktop.org/show_bug.cgi?id=80033 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test/lowlevel-blt-bench.c')
-rw-r--r--test/lowlevel-blt-bench.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lowlevel-blt-bench.c b/test/lowlevel-blt-bench.c
index f2b6863e..3593014a 100644
--- a/test/lowlevel-blt-bench.c
+++ b/test/lowlevel-blt-bench.c
@@ -109,13 +109,13 @@ static double _bench(struct test_display *t, enum target target_type,
static void bench(struct test *t, enum target target, int op, int sf)
{
- double real, ref;
+ double out, ref;
ref = _bench(&t->ref, target, op, sf, 1000);
- real = _bench(&t->real, target, op, sf, 1000);
+ out = _bench(&t->out, target, op, sf, 1000);
- fprintf (stdout, "Testing %s with %s: ref=%f, real=%f\n",
- formats[sf].name, ops[op].name, ref, real);
+ fprintf (stdout, "Testing %s with %s: ref=%f, out=%f\n",
+ formats[sf].name, ops[op].name, ref, out);
}
int main(int argc, char **argv)