README: document xcl shaders --precompile --limit #2728

Open
github-bot wants to merge 1 commit from github-bot/gh-2728 into main AGit
Owner

@⁠romeawayfromhome-rgb on GitHub · 2026-11-26 09:03 UTC · original
romeawayfromhome-rgb:docs/precompile-limit-readme → main · +1 −0 · 1 files · 1 commits · draft

Documents the --limit N flag for xcl shaders --precompile, which the README usage block does not mention. The parser accepts --limit (crates/xcl/src/shaders.rs, default unlimited) and precompile processes only the first N input records (input.len().min(limit)). Verified against main b49be18; no open PR documents this flag.

What is in it

  • README.md: one example line for xcl shaders --precompile --limit 100 in the usage block

Tested

  • README-only change; no code touched. Flag name, default, and behaviour verified by reading crates/xcl/src/shaders.rs at b49be18. Not built or run: this VM is Linux and XCL builds on Windows only.

Regression run

  • Not applicable: README-only, no change under crates/xcl/src.

Not tested

  • Not run on Windows or any GPU; the example line itself was not executed.

AI use

  • Muse Spark via Muse, conducted by LegendaryGodKing: found the undocumented flag, verified it against the parser, wrote the README line and this description.
**@⁠romeawayfromhome-rgb** on GitHub · 2026-11-26 09:03 UTC · [original](https://github.com/xcl-dev/xcl/pull/2728) `romeawayfromhome-rgb:docs/precompile-limit-readme` → `main` · +1 −0 · 1 files · 1 commits · draft Documents the `--limit N` flag for `xcl shaders --precompile`, which the README usage block does not mention. The parser accepts `--limit` (crates/xcl/src/shaders.rs, default unlimited) and precompile processes only the first N input records (`input.len().min(limit)`). Verified against main b49be18; no open PR documents this flag. **What is in it** - README.md: one example line for `xcl shaders --precompile --limit 100` in the usage block **Tested** - README-only change; no code touched. Flag name, default, and behaviour verified by reading crates/xcl/src/shaders.rs at b49be18. Not built or run: this VM is Linux and XCL builds on Windows only. **Regression run** - Not applicable: README-only, no change under crates/xcl/src. **Not tested** - Not run on Windows or any GPU; the example line itself was not executed. **AI use** - Muse Spark via Muse, conducted by LegendaryGodKing: found the undocumented flag, verified it against the parser, wrote the README line and this description.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:04:41 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2728/head:github-bot/gh-2728'
git switch 'github-bot/gh-2728'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2728'
git switch 'github-bot/gh-2728'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2728'
git switch 'github-bot/gh-2728'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2728'
git switch 'main'
git merge --squash 'github-bot/gh-2728'
git switch 'main'
git merge --ff-only 'github-bot/gh-2728'
git switch 'main'
git merge 'github-bot/gh-2728'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.