From: Francisco Jerez Date: Wed, 28 Aug 2019 05:02:19 +0000 (-0700) Subject: intel/disasm: Don't disassemble saturate control on SEND instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c03869323b2d3da648385690b277571be8277886;p=mesa.git intel/disasm: Don't disassemble saturate control on SEND instructions. The field is gone on Gen12+ and it was illegal on previous generations. Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c index 594ea665a9c..44c6995d7fd 100644 --- a/src/intel/compiler/brw_disasm.c +++ b/src/intel/compiler/brw_disasm.c @@ -1663,8 +1663,10 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo, } err |= print_opcode(file, devinfo, opcode); - err |= control(file, "saturate", saturate, brw_inst_saturate(devinfo, inst), - NULL); + + if (!is_send(opcode)) + err |= control(file, "saturate", saturate, brw_inst_saturate(devinfo, inst), + NULL); err |= control(file, "debug control", debug_ctrl, brw_inst_debug_control(devinfo, inst), NULL);