mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
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.
This commit is contained in:
parent
263200f982
commit
88e57b13e0
1 changed files with 0 additions and 4 deletions
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue