aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/decode/ffma.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 08:17:19 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 08:17:19 -0400
commit0b65e9335eaec6bef6423f6aa3be8d6b930657b9 (patch)
treeeadd594ef4e32149cbd2aaf10e523daf89483c87 /src/video_core/shader/decode/ffma.cpp
parentd4b95bfc25cfb097fc91f4c8f45b56ff5c7a2337 (diff)
Shader_Ir: Downgrade precision and rounding asserts to debug asserts.
This commit reduces the sevirity of asserts for FP precision and rounding as this are well known and have little to no consequences in gpu's accuracy.
Diffstat (limited to 'src/video_core/shader/decode/ffma.cpp')
-rw-r--r--src/video_core/shader/decode/ffma.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/ffma.cpp b/src/video_core/shader/decode/ffma.cpp
index 29be25ca3..a39283a9c 100644
--- a/src/video_core/shader/decode/ffma.cpp
+++ b/src/video_core/shader/decode/ffma.cpp
@@ -18,9 +18,9 @@ u32 ShaderIR::DecodeFfma(NodeBlock& bb, u32 pc) {
const auto opcode = OpCode::Decode(instr);
UNIMPLEMENTED_IF_MSG(instr.ffma.cc != 0, "FFMA cc not implemented");
- UNIMPLEMENTED_IF_MSG(instr.ffma.tab5980_0 != 1, "FFMA tab5980_0({}) 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
- UNIMPLEMENTED_IF_MSG(instr.ffma.tab5980_1 != 0, "FFMA tab5980_1({}) not implemented",
+ DEBUG_ASSERT_MSG(instr.ffma.tab5980_1 == 0, "FFMA tab5980_1({}) not implemented",
instr.ffma.tab5980_1.Value());
const Node op_a = GetRegister(instr.gpr8);