radv,aco: do not lower nir_op_pack_{unorm,snorm}_2x16

v_cvt_pknorm_{u16,i16}_f32 can be emitted instead, it's supported on
all generations.

No fossils-db changes.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15215>
This commit is contained in:
Samuel Pitoiset
2022-03-02 15:47:03 +01:00
parent f1f1b3d7f8
commit 516aee64cc
3 changed files with 12 additions and 2 deletions
@@ -515,6 +515,8 @@ init_context(isel_context* ctx, nir_shader* shader)
case nir_op_i2f32:
case nir_op_i2f64:
case nir_op_pack_half_2x16_split:
case nir_op_pack_unorm_2x16:
case nir_op_pack_snorm_2x16:
case nir_op_unpack_half_2x16_split_x:
case nir_op_unpack_half_2x16_split_y:
case nir_op_fddx: