ir3: don't vectorize nir_op_sdot_4x8_iadd[_sat]

They don't support being repeated.

Fixes a compiler crash in Hogwarts Legacy.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: 58d18bc7a8 ("ir3: lower vectorized NIR instructions")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36886>
This commit is contained in:
Job Noorman 2025-08-20 17:16:46 +02:00 committed by Marge Bot
parent ecbe35d878
commit b53682f41b

View file

@ -19,6 +19,8 @@ ir3_supports_vectorized_nir_op(nir_op op)
case nir_op_udot_4x8_uadd_sat:
case nir_op_sudot_4x8_iadd:
case nir_op_sudot_4x8_iadd_sat:
case nir_op_sdot_4x8_iadd:
case nir_op_sdot_4x8_iadd_sat:
/* Among SFU instructions, only rcp doesn't seem to support repeat. */
case nir_op_frcp: