소스 검색

gl_arb_decompiler: Execute BAR even when inside control flow

Unlike GLSL, GLASM allows us to call BAR inside control flow.

- Fixes graphical artifacts in Paper Mario.
ReinUsesLisp 6 년 전
부모
커밋
88e57b13e0
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

@@ -2044,10 +2044,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 {};
 }