intel/brw: Fix SWSB output when printing IR

The printing routine was ignoring dependencies that
were only unordered.

Acked-by: Iván Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32269>
This commit is contained in:
Caio Oliveira 2024-11-20 16:18:40 -08:00 committed by Marge Bot
parent 1d704af515
commit 90343f452d

View file

@ -648,7 +648,7 @@ brw_print_instruction_to_file(const fs_visitor &s, const fs_inst *inst, FILE *fi
if (inst->has_no_mask_send_params)
fprintf(file, "NoMaskParams ");
if (inst->sched.pipe != TGL_PIPE_NONE) {
if (inst->sched.regdist || inst->sched.mode) {
fprintf(file, "{ ");
brw_print_swsb(file, s.devinfo, inst->sched);
fprintf(file, " } ");
@ -661,9 +661,6 @@ brw_print_instruction_to_file(const fs_visitor &s, const fs_inst *inst, FILE *fi
void
brw_print_swsb(FILE *f, const struct intel_device_info *devinfo, const tgl_swsb swsb)
{
if (swsb.pipe == TGL_PIPE_NONE)
return;
if (swsb.regdist) {
fprintf(f, "%s@%d",
(devinfo && devinfo->verx10 < 125 ? "" :