mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01:00
brw: fixup scoreboarding for find_live_channels
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32895>
This commit is contained in:
parent
09b5de379c
commit
c08b437db7
1 changed files with 7 additions and 0 deletions
|
|
@ -1250,8 +1250,15 @@ brw_generator::generate_code(const cfg_t *cfg, int dispatch_width,
|
|||
assert(inst->force_writemask_all && inst->group == 0);
|
||||
assert(inst->dst.file == BAD_FILE);
|
||||
brw_set_default_exec_size(p, BRW_EXECUTE_1);
|
||||
brw_set_default_swsb(p, tgl_swsb_dst_dep(swsb, 1));
|
||||
brw_MOV(p, retype(brw_flag_subreg(inst->flag_subreg), BRW_TYPE_UD),
|
||||
retype(brw_mask_reg(0), BRW_TYPE_UD));
|
||||
/* Reading certain ARF registers (like 'ce', the mask register) on
|
||||
* Gfx12+ requires requires a dependency on all pipes on the read
|
||||
* instruction and the next instructions
|
||||
*/
|
||||
if (devinfo->ver >= 12)
|
||||
brw_SYNC(p, TGL_SYNC_NOP);
|
||||
break;
|
||||
}
|
||||
case SHADER_OPCODE_BROADCAST:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue