diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-31 09:25:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 09:25:02 +0100 |
commit | 98f68d06f17dd8e7d26c3fec8598683af9f8b32d (patch) | |
tree | 0c34040b73ac68aea8dc8f61b829a9fb500b453c /src/video_core/shader/decode/arithmetic.cpp | |
parent | Merge pull request #4872 from jbeich/clang (diff) | |
parent | shader/arithmetic: Implement FCMP immediate + register variant (diff) | |
download | yuzu-98f68d06f17dd8e7d26c3fec8598683af9f8b32d.tar yuzu-98f68d06f17dd8e7d26c3fec8598683af9f8b32d.tar.gz yuzu-98f68d06f17dd8e7d26c3fec8598683af9f8b32d.tar.bz2 yuzu-98f68d06f17dd8e7d26c3fec8598683af9f8b32d.tar.lz yuzu-98f68d06f17dd8e7d26c3fec8598683af9f8b32d.tar.xz yuzu-98f68d06f17dd8e7d26c3fec8598683af9f8b32d.tar.zst yuzu-98f68d06f17dd8e7d26c3fec8598683af9f8b32d.zip |
Diffstat (limited to 'src/video_core/shader/decode/arithmetic.cpp')
-rw-r--r-- | src/video_core/shader/decode/arithmetic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/arithmetic.cpp b/src/video_core/shader/decode/arithmetic.cpp index 4db329fa5..afef5948d 100644 --- a/src/video_core/shader/decode/arithmetic.cpp +++ b/src/video_core/shader/decode/arithmetic.cpp @@ -137,7 +137,8 @@ u32 ShaderIR::DecodeArithmetic(NodeBlock& bb, u32 pc) { break; } case OpCode::Id::FCMP_RR: - case OpCode::Id::FCMP_RC: { + case OpCode::Id::FCMP_RC: + case OpCode::Id::FCMP_IMMR: { UNIMPLEMENTED_IF(instr.fcmp.ftz == 0); Node op_c = GetRegister(instr.gpr39); Node comp = GetPredicateComparisonFloat(instr.fcmp.cond, std::move(op_c), Immediate(0.0f)); |