Просмотр исходного кода

Changed tab5980_0 default from 0 -> 1

David Marcec 8 лет назад
Родитель
Сommit
2bc6abb9a1
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

+ 2 - 2
src/video_core/renderer_opengl/gl_shader_decompiler.cpp

@@ -1438,8 +1438,8 @@ private:
 
             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 == 0, "FFMA tab5980_0({}) not implemented",
-                       instr.ffma.tab5980_0.Value());
+            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
             ASSERT_MSG(instr.ffma.tab5980_1 == 0, "FFMA tab5980_1({}) not implemented",
                        instr.ffma.tab5980_1.Value());