mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
intel/fs: Emit URB fences when we have LSC
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Tested-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13092>
This commit is contained in:
parent
e6a9501aa2
commit
0737b37dcd
1 changed files with 5 additions and 1 deletions
|
|
@ -4526,7 +4526,11 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
|
|||
}
|
||||
|
||||
if (urb_fence) {
|
||||
unreachable("TODO: Emit a URB barrier message");
|
||||
assert(opcode == SHADER_OPCODE_MEMORY_FENCE);
|
||||
fence_regs[fence_regs_count++] =
|
||||
emit_fence(ubld, opcode, BRW_SFID_URB,
|
||||
true /* commit_enable */,
|
||||
0 /* BTI; ignored for LSC */);
|
||||
}
|
||||
} else if (devinfo->ver >= 11) {
|
||||
if (tgm_fence || ugm_fence || urb_fence) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue