summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-08-19 07:46:34 +0200
committerSubv <subv2112@gmail.com>2018-08-19 07:46:34 +0200
commit1b92ae136f3465c39dc33f160f1d5342dcbdf492 (patch)
tree7d9b532a2954f61a9ec2d16261942850f775fc1a /src/video_core/engines
parentMerge pull request #1100 from ogniK5377/missing-pred (diff)
downloadyuzu-1b92ae136f3465c39dc33f160f1d5342dcbdf492.tar
yuzu-1b92ae136f3465c39dc33f160f1d5342dcbdf492.tar.gz
yuzu-1b92ae136f3465c39dc33f160f1d5342dcbdf492.tar.bz2
yuzu-1b92ae136f3465c39dc33f160f1d5342dcbdf492.tar.lz
yuzu-1b92ae136f3465c39dc33f160f1d5342dcbdf492.tar.xz
yuzu-1b92ae136f3465c39dc33f160f1d5342dcbdf492.tar.zst
yuzu-1b92ae136f3465c39dc33f160f1d5342dcbdf492.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index b038a9d92..66c5522e4 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -513,6 +513,8 @@ public:
LD_A,
LD_C,
ST_A,
+ LDG, // Load from global memory
+ STG, // Store in global memory
TEX,
TEXQ, // Texture Query
TEXS, // Texture Fetch with scalar/non-vec4 source/destinations
@@ -724,6 +726,8 @@ private:
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"),
+ INST("1110111011010---", Id::LDG, Type::Memory, "LDG"),
+ INST("1110111011011---", Id::STG, Type::Memory, "STG"),
INST("110000----111---", Id::TEX, Type::Memory, "TEX"),
INST("1101111101001---", Id::TEXQ, Type::Memory, "TEXQ"),
INST("1101100---------", Id::TEXS, Type::Memory, "TEXS"),