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
commita13b47f080bdfdb08ccf00c806e21be2a80654fc (patch)
treeeadd594ef4e32149cbd2aaf10e523daf89483c87 /src/video_core/shader/decode/ffma.cpp
parent7d38c526fe4098c8dd5f0d725a97aba06c07da03 (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 29be25ca32..a39283a9c2 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);