mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
nak/opt_copy_prop: Fix IAdd3 overflow check
Cc: mesa-stable
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Faith Ekstrand <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33420>
(cherry picked from commit a5b267980a)
This commit is contained in:
parent
6378d22e68
commit
2583fde8bc
2 changed files with 2 additions and 2 deletions
|
|
@ -194,7 +194,7 @@
|
|||
"description": "nak/opt_copy_prop: Fix IAdd3 overflow check",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -659,7 +659,7 @@ impl CopyPropPass {
|
|||
use SrcType::{ALU, I32};
|
||||
let [src0, src1, src2] = &mut add.srcs;
|
||||
if add.overflow[0].is_none()
|
||||
&& add.overflow[0].is_none()
|
||||
&& add.overflow[1].is_none()
|
||||
{
|
||||
self.prop_to_src(I32, &cbuf_rule, src0);
|
||||
self.prop_to_src(I32, &cbuf_rule, src1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue