mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-15 06:17:00 +02:00
fix android
This commit is contained in:
parent
ca5a3b6bbd
commit
c0a34acc5c
1 changed files with 5 additions and 0 deletions
|
|
@ -344,6 +344,11 @@ void Visit(const IR::Program& program, IR::Block& block, IR::Inst& inst) {
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
||||||
bool FragmentShaderNeedsRescalingPass(const IR::Program& program) {
|
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;
|
if (program.stage != Stage::Fragment) return false;
|
||||||
|
|
||||||
for (const IR::Block* block : program.post_order_blocks) {
|
for (const IR::Block* block : program.post_order_blocks) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue