summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-01 11:15:03 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-01 11:15:03 +0200
commit2bc6abb9a17cdf914c0a2462aec524bace195b13 (patch)
treeb68c59d22493d6e766194cb3c079b1446bc32ca1 /src
parentAdded FFMA asserts (diff)
downloadyuzu-2bc6abb9a17cdf914c0a2462aec524bace195b13.tar
yuzu-2bc6abb9a17cdf914c0a2462aec524bace195b13.tar.gz
yuzu-2bc6abb9a17cdf914c0a2462aec524bace195b13.tar.bz2
yuzu-2bc6abb9a17cdf914c0a2462aec524bace195b13.tar.lz
yuzu-2bc6abb9a17cdf914c0a2462aec524bace195b13.tar.xz
yuzu-2bc6abb9a17cdf914c0a2462aec524bace195b13.tar.zst
yuzu-2bc6abb9a17cdf914c0a2462aec524bace195b13.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 88b4e4324..1d1ddb39b 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1438,8 +1438,8 @@ private:
ASSERT_MSG(instr.ffma.saturate == 0, "FFMA Saturate not implemented");
ASSERT_MSG(instr.ffma.cc == 0, "FFMA cc not implemented");
- ASSERT_MSG(instr.ffma.tab5980_0 == 0, "FFMA tab5980_0({}) not implemented",
- instr.ffma.tab5980_0.Value());
+ 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
ASSERT_MSG(instr.ffma.tab5980_1 == 0, "FFMA tab5980_1({}) not implemented",
instr.ffma.tab5980_1.Value());