mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-16 05:21:22 +00:00
fix android
This commit is contained in:
@@ -344,6 +344,11 @@ void Visit(const IR::Program& program, IR::Block& block, IR::Inst& inst) {
|
||||
} // Anonymous namespace
|
||||
|
||||
bool FragmentShaderNeedsRescalingPass(const IR::Program& program) {
|
||||
#ifdef __ANDROID__
|
||||
// Disable this workaround on Android to preserve performance
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if (program.stage != Stage::Fragment) return false;
|
||||
|
||||
for (const IR::Block* block : program.post_order_blocks) {
|
||||
|
||||
Reference in New Issue
Block a user