From 06ecbc964c91bbde283a86040d28baa80309657a Mon Sep 17 00:00:00 2001 From: Gabrieli2806 <[tu-email@ejemplo.com]> Date: Sat, 11 Apr 2026 01:36:04 -0500 Subject: [PATCH] feat(dlss): add Ultra Performance mode support --- src/core/render/modules/world/dlss/dlss_module.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/render/modules/world/dlss/dlss_module.cpp b/src/core/render/modules/world/dlss/dlss_module.cpp index 3c318b0..eec0bb0 100644 --- a/src/core/render/modules/world/dlss/dlss_module.cpp +++ b/src/core/render/modules/world/dlss/dlss_module.cpp @@ -188,7 +188,9 @@ bool DLSSModule::setOrCreateOutputImages(std::vector &attributeKVs) { for (int i = 0; i < attributeCount; i++) { if (attributeKVs[2 * i] == "render_pipeline.module.dlss.attribute.mode") { - if (attributeKVs[2 * i + 1] == "render_pipeline.module.dlss.attribute.mode.performance") { + if (attributeKVs[2 * i + 1] == "render_pipeline.module.dlss.attribute.mode.ultra_performance") { + mode_ = NVSDK_NGX_PerfQuality_Value_UltraPerformance; + } else if (attributeKVs[2 * i + 1] == "render_pipeline.module.dlss.attribute.mode.performance") { mode_ = NVSDK_NGX_PerfQuality_Value_MaxPerf; } else if (attributeKVs[2 * i + 1] == "render_pipeline.module.dlss.attribute.mode.balanced") { mode_ = NVSDK_NGX_PerfQuality_Value_Balanced;