ac/nir/ngg: don't use 8bit alu ops
authorQiang Yu <yuq825@gmail.com>
Wed, 10 May 2023 06:11:48 +0000 (14:11 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Jun 2023 09:21:58 +0000 (09:21 +0000)
commitc5c98d2f20833a4d1f95af9fe2fbe09affea8200
treef47c5760dfc80f0c2a79e377d002f91d5052e6d8
parent12ee7eccf75cab220eff8e2e6de48cfcc2cce06e
ac/nir/ngg: don't use 8bit alu ops

aco doesn't support 8bit alu ops and radeonsi won't
call nir_lower_bit_size for most alu ops, so just
don't use 8bit alu ops (they will be lowered to 32bit
anyway if we do).

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23094>
src/amd/common/ac_nir_lower_ngg.c