diff options
author | Jason Ekstrand <[email protected]> | 2020-01-07 16:14:56 -0600 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-13 17:23:46 +0000 |
commit | ada49bae5e039b10913bc61ba7b037227e7e49aa (patch) | |
tree | 80577077f845e6a63ef921614d3b1e9e461de24f | |
parent | 40aef2bf3eadba384a72f5bc8bfea35cda33c1c1 (diff) |
intel/vec4: Support scoped_memory_barrier
Fixes: 06aecb14c0476 "anv: Implement VK_KHR_vulkan_memory_model"
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3307>
-rw-r--r-- | src/intel/compiler/brw_vec4_nir.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |