nir/tests: handle new multadd opcodes

Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41165>
This commit is contained in:
Karol Herbst 2026-04-23 17:21:08 +02:00 committed by Marge Bot
parent 7ce841cb71
commit 9ffa7c826f

View file

@ -75,6 +75,7 @@ TEST_F(nir_opt_varyings_test_bicm_binary_alu, \
/* TES uses fadd and fmul for interpolation, so it's always present. */ \
if (MESA_SHADER_##consumer_stage != MESA_SHADER_TESS_EVAL || \
(nir_op_##alu != nir_op_fadd && nir_op_##alu != nir_op_fmul && \
nir_op_##alu != nir_op_fmad && nir_op_##alu != nir_op_ffma && \
nir_op_##alu != nir_op_ffma_old)) { \
ASSERT_TRUE(!shader_contains_alu_op(b2, nir_op_##alu, bitsize)); \
} \