From: Jason Ekstrand Date: Tue, 7 Jan 2020 22:14:56 +0000 (-0600) Subject: intel/vec4: Support scoped_memory_barrier X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ada49bae5e039b10913bc61ba7b037227e7e49aa;p=mesa.git intel/vec4: Support scoped_memory_barrier Fixes: 06aecb14c0476 "anv: Implement VK_KHR_vulkan_memory_model" Reviewed-by: Caio Marcelo de Oliveira Filho Part-of: --- diff --git a/src/intel/compiler/brw_vec4_nir.cpp b/src/intel/compiler/brw_vec4_nir.cpp index 416b6514ad1..03fda5e9aaa 100644 --- a/src/intel/compiler/brw_vec4_nir.cpp +++ b/src/intel/compiler/brw_vec4_nir.cpp @@ -700,7 +700,8 @@ vec4_visitor::nir_emit_intrinsic(nir_intrinsic_instr *instr) break; } - case nir_intrinsic_memory_barrier: { + case nir_intrinsic_memory_barrier: + case nir_intrinsic_scoped_memory_barrier: { const vec4_builder bld = vec4_builder(this).at_end().annotate(current_annotation, base_ir); const dst_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD, 2);