summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-05 15:08:36 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-03-13 17:38:40 -0700
commit119360cccdd49475eed67dde6344bf9f9904bc1b (patch)
tree23f56f3ac83e94ef2163ee3545af76718b50c2dc
parentac2216542d4887641b47bb3bd05470b94576cd07 (diff)
i965: init dest reg CondMask = COND_TR (the proper default)
Plus fix up a debug printf. (cherry picked from commit 20f49252e1fe2e72bb620c26292f33d5315452a1)
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_fp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c
index 4480b4eda3..baa8bf39ba 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_fp.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_fp.c
@@ -123,7 +123,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;
@@ -901,8 +901,7 @@ static void print_insns( const struct prog_instruction *insn,
3);
}
else
- _mesa_printf("UNKNOWN\n");
-
+ _mesa_printf("965 Opcode %d\n", insn->Opcode);
}
}