From: Caio Marcelo de Oliveira Filho Date: Fri, 24 Jan 2020 18:55:28 +0000 (-0800) Subject: intel/compiler: Add names for SHADER_OPCODE_[IU]SUB_SAT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a0dda63dd10d2f71260442c8a44e042bddf5a2f;p=mesa.git intel/compiler: Add names for SHADER_OPCODE_[IU]SUB_SAT Fixes: 58907568ec5 ("intel/fs: Add SHADER_OPCODE_[IU]SUB_SAT pseudo-ops") Reviewed-by: Eric Anholt Reviewed-by: Jason Ekstrand Tested-by: Marge Bot Part-of: --- diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp index 71f3e79a454..1906c1fff1b 100644 --- a/src/intel/compiler/brw_shader.cpp +++ b/src/intel/compiler/brw_shader.cpp @@ -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";