ARB prog parser: Set component negation mask for SWZ instruction

This commit is contained in:
Ian Romanick 2009-07-28 21:57:28 -07:00
parent 86b33b5649
commit 648dac4251
2 changed files with 212 additions and 210 deletions

File diff suppressed because it is too large Load diff

View file

@ -463,6 +463,7 @@ SWZ_instruction: SWZ maskedDstReg ',' srcReg ',' extendedSwizzle
* FIXME: to the existing swizzle?
*/
$4.Base.Swizzle = $6.swizzle;
$4.Base.Negate = $6.mask;
$$ = asm_instruction_ctor(OPCODE_SWZ, & $2, & $4, NULL, NULL);
$$->Base.SaturateMode = $1.SaturateMode;