aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-15 02:24:42 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-21 23:20:43 -0300
commit5d0986a53be495f2a2158968db1bc0974f0dd0d3 (patch)
tree76b89957701a3e8cec21211b0090f8517b9338af /src/video_core/shader/node.h
parentcf4ee279c6424ada927f74fcc34e013038af7228 (diff)
shader/other: Implement BAR.SYNC 0x0
Trivially implement this particular case of BAR. Unless games use OpenCL or CUDA barriers, we shouldn't hit any other case here.
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index f75b62240..80aa69295 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -228,6 +228,7 @@ enum class OperationCode {
ThreadId, /// () -> uint
ShuffleIndexed, /// (uint value, uint index) -> uint
+ Barrier, /// () -> void
MemoryBarrierGL, /// () -> void
Amount,