summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-05 15:08:36 -0700
committerBrian Paul <brianp@vmware.com>2009-03-05 17:25:25 -0700
commit20f49252e1fe2e72bb620c26292f33d5315452a1 (patch)
tree5aa6decd0a37c11769f74ddeb8eeab88f67073d4 /src/mesa/drivers/dri/i965
parent0b723b8b89cd65901431199f86911f003465946e (diff)
i965: init dest reg CondMask = COND_TR (the proper default)
Plus fix up a debug printf.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_fp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c
index 7e88ef0053..533be3858e 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_fp.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_fp.c
@@ -129,7 +129,7 @@ static struct prog_dst_register dst_reg(GLuint file, GLuint idx)
reg.Index = idx;
reg.WriteMask = WRITEMASK_XYZW;
reg.RelAddr = 0;
- reg.CondMask = 0;
+ reg.CondMask = COND_TR;
reg.CondSwizzle = 0;
reg.CondSrc = 0;
reg.pad = 0;
@@ -949,7 +949,7 @@ static void print_insns( const struct prog_instruction *insn,
3);
}
else
- _mesa_printf("UNKNOWN\n");
+ _mesa_printf("965 Opcode %d\n", insn->Opcode);
}
}