mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
brw: Use BAD_FILE instead of ARF null for second send payload
A number of places emit monolithic sends, where the second payload is empty. Some places were using a BAD_FILE register, while others were specifying the hardware ARF null register. Switch to BAD_FILE for consistency - this is usually what we do for "source isn't present". Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34040>
This commit is contained in:
parent
9366968b40
commit
90dbbc69bb
1 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ lower_urb_read_logical_send(const brw_builder &bld, brw_inst *inst)
|
|||
inst->src[0] = brw_imm_ud(0); /* desc */
|
||||
inst->src[1] = brw_imm_ud(0); /* ex_desc */
|
||||
inst->src[2] = payload;
|
||||
inst->src[3] = brw_null_reg();
|
||||
inst->src[3] = brw_reg();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -129,7 +129,7 @@ lower_urb_read_logical_send_xe2(const brw_builder &bld, brw_inst *inst)
|
|||
inst->src[1] = brw_imm_ud(0);
|
||||
|
||||
inst->src[2] = payload;
|
||||
inst->src[3] = brw_null_reg();
|
||||
inst->src[3] = brw_reg();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -186,7 +186,7 @@ lower_urb_write_logical_send(const brw_builder &bld, brw_inst *inst)
|
|||
inst->src[0] = brw_imm_ud(0); /* desc */
|
||||
inst->src[1] = brw_imm_ud(0); /* ex_desc */
|
||||
inst->src[2] = payload;
|
||||
inst->src[3] = brw_null_reg();
|
||||
inst->src[3] = brw_reg();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue