From 25bf3f539d184f6c2f7fa70ba4fe6c30f82fe476 Mon Sep 17 00:00:00 2001 From: chrg6 Date: Tue, 10 Nov 2026 02:59:08 -0500 Subject: [PATCH] Revert "Give DLSS the sizes of the feature it evaluates at every evaluation, not those of the feature made last." This reverts commit aa3c34e163c700b4e426eb094e080c157eaac8bf. (cherry picked from commit d6b2b9e8fff9cfe458fc6fefcb36a10cf9271f10) --- runtime/vk_dlaa.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/runtime/vk_dlaa.c b/runtime/vk_dlaa.c index 09ed62d5..cb93576f 100644 --- a/runtime/vk_dlaa.c +++ b/runtime/vk_dlaa.c @@ -1480,19 +1480,14 @@ static void evaluate(VkExec *ex, const VkExecTarget *dst) { (int)t->format, (int)z->format); goto evaluated; } - // The sizes and the mode of this size's feature, at every evaluation and not only when the feature is made: the - // parameter object is one for all sizes, and DLSS reads these from it when it evaluates too. Left as the last made - // feature's, the pause screen's feature (the picture's size in and out) ran with the gameplay feature's smaller input - // size once that one had been freed unused (stale_sizes) and made again after it: every other band of the picture's - // rows came out black or noise, from the second pause on, for as long as the game stayed paused. - p_setu(p, "Width", w); - p_setu(p, "Height", h); - p_setu(p, "OutWidth", ow); - p_setu(p, "OutHeight", oh); - p_seti(p, "PerfQualityValue", perf_quality(w, ow)); if (!e->feat) { p_setu(p, "CreationNodeMask", 1); p_setu(p, "VisibilityNodeMask", 1); + p_setu(p, "Width", w); + p_setu(p, "Height", h); + p_setu(p, "OutWidth", ow); + p_setu(p, "OutHeight", oh); + p_seti(p, "PerfQualityValue", perf_quality(w, ow)); // IsHDR | MVLowRes | AutoExposure: linear scene light, motion vectors at the render size, no exposure texture p_seti(p, "DLSS.Feature.Create.Flags", (1 << 0) | (1 << 1) | (1 << 6)); p_seti(p, "DLSS.Enable.Output.Subrects", 0);