diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-10-16 22:11:26 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-10-18 02:30:45 +0200 |
commit | 41fb25349a82ba0657e41e4597ac9e415f6e442a (patch) | |
tree | 529a948ab657eef57b05c0cb932269374a6b5df4 /src/video_core/engines/shader_bytecode.h | |
parent | Merge pull request #1443 from DarkLordZach/lower-loader-logs-1 (diff) | |
download | yuzu-41fb25349a82ba0657e41e4597ac9e415f6e442a.tar yuzu-41fb25349a82ba0657e41e4597ac9e415f6e442a.tar.gz yuzu-41fb25349a82ba0657e41e4597ac9e415f6e442a.tar.bz2 yuzu-41fb25349a82ba0657e41e4597ac9e415f6e442a.tar.lz yuzu-41fb25349a82ba0657e41e4597ac9e415f6e442a.tar.xz yuzu-41fb25349a82ba0657e41e4597ac9e415f6e442a.tar.zst yuzu-41fb25349a82ba0657e41e4597ac9e415f6e442a.zip |
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
-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 f356f9a03..8c8d65769 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -1095,11 +1095,13 @@ public: KIL, SSY, SYNC, + BRK, DEPBAR, BFE_C, BFE_R, BFE_IMM, BRA, + PBK, LD_A, LD_C, ST_A, @@ -1239,7 +1241,7 @@ public: /// conditionally executed). static bool IsPredicatedInstruction(Id opcode) { // TODO(Subv): Add the rest of unpredicated instructions. - return opcode != Id::SSY; + return opcode != Id::SSY && opcode != Id::PBK; } class Matcher { @@ -1335,9 +1337,11 @@ private: #define INST(bitstring, op, type, name) Detail::GetMatcher(bitstring, op, type, name) INST("111000110011----", Id::KIL, Type::Flow, "KIL"), INST("111000101001----", Id::SSY, Type::Flow, "SSY"), + INST("111000101010----", Id::PBK, Type::Flow, "PBK"), INST("111000100100----", Id::BRA, Type::Flow, "BRA"), + INST("1111000011111---", Id::SYNC, Type::Flow, "SYNC"), + INST("111000110100---", Id::BRK, Type::Flow, "BRK"), 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"), @@ -1463,4 +1467,4 @@ private: } }; -} // namespace Tegra::Shader +} // namespace Tegra::Shader
\ No newline at end of file |