From d032130c7f47c93528e02f121cdb898ad3473896 Mon Sep 17 00:00:00 2001 From: Matthias Hopf Date: Sun, 22 Feb 2009 21:46:03 +0100 Subject: Less verbosity with buffer renewal. --- r600_lib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/r600_lib.c b/r600_lib.c index b9b58ab..30fad36 100644 --- a/r600_lib.c +++ b/r600_lib.c @@ -145,7 +145,8 @@ static void flush_indirect (void) // If buffer is more than half filled, fetch a new one if (indirect_end > indirect_size / 2) { - fprintf (stderr, " Buffer more than half filled, fetching new one after committing.\n"); + if (verbose >= 1) + fprintf (stderr, " Buffer more than half filled, fetching new one after committing.\n"); discard = 1; } @@ -183,7 +184,7 @@ static void flush_indirect (void) } indirect = BufMapPtr->list[indirect_idx].address; indirect_start = indirect_end = BufMapPtr->list[indirect_idx].used; - if (verbose >= 1) + if (verbose >= 2) fprintf (stderr, " New indirect buffer: #%d, size %d, @0x%p\n", indirect_idx, indirect_size, indirect); -- cgit v1.2.3