i965: init dest reg CondMask = COND_TR (the proper default)

Plus fix up a debug printf.
(cherry picked from commit 20f49252e1)
This commit is contained in:
Brian Paul 2009-03-05 15:08:36 -07:00 committed by Ian Romanick
parent ac2216542d
commit 119360cccd

View file

@ -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);
}
}