diff options
| author | 2018-08-19 13:31:19 -0400 | |
|---|---|---|
| committer | 2018-08-19 13:31:19 -0400 | |
| commit | 29d4f8c2dd97abc335d369c9a4bf55a755b9daa3 (patch) | |
| tree | 1e04a179fab51c434e4d5b25a1572071881561ab /src | |
| parent | Merge pull request #1108 from Subv/front_facing (diff) | |
| parent | Shaders: Added decodings for the LDG and STG instructions. (diff) | |
| download | yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar.gz yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.tar.xz yuzu-29d4f8c2dd97abc335d369c9a4bf55a755b9daa3.zip | |
Merge pull request #1109 from Subv/ldg_decode
Shaders: Added decodings for the LDG and STG instructions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 4 |
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: | |||
| 521 | LD_A, | 521 | LD_A, |
| 522 | LD_C, | 522 | LD_C, |
| 523 | ST_A, | 523 | ST_A, |
| 524 | LDG, // Load from global memory | ||
| 525 | STG, // Store in global memory | ||
| 524 | TEX, | 526 | TEX, |
| 525 | TEXQ, // Texture Query | 527 | TEXQ, // Texture Query |
| 526 | TEXS, // Texture Fetch with scalar/non-vec4 source/destinations | 528 | TEXS, // Texture Fetch with scalar/non-vec4 source/destinations |
| @@ -732,6 +734,8 @@ private: | |||
| 732 | INST("1110111111011---", Id::LD_A, Type::Memory, "LD_A"), | 734 | INST("1110111111011---", Id::LD_A, Type::Memory, "LD_A"), |
| 733 | INST("1110111110010---", Id::LD_C, Type::Memory, "LD_C"), | 735 | INST("1110111110010---", Id::LD_C, Type::Memory, "LD_C"), |
| 734 | INST("1110111111110---", Id::ST_A, Type::Memory, "ST_A"), | 736 | INST("1110111111110---", Id::ST_A, Type::Memory, "ST_A"), |
| 737 | INST("1110111011010---", Id::LDG, Type::Memory, "LDG"), | ||
| 738 | INST("1110111011011---", Id::STG, Type::Memory, "STG"), | ||
| 735 | INST("110000----111---", Id::TEX, Type::Memory, "TEX"), | 739 | INST("110000----111---", Id::TEX, Type::Memory, "TEX"), |
| 736 | INST("1101111101001---", Id::TEXQ, Type::Memory, "TEXQ"), | 740 | INST("1101111101001---", Id::TEXQ, Type::Memory, "TEXQ"), |
| 737 | INST("1101100---------", Id::TEXS, Type::Memory, "TEXS"), | 741 | INST("1101100---------", Id::TEXS, Type::Memory, "TEXS"), |