From bddfbfcb56106533c80fb5515635089defd6cba3 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sat, 9 May 2020 11:15:04 +0200 Subject: [PATCH] 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: --- src/gallium/drivers/r600/sfn/sfn_shader_base.cpp | 1 + 1 file changed, 1 insertion(+) 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: -- 2.30.2