Configure precompile threads and pipeline scope in F1 #3622

Closed
H-Bole wants to merge 2 commits from upstream-pr/3622 into main
H-Bole commented 2026-11-30 01:57:42 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by H-Bole on 2026-11-30T01:57:42Z.


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.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5557610922 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3622). Originally posted by [H-Bole](https://github.com/H-Bole) on 2026-11-30T01:57:42Z. --- ## 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.
copilot-pull-request-reviewer[bot] commented 2026-11-30 01:57:49 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-30T01:57:49Z.

Review: COMMENTED


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:review:6106060561 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3622#pullrequestreview-6106060561). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-11-30T01:57:49Z. **Review:** COMMENTED --- 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.
trustno1-coder commented 2026-12-01 18:50:22 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:50:22Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7321646872 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3622#issuecomment-7321646872). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-12-01T18:50:22Z. --- 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.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!3622
No description provided.