Merge pull request #4360 from ReinUsesLisp/glasm-bar

gl_arb_decompiler: Execute BAR even when inside control flow
This commit is contained in:
Rodrigo Locatti 2020-07-21 04:50:55 -03:00 committed by GitHub
commit 721e6015a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {};
}