summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-19 19:31:19 +0200
committerGitHub <noreply@github.com>2018-08-19 19:31:19 +0200
commit29d4f8c2dd97abc335d369c9a4bf55a755b9daa3 (patch)
tree1e04a179fab51c434e4d5b25a1572071881561ab
parentMerge pull request #1108 from Subv/front_facing (diff)
parentShaders: Added decodings for the LDG and STG instructions. (diff)
downloadyuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar
yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar.gz
yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar.bz2
yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar.lz
yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar.xz
yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar.zst
yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.zip
-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 059dc2e5d..8ae0e6df2 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -521,6 +521,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
@@ -732,6 +734,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"),