Browse Source
Merge pull request #4360 from ReinUsesLisp/glasm-bar
gl_arb_decompiler: Execute BAR even when inside control flow
pull/15/merge
Rodrigo Locatti
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
4 deletions
-
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 {}; |
|
|
|
} |
|
|
|
|