summaryrefslogtreecommitdiff
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-12-09 21:46:12 -0300
committerGravatar ReinUsesLisp2019-12-10 16:45:03 -0300
commit425a254fa24d7179124b4544ffeb2b1fe4fa99dc (patch)
treeffe458cdf75e70e072eab574051c72d0c4c837dc /src/video_core/shader/node.h
parentMerge pull request #3208 from ReinUsesLisp/vk-shader-decompiler (diff)
downloadyuzu-425a254fa24d7179124b4544ffeb2b1fe4fa99dc.tar.gz
yuzu-425a254fa24d7179124b4544ffeb2b1fe4fa99dc.tar.xz
yuzu-425a254fa24d7179124b4544ffeb2b1fe4fa99dc.zip
shader: Implement MEMBAR.GL
Implement using memoryBarrier in GLSL and OpMemoryBarrier on SPIR-V.
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index 1a4d28ae9..abd40f582 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -189,6 +189,8 @@ enum class OperationCode {
189 ThreadId, /// () -> uint 189 ThreadId, /// () -> uint
190 ShuffleIndexed, /// (uint value, uint index) -> uint 190 ShuffleIndexed, /// (uint value, uint index) -> uint
191 191
192 MemoryBarrierGL, /// () -> void
193
192 Amount, 194 Amount,
193}; 195};
194 196