pan/mdg: Handle {i,u}{add,sub}_sat

As SATADD with different modifiers.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
Alyssa Rosenzweig 2021-06-04 15:26:30 -04:00 committed by Marge Bot
parent bdb32eec9a
commit 1369d5e43a

View file

@ -744,6 +744,10 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
ALU_CASE(fdot4, fdot4);
ALU_CASE(iadd, iadd);
ALU_CASE(isub, isub);
ALU_CASE(iadd_sat, iaddsat);
ALU_CASE(isub_sat, isubsat);
ALU_CASE(uadd_sat, uaddsat);
ALU_CASE(usub_sat, usubsat);
ALU_CASE(imul, imul);
ALU_CASE(imul_high, imul);
ALU_CASE(umul_high, imul);