Răsfoiți Sursa

Removed saturate assert

Saturate already implemented
David Marcec 8 ani în urmă
părinte
comite
2edab4e840

+ 0 - 1
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;

+ 0 - 1
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