nir: handle mul24 in nir_def_bits_used

Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34489>
This commit is contained in:
Marek Olšák 2025-04-10 20:49:50 -04:00 committed by Marge Bot
parent 7e7ef7b8b7
commit 15369a792a

View file

@ -2263,6 +2263,11 @@ ssa_def_bits_used(const nir_def *def, int recur)
return all_bits;
}
case nir_op_imul24:
case nir_op_umul24:
bits_used |= all_bits & 0xffffff;
break;
default:
/* We don't know what this op does */
return all_bits;