mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Merge pull request #4360 from ReinUsesLisp/glasm-bar
gl_arb_decompiler: Execute BAR even when inside control flow
This commit is contained in:
		@@ -2076,10 +2076,6 @@ std::string ARBDecompiler::ShuffleIndexed(Operation operation) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
std::string ARBDecompiler::Barrier(Operation) {
 | 
					std::string ARBDecompiler::Barrier(Operation) {
 | 
				
			||||||
    if (!ir.IsDecompiled()) {
 | 
					 | 
				
			||||||
        LOG_ERROR(Render_OpenGL, "BAR used but shader is not decompiled");
 | 
					 | 
				
			||||||
        return {};
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    AddLine("BAR;");
 | 
					    AddLine("BAR;");
 | 
				
			||||||
    return {};
 | 
					    return {};
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user