diff options
| author | 2019-12-09 21:46:12 -0300 | |
|---|---|---|
| committer | 2019-12-10 16:45:03 -0300 | |
| commit | 425a254fa24d7179124b4544ffeb2b1fe4fa99dc (patch) | |
| tree | ffe458cdf75e70e072eab574051c72d0c4c837dc /src/video_core/shader/node.h | |
| parent | Merge pull request #3208 from ReinUsesLisp/vk-shader-decompiler (diff) | |
| download | yuzu-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.h | 2 |
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 | ||