feat(menu): an Anti-aliasing row, the game's own or Off #3273

Merged
HumanBean merged 2 commits from HumanBean/Longshot:feat/anti-aliasing-row into main 2026-12-05 19:27:20 +00:00
Owner

Summary

Players find no anti-aliasing setting, yet the game runs a post-process anti-aliasing pass of its own after its tone map, with the Upscaler at Game's own, Off, MAKO, FSR, XeSS and GSR 2 alike, and nothing shows or turns it.

A new Anti-aliasing row on the Graphics tab: Game's own (default, nothing changes) or Off (the pass is left out, at once, by the same cleared-weights way #3221 uses under DLSS). Its help points to the Upscaler row for stronger anti-aliasing. Under a running DLSS or DLAA it says both choices look the same. An upscaler's own smoothing is not affected.

No SMAA or FXAA of our own is added: the game's pass is already of that kind.

Also corrects #3221's docs and comment, which said FSR 3.1 was less steady from frame to frame without the pass. That figure does not hold up: two runs behaving identically differed several-fold on the same measure.

Related: #2346 (asks for SMAA; this does not add it).

Testing

Tested: Linux (CachyOS), RTX 3090, Market, 2560x1440, Render resolution 100%, Upscaler Off and FSR 3.1: the row switched Game's own, Off, Game's own in one run: Off is visibly stair-stepped and switching back restores it; the log says the game's own anti-aliasing is left out (the Anti-aliasing row is Off). The row's final texts read on screen in English; earlier wording of the same length also in German, French and Russian (it fits). tests/test_dlss_game_aa.py fails on the test commit and passes on the head. vk_draw.cpp also passes an llvm-mingw syntax-only compile (no Windows link or run). The picture runs were before the review's text corrections; the renderer code is unchanged since.

mise run test on a tree of this PR, its two sibling PRs and main @ 4e16bf06 (before the review's text corrections; the text and row tests re-run on the heads): 923 passed, 11 failed, 13 skipped; the same 11 fail on main there: test_dlssg, test_input_background, test_lifter, test_present_acquire_ahead, test_present_held_image, test_present_image_free, test_present_semaphores, test_sandbox_windows, test_settings_area_keys, test_vk_draw_overhead_lean, test_walk_key.

The menu's own tests do not compile on main (4e16bf06 to bb5a5682: game/crates/modtool/src/import.rs:396, a test from #3169 calls patches::collect without the argument #3165 added). With that call patched for the run only, the menu's failures here are main's own (PLACED the graphics tab, the settings table's order, Custom fog sliders). test_i18n_complete fails on current main for Fill title screen's missing translations, not for this row.

Still to test:

  • AMD and Intel, and a Steam Deck: Off against Game's own (@Beanstalk Anti-aliasing row Off against Game's own on AMD, Intel and Steam Deck).
  • FSR 4 and XeSS with the row Off (by hand).
  • Motion: whether Off shimmers more under each upscaler (by hand).

Measurements

Verdict: Off does what it says, live; the default changes nothing.

Mean edge contrast of two stills (3x3 Laplacian), same spot, one run each; stills only, and Navi moves in view.

Before: main @ f32a7134 (the row at Game's own) After: this PR @ 27971a18, Off
Upscaler Off 10.08 11.69 (+16%)
FSR 3.1 9.35 10.26 (+10%)
Back to Game's own, Upscaler Off 10.60

The "Before" column is the row at Game's own in the same run, which runs main's path. Both arms ran in one build, so main's later commits do not move the comparison. Frame time was not measured.

Risks

Off is opt-in and gives harder edges. With an upscaler, how it holds up in motion is not judged. A saved Off stays after an upscaler change. Translations are not reviewed by native speakers. 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 game-free test that fails on main and passes here.
  • A check under tests/ that reads changed source is updated, not weakened.
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths.
  • Screenshots of the same spot on main and here, for a change that shows on screen.
  • Docs updated.
  • A new setting has its key in tests/test_menu_ini_keys.py.
  • Generated files regenerated (schema-gen), not edited by hand.
  • 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 Players find no anti-aliasing setting, yet the game runs a post-process anti-aliasing pass of its own after its tone map, with the Upscaler at Game's own, Off, MAKO, FSR, XeSS and GSR 2 alike, and nothing shows or turns it. A new **Anti-aliasing** row on the Graphics tab: **Game's own** (default, nothing changes) or **Off** (the pass is left out, at once, by the same cleared-weights way [#3221](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/3221) uses under DLSS). Its help points to the Upscaler row for stronger anti-aliasing. Under a running DLSS or DLAA it says both choices look the same. An upscaler's own smoothing is not affected. No SMAA or FXAA of our own is added: the game's pass is already of that kind. Also corrects [#3221](https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/3221)'s docs and comment, which said FSR 3.1 was less steady from frame to frame without the pass. That figure does not hold up: two runs behaving identically differed several-fold on the same measure. Related: [#2346](https://git.magicbean.dev/MagicBeanDev/Longshot/issues/2346) (asks for SMAA; this does not add it). ## Testing **Tested:** Linux (CachyOS), RTX 3090, Market, 2560x1440, Render resolution 100%, Upscaler Off and FSR 3.1: the row switched Game's own, Off, Game's own in one run: Off is visibly stair-stepped and switching back restores it; the log says `the game's own anti-aliasing is left out (the Anti-aliasing row is Off)`. The row's final texts read on screen in English; earlier wording of the same length also in German, French and Russian (it fits). `tests/test_dlss_game_aa.py` fails on the test commit and passes on the head. `vk_draw.cpp` also passes an llvm-mingw syntax-only compile (no Windows link or run). The picture runs were before the review's text corrections; the renderer code is unchanged since. `mise run test` on a tree of this PR, its two sibling PRs and `main` @ 4e16bf06 (before the review's text corrections; the text and row tests re-run on the heads): 923 passed, 11 failed, 13 skipped; the same 11 fail on `main` there: `test_dlssg`, `test_input_background`, `test_lifter`, `test_present_acquire_ahead`, `test_present_held_image`, `test_present_image_free`, `test_present_semaphores`, `test_sandbox_windows`, `test_settings_area_keys`, `test_vk_draw_overhead_lean`, `test_walk_key`. The menu's own tests do not compile on `main` (4e16bf06 to bb5a5682: `game/crates/modtool/src/import.rs:396`, a test from #3169 calls `patches::collect` without the argument #3165 added). With that call patched for the run only, the menu's failures here are `main`'s own (`PLACED the graphics tab`, the settings table's order, `Custom fog sliders`). `test_i18n_complete` fails on current `main` for **Fill title screen**'s missing translations, not for this row. **Still to test:** - AMD and Intel, and a Steam Deck: Off against Game's own (@Beanstalk Anti-aliasing row Off against Game's own on AMD, Intel and Steam Deck). - FSR 4 and XeSS with the row Off (by hand). - Motion: whether Off shimmers more under each upscaler (by hand). ## Measurements **Verdict:** Off does what it says, live; the default changes nothing. Mean edge contrast of two stills (3x3 Laplacian), same spot, one run each; stills only, and Navi moves in view. | | Before: main @ f32a7134 (the row at Game's own) | After: this PR @ 27971a18, Off | |---|---|---| | Upscaler Off | 10.08 | 11.69 (+16%) | | FSR 3.1 | 9.35 | 10.26 (+10%) | | Back to Game's own, Upscaler Off | | 10.60 | The "Before" column is the row at Game's own in the same run, which runs `main`'s path. Both arms ran in one build, so `main`'s later commits do not move the comparison. Frame time was not measured. ## Risks Off is opt-in and gives harder edges. With an upscaler, how it holds up in motion is not judged. A saved Off stays after an upscaler change. Translations are not reviewed by native speakers. 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 game-free test that fails on `main` and passes here. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. - [x] Screenshots of the same spot on `main` and here, for a change that shows on screen. - [x] Docs updated. - [x] A new setting has its key in `tests/test_menu_ini_keys.py`. - [x] Generated files regenerated (`schema-gen`), not edited by hand. - [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
feat(menu): an Anti-aliasing row, the game's own or Off
Some checks failed
beanstalk/approval can't be tested as asked: see the farm's comment
CI / What the change needs (pull_request) Successful in 7s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Waiting to run
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Waiting to run
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Waiting to run
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Waiting to run
CI / Website build and checks (pull_request) Waiting to run
CI / Third-party parts and guide screenshots (pull_request) Successful in 16s
PR description / Title and description (pull_request_target) Successful in 7s
27971a18fe
The game runs an anti-aliasing pass of its own after its tone map, with every upscaler but DLSS and DLAA (left out
there since #3221), and nothing showed or turned it. The Graphics tab's Anti-aliasing row says what it is, where the
stronger kinds are, and Off leaves it out, at once. Default Game's own: nothing changes unless chosen.

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, Market, 2560x1440: the row switched Game's own, Off, Game's own in one run with the Upscaler Off and FSR 3.1; Off is visibly stair-stepped and switching back restores it.

Tested in game: Linux (CachyOS), RTX 3090, Market, 2560x1440: the row switched Game's own, Off, Game's own in one run with the Upscaler Off and FSR 3.1; Off is visibly stair-stepped and switching back restores it.
Author
Owner

Linux, RTX 3090. The Graphics tab, then the row Off. main @ bb5a5682 this PR, Off With DLSS chosen: this PR, DLSS Market, 2560x1440, Upscaler Off, one spot enlarged 3x: left the row at Game's own, right Off (Navi flies through). Game's own | Off

Linux, RTX 3090. The Graphics tab, then the row Off. ![main @ bb5a5682](https://git.magicbean.dev/attachments/82dface6-4429-4c99-b115-008037be010e) ![this PR, Off](https://git.magicbean.dev/attachments/1f63e291-879c-451f-bdb2-74256c831b31) With DLSS chosen: ![this PR, DLSS](https://git.magicbean.dev/attachments/d9358c22-0df5-40f2-a653-27e52d39fcfa) Market, 2560x1440, Upscaler Off, one spot enlarged 3x: left the row at Game's own, right Off (Navi flies through). ![Game's own | Off](https://git.magicbean.dev/attachments/f416dc32-844a-407c-a2e8-a7b81d536085)
Member

Possibly related, for context:

  • PR #3272 WIP: feat(menu): the search finds a row by its options' names and hints — Sibling menu-search PR includes the new Anti-aliasing row in search results
Possibly related, for context: - PR #3272 WIP: feat(menu): the search finds a row by its options' names and hints — Sibling menu-search PR includes the new Anti-aliasing row in search results
HumanBean changed title from WIP: feat(menu): an Anti-aliasing row, the game's own or Off to feat(menu): an Anti-aliasing row, the game's own or Off 2026-12-05 19:04:31 +00:00
Author
Owner
@review
Author
Owner

@Beanstalk Set the Graphics tab's Anti-aliasing row to Off and compare with Game's own, with the Upscaler Off and with AMD FSR 3.1 at Render resolution 100%, on Windows AMD, Windows Intel and a Steam Deck: Off should give harder edges, switching back should restore them, and nothing else in the picture should change.

@Beanstalk Set the Graphics tab's Anti-aliasing row to Off and compare with Game's own, with the Upscaler Off and with AMD FSR 3.1 at Render resolution 100%, on Windows AMD, Windows Intel and a Steam Deck: Off should give harder edges, switching back should restore them, and nothing else in the picture should change.
Member

Beanstalk test farm · ⛔ can't be tested as asked

Commit 27971a1 · approved by HumanBean (untrusted) · dashboard

Not run: the farm can't test this as asked, so nothing is built or run:

The requested Off-versus-Game's-own and switch-back comparison needs the new Anti-aliasing setting, which the farm's supported settings do not expose. The farm also cannot judge harder edges or isolate unrelated picture changes with its screenshot comparison; the alternative tests only whether the default picture remains comparable to main.

⚠️ Note: The upscaler axis covers Off and FSR 3.1, but both sides use the default Game's own anti-aliasing.

What it could test instead: The alternative plan compares the default anti-aliasing picture with main in the Market, using Upscaler Off and FSR 3.1 at 100% render resolution. It takes three starts per side on Windows AMD, Windows Intel and Steam Deck, with still-image comparisons after each teleport. A crash or a screenshot difference above 0.2 fails the alternative plan; it does not test the requested Off setting.

A member of BigBeans can comment @Beanstalk <new words> to ask for something else, or @Beanstalk test it anyway to run the plan regardless.

<!-- beanstalk:sticky --> ### Beanstalk test farm · ⛔ can't be tested as asked Commit `27971a1` · approved by HumanBean (untrusted) · [dashboard](https://beanstalk.magicbean.dev/prs/3273) **Not run: the farm can't test this as asked**, so nothing is built or run: > The requested Off-versus-Game's-own and switch-back comparison needs the new Anti-aliasing setting, which the farm's supported settings do not expose. The farm also cannot judge harder edges or isolate unrelated picture changes with its screenshot comparison; the alternative tests only whether the default picture remains comparable to main. ⚠️ **Note:** The upscaler axis covers Off and FSR 3.1, but both sides use the default Game's own anti-aliasing. What it could test instead: The alternative plan compares the default anti-aliasing picture with main in the Market, using Upscaler Off and FSR 3.1 at 100% render resolution. It takes three starts per side on Windows AMD, Windows Intel and Steam Deck, with still-image comparisons after each teleport. A crash or a screenshot difference above 0.2 fails the alternative plan; it does not test the requested Off setting. A member of `BigBeans` can comment `@Beanstalk <new words>` to ask for something else, or `@Beanstalk test it anyway` to run the plan regardless.
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The row works in the reported NVIDIA Linux run, and its default retains the existing behavior. The new rendering path still needs the requested hardware and motion coverage, and its frame-time cost has not been measured. Recommend approval; not approved on the forge.

Adds a saved Graphics setting to leave out the game's anti-aliasing pass, while retaining the existing default. Players can choose harder edges; the effect on motion and the frame-time cost across supported systems remain unmeasured.

Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)

  • L1 gpu/vk/vk_draw.cpp:13084: The new Off path needs the remaining hardware and motion runs before merge. (more on the line) Do: Run the requested Off-to-Game's-own comparison on AMD Windows and Linux, Intel and Steam Deck, and check FSR 4 and XeSS in motion, including switching back.
  • L2 gpu/vk/vk_draw.cpp:13084: The frame-time effect of the new option and the default path has not been measured. (more on the line) Do: Compare the base and this head at the default, then Game's own and Off, using repeated interleaved runs in a representative scene; report average FPS, 1% lows and frame times.

Checks: Still running: 11 checks.

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

Does it help: Yes for the visible feature on the tested RTX 3090 Linux setup: the author reports harder edges with Upscaler Off and FSR 3.1, and restoration when switching back. One still-image comparison reports edge contrast of 10.08 to 11.69 with Upscaler Off and 9.35 to 10.26 with FSR 3.1; moving content and single runs limit those numbers. Frame time was not measured.

Other systems: The change reaches the weights dispatch with every upscaler, including DLAA before bloom, and can affect all GPU vendors and operating systems when Off is selected. NVIDIA Linux was tested with Upscaler Off and FSR 3.1; AMD, Intel, Steam Deck, FSR 4, XeSS and motion remain untested. The settings snapshot is atomically published and retained for the run.

Switches: No environment switches added, changed or removed. The new Anti-aliasing setting defaults to Game's own, preserving the previous behavior; Off takes precedence over RX_VK_DLSS_GAME_AA=1.

Reviewed: 27971a18fe against bb5a5682ce: Read the repository instructions, contributing rules, standards, PR template, commit log, diff, renderer settings publication and the complete changed anti-aliasing test. Inspected the changed menu declaration, ABI additions and renderer function in context; translations and generated ABI changes were skimmed. The large vk_draw.cpp, graphics manifest and generated ABI files were not read in full. docs/review-checklist.md was absent.; nothing run (a code review).

Checked and fine:

  • Both commits include AI assistance trailers.
  • The settings ABI layout hash and both generated representations change together.
  • The new test exercises Off, switching back, and Off overriding RX_VK_DLSS_GAME_AA.
  • No game-derived files or third-party changes appear in the changed-file list.

Testing: No code or tests were run, as requested. The PR reports an in-game NVIDIA Linux run and game-free checks; CI is still running.

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


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

**Recommendation: Approve.** The code is ready: only testing is left. The row works in the reported NVIDIA Linux run, and its default retains the existing behavior. The new rendering path still needs the requested hardware and motion coverage, and its frame-time cost has not been measured. Recommend approval; not approved on the forge. Adds a saved Graphics setting to leave out the game's anti-aliasing pass, while retaining the existing default. Players can choose harder edges; the effect on motion and the frame-time cost across supported systems remain unmeasured. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L1** `gpu/vk/vk_draw.cpp:13084`: The new Off path needs the remaining hardware and motion runs before merge. (more on the line) **Do:** Run the requested Off-to-Game's-own comparison on AMD Windows and Linux, Intel and Steam Deck, and check FSR 4 and XeSS in motion, including switching back. - **L2** `gpu/vk/vk_draw.cpp:13084`: The frame-time effect of the new option and the default path has not been measured. (more on the line) **Do:** Compare the base and this head at the default, then Game's own and Off, using repeated interleaved runs in a representative scene; report average FPS, 1% lows and frame times. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes for the visible feature on the tested RTX 3090 Linux setup: the author reports harder edges with Upscaler Off and FSR 3.1, and restoration when switching back. One still-image comparison reports edge contrast of 10.08 to 11.69 with Upscaler Off and 9.35 to 10.26 with FSR 3.1; moving content and single runs limit those numbers. Frame time was not measured. **Other systems:** The change reaches the weights dispatch with every upscaler, including DLAA before bloom, and can affect all GPU vendors and operating systems when Off is selected. NVIDIA Linux was tested with Upscaler Off and FSR 3.1; AMD, Intel, Steam Deck, FSR 4, XeSS and motion remain untested. The settings snapshot is atomically published and retained for the run. **Switches:** No environment switches added, changed or removed. The new Anti-aliasing setting defaults to Game's own, preserving the previous behavior; Off takes precedence over RX_VK_DLSS_GAME_AA=1. **Reviewed:** 27971a18fe0f against bb5a5682cea3: Read the repository instructions, contributing rules, standards, PR template, commit log, diff, renderer settings publication and the complete changed anti-aliasing test. Inspected the changed menu declaration, ABI additions and renderer function in context; translations and generated ABI changes were skimmed. The large vk_draw.cpp, graphics manifest and generated ABI files were not read in full. docs/review-checklist.md was absent.; nothing run (a code review). **Checked and fine:** - Both commits include AI assistance trailers. - The settings ABI layout hash and both generated representations change together. - The new test exercises Off, switching back, and Off overriding RX_VK_DLSS_GAME_AA. - No game-derived files or third-party changes appear in the changed-file list. **Testing:** No code or tests were run, as requested. The PR reports an in-game NVIDIA Linux run and game-free checks; CI is still running. **Overlaps and merge order:** Not checked; network access is unavailable. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
@ -13080,3 +13082,3 @@
if (p.key != 0x685adb41edc19de7ull) return false;
static const bool kept = env_on("RX_VK_DLSS_GAME_AA");
if (kept || !temporal_dlss_drawing()) return false;
const bool off = settings_now().game_aa != 0; // (the Anti-aliasing row, at once)
Member

L1 (should fix): The new Off path needs the remaining hardware and motion runs before merge.

When: Off replaces the weights dispatch on AMD and Intel GPUs and Steam Deck as well as NVIDIA, and supplies a different image to temporal upscalers. Only NVIDIA Linux with Upscaler Off and FSR 3.1 has been reported, so the picture and transitions on the other paths are unknown.

Do: Run the requested Off-to-Game's-own comparison on AMD Windows and Linux, Intel and Steam Deck, and check FSR 4 and XeSS in motion, including switching back.

**L1** (should fix): The new Off path needs the remaining hardware and motion runs before merge. *When:* Off replaces the weights dispatch on AMD and Intel GPUs and Steam Deck as well as NVIDIA, and supplies a different image to temporal upscalers. Only NVIDIA Linux with Upscaler Off and FSR 3.1 has been reported, so the picture and transitions on the other paths are unknown. **Do:** Run the requested Off-to-Game's-own comparison on AMD Windows and Linux, Intel and Steam Deck, and check FSR 4 and XeSS in motion, including switching back.
Member

L2 (should fix): The frame-time effect of the new option and the default path has not been measured.

When: Every matching weights dispatch now reads the settings snapshot, and Off replaces the dispatch with barriers and a clear. The still-image measurements do not show whether either choice changes frame pacing or performance.

Do: Compare the base and this head at the default, then Game's own and Off, using repeated interleaved runs in a representative scene; report average FPS, 1% lows and frame times.

**L2** (should fix): The frame-time effect of the new option and the default path has not been measured. *When:* Every matching weights dispatch now reads the settings snapshot, and Off replaces the dispatch with barriers and a clear. The still-image measurements do not show whether either choice changes frame pacing or performance. **Do:** Compare the base and this head at the default, then Game's own and Off, using repeated interleaved runs in a representative scene; report average FPS, 1% lows and frame times.
Author
Owner
@fix
HumanBean deleted branch feat/anti-aliasing-row 2026-12-05 19:27:21 +00:00
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The row works in the reported NVIDIA test, but the remaining hardware and motion runs and the frame-time comparison are still outstanding. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is 24a5aa4abef1. I rebased it onto main (450dbdaeb3).

Nothing was built or run: the checks run again on the new head.

Adds a live Anti-aliasing choice that lets players leave out the game’s smoothing pass; the default retains the existing behavior. Off gives harder edges and may affect motion quality and frame time.

Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)

  • L1 gpu/vk/vk_draw.cpp:13084: The new Off path needs the remaining hardware and motion runs before merge. When: Off replaces the weights dispatch on AMD and Intel GPUs and Steam Deck as well as NVIDIA, and supplies a different image to temporal upscalers. Only NVIDIA Linux with Upscaler Off and FSR 3.1 has been reported, so the picture and transitions on the other paths are unknown. Do: Run the requested Off-to-Game's-own comparison on AMD Windows and Linux, Intel and Steam Deck, and check FSR 4 and XeSS in motion, including switching back.
  • L2 gpu/vk/vk_draw.cpp:13084: The frame-time effect of the new option and the default path has not been measured. When: Every matching weights dispatch now reads the settings snapshot, and Off replaces the dispatch with barriers and a clear. The still-image measurements do not show whether either choice changes frame pacing or performance. Do: Compare the base and this head at the default, then Game's own and Off, using repeated interleaved runs in a representative scene; report average FPS, 1% lows and frame times.

Checks: they run again on this head; a failure shows on the pull request.

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

Does it help: Yes for the visible option in the reported Linux RTX 3090 run: switching Off produced harder edges and switching back restored smoothing with Upscaler Off and FSR 3.1. Single still comparisons reported edge contrast increases of 16% and 10%, but do not establish motion quality or performance.

Other systems: The renderer path can affect Windows and Linux, AMD and Intel GPUs, Steam Deck, and all upscalers. The reported run covers Linux on an RTX 3090 with Upscaler Off and FSR 3.1; the remaining hardware and motion coverage is outstanding.

Switches: Adds the saved Anti-aliasing setting, default Game’s own; this preserves the existing default path. Off takes precedence over RX_VK_DLSS_GAME_AA, whose default and behavior otherwise remain unchanged.

Reviewed: 24a5aa4abef1 against 450dbdaeb3: Read the repository rules and PR template, the rebased PR diff and the relevant setting, renderer and test changes; skimmed generated ABI changes, translations and recorded results. Large changed files were not read in full.; nothing run (a code review).

Checked and fine:

  • The saved setting defaults to Game’s own and is exempt from presets.
  • The Off path clears the weights and can switch back live; the reported game run observes both transitions.
  • The rebased PR diff retains the reviewed change.

Testing: No commands that execute project code or tests were run. The author reports an in-game Linux RTX 3090 run and game-free test results; CI has not run on this head.

Overlaps and merge order: None identified in the supplied material.


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

**Recommendation: Approve.** The code is ready: only testing is left. The row works in the reported NVIDIA test, but the remaining hardware and motion runs and the frame-time comparison are still outstanding. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is 24a5aa4abef1. I rebased it onto `main` (450dbdaeb31b). Nothing was built or run: the checks run again on the new head. Adds a live Anti-aliasing choice that lets players leave out the game’s smoothing pass; the default retains the existing behavior. Off gives harder edges and may affect motion quality and frame time. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L1** `gpu/vk/vk_draw.cpp:13084`: The new Off path needs the remaining hardware and motion runs before merge. *When:* Off replaces the weights dispatch on AMD and Intel GPUs and Steam Deck as well as NVIDIA, and supplies a different image to temporal upscalers. Only NVIDIA Linux with Upscaler Off and FSR 3.1 has been reported, so the picture and transitions on the other paths are unknown. **Do:** Run the requested Off-to-Game's-own comparison on AMD Windows and Linux, Intel and Steam Deck, and check FSR 4 and XeSS in motion, including switching back. - **L2** `gpu/vk/vk_draw.cpp:13084`: The frame-time effect of the new option and the default path has not been measured. *When:* Every matching weights dispatch now reads the settings snapshot, and Off replaces the dispatch with barriers and a clear. The still-image measurements do not show whether either choice changes frame pacing or performance. **Do:** Compare the base and this head at the default, then Game's own and Off, using repeated interleaved runs in a representative scene; report average FPS, 1% lows and frame times. **Checks:** they run again on this head; a failure shows on the pull request. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes for the visible option in the reported Linux RTX 3090 run: switching Off produced harder edges and switching back restored smoothing with Upscaler Off and FSR 3.1. Single still comparisons reported edge contrast increases of 16% and 10%, but do not establish motion quality or performance. **Other systems:** The renderer path can affect Windows and Linux, AMD and Intel GPUs, Steam Deck, and all upscalers. The reported run covers Linux on an RTX 3090 with Upscaler Off and FSR 3.1; the remaining hardware and motion coverage is outstanding. **Switches:** Adds the saved Anti-aliasing setting, default Game’s own; this preserves the existing default path. Off takes precedence over RX_VK_DLSS_GAME_AA, whose default and behavior otherwise remain unchanged. **Reviewed:** 24a5aa4abef1 against 450dbdaeb31b: Read the repository rules and PR template, the rebased PR diff and the relevant setting, renderer and test changes; skimmed generated ABI changes, translations and recorded results. Large changed files were not read in full.; nothing run (a code review). **Checked and fine:** - The saved setting defaults to Game’s own and is exempt from presets. - The Off path clears the weights and can switch back live; the reported game run observes both transitions. - The rebased PR diff retains the reviewed change. **Testing:** No commands that execute project code or tests were run. The author reports an in-game Linux RTX 3090 run and game-free test results; CI has not run on this head. **Overlaps and merge order:** None identified in the supplied material. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
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!3273
No description provided.