diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-09 21:46:12 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-10 16:45:03 -0300 |
| commit | 425a254fa24d7179124b4544ffeb2b1fe4fa99dc (patch) | |
| tree | ffe458cdf75e70e072eab574051c72d0c4c837dc /src/video_core/shader/node.h | |
| parent | 6edadef96d57cb021d0131929d5a122ae102ad9e (diff) | |
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 { ThreadId, /// () -> uint ShuffleIndexed, /// (uint value, uint index) -> uint + MemoryBarrierGL, /// () -> void + Amount, }; |
