README: document xcl pso-precompile #3072

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/3072 into main
romeawayfromhome-rgb commented 2026-11-27 21:03:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-27T21:03:30Z.


What is in it

  • Adds a README usage example for xcl pso-precompile, which the CLI HELP lists but the README usage block omits. Verified against main 6089122: crates/xcl/src/main.rs HELP documents the subcommand; pso_precompile() in crates/xcl/src/shaders.rs resolves the title's shaders.rpf and runs --precompile --pipelines; --threads, --records, and --used are parsed in parse_args. README.md currently has no pso-precompile mention, and no open PR documents this command (checked #2765 and #2234).

Tested

  • Source verification only, on Linux: read HELP, pso_precompile(), PSO_PRECOMPILE_HELP, and parse_args at 6089122 and confirmed the example matches.
  • No build or test run: this environment is Linux and the crate targets Windows/MSVC, so nothing was compiled locally.

Regression run

  • Not applicable: README.md only, no runtime change.

Not tested

  • No Windows build, no cargo test, no GPU run, no smoke run.

AI use

  • AI-assisted: Muse Spark via Muse, directed by romeawayfromhome-rgb; scouted and source-verified the change, did not compile or run it.
<!-- greyfinch-sync:ivall/xcl:issue:5533067597 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3072). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-27T21:03:30Z. --- **What is in it** - Adds a README usage example for `xcl pso-precompile`, which the CLI HELP lists but the README usage block omits. Verified against main 6089122: `crates/xcl/src/main.rs` HELP documents the subcommand; `pso_precompile()` in `crates/xcl/src/shaders.rs` resolves the title's `shaders.rpf` and runs `--precompile --pipelines`; `--threads`, `--records`, and `--used` are parsed in `parse_args`. README.md currently has no `pso-precompile` mention, and no open PR documents this command (checked #2765 and #2234). **Tested** - Source verification only, on Linux: read HELP, `pso_precompile()`, `PSO_PRECOMPILE_HELP`, and `parse_args` at 6089122 and confirmed the example matches. - No build or test run: this environment is Linux and the crate targets Windows/MSVC, so nothing was compiled locally. **Regression run** - Not applicable: README.md only, no runtime change. **Not tested** - No Windows build, no cargo test, no GPU run, no smoke run. **AI use** - AI-assisted: Muse Spark via Muse, directed by romeawayfromhome-rgb; scouted and source-verified the change, did not compile or run it.
Foniass commented 2026-12-01 09:26:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:26:35Z.


Triage (#1607) – head bd56044

No open or merged PR adds xcl pso-precompile to the README usage block (#3457 only mentions it in prose for xcl-menu). The line matches the usage text in crates/xcl/src/main.rs; that also accepts a shaders.rpf path instead of the game folder, which the line does not mention.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7306707459 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3072#issuecomment-7306707459). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T09:26:35Z. --- **Triage (#1607)** – head bd56044 No open or merged PR adds `xcl pso-precompile` to the README usage block (#3457 only mentions it in prose for xcl-menu). The line matches the usage text in `crates/xcl/src/main.rs`; that also accepts a `shaders.rpf` path instead of the game folder, which the line does not mention. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Foniass commented 2026-12-01 10:45:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:45:42Z.


Review (head bd560448, diff read, not a merge-check; draft, README only):

Fine: xcl pso-precompile <folder> exists on main (main.rs ~87). It finds the folder's shaders.rpf and runs --precompile --pipelines with the rest of the arguments passed through (shaders.rs ~1079-1091), so --threads, --records and --used (an alias of --used-only, ~1042) all work as written. The quick-command list doesn't show it yet. Looks good to merge.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7308677313 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3072#issuecomment-7308677313). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T10:45:42Z. --- Review (head bd560448, diff read, not a merge-check; draft, README only): Fine: `xcl pso-precompile <folder>` exists on main (`main.rs` ~87). It finds the folder's `shaders.rpf` and runs `--precompile --pipelines` with the rest of the arguments passed through (`shaders.rs` ~1079-1091), so `--threads`, `--records` and `--used` (an alias of `--used-only`, ~1042) all work as written. The quick-command list doesn't show it yet. Looks good to merge. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3072:upstream-pr/3072'
git switch 'upstream-pr/3072'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3072'
git switch 'upstream-pr/3072'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3072'
git switch 'upstream-pr/3072'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3072'
git switch 'main'
git merge --squash 'upstream-pr/3072'
git switch 'main'
git merge --ff-only 'upstream-pr/3072'
git switch 'main'
git merge 'upstream-pr/3072'
git push origin 'main'
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
xcl-dev/xcl!3072
No description provided.