projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e76ed
)
radeon: Fix loop en condition so debug output doesn't flood meaningless values.
author
Pauli Nieminen
<suokkos@gmail.com>
Wed, 26 Aug 2009 21:07:05 +0000
(
00:07
+0300)
committer
Pauli Nieminen
<suokkos@gmail.com>
Wed, 26 Aug 2009 21:07:05 +0000
(
00:07
+0300)
src/mesa/drivers/dri/radeon/radeon_common.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_common.c
b/src/mesa/drivers/dri/radeon/radeon_common.c
index 9b301cd47c656d040b8523fdf74c1c0ffc52f209..0894372fad1e6c4b672b06a34182dfecea62b5c1 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_common.c
@@
-952,7
+952,7
@@
static void radeon_print_state_atom(radeonContextPtr radeon, struct radeon_state
if (DEBUG_CMDBUF > 1 && RADEON_DEBUG & DEBUG_VERBOSE) {
if (dwords > state->cmd_size)
dwords = state->cmd_size;
- for (i = 0; i <
state->cmd_size
;) {
+ for (i = 0; i <
dwords
;) {
packet0 = state->cmd[i];
reg = (packet0 & 0x1FFF) << 2;
count = ((packet0 & 0x3FFF0000) >> 16) + 1;