فهرست منبع

Removed saturate assert

Unneeded as we already implement it
David Marcec 8 سال پیش
والد
کامیت
60754b4728
2فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 1
      src/video_core/engines/shader_bytecode.h
  2. 0 1
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

+ 0 - 1
src/video_core/engines/shader_bytecode.h

@@ -337,7 +337,6 @@ union Instruction {
         BitField<44, 2, u64> tab5c68_0;
         BitField<47, 1, u64> cc;
         BitField<48, 1, u64> negate_b;
-        BitField<50, 1, u64> saturate;
     } fmul;
 
     union {

+ 0 - 1
src/video_core/renderer_opengl/gl_shader_decompiler.cpp

@@ -1046,7 +1046,6 @@ private:
                            instr.fmul.tab5c68_0
                                .Value()); // SMO typical sends 1 here which seems to be the default
                 ASSERT_MSG(instr.fmul.cc == 0, "FMUL cc is not implemented");
-                ASSERT_MSG(instr.fmul.saturate == 0, "FMUL saturate is not implemented");
 
                 op_b = GetOperandAbsNeg(op_b, false, instr.fmul.negate_b);
                 regs.SetRegisterToFloat(instr.gpr0, 0, op_a + " * " + op_b, 1, 1,