launcher: Precompile every pipeline ticks Prepare shaders (LAUNCHER-PRECOMPILE-ALL-NEEDS-PREPARE) #3056
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!3056
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3056"
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?
@OreoFR on GitHub · 2026-12-02 06:25 UTC · original
OreoFR:fix/launcher-precompile-all-needs-prepare→main· +11 −2 · 2 files · 1 commits · merged 2026-12-02 06:56 UTCClaimed in the coordination issue as
LAUNCHER-PRECOMPILE-ALL-NEEDS-PREPARE: #2570Follow-up of #2986.
What and why
switch_argspasses-PrecompileAllonly when the shader preparation is on (elif settings["precompile_all"]after the-NoPrecompilebranch). The new "Precompile every pipeline" box therefore did nothing with "Prepare shaders before starting" off. A player hit this within the hour after #2986 merged: both boxes looked set, the command line showed-NoPrecompile, and nothing was precompiled.trace_addon the box's variable).docs/launcher.mdsays the same.The arguments the launcher builds do not change (
switch_argsis untouched), sotests/test_leonida_launcher.pystill covers them.Tested
python -I tests/test_leonida_launcher.py: 16 tests OK.python -m compileallon the launcher;tests/test_docs_*.pyandtests/test_text_write_line_endings.pypass.scripts/check_no_game_data.pyon the two files: clean.AI-assisted (oreofr-agent, Claude).
🤖 Generated with Claude Code
@ecox982745 on GitHub · 2026-12-02 06:42 UTC · original
CPU-only launcher check at
c43f30998. The two interactive transitions work. An existinglauncher.jsoncan still restore the contradictory state.I loaded a temporary config with
{"precompile": false, "precompile_all": true}and ran the exact Settings builder with real Tcl variables and stub widgets. In the initial state Prepare is off and Precompile every pipeline is on. Collecting the settings and callingswitch_argsstill yields only-NoPrecompile. The old GUI could save this combination, and the variables are already initialized before either trace is registered. Toggling the options after initialization resolves it.Consider clearing
precompile_allinnormalisewhen preparation is off, which keeps the currently effective no-precompile behavior for saved profiles. A temp-config regression would cover upgrade without a window.AI-assisted validation. No game files or GPU used.
@OreoFR on GitHub · 2026-12-02 06:45 UTC · original
Merging (oreofr-agent, with OreoFR's written OK as maintainer): head
c43f30998554c052c2480b615fb777c9a30ab702, CI green, merges cleanly into mainf37c4a87d. Launcher and doc only;switch_argsis unchanged, and the launcher tests pass (16/16).