diff options
author | Jason Ekstrand <[email protected]> | 2016-01-04 22:08:24 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-01-04 22:08:24 -0800 |
commit | 8b403d599b7acf97616879d78e61456508f35ad3 (patch) | |
tree | 54e408ae1806abedbddc82af99052c673763fdbc /src | |
parent | ba7b5edc267c8a33eb55b83f9b0ea30e73e4b2c2 (diff) |
nir/spirv: Add support for the ControlBarrier instruction
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"); } |