radv,aco: implement iadd_sat

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12617>
This commit is contained in:
Rhys Perry
2021-08-02 20:14:03 +01:00
committed by Marge Bot
parent 44be450dc1
commit 4dd420f76d
4 changed files with 22 additions and 1 deletions
@@ -593,7 +593,8 @@ init_context(isel_context* ctx, nir_shader* shader)
case nir_op_frexp_exp:
case nir_op_cube_face_index_amd:
case nir_op_cube_face_coord_amd:
case nir_op_sad_u8x4: type = RegType::vgpr; break;
case nir_op_sad_u8x4:
case nir_op_iadd_sat: type = RegType::vgpr; break;
case nir_op_f2i16:
case nir_op_f2u16:
case nir_op_f2i32: