fix(menu): the Upscaler row lists the engines again with Snapdragon GSR 2 declared #3237

Merged
HumanBean merged 2 commits from HumanBean/Longshot:fix/upscaler-row-engines into main 2026-12-05 16:56:54 +00:00
Owner

Summary

#3070 made the Upscaler row list engines only, with Off first, and DLAA, FSR 4 Native AA and XeSS Native AA reached as Render resolution's 100%. The menu picks that row only while the setting's highest value is 8 (rows.tsx); GSR 2 (#3126) made it 9, so the plain list has been back since: NVIDIA DLAA listed beside NVIDIA DLSS, and Off not first. The user guide describes the intended row.

To see it on main: Insert, Graphics, Upscaler, press Right from Game's own: NVIDIA DLSS, then NVIDIA DLAA.

The row already walks the declared values itself, so it no longer asks how many there are; the next upscaler (#3211) will not bring the list back.

Testing

Tested: Linux (CachyOS), RTX 3090: the row stepped through its values in game: Off, Game's own, NVIDIA DLSS, AMD FSR 3.1, Snapdragon GSR 2, then round again; on main's menu NVIDIA DLAA is among them. dev.py smoke passes. The new menu test ("the Upscaler row lists the engines...") fails on the test commit and passes on the head.

mise run test on a tree of this PR, its two sibling menu PRs and main @ 7bc53f84: 888 passed, 12 failed, 13 skipped; the 12 fail on main @ 7bc53f84 too: test_dlssg, test_lifter, test_no_game_title, test_no_map_reload, test_present_acquire_ahead, test_present_geometry_trace, test_present_held_image, test_present_image_free, test_sync_watch_event, test_turf_budget, test_ui_renderer, test_vk_draw_overhead_lean. cargo test -p modtool the_menu_passes_its_tests fails on this PR and on main @ 7bc53f84 alike: layout: ... the developer page, and at times the 2.00 ms per-frame budget.

Still to test:

  • Windows, with Intel XeSS and FSR 4 present: the row lists them once, and their native AA is Render resolution's 100% (by hand).

Measurements

Verdict: the row lists engines again.

Before: main @ 7bc53f84 After: this PR @ bee7cd4d
Menu test, upscaler row with 10 values fails passes
NVIDIA DLAA in the Upscaler row listed not listed

Risks

A player used to picking DLAA in this row since #3126 now picks NVIDIA DLSS and Render resolution 100%; a saved DLAA stays chosen and the row shows NVIDIA DLSS. Reverting is enough.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here.
  • Screenshots of the same spot on main and here, for a change that shows on screen.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

https://claude.ai/code/session_017vw8e16e9JsGLrugow9vJQ

## Summary #3070 made the **Upscaler** row list engines only, with Off first, and DLAA, FSR 4 Native AA and XeSS Native AA reached as **Render resolution**'s 100%. The menu picks that row only while the setting's highest value is 8 (`rows.tsx`); GSR 2 (#3126) made it 9, so the plain list has been back since: NVIDIA DLAA listed beside NVIDIA DLSS, and Off not first. The user guide describes the intended row. To see it on `main`: Insert, Graphics, Upscaler, press Right from Game's own: NVIDIA DLSS, then NVIDIA DLAA. The row already walks the declared values itself, so it no longer asks how many there are; the next upscaler (#3211) will not bring the list back. ## Testing **Tested:** Linux (CachyOS), RTX 3090: the row stepped through its values in game: Off, Game's own, NVIDIA DLSS, AMD FSR 3.1, Snapdragon GSR 2, then round again; on `main`'s menu NVIDIA DLAA is among them. `dev.py smoke` passes. The new menu test ("the Upscaler row lists the engines...") fails on the test commit and passes on the head. `mise run test` on a tree of this PR, its two sibling menu PRs and `main` @ 7bc53f84: 888 passed, 12 failed, 13 skipped; the 12 fail on `main` @ 7bc53f84 too: `test_dlssg`, `test_lifter`, `test_no_game_title`, `test_no_map_reload`, `test_present_acquire_ahead`, `test_present_geometry_trace`, `test_present_held_image`, `test_present_image_free`, `test_sync_watch_event`, `test_turf_budget`, `test_ui_renderer`, `test_vk_draw_overhead_lean`. `cargo test -p modtool` `the_menu_passes_its_tests` fails on this PR and on `main` @ 7bc53f84 alike: `layout: ... the developer page`, and at times the 2.00 ms per-frame budget. **Still to test:** - Windows, with Intel XeSS and FSR 4 present: the row lists them once, and their native AA is Render resolution's 100% (by hand). ## Measurements **Verdict:** the row lists engines again. | | Before: main @ 7bc53f84 | After: this PR @ bee7cd4d | |---|---|---| | Menu test, upscaler row with 10 values | fails | passes | | NVIDIA DLAA in the Upscaler row | listed | not listed | ## Risks A player used to picking DLAA in this row since #3126 now picks NVIDIA DLSS and Render resolution 100%; a saved DLAA stays chosen and the row shows NVIDIA DLSS. Reverting is enough. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A fix: a game-free test that fails on `main` and passes here. - [x] Screenshots of the same spot on `main` and here, for a change that shows on screen. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017vw8e16e9JsGLrugow9vJQ
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e16e9JsGLrugow9vJQ
fix(menu): the Upscaler row lists the engines again with Snapdragon GSR 2 declared
Some checks failed
CI / What the change needs (pull_request) Successful in 9s
CI / Third-party parts and guide screenshots (pull_request) Successful in 15s
PR description / Title and description (pull_request_target) Successful in 7s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 18s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m23s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 12m8s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m29s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m4s
CI / Website build and checks (pull_request) Failing after 38s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 46m23s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m6s
bee7cd4dc2
The row was chosen only while the dlss setting's highest value was 8. GSR 2
(#3126) made it 9, so the plain list came back: NVIDIA DLAA, FSR 4 Native AA
and XeSS Native AA beside their engines and Off not first, which #3070 had
fixed. The row walks the declared values itself, so it no longer asks how many.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e16e9JsGLrugow9vJQ
Author
Owner

Tested in game: Linux (CachyOS), RTX 3090: the Upscaler row stepped through in game: Off, Game's own, DLSS, FSR 3.1, GSR 2, no DLAA entry; main's menu lists DLAA; smoke passed.

Tested in game: Linux (CachyOS), RTX 3090: the Upscaler row stepped through in game: Off, Game's own, DLSS, FSR 3.1, GSR 2, no DLAA entry; main's menu lists DLAA; smoke passed.
Author
Owner

The row's values in order, main's menu above, this PR's below (RTX 3090, so FSR 4 and XeSS are not offered).

Upscaler row

The row's values in order, `main`'s menu above, this PR's below (RTX 3090, so FSR 4 and XeSS are not offered). ![Upscaler row](https://git.magicbean.dev/attachments/873b116f-6be0-414f-afb0-265f922795e6)
HumanBean changed title from WIP: fix(menu): the Upscaler row lists the engines again with Snapdragon GSR 2 declared to fix(menu): the Upscaler row lists the engines again with Snapdragon GSR 2 declared 2026-12-05 08:52:14 +00:00
Author
Owner
@review
BeanBot left a comment

Recommendation: Approve. The fix restores the intended engine list, and the reported Linux game run shows the DLAA entry is gone. CI and the author’s listed Windows check are still pending. Nothing blocking is left. Recommend approval; not approved on the forge.

The Upscaler row uses its engine-only presentation regardless of the number of declared choices. The change is small and removes the count check that caused the regression.

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Yes. The author reports that on Linux with an RTX 3090, main listed DLAA separately, while this head lists Off, Game’s own, DLSS, FSR 3.1 and GSR 2. The new game-free test is reported to fail before the fix and pass after it.

Other systems: The row also handles FSR 4, XeSS and saved native-AA values. Existing tests exercise their mapping and availability logic; the author lists a Windows check with FSR 4 and XeSS as still to test.

Switches: None.

Reviewed: bee7cd4dc2 against 7bc53f8413: Read AGENTS.md, CONTRIBUTING.md, the PR template, standards, the guide screenshot maintenance rules, the diff, commit messages, rows.tsx, shared.ts, the changed test and its surrounding upscaler tests, and the relevant view and graphics declaration code. Skimmed the remainder of menu.test.ts. docs/review-checklist.md and ../Tooling/AGENTS.md were absent.; nothing run (a code review).

Checked and fine:

  • The new test checks the displayed options for both the current declaration and an additional choice; restoring the old count check would fail it.
  • Both commits record AI assistance. The diff contains no generated files or game-derived output.
  • The existing Upscaler row retains the selected engine when its native-AA mode is active.

Testing: No code or tests were run during review. The author reports an in-game Linux run and a passing new test; CI is still running.

Overlaps and merge order: Not checked; network access is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The fix restores the intended engine list, and the reported Linux game run shows the DLAA entry is gone. CI and the author’s listed Windows check are still pending. Nothing blocking is left. Recommend approval; not approved on the forge. The Upscaler row uses its engine-only presentation regardless of the number of declared choices. The change is small and removes the count check that caused the regression. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The author reports that on Linux with an RTX 3090, main listed DLAA separately, while this head lists Off, Game’s own, DLSS, FSR 3.1 and GSR 2. The new game-free test is reported to fail before the fix and pass after it. **Other systems:** The row also handles FSR 4, XeSS and saved native-AA values. Existing tests exercise their mapping and availability logic; the author lists a Windows check with FSR 4 and XeSS as still to test. **Switches:** None. **Reviewed:** bee7cd4dc238 against 7bc53f841323: Read AGENTS.md, CONTRIBUTING.md, the PR template, standards, the guide screenshot maintenance rules, the diff, commit messages, rows.tsx, shared.ts, the changed test and its surrounding upscaler tests, and the relevant view and graphics declaration code. Skimmed the remainder of menu.test.ts. docs/review-checklist.md and ../Tooling/AGENTS.md were absent.; nothing run (a code review). **Checked and fine:** - The new test checks the displayed options for both the current declaration and an additional choice; restoring the old count check would fail it. - Both commits record AI assistance. The diff contains no generated files or game-derived output. - The existing Upscaler row retains the selected engine when its native-AA mode is active. **Testing:** No code or tests were run during review. The author reports an in-game Linux run and a passing new test; CI is still running. **Overlaps and merge order:** Not checked; network access is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
HumanBean deleted branch fix/upscaler-row-engines 2026-12-05 16:56:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!3237
No description provided.