properly init dst reg's CondMask/Swizzle fields

This commit is contained in:
Brian
2007-10-23 10:54:50 -06:00
parent e69943e6dd
commit 112a1580f6
2 changed files with 5 additions and 5 deletions

View File

@@ -462,8 +462,8 @@ static void emit_dst( struct prog_dst_register *dst,
dst->File = ureg.file;
dst->Index = ureg.idx;
dst->WriteMask = mask;
dst->CondMask = 0;
dst->CondSwizzle = 0;
dst->CondMask = COND_TR; /* always pass cond test */
dst->CondSwizzle = SWIZZLE_NOOP;
}
static struct prog_instruction *