diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-01 11:29:20 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-01 11:29:20 +0200 |
commit | 2edab4e840a09a65ca6ac61d83c26aea6899e81e (patch) | |
tree | 913be325f9c4decd29a8a0e1a11ea3fc42b56a53 /src | |
parent | Changed tab5980_0 default from 0 -> 1 (diff) | |
download | yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar.gz yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar.bz2 yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar.lz yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar.xz yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar.zst yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 1 | ||||
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index f17a24843..6eeb3381b 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -402,7 +402,6 @@ union Instruction { BitField<47, 1, u64> cc; BitField<48, 1, u64> negate_b; BitField<49, 1, u64> negate_c; - BitField<50, 1, u64> saturate; BitField<51, 2, u64> tab5980_1; BitField<53, 2, u64> tab5980_0; } ffma; diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 1d1ddb39b..974798a98 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1436,7 +1436,6 @@ private: std::string op_b = instr.ffma.negate_b ? "-" : ""; std::string op_c = instr.ffma.negate_c ? "-" : ""; - 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 == 1, "FFMA tab5980_0({}) not implemented", instr.ffma.tab5980_0.Value()); // Seems to be 1 by default based on SMO |