upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorMykolas009 <171140154+Mykolas009@users.noreply.github.com>2026-12-01 21:24:57 +0200
committerMykolas009 <171140154+Mykolas009@users.noreply.github.com>2026-12-01 21:38:29 +0200
commit5586f9b003596d0f3d5bf19e8fdc3e93c5aa7fe4 (patch)
tree316f429e2acac786e53cc4ceeb1c2e1e006309ec /runtime/src/thread_stacks.cpp
parentab374c7d5e96409df189d8decd200d00ea2f9f82 (diff)
d3d12: the DLSS build is asked for once NVIDIA's SDK is here, whatever the switches (D3D12-F1-DLSS-REBUILD)
play-nvidia.ps1 made the layer again with DLSS only when the start's own switches wanted DLSS ($wantDlss), and it decides that before it reads the F1 menu's saved settings. A DLSS choice the menu saved behind a replayed -Resolution (the menu's SAVE AND RESTART) therefore asked for no build: with a build noted as made without DLSS and NVIDIA's SDK installed afterwards, every such start fell back from DLSS. get-nvidia-sdks.ps1 says the next start builds the layer with DLSS; that held only for some switches. The check now follows the SDK alone: a diag build noted as made without DLSS is made again when nvsdk_ngx_d.lib is here, unless -NoDlss. It stays the one check it was; no second one behind the menu. Two things follow from asking more starts for that build: - without cargo such a start no longer stops with "No build and no cargo": it says DLSS waits for cargo and runs the build that is here (a start with no build at all still stops, as before); - a dry run, which builds nothing, says that a start builds first and prints the settings of the start after it; it printed the settings from before the build without a word. Test: tests/test_play_nvidia_menu_choice.py, ten cases of launcher dry runs against a synthetic folder with a stand-in cargo on the PATH (no game files, no GPU), and one more run for a note whose exe is gone. On main six of the ten fail (the five that expect the build and the one without cargo); with this change all pass. Not in this change: scripts/game-gate.ps1 refuses to run without a build so that none is made inside a run. A build noted as made without DLSS, with the SDK there, is now made again by starts that did not ask for it before (the gate's default Series X start among them), inside the run. A guard there is a follow-up: the gate needs PowerShell 7, which the PC this was written on does not have. Found by ubiquitarianism (ProjectLeonida/mandy#2570, 1 Dec 2026). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions