mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
brw: Fix disassembler trying to decode 3src_hstride in Gfx9
This field is not encoded for Gfx9, so use the fixed value
that makes sense for that platform.
Fixes: 9dfff2cb14 ("brw: Allow generating destination with stride 2 in 3-src instructions")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12881
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34197>
This commit is contained in:
parent
4ee3c302ce
commit
72aefea0a0
1 changed files with 1 additions and 1 deletions
|
|
@ -1000,7 +1000,7 @@ dest_3src(FILE *file, const struct intel_device_info *devinfo,
|
|||
if (subreg_nr)
|
||||
format(file, ".%u", subreg_nr);
|
||||
string(file, "<");
|
||||
unsigned _horiz_stride =
|
||||
unsigned _horiz_stride = devinfo->ver == 9 ? BRW_HORIZONTAL_STRIDE_1 :
|
||||
hstride_from_align1_3src_dst_hstride(brw_eu_inst_3src_a1_dst_hstride(devinfo, inst));
|
||||
err |= control(file, "horiz_stride", horiz_stride, _horiz_stride, NULL);
|
||||
string(file, ">");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue