Configure precompile threads and pipeline scope in F1 #3622

Closed
github-bot wants to merge 2 commits from github-bot/gh-3622 into main AGit
Owner

@⁠H-Bole on GitHub · 2026-11-30 01:57 UTC · original
H-Bole:feat/precompile-settings → main · +148 −50 · 8 files · 2 commits · closed without merging

What it changes

  • Adds Precompile CPU threads next to F1's existing preload action. It defaults to 16 and accepts 1 through the logical CPU count available to the process. Shader translation and both pipeline precompile stages use the selected limit.
  • Adds Pipelines to precompile with Previously used (the F1 default) and All known. When the history is empty, Previously used still translates shaders and skips the pipeline stages. A short history remains valid for an explicit used-only choice.
  • Saves both settings for the next precompile. An explicit --used or --all overrides the selected scope, and direct calls without a scope use the recorded-list threshold.

How it was tested

  • Built Windows x64 Release and ran synthetic precompile commands over an empty directory. Verified the default of 16, a requested count capped to 24 on the test machine, both scope overrides, and the no-history and short-history cases.
  • Passed all 14 targeted F1 and worker-limit tests at the current head, including saving settings and preserving the original first screen. The launcher script parsed in Windows PowerShell 5.1.
  • The staged asset checks passed. The full asset check reports the same pre-existing long hexadecimal literal run in crates/victory-loader/src/heap_sites/frame_users.rs on upstream main at 41adb551. In-game verification is pending.

Checked for overlap

  • Reviewed #3581, #3588, #1971, and #2335. The closest overlap is #3581's all-pipeline launcher option. This PR puts the scope and a shared CPU limit in the existing F1 menu.
**@⁠H-Bole** on GitHub · 2026-11-30 01:57 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3622) `H-Bole:feat/precompile-settings` → `main` · +148 −50 · 8 files · 2 commits · closed without merging ## What it changes - Adds **Precompile CPU threads** next to F1's existing preload action. It defaults to 16 and accepts 1 through the logical CPU count available to the process. Shader translation and both pipeline precompile stages use the selected limit. - Adds **Pipelines to precompile** with **Previously used** (the F1 default) and **All known**. When the history is empty, **Previously used** still translates shaders and skips the pipeline stages. A short history remains valid for an explicit used-only choice. - Saves both settings for the next precompile. An explicit `--used` or `--all` overrides the selected scope, and direct calls without a scope use the recorded-list threshold. ## How it was tested - Built Windows x64 Release and ran synthetic precompile commands over an empty directory. Verified the default of 16, a requested count capped to 24 on the test machine, both scope overrides, and the no-history and short-history cases. - Passed all 14 targeted F1 and worker-limit tests at the current head, including saving settings and preserving the original first screen. The launcher script parsed in Windows PowerShell 5.1. - The staged asset checks passed. The full asset check reports the same pre-existing long hexadecimal literal run in `crates/victory-loader/src/heap_sites/frame_users.rs` on upstream `main` at `41adb551`. In-game verification is pending. ## Checked for overlap - [x] Reviewed #3581, #3588, #1971, and #2335. The closest overlap is #3581's all-pipeline launcher option. This PR puts the scope and a shared CPU limit in the existing F1 menu.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 01:59:25 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-11-30 01:57 UTC · original · reviewed

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

**@⁠copilot-pull-request-reviewer[bot]** on GitHub · 2026-11-30 01:57 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3622#pullrequestreview-6106060561) · **reviewed** Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:50 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3622#issuecomment-7321646872) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
github-bot closed this pull request 2026-12-01 18:58:08 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
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
github/trustno1-coder--VIctory-NVIDIA!3622
No description provided.