From 20f49252e1fe2e72bb620c26292f33d5315452a1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 5 Mar 2009 15:08:36 -0700 Subject: [PATCH] i965: init dest reg CondMask = COND_TR (the proper default) Plus fix up a debug printf. --- src/mesa/drivers/dri/i965/brw_wm_fp.c | 4 ++-- 1 file 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 7e88ef00535..533be3858e9 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); } } -- 2.30.2