summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/shader_bytecode.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-05 18:54:19 +0200
committerGitHub <noreply@github.com>2018-07-05 18:54:19 +0200
commit762bf6a52201901374fd3bf7c866490036920c78 (patch)
treeebf04066d1f487b72a4521c67afd2c551111ba87 /src/video_core/engines/shader_bytecode.h
parentMerge pull request #624 from Subv/f2f_round (diff)
parentGPU: Stub the shader SYNC and DEPBAR instructions. (diff)
downloadyuzu-762bf6a52201901374fd3bf7c866490036920c78.tar
yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.gz
yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.bz2
yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.lz
yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.xz
yuzu-762bf6a52201901374fd3bf7c866490036920c78.tar.zst
yuzu-762bf6a52201901374fd3bf7c866490036920c78.zip
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
-rw-r--r--src/video_core/engines/shader_bytecode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index da1aaeeee..3b70efeec 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -451,6 +451,8 @@ public:
enum class Id {
KIL,
SSY,
+ SYNC,
+ DEPBAR,
BFE_C,
BFE_R,
BFE_IMM,
@@ -547,6 +549,7 @@ public:
Shift,
Ffma,
Flow,
+ Synch,
Memory,
FloatSet,
FloatSetPredicate,
@@ -651,6 +654,8 @@ private:
INST("111000110011----", Id::KIL, Type::Flow, "KIL"),
INST("111000101001----", Id::SSY, Type::Flow, "SSY"),
INST("111000100100----", Id::BRA, Type::Flow, "BRA"),
+ INST("1111000011110---", Id::DEPBAR, Type::Synch, "DEPBAR"),
+ INST("1111000011111---", Id::SYNC, Type::Synch, "SYNC"),
INST("1110111111011---", Id::LD_A, Type::Memory, "LD_A"),
INST("1110111110010---", Id::LD_C, Type::Memory, "LD_C"),
INST("1110111111110---", Id::ST_A, Type::Memory, "ST_A"),