Преглед на файлове

Merge pull request #4360 from ReinUsesLisp/glasm-bar

gl_arb_decompiler: Execute BAR even when inside control flow
Rodrigo Locatti преди 6 години
родител
ревизия
721e6015a8
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      src/video_core/renderer_opengl/gl_arb_decompiler.cpp

+ 0 - 4
src/video_core/renderer_opengl/gl_arb_decompiler.cpp

@@ -2076,10 +2076,6 @@ std::string ARBDecompiler::ShuffleIndexed(Operation operation) {
 }
 
 std::string ARBDecompiler::Barrier(Operation) {
-    if (!ir.IsDecompiled()) {
-        LOG_ERROR(Render_OpenGL, "BAR used but shader is not decompiled");
-        return {};
-    }
     AddLine("BAR;");
     return {};
 }