ac/nir: don't lower 8/16bit bitfield_select

This is just a bitwise operation, we can support all sizes.

No Foz-DB changes.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36141>
This commit is contained in:
Georg Lehmann
2025-07-15 20:50:08 +02:00
committed by Marge Bot
parent c80daf934c
commit d906fa041a
-1
View File
@@ -361,7 +361,6 @@ lower_bit_size_callback(const nir_instr *instr, enum amd_gfx_level chip, bool di
if (alu->def.bit_size & (8 | 16)) {
unsigned bit_size = alu->def.bit_size;
switch (alu->op) {
case nir_op_bitfield_select:
case nir_op_imul_high:
case nir_op_umul_high:
case nir_op_uadd_carry: