fix android

This commit is contained in:
JPikachu 2026-03-03 20:02:01 +00:00
parent ca5a3b6bbd
commit c0a34acc5c

View file

@ -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) {