aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp1
-rw-r--r--src/common/settings.h9
-rw-r--r--src/common/settings_enums.h3
3 files changed, 12 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 3f5154026e..dc46a0ec87 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -60,6 +60,7 @@ SWITCHABLE(NvdecEmulation, false);
SWITCHABLE(Region, true);
SWITCHABLE(RendererBackend, true);
SWITCHABLE(ScalingFilter, false);
+SWITCHABLE(FrameGenType, false);
SWITCHABLE(SpirvOptimizeMode, true);
SWITCHABLE(TimeZone, true);
SETTING(VSyncMode, true);
diff --git a/src/common/settings.h b/src/common/settings.h
index b57bec5c12..d48e7b0b87 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -420,6 +420,15 @@ struct Values {
SwitchableSetting<bool> frame_gen{linkage, false, "frame_gen", Category::Renderer,
Specialization::Default, true, false};
+ SwitchableSetting<FrameGenType> frame_gen_type{linkage,
+ FrameGenType::Fsr3,
+ "frame_gen_type",
+ Category::Renderer,
+ Specialization::Default,
+ true,
+ false,
+ &frame_gen};
+
SwitchableSetting<u32, true> frame_gen_multiplier{linkage,
2,
2,
diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h
index eaf3ec541d..133b503f72 100644
--- a/src/common/settings_enums.h
+++ b/src/common/settings_enums.h
@@ -146,7 +146,7 @@ ENUM(ConfirmStop, Ask_Always, Ask_Based_On_Game, Ask_Never);
ENUM(FullscreenMode, Borderless, Exclusive);
ENUM(NvdecEmulation, Off, Cpu, Gpu);
ENUM(ResolutionSetup, Res1_4X, Res1_2X, Res3_4X, Res1X, Res5_4X, Res3_2X, Res2X, Res3X, Res4X, Res5X, Res6X, Res7X, Res8X);
-ENUM(ScalingFilter, NearestNeighbor, Bilinear, Bicubic, Gaussian, Lanczos, ScaleForce, Fsr, Area, ZeroTangent, BSpline, Mitchell, Spline1, Mmpx, Sgsr, SgsrEdge);
+ENUM(ScalingFilter, NearestNeighbor, Bilinear, Bicubic, Gaussian, Lanczos, ScaleForce, Fsr, Area, ZeroTangent, BSpline, Mitchell, Spline1, Mmpx, Sgsr, SgsrEdge, Fsr3);
ENUM(AntiAliasing, None, Fxaa, Smaa);
ENUM(AspectRatio, R16_9, R4_3, R21_9, R16_10, Stretch);
ENUM(ConsoleMode, Handheld, Docked);
@@ -161,6 +161,7 @@ ENUM(ExtendedDynamicState, Disabled, EDS1, EDS2, EDS3);
ENUM(GpuLogLevel, Off, Errors, Standard, Verbose, All)
ENUM(GameListMode, TreeView, GridView, CarouselView);
ENUM(SpeedMode, Standard, Turbo, Slow);
+ENUM(FrameGenType, Lsfg, Fsr3);
template <typename Type>
inline std::string_view CanonicalizeEnum(Type id) {