mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-11 16:48:40 +00:00
Revert "only LM3 and revert android exclude"
This reverts commit 2a105c2869.
This commit is contained in:
parent
2a105c2869
commit
1b54224d07
|
|
@ -44,8 +44,7 @@ enum class GPUVendor {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class TitleID : std::uint64_t {
|
enum class TitleID : std::uint64_t {
|
||||||
NinjaGaidenRagebound = 0x0100781020710000ULL,
|
NinjaGaidenRagebound = 0x0100781020710000ULL
|
||||||
LuigisMansion3 = 0x0100DCA0064A6000ULL
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct EnvironmentInfo {
|
struct EnvironmentInfo {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include "common/settings.h"
|
#include "common/settings.h"
|
||||||
#include "core/game_settings.h"
|
|
||||||
#include "shader_recompiler/environment.h"
|
#include "shader_recompiler/environment.h"
|
||||||
#include "shader_recompiler/frontend/ir/ir_emitter.h"
|
#include "shader_recompiler/frontend/ir/ir_emitter.h"
|
||||||
#include "shader_recompiler/frontend/ir/modifiers.h"
|
#include "shader_recompiler/frontend/ir/modifiers.h"
|
||||||
|
|
@ -345,10 +344,10 @@ 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) {
|
||||||
// Only apply for Luigi's Mansion 3
|
#ifdef __ANDROID__
|
||||||
if (Settings::values.program_id != static_cast<std::uint64_t>(Core::GameSettings::TitleID::LuigisMansion3)) {
|
// Disable this workaround on Android to preserve performance
|
||||||
return false;
|
return false;
|
||||||
}
|
#endif
|
||||||
|
|
||||||
if (program.stage != Stage::Fragment) return false;
|
if (program.stage != Stage::Fragment) return false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue