summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-15 00:11:04 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-15 00:11:04 +0200
commitfefe7f18f9d626386340057402a2a29d69ae55c4 (patch)
tree06177753b792bd2bd25d8151bf54eab662003004 /src/video_core/shader/decode
parentMerge pull request #3660 from bunnei/friend-blocked-users (diff)
downloadyuzu-fefe7f18f9d626386340057402a2a29d69ae55c4.tar
yuzu-fefe7f18f9d626386340057402a2a29d69ae55c4.tar.gz
yuzu-fefe7f18f9d626386340057402a2a29d69ae55c4.tar.bz2
yuzu-fefe7f18f9d626386340057402a2a29d69ae55c4.tar.lz
yuzu-fefe7f18f9d626386340057402a2a29d69ae55c4.tar.xz
yuzu-fefe7f18f9d626386340057402a2a29d69ae55c4.tar.zst
yuzu-fefe7f18f9d626386340057402a2a29d69ae55c4.zip
Diffstat (limited to 'src/video_core/shader/decode')
-rw-r--r--src/video_core/shader/decode/arithmetic.cpp3
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 478394682..4db329fa5 100644
--- a/src/video_core/shader/decode/arithmetic.cpp
+++ b/src/video_core/shader/decode/arithmetic.cpp
@@ -136,7 +136,8 @@ u32 ShaderIR::DecodeArithmetic(NodeBlock& bb, u32 pc) {
SetRegister(bb, instr.gpr0, value);
break;
}
- case OpCode::Id::FCMP_R: {
+ case OpCode::Id::FCMP_RR:
+ case OpCode::Id::FCMP_RC: {
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));