README: document xcl shaders --precompile --limit #2718
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2728"
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?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-26T09:03:34Z.
Documents the
--limit Nflag forxcl 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 mainb49be18; no open PR documents this flag.What is in it
xcl shaders --precompile --limit 100in the usage blockTested
b49be18. Not built or run: this VM is Linux and XCL builds on Windows only.Regression run
Not tested
AI use
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T09:43:34Z.
Review: COMMENTED
The new comment says
--limit 100precompiles “the first 100 shaders,” butprecompile()setsn = input.len().min(limit)before it parses entries or applies--only/--used-only. The limit bounds input records, not eligible shaders or compiled programs; one record can hold multiple programs, and filtered records still consume positions within the first 100. That distinction matters when someone uses this example to bound a short run.Could the comment say “process at most the first 100 shader records” (the PR description already uses “records”)? This is exact-head source review only; I did not run the CLI for this wording change.
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-26T11:02:09Z.
Thanks — updated in
ae5a2f9. The example comment now reads "process at most the first 100 shader records".Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:34:02Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:50:09Z.
Triage (#1607) – head
ae5a2f9No open or merged PR documents
--precompile --limit. The line is accurate:precompileprocessesinput.len().min(limit)records (shaders.rs). No problems found in the diff.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.