mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
ARB prog parser: Set component negation mask for SWZ instruction
This commit is contained in:
parent
86b33b5649
commit
648dac4251
2 changed files with 212 additions and 210 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue