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>
(cherry picked from commit b53682f41b)
This commit is contained in:
Job Noorman 2025-08-20 17:16:46 +02:00 committed by Eric Engestrom
parent 1c3c022f7d
commit 97ecc0d4dc
2 changed files with 3 additions and 1 deletions

View file

@ -7864,7 +7864,7 @@
"description": "ir3: don't vectorize nir_op_sdot_4x8_iadd[_sat]",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "58d18bc7a817e8514414a7d4090f1dfde3315b47",
"notes": null

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: