fix(menu): DLAA is DLSS's 100% again, the Upscaler row lists the engines #3070

Merged
llun merged 1 commit from Veix/Longshot:fix/menu-dlaa-under-dlss into main 2026-12-03 09:52:28 +00:00
Member

Summary

DLAA is under DLSS again: the Upscaler row lists the engines, and DLAA is the 100% stop of DLSS's Render resolution.

Since the mod API's menu, the Upscaler row lists NVIDIA DLAA, AMD FSR 4 Native AA and Intel XeSS Native AA as upscalers
of their own, and the Render resolution row (#2875) adds them a second time as "Native (DLAA)" after 92%. A player
looking for DLAA under DLSS found a list that ends at 92% (reported on Discord).

On main: Insert > Graphics, Upscaler NVIDIA DLSS, Dynamic resolution Off. The Upscaler row lists NVIDIA DLAA beside NVIDIA
DLSS, and Render resolution ends at "Native (DLAA)" below 92%, which a dropdown that meets the screen's bottom edge does
not show without scrolling.

This PR:

  • The Upscaler row (UpscalerRow in game/mods/menu/src/rows.tsx, its list upscalerEngines in view.ts) lists the
    engines alone: the game's own, NVIDIA DLSS, AMD FSR 3.1, AMD FSR 4, Off, Intel XeSS, each that runs on this PC. While
    DLAA (or FSR 4's or XeSS's native AA) runs, it shows its engine. Choosing the engine that runs keeps its native AA;
    another engine is set as it is.
  • The Render resolution row's last stop reads "100% (DLAA)", "100% (FSR 4 Native AA)", "100% (XeSS Native AA)", in the
    row's own translated "100%" (resolutionChoices). Picking it sets the native AA, any other stop the engine, as before.
  • docs/user/graphics-and-controls.md already says these are "chosen on the Render resolution row"; its Native labels
    now read 100%.

The saved values are unchanged: DLAA is still dlss=2, and the renderer is untouched.

Written with AI assistance (Claude).

Testing

Tested: Windows 11, RTX 4070 SUPER, main 2ca7d4f7 with this change, in the game: the Upscaler row lists the engines
without DLAA; under DLSS, Render resolution ends with "100% (DLAA)", and picking it runs DLAA.

  • longshot-builder mod test game/mods/menu: 64 passed, 0 failed. The new checks (the Upscaler row's engines, DLAA shown
    as DLSS, DLSS chosen again keeps DLAA, another engine set as it is, upscalerEngines with engines that do not run) fail
    on main.
  • tests/run_all.py --strict test_menu_i18n test_menu_ini_keys test_dlss_fg_through (the checks that read the menu's
    texts and the changed docs): passed. The whole mise run test not run here: CI.

Still to test:

  • AMD RDNA 4 / Intel Arc: Upscaler FSR 4 or XeSS, Render resolution's last stop "100% (FSR 4 Native AA)" / "100% (XeSS
    Native AA)" runs the native AA, the Upscaler row keeps showing the engine (by hand)

Measurements

Nothing to measure: a change to the menu's rows only.

Risks

Menu only; a revert is enough. A player with DLAA, FSR 4 Native AA or XeSS Native AA saved keeps it; the Upscaler row now
shows its engine and Render resolution shows 100%.

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.
  • Docs updated.
  • 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

## Summary **DLAA is under DLSS again: the Upscaler row lists the engines, and DLAA is the 100% stop of DLSS's Render resolution.** Since the mod API's menu, the Upscaler row lists NVIDIA DLAA, AMD FSR 4 Native AA and Intel XeSS Native AA as upscalers of their own, and the Render resolution row (#2875) adds them a second time as "Native (DLAA)" after 92%. A player looking for DLAA under DLSS found a list that ends at 92% (reported on Discord). On main: Insert > Graphics, Upscaler NVIDIA DLSS, Dynamic resolution Off. The Upscaler row lists NVIDIA DLAA beside NVIDIA DLSS, and Render resolution ends at "Native (DLAA)" below 92%, which a dropdown that meets the screen's bottom edge does not show without scrolling. This PR: - The Upscaler row (`UpscalerRow` in `game/mods/menu/src/rows.tsx`, its list `upscalerEngines` in `view.ts`) lists the engines alone: the game's own, NVIDIA DLSS, AMD FSR 3.1, AMD FSR 4, Off, Intel XeSS, each that runs on this PC. While DLAA (or FSR 4's or XeSS's native AA) runs, it shows its engine. Choosing the engine that runs keeps its native AA; another engine is set as it is. - The Render resolution row's last stop reads "100% (DLAA)", "100% (FSR 4 Native AA)", "100% (XeSS Native AA)", in the row's own translated "100%" (`resolutionChoices`). Picking it sets the native AA, any other stop the engine, as before. - `docs/user/graphics-and-controls.md` already says these are "chosen on the Render resolution row"; its Native labels now read 100%. The saved values are unchanged: DLAA is still `dlss=2`, and the renderer is untouched. Written with AI assistance (Claude). ## Testing **Tested:** Windows 11, RTX 4070 SUPER, main 2ca7d4f7 with this change, in the game: the Upscaler row lists the engines without DLAA; under DLSS, Render resolution ends with "100% (DLAA)", and picking it runs DLAA. - `longshot-builder mod test game/mods/menu`: 64 passed, 0 failed. The new checks (the Upscaler row's engines, DLAA shown as DLSS, DLSS chosen again keeps DLAA, another engine set as it is, `upscalerEngines` with engines that do not run) fail on main. - `tests/run_all.py --strict test_menu_i18n test_menu_ini_keys test_dlss_fg_through` (the checks that read the menu's texts and the changed docs): passed. The whole `mise run test` not run here: CI. **Still to test:** - AMD RDNA 4 / Intel Arc: Upscaler FSR 4 or XeSS, Render resolution's last stop "100% (FSR 4 Native AA)" / "100% (XeSS Native AA)" runs the native AA, the Upscaler row keeps showing the engine (by hand) ## Measurements Nothing to measure: a change to the menu's rows only. ## Risks Menu only; a revert is enough. A player with DLAA, FSR 4 Native AA or XeSS Native AA saved keeps it; the Upscaler row now shows its engine and Render resolution shows 100%. ## 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. - [ ] `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] Docs updated. - [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)
fix(menu): DLAA is DLSS's 100% again, the Upscaler row lists the engines
Some checks failed
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
PR description / Title and description (pull_request_target) Failing after 6s
8d7cbb15f3
The mod API's menu listed NVIDIA DLAA, AMD FSR 4 Native AA and Intel XeSS Native AA as upscalers of their own on the
Upscaler row, and the Render resolution row added them again as "Native (...)" after 92%. The Upscaler row lists the
engines alone again (the game's own, DLSS, FSR 3.1, FSR 4, Off, XeSS), showing the engine while its native AA runs;
the Render resolution row's last stop is "100% (DLAA)" (FSR 4 Native AA, XeSS Native AA), as the user docs describe.
The saved values are unchanged: DLAA is still dlss=2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Tested in game: Windows 11, RTX 4070 SUPER, main 2ca7d4f7 with this change: the Upscaler row lists the engines without DLAA; under DLSS, Render resolution ends with 100% (DLAA), and picking it runs DLAA

Tested in game: Windows 11, RTX 4070 SUPER, main 2ca7d4f7 with this change: the Upscaler row lists the engines without DLAA; under DLSS, Render resolution ends with 100% (DLAA), and picking it runs DLAA
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left (a run of the change itself). The reported Windows run shows the DLAA menu path working, and the change preserves the saved values. CI is still running, and the required before-and-after screenshots for the visible menu change are missing. Recommend approval; not approved on the forge.

The Upscaler row groups native AA modes under their engines, and Render resolution names their full-size stop as 100%. This makes DLAA easier to find without changing renderer behavior or saved settings.

Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)

  • L1 game/mods/menu/src/rows.tsx:92: The visible menu change has no before-and-after screenshots, which the pull request template requires for changes shown on screen. (more on the line) Do: Provide screenshots of the same Graphics menu state on main and this branch, including the Upscaler and Render resolution choices.

Checks: Still running: 11 checks.

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

Does it help: Yes: the author reports that on Windows 11 with an RTX 4070 SUPER, the row lists engines without a separate DLAA entry, and selecting 100% (DLAA) runs DLAA. This is not a performance change.

Other systems: The menu code also covers FSR 4 and XeSS native AA and saved unavailable upscalers. The game-free checks cover their choice construction, but the author reports that the FSR 4 and XeSS paths have not yet been tested in game. Renderer, saved-value formats, and platform code are unchanged.

Switches: None.

Reviewed: 8d7cbb15f3 against 2ca7d4f741: Read the diff, commit message, project rules, standards, pull request template, changed menu row code and surrounding upscaler logic. Skimmed the changed test and user guide, settings-host capability handling, and guide screenshot maintenance rules. The full changed test and guide were not read in full; Tooling's AGENTS.md was unavailable in the checkout, and docs/review-checklist.md does not exist.; nothing run (a code review).

Checked and fine:

  • The commit records AI assistance in a Co-Authored-By trailer.
  • No game-derived files, generated outputs, renderer API changes, or third-party changes appear in the diff.
  • The new game-free checks exercise the engine list, preservation of DLAA when its engine is reselected, and selection of another engine.

Testing: No code or tests were run during this read-only review. The author reports 64 menu tests passing, selected game-free checks passing, and an in-game NVIDIA run; CI remains in progress.

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


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

**Recommendation: Approve.** The code is ready: only testing is left (a run of the change itself). The reported Windows run shows the DLAA menu path working, and the change preserves the saved values. CI is still running, and the required before-and-after screenshots for the visible menu change are missing. Recommend approval; not approved on the forge. The Upscaler row groups native AA modes under their engines, and Render resolution names their full-size stop as 100%. This makes DLAA easier to find without changing renderer behavior or saved settings. **Testing before merging (1)** (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation) - **L1** `game/mods/menu/src/rows.tsx:92`: The visible menu change has no before-and-after screenshots, which the pull request template requires for changes shown on screen. (more on the line) **Do:** Provide screenshots of the same Graphics menu state on main and this branch, including the Upscaler and Render resolution choices. **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 Windows 11 with an RTX 4070 SUPER, the row lists engines without a separate DLAA entry, and selecting 100% (DLAA) runs DLAA. This is not a performance change. **Other systems:** The menu code also covers FSR 4 and XeSS native AA and saved unavailable upscalers. The game-free checks cover their choice construction, but the author reports that the FSR 4 and XeSS paths have not yet been tested in game. Renderer, saved-value formats, and platform code are unchanged. **Switches:** None. **Reviewed:** 8d7cbb15f3cf against 2ca7d4f74182: Read the diff, commit message, project rules, standards, pull request template, changed menu row code and surrounding upscaler logic. Skimmed the changed test and user guide, settings-host capability handling, and guide screenshot maintenance rules. The full changed test and guide were not read in full; Tooling's AGENTS.md was unavailable in the checkout, and docs/review-checklist.md does not exist.; nothing run (a code review). **Checked and fine:** - The commit records AI assistance in a Co-Authored-By trailer. - No game-derived files, generated outputs, renderer API changes, or third-party changes appear in the diff. - The new game-free checks exercise the engine list, preservation of DLAA when its engine is reselected, and selection of another engine. **Testing:** No code or tests were run during this read-only review. The author reports 64 menu tests passing, selected game-free checks passing, and an in-game NVIDIA run; CI remains in progress. **Overlaps and merge order:** Not checked; the network is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by Veix. Nothing was run; a maintainer decides.</sub>
@ -83,0 +89,4 @@
const help = helpOf(d, s);
const disabled = s.fixed || s.locked !== "";
return (
<Field label={d.label} style={style}>
Member

L1 (should fix): The visible menu change has no before-and-after screenshots, which the pull request template requires for changes shown on screen.

When: The reported game run confirms the selected DLAA path, but does not show reviewers how the changed choices fit and appear in the menu on main and this branch.

Do: Provide screenshots of the same Graphics menu state on main and this branch, including the Upscaler and Render resolution choices.

**L1** (should fix): The visible menu change has no before-and-after screenshots, which the pull request template requires for changes shown on screen. *When:* The reported game run confirms the selected DLAA path, but does not show reviewers how the changed choices fit and appear in the menu on main and this branch. **Do:** Provide screenshots of the same Graphics menu state on main and this branch, including the Upscaler and Render resolution choices.
llun approved these changes 2026-12-03 09:52:01 +00:00
llun merged commit b4d56f5264 into main 2026-12-03 09:52:28 +00:00
Some checks failed
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Blocked by required conditions
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Blocked by required conditions
CI / Third-party parts and guide screenshots (pull_request) Blocked by required conditions
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Blocked by required conditions
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Blocked by required conditions
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Blocked by required conditions
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
PR description / Title and description (pull_request_target) Failing after 6s
Some workflows are waiting to be reviewed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!3070
No description provided.