diff options
author | Ian Romanick <[email protected]> | 2009-07-28 21:57:28 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-07-28 21:57:28 -0700 |
commit | 648dac4251de69d2949026af3dec0b0befee734b (patch) | |
tree | a4488f4c2b8d55e94e5cb29adfbae10590a00d46 /src/mesa/shader/program_parse.y | |
parent | 86b33b5649710f351d241ce6890200ac1f38f724 (diff) |
ARB prog parser: Set component negation mask for SWZ instruction
Diffstat (limited to 'src/mesa/shader/program_parse.y')
-rw-r--r-- | src/mesa/shader/program_parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/program_parse.y b/src/mesa/shader/program_parse.y index 225dc0d5b9a..6c50491ffc2 100644 --- a/src/mesa/shader/program_parse.y +++ b/src/mesa/shader/program_parse.y @@ -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; |