mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 09:20:13 +01:00
r300: Ensure that immediates have matching negate flags too.
We only have one bit of negate, so we have to make sure that immediate
usage has matching negates on all used channels (or rewrite to do so).
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14117>
(cherry picked from commit d6fed4ab7d)
This commit is contained in:
parent
94449816ab
commit
7771f16e08
2 changed files with 1 additions and 3 deletions
|
|
@ -4549,7 +4549,7 @@
|
|||
"description": "r300: Ensure that immediates have matching negate flags too.",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static int r500_swizzle_is_native(rc_opcode opcode, struct rc_src_register reg)
|
|||
return 1;
|
||||
|
||||
return 0;
|
||||
} else if (reg.File == RC_FILE_INLINE) {
|
||||
return 1;
|
||||
} else {
|
||||
/* ALU instructions support almost everything */
|
||||
relevant = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue