ac/nir/ngg: remove nuw for negative value add
authorQiang Yu <yuq825@gmail.com>
Mon, 14 Nov 2022 07:28:44 +0000 (15:28 +0800)
committerEric Engestrom <eric@engestrom.ch>
Thu, 17 Nov 2022 14:05:04 +0000 (14:05 +0000)
commit5421dd52dd76eff13f6eb73ed66aaa94df2c1a1f
tree3eb4b78b2bbf939b09c810c80c81f668ca03ea27
parent2a28762dff3900e712f8e82039f776f5f8605bc4
ac/nir/ngg: remove nuw for negative value add

Add negative value is possible to wrap around. I haven't seen this
"nuw" causes any problem yet, but let's remove it for safe.

Fixes: 60ac5dda82e ("ac: Add NIR lowering for NGG GS.")
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19718>
(cherry picked from commit c21e184cc5cc818285c5590f36b170362defaf27)
.pick_status.json
src/amd/common/ac_nir_lower_ngg.c