diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/nir/spirv/spirv_to_nir.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); } |