panfrost/midgard: Lower *hadd instructions

Fixes multiple piglit tests, except (u)long/char hadd,
which now fails instead of crashing.

Acked-by: Eric R. Smith <eric.smith@collabora.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30963>
This commit is contained in:
David Heidelberg
2024-09-18 02:19:33 +09:00
committed by Marge Bot
parent 45af8ddf91
commit de230c4c07

View File

@@ -58,6 +58,7 @@ static const nir_shader_compiler_options midgard_nir_options = {
.lower_ifind_msb = true,
.lower_fdph = true,
.lower_fisnormal = true,
.lower_hadd = true,
.lower_uadd_carry = true,
.lower_usub_borrow = true,