diff options
| author | 2018-08-19 12:45:01 -0500 | |
|---|---|---|
| committer | 2018-08-19 12:57:08 -0500 | |
| commit | 656758fd81b679196e734224f07b133a95d51f0b (patch) | |
| tree | c50b5bf3ad0c0c33921075ae34753dd60b66f5a8 | |
| parent | Merge pull request #1109 from Subv/ldg_decode (diff) | |
| download | yuzu-656758fd81b679196e734224f07b133a95d51f0b.tar.gz yuzu-656758fd81b679196e734224f07b133a95d51f0b.tar.xz yuzu-656758fd81b679196e734224f07b133a95d51f0b.zip | |
Shaders: Added decodings for TLD4 and TLD4S
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 8ae0e6df2..7a21fba25 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h | |||
| @@ -524,9 +524,11 @@ public: | |||
| 524 | LDG, // Load from global memory | 524 | LDG, // Load from global memory |
| 525 | STG, // Store in global memory | 525 | STG, // Store in global memory |
| 526 | TEX, | 526 | TEX, |
| 527 | TEXQ, // Texture Query | 527 | TEXQ, // Texture Query |
| 528 | TEXS, // Texture Fetch with scalar/non-vec4 source/destinations | 528 | TEXS, // Texture Fetch with scalar/non-vec4 source/destinations |
| 529 | TLDS, // Texture Load with scalar/non-vec4 source/destinations | 529 | TLDS, // Texture Load with scalar/non-vec4 source/destinations |
| 530 | TLD4, // Texture Load 4 | ||
| 531 | TLD4S, // Texture Load 4 with scalar / non - vec4 source / destinations | ||
| 530 | EXIT, | 532 | EXIT, |
| 531 | IPA, | 533 | IPA, |
| 532 | FFMA_IMM, // Fused Multiply and Add | 534 | FFMA_IMM, // Fused Multiply and Add |
| @@ -740,6 +742,8 @@ private: | |||
| 740 | INST("1101111101001---", Id::TEXQ, Type::Memory, "TEXQ"), | 742 | INST("1101111101001---", Id::TEXQ, Type::Memory, "TEXQ"), |
| 741 | INST("1101100---------", Id::TEXS, Type::Memory, "TEXS"), | 743 | INST("1101100---------", Id::TEXS, Type::Memory, "TEXS"), |
| 742 | INST("1101101---------", Id::TLDS, Type::Memory, "TLDS"), | 744 | INST("1101101---------", Id::TLDS, Type::Memory, "TLDS"), |
| 745 | INST("110010----111---", Id::TLD4, Type::Memory, "TLD4"), | ||
| 746 | INST("1101111100------", Id::TLD4S, Type::Memory, "TLD4S"), | ||
| 743 | INST("111000110000----", Id::EXIT, Type::Trivial, "EXIT"), | 747 | INST("111000110000----", Id::EXIT, Type::Trivial, "EXIT"), |
| 744 | INST("11100000--------", Id::IPA, Type::Trivial, "IPA"), | 748 | INST("11100000--------", Id::IPA, Type::Trivial, "IPA"), |
| 745 | INST("0011001-1-------", Id::FFMA_IMM, Type::Ffma, "FFMA_IMM"), | 749 | INST("0011001-1-------", Id::FFMA_IMM, Type::Ffma, "FFMA_IMM"), |