diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-20 04:15:34 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-20 04:15:34 +0200 |
commit | 1158777737716536c0ac4c2eedb5e9b46d2dcfd8 (patch) | |
tree | 49a83d8ee1634bd4bf31f93e5f610ccc5fd43a53 /src/video_core/shader/decode/ffma.cpp | |
parent | Shader_Ir: correct clang format (diff) | |
download | yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.gz yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.bz2 yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.lz yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.xz yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.zst yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/ffma.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/video_core/shader/decode/ffma.cpp b/src/video_core/shader/decode/ffma.cpp index cb3a9cfc1..ca2f39e8d 100644 --- a/src/video_core/shader/decode/ffma.cpp +++ b/src/video_core/shader/decode/ffma.cpp @@ -18,10 +18,12 @@ u32 ShaderIR::DecodeFfma(NodeBlock& bb, u32 pc) { const auto opcode = OpCode::Decode(instr); UNIMPLEMENTED_IF_MSG(instr.ffma.cc != 0, "FFMA cc not implemented"); - DEBUG_ASSERT_MSG(instr.ffma.tab5980_0 == 1, "FFMA tab5980_0({}) not implemented", - instr.ffma.tab5980_0.Value()); // Seems to be 1 by default based on SMO - DEBUG_ASSERT_MSG(instr.ffma.tab5980_1 == 0, "FFMA tab5980_1({}) not implemented", - instr.ffma.tab5980_1.Value()); + if (instr.ffma.tab5980_0 != 1) { + LOG_WARNING(HW_GPU, "FFMA tab5980_0({}) not implemented", instr.ffma.tab5980_0.Value()); + } + if (instr.ffma.tab5980_1 != 0) { + LOG_WARNING(HW_GPU, "FFMA tab5980_1({}) not implemented", instr.ffma.tab5980_1.Value()); + } const Node op_a = GetRegister(instr.gpr8); |