From: Jason Ekstrand Date: Tue, 7 Jan 2020 04:14:29 +0000 (-0600) Subject: intel/disasm: Fix decoding of src0 of SENDS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b788cccfe2ff2b6897b73bbfe7e90e84899adec0;p=mesa.git intel/disasm: Fix decoding of src0 of SENDS There is no instruction field for the register file for src0 because it's always GRF. Reviewed-by: Kenneth Graunke Tested-by: Marge Bot Part-of: --- diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c index 7d821dbc1fa..31d932b9cba 100644 --- a/src/intel/compiler/brw_disasm.c +++ b/src/intel/compiler/brw_disasm.c @@ -1446,7 +1446,7 @@ src0(FILE *file, const struct gen_device_info *devinfo, const brw_inst *inst) return src_sends_da(file, devinfo, BRW_REGISTER_TYPE_UD, - brw_inst_send_src0_reg_file(devinfo, inst), + BRW_GENERAL_REGISTER_FILE, brw_inst_src0_da_reg_nr(devinfo, inst), brw_inst_src0_da16_subreg_nr(devinfo, inst)); } else {