summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-16 11:06:00 -0600
committerBrian Paul <[email protected]>2009-04-16 11:08:23 -0600
commita25632d890bcc769e2d39650e3dfe6ee49393e54 (patch)
treee825f1d58fb2394c522e64ebb2f1d5809b34acb2 /src/mesa/drivers
parentfc76781456182f487fc7e0057ca8a4c648dfe530 (diff)
i965: minor debug output changes
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_glsl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_glsl.c b/src/mesa/drivers/dri/i965/brw_wm_glsl.c
index 49fea2e41ad..62fa573b379 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_glsl.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_glsl.c
@@ -346,10 +346,10 @@ get_src_reg_const(struct brw_wm_compile *c,
const_reg = brw_abs(const_reg);
#if 0
- printf(" form const[%d] for arg %d, comp %d, reg %d\n",
+ printf(" form const[%d].%d for arg %d, reg %d\n",
c->current_const[srcRegIndex].index,
- srcRegIndex,
component,
+ srcRegIndex,
const_reg.nr);
#endif
@@ -407,7 +407,7 @@ static struct brw_reg get_src_reg_imm(struct brw_wm_compile *c,
if (src->Abs)
value = FABSF(value);
#if 0
- printf(" form imm reg %f\n", value);
+ printf(" form immed value %f for chan %d\n", value, channel);
#endif
return brw_imm_f(value);
}