aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2020-05-09 11:15:04 +0200
committerMarge Bot <[email protected]>2020-06-19 06:58:07 +0000
commitbddfbfcb56106533c80fb5515635089defd6cba3 (patch)
treeeea6a912c7cebf5509987dc4b222e1aa796ad4ae /src/gallium/drivers/r600
parent34e15cd610c1b24d63e0ee2293517f834503a80d (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5206>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/sfn/sfn_shader_base.cpp1
1 files changed, 1 insertions, 0 deletions
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: