upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 02:19:48 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 02:27:11 +0100
commita0a3189f3cacb311a4c84670027ddae9ae3e7881 (patch)
tree2e1dd9331e497d16c49ec418cb965dc1e8d1cc03 /runtime/test/tiny_game_exit_code_test.cpp
parentd15e048a746896621422542b5bce28d08812d101 (diff)
launcher: the FG + RT greying follows what play-nvidia.ps1 will hold (review of 671d0c0fa)
Two findings of merzleckeier's review of 671d0c0fa (PR #3182): - Adapter mismatch: the 20 GB rule of frame generation with ray tracing judged the memory of the card chosen in the Graphics card list, while play-nvidia.ps1's $vram is the largest qwMemorySize of the display class registry, whatever -Adapter says. card_facts' "vram" is now that value (an 8 GB card chosen beside a 24 GB one keeps frame generation, as the launch does); DLSS and the maker still follow the chosen card. - Effective hardware RT: the rule read the Ray tracing control only. launch_values computes what the script will hold for LEONIDA_HW_RT, LEONIDA_BVH_BUILDER, LEONIDA_FG_WITH_RT, LEONIDA_FRAME_GEN, LEONIDA_FSR_FRAMEGEN and the console, in its order: the launcher's switches, the F1 menu's file for the keys no switch changed since the last PLAY takes ($switchSettings, mirrored and checked against the script by a test; -HardwareRT is not in it), then -More last. settings_rules greys from it, and a muted note under Ray tracing says when the F1 menu or Advanced turns it on or off. Tests: merzleckeier's cases (8 GB chosen + 24 GB present enabled; Series X 8 GB with RT Off and LEONIDA_HW_RT=1 from F1 or Advanced greyed; RT off everywhere enabled; a switch changed since the last PLAY wins over F1), the switch table read from play-nvidia.ps1, the new texts in de/es/fr/pt. A dry run through play-d3d12.ps1 -> play-nvidia.ps1 of origin/main with a stubbed registry agreed with the greying in 18 of 18 cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions