summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_cs.h
diff options
context:
space:
mode:
authorJoakim Sindholt <bacn@zhasha.com>2009-01-29 00:12:32 +0100
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:31 -0800
commitf0fce46a48a1f0547a1e50ad54696c4b660c8dce (patch)
treeb281261020ad724f2a473685685c978b37c96396 /src/gallium/drivers/r300/r300_cs.h
parent00f96d054d782fd0fa7b103b857fb19d3e4a1472 (diff)
r300: attempt at trivial/clear on r5xx
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs.h')
-rw-r--r--src/gallium/drivers/r300/r300_cs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h
index 5686e5a6e9..d15887fb1c 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -85,7 +85,7 @@ static uint32_t pack_float_32(float f)
} while (0)
#define OUT_CS_REG(register, value) do { \
- debug_printf("r300: writing 0x%x to register 0x%x\n", value, register); \
+ debug_printf("r300: writing 0x%08X to register 0x%04X\n", value, register); \
OUT_CS(CP_PACKET0(register, 0)); \
OUT_CS(value); \
} while (0)
@@ -93,7 +93,7 @@ static uint32_t pack_float_32(float f)
/* Note: This expects count to be the number of registers,
* not the actual packet0 count! */
#define OUT_CS_REG_SEQ(register, count) do { \
- debug_printf("r300: writing register sequence 0x%x\n", register); \
+ debug_printf("r300: writing register sequence of %d to 0x%04X\n", count, register); \
OUT_CS(CP_PACKET0(register, ((count) - 1))); \
} while (0)