added Fsr2 Pattern Matching option

This commit is contained in:
cdozdil committed 2025-01-22 23:09:29 +03:00
1 parent 92615b62d3
commit 49954b3ecb
2 files changed
+7 -9

No files matched your search

+7 -1
View File
@@ -2561,12 +2561,18 @@ bool MenuCommon::RenderMenu()
"might cause screen flicker and other issues");
bool fsr2Inputs = Config::Instance()->Fsr2Inputs.value_or_default();
bool fsr2Pattern = Config::Instance()->Fsr2Pattern.value_or_default();
bool fsr3Inputs = Config::Instance()->Fsr3Inputs.value_or_default();
bool ffxInputs = Config::Instance()->FfxInputs.value_or_default();
if (ImGui::Checkbox("Use Fsr2 Inputs", &fsr2Inputs))
Config::Instance()->Fsr2Inputs = fsr2Inputs;
if (ImGui::Checkbox("Use Fsr2 Pattern Matching", &fsr2Pattern))
Config::Instance()->Fsr2Pattern = fsr2Pattern;
ShowTooltip("This setting will become active on next boot!");
if (ImGui::Checkbox("Use Fsr3 Inputs", &fsr3Inputs))
Config::Instance()->Fsr3Inputs = fsr3Inputs;
@@ -2574,7 +2580,7 @@ bool MenuCommon::RenderMenu()
Config::Instance()->FfxInputs = ffxInputs;
SeparatorWithHelpMarker("Enable DLSSG", "These settings will be active on next boot!");
SeparatorWithHelpMarker("Enable DLSSG", "These settings will become active on next boot!");
auto dlssgEnabled = Config::Instance()->DLSSGMod.value_or(false);
if (ImGui::Checkbox("DLSSG Enabled", &dlssgEnabled))
{
-8
View File
@@ -114,21 +114,13 @@ private:
#pragma endregion
static std::string GetBackendName(std::string* code);
static std::string GetBackendCode(const API api);
static void GetCurrentBackendInfo(const API api, std::string* code, std::string* name);
static void AddDx11Backends(std::string* code, std::string* name);
static void AddDx12Backends(std::string* code, std::string* name);
static void AddVulkanBackends(std::string* code, std::string* name);
static void AddResourceBarrier(std::string name, std::optional<int>* value);
static void AddRenderPreset(std::string name, std::optional<uint32_t>* value);
static void PopulateCombo(std::string name, std::optional<uint32_t>* value, const char* names[], const std::string desc[], int length);
public: