From 2edab4e840a09a65ca6ac61d83c26aea6899e81e Mon Sep 17 00:00:00 2001 From: David Marcec Date: Sat, 1 Sep 2018 19:29:20 +1000 Subject: [PATCH] Removed saturate assert Saturate already implemented --- src/video_core/engines/shader_bytecode.h | 1 - src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 1 - 2 files changed, 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