mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-22 03:03:39 +00: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 d6fed4ab7db63c5f569032dba2cc95ea3ccfc65c)
This commit is contained in:
parent
94449816ab
commit
7771f16e08
@ -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…
x
Reference in New Issue
Block a user