summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-22 18:31:17 +0100
committerGitHub <noreply@github.com>2024-02-22 18:31:17 +0100
commit984396a21ae8e82378b41f61f4f6a9745cde250a (patch)
tree10488a984d58f26cf791b1ad67d2a0223ba28163 /src/common
parentMerge pull request #13075 from liamwhite/mali-having-a-bad-time (diff)
parentvulkan_device: don't use fixed cap for memory limits (diff)
downloadyuzu-984396a21ae8e82378b41f61f4f6a9745cde250a.tar
yuzu-984396a21ae8e82378b41f61f4f6a9745cde250a.tar.gz
yuzu-984396a21ae8e82378b41f61f4f6a9745cde250a.tar.bz2
yuzu-984396a21ae8e82378b41f61f4f6a9745cde250a.tar.lz
yuzu-984396a21ae8e82378b41f61f4f6a9745cde250a.tar.xz
yuzu-984396a21ae8e82378b41f61f4f6a9745cde250a.tar.zst
yuzu-984396a21ae8e82378b41f61f4f6a9745cde250a.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.h6
-rw-r--r--src/common/settings_enums.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index aa054dc24..b2b071e7e 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -384,6 +384,12 @@ struct Values {
AstcRecompression::Bc3,
"astc_recompression",
Category::RendererAdvanced};
+ SwitchableSetting<VramUsageMode, true> vram_usage_mode{linkage,
+ VramUsageMode::Conservative,
+ VramUsageMode::Conservative,
+ VramUsageMode::Aggressive,
+ "vram_usage_mode",
+ Category::RendererAdvanced};
SwitchableSetting<bool> async_presentation{linkage,
#ifdef ANDROID
true,
diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h
index f42367e67..6e247e930 100644
--- a/src/common/settings_enums.h
+++ b/src/common/settings_enums.h
@@ -122,6 +122,8 @@ ENUM(AstcRecompression, Uncompressed, Bc1, Bc3);
ENUM(VSyncMode, Immediate, Mailbox, Fifo, FifoRelaxed);
+ENUM(VramUsageMode, Conservative, Aggressive);
+
ENUM(RendererBackend, OpenGL, Vulkan, Null);
ENUM(ShaderBackend, Glsl, Glasm, SpirV);