intel/compiler: Add names for SHADER_OPCODE_[IU]SUB_SAT
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 24 Jan 2020 18:55:28 +0000 (10:55 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 23:52:30 +0000 (23:52 +0000)
Fixes: 58907568ec5 ("intel/fs: Add SHADER_OPCODE_[IU]SUB_SAT pseudo-ops")
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3558>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3558>

src/intel/compiler/brw_shader.cpp

index 71f3e79a45429bbe3c005a0144734aa940decf8a..1906c1fff1b85734afdbcee6b2396615bcafdbac 100644 (file)
@@ -493,6 +493,10 @@ brw_instruction_name(const struct gen_device_info *devinfo, enum opcode op)
       return "barrier";
    case SHADER_OPCODE_MULH:
       return "mulh";
+   case SHADER_OPCODE_ISUB_SAT:
+      return "isub_sat";
+   case SHADER_OPCODE_USUB_SAT:
+      return "usub_sat";
    case SHADER_OPCODE_MOV_INDIRECT:
       return "mov_indirect";