From: Brian Paul Date: Thu, 5 Mar 2009 22:08:36 +0000 (-0700) Subject: i965: init dest reg CondMask = COND_TR (the proper default) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20f49252e1fe2e72bb620c26292f33d5315452a1;p=mesa.git i965: init dest reg CondMask = COND_TR (the proper default) Plus fix up a debug printf. --- 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); } }