summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/arithmetic.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:17:19 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:17:19 +0200
commit0b65e9335eaec6bef6423f6aa3be8d6b930657b9 (patch)
treeeadd594ef4e32149cbd2aaf10e523daf89483c87 /src/video_core/shader/decode/arithmetic.cpp
parentMerge pull request #2741 from FernandoS27/trace-log (diff)
downloadyuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.gz
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.bz2
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.lz
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.xz
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.zst
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.zip
Diffstat (limited to 'src/video_core/shader/decode/arithmetic.cpp')
-rw-r--r--src/video_core/shader/decode/arithmetic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/shader/decode/arithmetic.cpp b/src/video_core/shader/decode/arithmetic.cpp
index 87d8fecaa..05a5f19d2 100644
--- a/src/video_core/shader/decode/arithmetic.cpp
+++ b/src/video_core/shader/decode/arithmetic.cpp
@@ -42,10 +42,10 @@ u32 ShaderIR::DecodeArithmetic(NodeBlock& bb, u32 pc) {
case OpCode::Id::FMUL_R:
case OpCode::Id::FMUL_IMM: {
// FMUL does not have 'abs' bits and only the second operand has a 'neg' bit.
- UNIMPLEMENTED_IF_MSG(instr.fmul.tab5cb8_2 != 0, "FMUL tab5cb8_2({}) is not implemented",
- instr.fmul.tab5cb8_2.Value());
- UNIMPLEMENTED_IF_MSG(
- instr.fmul.tab5c68_0 != 1, "FMUL tab5cb8_0({}) is not implemented",
+ DEBUG_ASSERT_MSG(instr.fmul.tab5cb8_2 == 0, "FMUL tab5cb8_2({}) is not implemented",
+ instr.fmul.tab5cb8_2.Value());
+ DEBUG_ASSERT_MSG(
+ instr.fmul.tab5c68_0 == 1, "FMUL tab5cb8_0({}) is not implemented",
instr.fmul.tab5c68_0.Value()); // SMO typical sends 1 here which seems to be the default
op_b = GetOperandAbsNegFloat(op_b, false, instr.fmul.negate_b);