eden-miror/src/shader_recompiler/ir_opt
John 0d950195e9
[Settings] Add "Enable Legacy Rescale Pass" Toggle (#3582)
This PR introduces an optional Legacy Rescale Compatibility Mode that restores the previous rescale‑pass behavior for titles that rely on its quirks. While the new rescale logic is generally more correct, some games exhibit visual issues that the legacy behavior incidentally avoids.
Enabling this mode can mitigate line artifacts on AMD GPUs and reduce grey‑texture flickering on Nvidia GPUs in Luigi’s Mansion 3. This is a compatibility workaround rather than a full fix, and should only be used for titles affected by these rare edge‑case rendering problems.

Original Logic from MaranBR

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3582
Co-authored-by: John <john@eden-emu.dev>
Co-committed-by: John <john@eden-emu.dev>
2026-02-26 03:57:25 +01:00
..
collect_shader_info_pass.cpp [meta] fix license headers (#2547) 2025-09-21 21:58:59 +02:00
conditional_barrier_pass.cpp shader_recompiler: remove barriers in conditional control flow when device lacks support 2023-06-10 12:30:39 -04:00
constant_propagation_pass.cpp [common] replace Common::BitCast with libc++ provided one (#2774) 2025-10-22 02:56:28 +02:00
dead_code_elimination_pass.cpp Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass" 2022-10-25 12:57:25 +08:00
dual_vertex_pass.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
global_memory_to_storage_buffer_pass.cpp revert Align and bias memory stronger 2025-07-11 19:57:21 +02:00
identity_removal_pass.cpp [vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA passes (#3250) 2026-01-20 02:36:24 +01:00
layer_pass.cpp shader_recompiler: add gl_Layer translation GS for older hardware 2022-12-01 09:51:27 -05:00
lower_fp16_to_fp32.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lower_fp64_to_fp32.cpp shader_recompiler: translate f64 to f32 when unsupported on host 2023-06-10 12:38:49 -04:00
lower_int64_to_int32.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
passes.h Merge branch 'master' into ssbo-align 2023-11-26 21:08:53 -05:00
position_pass.cpp video_core: Generate mipmap texture by drawing 2022-09-20 11:55:43 +08:00
rescaling_pass.cpp [Settings] Add "Enable Legacy Rescale Pass" Toggle (#3582) 2026-02-26 03:57:25 +01:00
ssa_rewrite_pass.cpp [*] change all std::unordered_map and std::unordered_set into ankerl::unordered_dense::map/set variants (#3442) 2026-02-10 03:34:07 +01:00
texture_pass.cpp [*] change all std::unordered_map and std::unordered_set into ankerl::unordered_dense::map/set variants (#3442) 2026-02-10 03:34:07 +01:00
vendor_workaround_pass.cpp shader_recompiler: add byteswap pattern workaround for Nvidia 2023-11-17 22:29:12 -05:00
verification_pass.cpp GCC 12 fixes 2022-04-28 16:50:34 -04:00