mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-29 18:56:22 +00:00
Remove Legacy Rescale Pass hack
This commit is contained in:
@@ -653,9 +653,6 @@ struct Values {
|
|||||||
SwitchableSetting<bool> emulate_bgr565{linkage, false, "emulate_bgr565",
|
SwitchableSetting<bool> emulate_bgr565{linkage, false, "emulate_bgr565",
|
||||||
Category::RendererHacks};
|
Category::RendererHacks};
|
||||||
|
|
||||||
SwitchableSetting<bool> rescale_hack{linkage, false, "rescale_hack",
|
|
||||||
Category::RendererHacks};
|
|
||||||
|
|
||||||
SwitchableSetting<bool> use_asynchronous_shaders{linkage, false, "use_asynchronous_shaders",
|
SwitchableSetting<bool> use_asynchronous_shaders{linkage, false, "use_asynchronous_shaders",
|
||||||
Category::RendererHacks};
|
Category::RendererHacks};
|
||||||
|
|
||||||
|
|||||||
@@ -271,12 +271,6 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent) {
|
|||||||
"quality and performance consistency in some games."));
|
"quality and performance consistency in some games."));
|
||||||
INSERT(Settings, fix_bloom_effects, tr("Fix bloom effects"), tr("Removes bloom in Burnout."));
|
INSERT(Settings, fix_bloom_effects, tr("Fix bloom effects"), tr("Removes bloom in Burnout."));
|
||||||
|
|
||||||
INSERT(Settings, rescale_hack, tr("Enable Legacy Rescale Pass"),
|
|
||||||
tr("May fix rescale issues in some games by relying on behavior from the previous "
|
|
||||||
"implementation.\n"
|
|
||||||
"Legacy behavior workaround that fixes line artifacts on AMD and Intel GPUs, and "
|
|
||||||
"grey texture flicker on Nvidia GPUs in Luigis Mansion 3."));
|
|
||||||
|
|
||||||
// Renderer (Extensions)
|
// Renderer (Extensions)
|
||||||
INSERT(Settings, dyna_state, tr("Extended Dynamic State"),
|
INSERT(Settings, dyna_state, tr("Extended Dynamic State"),
|
||||||
tr("Controls the number of features that can be used in Extended Dynamic State.\n"
|
tr("Controls the number of features that can be used in Extended Dynamic State.\n"
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::Blo
|
|||||||
Optimization::GlobalMemoryToStorageBufferPass(program, normalized_host_info);
|
Optimization::GlobalMemoryToStorageBufferPass(program, normalized_host_info);
|
||||||
Optimization::TexturePass(env, program, normalized_host_info);
|
Optimization::TexturePass(env, program, normalized_host_info);
|
||||||
|
|
||||||
if (Settings::values.resolution_info.active || Settings::values.rescale_hack.GetValue()) {
|
if (Settings::values.resolution_info.active) {
|
||||||
Optimization::RescalingPass(program);
|
Optimization::RescalingPass(program);
|
||||||
}
|
}
|
||||||
Optimization::DeadCodeEliminationPass(program);
|
Optimization::DeadCodeEliminationPass(program);
|
||||||
|
|||||||
Reference in New Issue
Block a user