fix(settings): bypass game TAA when an external upscaler is active #518
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!518
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-518"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ZerefDragnee1l on GitHub · 2026-12-06 01:47 UTC · original
ZerefDragnee1l:fix/bypass-game-taa-with-external-upscaler→main· +87 −4 · 5 files · 1 commits · openBypasses the title's built-in temporal anti-aliasing (
taa) pass (0) by default whenever an external PC upscaler (DLSS, FSR, or DittoSR) is active, avoiding blurry double-TAA/upscaling and checkerboard shadow/edge artifacts without preventing manual overrides.Summary
crates/larp-gpu/src/dlss.rs): Addeddlss::external_active(), which returnstrueonly when an external upscaler is prepared (NOT_USEDunset) and the selected upscaler is notOWN.crates/larp-hle/src/settings.rs):taaat its default (Noneinoptions.ini/ F10 menu),applying()andasking()supply0.0(taa = 0) to the title's settings block ifdlss::external_active()istrueandLARP_KEEP_GAME_TAAis unset.taachoices (0,1,2inoptions.inior F10 menu) andLARP_KEEP_GAME_TAA=1(true/on/yes) always take precedence.Opt::text/Opt::display_textso the F10 overlay and logs showdefault (0)when bypassed.crates/larp-hle/src/settings/menu.rs): Whenupscaleris switched live in F10 andtaais left at default, queuestaafor the frame reset so0or the title's default (o.title) is updated immediately alongside the upscaler switch.crates/larp-game/src/settings.rs,docs/environment-variables.md): Documented the automatic bypass andLARP_KEEP_GAME_TAAopt-out.Verification
git diff --check-> cleancargo check -p larp-> exited 0cargo test -p larp-hle --lib settings->4 passed; 0 failed; 1 ignored(look_pictureignored by upstream#[ignore]attribute), includingtaa_bypass_follows_external_upscaler_and_explicit_overrides.@ZerefDragnee1l on GitHub · 2026-12-06 01:49 UTC · original
@Heliumrich
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.