From c03869323b2d3da648385690b277571be8277886 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 27 Aug 2019 22:02:19 -0700 Subject: [PATCH] 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 --- src/intel/compiler/brw_disasm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.30.2