From c0a34acc5ccb05e7fc456e8335cf04328e075db4 Mon Sep 17 00:00:00 2001 From: JPikachu Date: Tue, 3 Mar 2026 20:02:01 +0000 Subject: [PATCH] fix android --- src/shader_recompiler/ir_opt/rescaling_pass.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/shader_recompiler/ir_opt/rescaling_pass.cpp b/src/shader_recompiler/ir_opt/rescaling_pass.cpp index 7e551fe741..af241f17ca 100644 --- a/src/shader_recompiler/ir_opt/rescaling_pass.cpp +++ b/src/shader_recompiler/ir_opt/rescaling_pass.cpp @@ -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) {