projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba7b5ed
)
nir/spirv: Add support for the ControlBarrier instruction
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 5 Jan 2016 06:08:24 +0000
(22:08 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 5 Jan 2016 06:08:24 +0000
(22:08 -0800)
src/glsl/nir/spirv/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/spirv/spirv_to_nir.c
b/src/glsl/nir/spirv/spirv_to_nir.c
index ede347f97f839d6da1356d4e22cda651272d8734..06a99f3031efa51d329311fc05c3d73ee63debea 100644
(file)
--- 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");
}