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 <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5206>
This commit is contained in:
Gert Wollny 2020-05-09 11:15:04 +02:00 committed by Marge Bot
parent 34e15cd610
commit bddfbfcb56
1 changed files with 1 additions and 0 deletions

View File

@ -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: