summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar David Marcec2018-09-01 19:29:20 +1000
committerGravatar David Marcec2018-09-01 19:29:20 +1000
commit2edab4e840a09a65ca6ac61d83c26aea6899e81e (patch)
tree913be325f9c4decd29a8a0e1a11ea3fc42b56a53 /src
parentChanged tab5980_0 default from 0 -> 1 (diff)
downloadyuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar.gz
yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.tar.xz
yuzu-2edab4e840a09a65ca6ac61d83c26aea6899e81e.zip
Removed saturate assert
Saturate already implemented
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/shader_bytecode.h1
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp1
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 {
402 BitField<47, 1, u64> cc; 402 BitField<47, 1, u64> cc;
403 BitField<48, 1, u64> negate_b; 403 BitField<48, 1, u64> negate_b;
404 BitField<49, 1, u64> negate_c; 404 BitField<49, 1, u64> negate_c;
405 BitField<50, 1, u64> saturate;
406 BitField<51, 2, u64> tab5980_1; 405 BitField<51, 2, u64> tab5980_1;
407 BitField<53, 2, u64> tab5980_0; 406 BitField<53, 2, u64> tab5980_0;
408 } ffma; 407 } 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:
1436 std::string op_b = instr.ffma.negate_b ? "-" : ""; 1436 std::string op_b = instr.ffma.negate_b ? "-" : "";
1437 std::string op_c = instr.ffma.negate_c ? "-" : ""; 1437 std::string op_c = instr.ffma.negate_c ? "-" : "";
1438 1438
1439 ASSERT_MSG(instr.ffma.saturate == 0, "FFMA Saturate not implemented");
1440 ASSERT_MSG(instr.ffma.cc == 0, "FFMA cc not implemented"); 1439 ASSERT_MSG(instr.ffma.cc == 0, "FFMA cc not implemented");
1441 ASSERT_MSG(instr.ffma.tab5980_0 == 1, "FFMA tab5980_0({}) not implemented", 1440 ASSERT_MSG(instr.ffma.tab5980_0 == 1, "FFMA tab5980_0({}) not implemented",
1442 instr.ffma.tab5980_0.Value()); // Seems to be 1 by default based on SMO 1441 instr.ffma.tab5980_0.Value()); // Seems to be 1 by default based on SMO