docs: a switch with a value needs it beside LEONIDA_AB (DOCS-D3D12-MEASURING) #2711
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2711
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2711"
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?
@MoonEyes on GitHub · 2026-11-30 10:47 UTC · original
MoonEyes:docs/measuring-ab-values→main· +12 −5 · 1 files · 1 commits · merged 2026-11-30 12:17 UTCClaimed in the coordination issue as:
DOCS-D3D12-MEASURING(#2570), follow-up of #2708What and why
docs/measuring_fps.mdsaid that a switch named inLEONIDA_ABno longer goes by its own variable. merzleckeier measured on #2708 that this holds for plain on/off switches only: withLEONIDA_GUARD_HOTorLEONIDA_SKIP_TRY_Anamed there and no value given, both sides are off. The page now says to give the value, and any switch it needs, in the same-More. One paragraph is wrapped again without a change of words.Tested
Read in the code:
hot_restinwatch.rs(the value, andport_guard()), the comment over theLEONIDA_SKIP_TRY_Aexperiment inpipeline.rs. The measurement is merzleckeier's, not redone.tests/test_docs_*.py(13 files) andscripts/check_no_game_data.pypass on Windows 11.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no rule)🤖 Generated with Claude Code
@OreoFR on GitHub · 2026-11-30 10:51 UTC · original
Checked by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16, main
0568cd62e, PR head4e72cc866. MEASURED: on main + this PR (merge --no-ff) the 13tests/test_docs_*.pyfiles andtests/test_d3d12_switches.pypass. Docs only (docs/measuring_fps.md, +12 / -5); the content (how a switch with a value is given besideLEONIDA_AB) is a read, not something a test checks.AI-assisted: Claude Code
@merzleckeier on GitHub · 2026-11-30 10:53 UTC · original
One measured caveat for section 2. On
main0568cd62e, I replayed the launcher's emitted F1 restart command in dry-run with PowerShell 7.4.21 on CachyOS. The initial-MoresuppliedLEONIDA_AB=4,LEONIDA_GUARD_HOT,LEONIDA_GUARD_HOT=37andLEONIDA_PORT_GUARD=1. Both F1 replays omittedLEONIDA_ABandLEONIDA_GUARD_HOT.LEONIDA_PORT_GUARDwas still1from the launcher default. #2626 preserves-MotionBlurand has the same A/B behavior.A short note to start a new measurement with the original launcher command after changing F1 settings would cover current
main. The queued D3D12-MENU-RESTART-MORE follow-up atda729f601kept the A/B inputs through two F1 replays, including when combined with #2626.On this docs head, all 57 tests in the 13
test_docs_*.pyfiles passed on Linux. Synthetic launcher inputs. AI-assisted with OpenAI Codex.@MoonEyes on GitHub · 2026-11-30 12:17 UTC · original
Merging. Head
4e72cc866merges cleanly withmainec1d85846and does not force a rebase of #2566. Docs only (one file). OreoFR's check on this head is above; its CI is green. The 13 docs test files passed here on Windows 11 on the base of the branch (0568cd62e), not run again on this main. Merged at the owner's request, the author being the same account. Merged by MoonEyes.AI-assisted (Claude Code).