From: Jason Ekstrand Date: Tue, 5 Jan 2016 06:08:24 +0000 (-0800) Subject: nir/spirv: Add support for the ControlBarrier instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b403d599b7acf97616879d78e61456508f35ad3;p=mesa.git nir/spirv: Add support for the ControlBarrier instruction --- diff --git a/src/glsl/nir/spirv/spirv_to_nir.c b/src/glsl/nir/spirv/spirv_to_nir.c index ede347f97f8..06a99f3031e 100644 --- a/src/glsl/nir/spirv/spirv_to_nir.c +++ b/src/glsl/nir/spirv/spirv_to_nir.c @@ -3113,6 +3113,8 @@ vtn_handle_barrier(struct vtn_builder *b, SpvOp opcode, intrinsic_op = nir_intrinsic_memory_barrier; break; case SpvOpControlBarrier: + intrinsic_op = nir_intrinsic_barrier; + break; default: unreachable("unknown barrier instruction"); }