mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-23 01:56:08 -04:00
feat: Add FSR 2.0 scaling filter option
- Add FSR2 to ScalingFilter enum alongside existing FSR - Implement FSR2 classes for both Vulkan and OpenGL renderers - Add fsr2_quality_mode setting with 4 quality levels (Quality, Balanced, Performance, Ultra Performance) - Integrate FSR2 into present pipeline for both renderers - Add UI support for FSR2 option in scaling filter dropdown - Add FSR2 quality mode setting with dropdown selection - Update translations and Android strings for new options - Default to Performance mode for optimal balance This provides users with FSR 2.0 as a scaling option, offering different quality/performance characteristics compared to FSR 1.0. The implementation uses quality-based sharpening values and integrates seamlessly with the existing rendering pipeline. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -348,6 +348,16 @@ struct Values {
|
||||
true,
|
||||
true};
|
||||
|
||||
SwitchableSetting<int, true> fsr2_quality_mode{linkage,
|
||||
2, // Performance by default
|
||||
0, // Quality
|
||||
3, // Ultra Performance
|
||||
"fsr2_quality_mode",
|
||||
Category::Renderer,
|
||||
Specialization::Default,
|
||||
true,
|
||||
true};
|
||||
|
||||
SwitchableSetting<u8, false> bg_red{
|
||||
linkage, 0, "bg_red", Category::Renderer, Specialization::Default, true, true};
|
||||
SwitchableSetting<u8, false> bg_green{
|
||||
|
||||
Reference in New Issue
Block a user