summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2009-02-22 21:46:03 +0100
committerMatthias Hopf <mhopf@suse.de>2009-02-24 17:33:18 +0100
commitd032130c7f47c93528e02f121cdb898ad3473896 (patch)
tree8f0eeb78f96cbb1f7e4dee748a9ff41999d3b5b6
parentedbc780f64dddd00b1b0b0e8cfdc26296b7f3a88 (diff)
Less verbosity with buffer renewal.
-rw-r--r--r600_lib.c5
1 files 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);