From: Gert Wollny Date: Sat, 9 May 2020 09:15:04 +0000 (+0200) Subject: r600/sfn: Handle memory_barrier X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bddfbfcb56106533c80fb5515635089defd6cba3;p=mesa.git r600/sfn: Handle memory_barrier I'm not sure whether this should actually be a barrier accross all shader processing units, the TGSI code path seems to handle this only by using GROUP_BARRIER, so let's do the same here. Signed-off-by: Gert Wollny Part-of: --- diff --git a/src/gallium/drivers/r600/sfn/sfn_shader_base.cpp b/src/gallium/drivers/r600/sfn/sfn_shader_base.cpp index 152fd3c52e8..7a41b2af2b9 100644 --- a/src/gallium/drivers/r600/sfn/sfn_shader_base.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_shader_base.cpp @@ -593,6 +593,7 @@ bool ShaderFromNirProcessor::emit_intrinsic_instruction(nir_intrinsic_instr* ins case nir_intrinsic_control_barrier: case nir_intrinsic_memory_barrier_tcs_patch: case nir_intrinsic_memory_barrier_shared: + case nir_intrinsic_memory_barrier: return emit_barrier(instr); case nir_intrinsic_copy_deref: case nir_intrinsic_load_constant: