brw: implement ACCESS_COHERENT on Gfx12.5+
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36595>
This commit is contained in:
committed by
Marge Bot
parent
2e51b50db2
commit
4c65aef155
@@ -7101,11 +7101,14 @@ brw_from_nir_emit_memory_access(nir_to_brw_state &ntb,
|
||||
(nir_intrinsic_access(instr) & ACCESS_INCLUDE_HELPERS);
|
||||
const bool volatile_access = nir_intrinsic_has_access(instr) &&
|
||||
(nir_intrinsic_access(instr) & ACCESS_VOLATILE);
|
||||
const bool coherent_access = nir_intrinsic_has_access(instr) &&
|
||||
(nir_intrinsic_access(instr) & ACCESS_COHERENT);
|
||||
const unsigned align =
|
||||
nir_intrinsic_has_align(instr) ? nir_intrinsic_align(instr) : 0;
|
||||
const unsigned logical_flags =
|
||||
(include_helpers ? MEMORY_FLAG_INCLUDE_HELPERS : 0) |
|
||||
(volatile_access ? MEMORY_FLAG_VOLATILE_ACCESS : 0);
|
||||
(volatile_access ? MEMORY_FLAG_VOLATILE_ACCESS : 0) |
|
||||
(coherent_access ? MEMORY_FLAG_COHERENT_ACCESS : 0);
|
||||
bool no_mask_handle = false;
|
||||
int data_src = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user