aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorDuck <350528965+Duck912@users.noreply.github.com>2026-11-03 15:44:36 -0500
committerGitHub <noreply@github.com>2026-11-03 15:44:36 -0500
commit05e3b9d8b08414d3163cde36de61514cb4aa2400 (patch)
tree499efe72b68afd9e1741e5c1331adce7b6ee8ecc /src/common
parentf347ae083af5595083a5706ff857462ed8c11596 (diff)
parent1889602c7a0dc17850692594eae2e77e16ac13fc (diff)
Merge pull request #434 from Duck912/streamline-dlss
video_core: NVIDIA DLSS through NVIDIA Streamline in place of a game's DLSS
Diffstat (limited to 'src/common')
-rw-r--r--src/common/fs/fs_paths.h1
-rw-r--r--src/common/fs/path_util.cpp1
-rw-r--r--src/common/fs/path_util.h1
-rw-r--r--src/common/settings.h2
4 files changed, 5 insertions, 0 deletions
diff --git a/src/common/fs/fs_paths.h b/src/common/fs/fs_paths.h
index ae25846fc2..763a8759dd 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -28,6 +28,7 @@
#define SCREENSHOTS_DIR "screenshots"
#define SDMC_DIR "sdmc"
#define SHADER_DIR "shader"
+#define STREAMLINE_DIR "streamline"
#define TAS_DIR "tas"
#define ICONS_DIR "icons"
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index 82ea8f6cb2..f77da2e301 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -168,6 +168,7 @@ public:
GenerateEdenPath(EdenPath::SDMCDir, eden_path / SDMC_DIR);
GenerateEdenPath(EdenPath::TASDir, eden_path / TAS_DIR);
GenerateEdenPath(EdenPath::IconsDir, eden_path / ICONS_DIR);
+ GenerateEdenPath(EdenPath::StreamlineDir, eden_path / STREAMLINE_DIR);
// config
GenerateEdenPath(EdenPath::ConfigDir, eden_path_config);
// cache
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index e8fa5614ae..940dbb9186 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -34,6 +34,7 @@ enum class EdenPath {
ShaderDir, // Where shaders are stored.
TASDir, // Where TAS scripts are stored.
IconsDir, // Where Icons for Windows shortcuts are stored.
+ StreamlineDir, // Where the user-supplied NVIDIA Streamline loader is stored.
};
// migration/compat dirs
diff --git a/src/common/settings.h b/src/common/settings.h
index 6669f98f4c..dc442a7180 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -378,6 +378,8 @@ struct Values {
Specialization::Percentage,
true,
true};
+ // NVIDIA DLSS (through NVIDIA Streamline) in place of a game's DLSS.
+ SwitchableSetting<bool> nvidia_dlss{linkage, false, "nvidia_dlss", Category::Renderer};
SwitchableSetting<AspectRatio, true> aspect_ratio{linkage,
AspectRatio::R16_9,
"aspect_ratio",