Say a restart is needed only when one is, and drop the line under Preparing shaders.

The Upscaling row no longer carries "DLSS on or off: after restart". It shows "after restart" only while the upscaler picked cannot start in this run. Frame generation says so only for a change to or from NVIDIA's, since AMD's applies at once, and the HDR row no longer says it twice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
epicmeme546
2026-11-09 04:29:01 -05:00
parent b0d420db3d
commit 778c55777d
9 changed files with 38 additions and 34 deletions

View File

@@ -120,6 +120,13 @@ int vk_dlaa_wanted(void) {
static int fsr3(void) { return !N.ngx_up && !strcmp(cfg_value("NX2NAVI_TAA"), "fsr3"); }
int vk_dlaa_fsr3(void) { return vk_dlaa_wanted() && fsr3(); }
// The upscaler the menu has set cannot start in this run: DLSS when NGX was never tried (a device made without its
// extensions), FSR 3.1 while NGX is up and serves the run. A DLSS this PC could not bring up is not waiting for a restart.
int vk_dlaa_needs_restart(void) {
if (!cfg_bool("NX2NAVI_DLAA")) return 0;
return strcmp(cfg_value("NX2NAVI_TAA"), "fsr3") ? !N.ngx_up && !N.tried : N.ngx_up;
}
static int core_load(void) {
if (N.tried) return N.loaded;
N.tried = 1;