README: document xcl shaders --direct --threads, --timeout and --max-bytes #2699
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2709"
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-26T07:54:52Z.
What is in it
One README example line for the
xcl shaders --directsweep controls--threads,--timeoutand--max-bytes, stacked on #2699. The flags are already listed in the built-in help (crates/xcl/src/main.rs), parsed incrates/xcl/src/shaders.rs, and default to up to 8 worker threads, a 10-second per-program timeout, and a 16384-byte program-size cap (--max-bytes 0lifts the cap). README-only; no code, config or test changes.Tested
crates/xcl/src/main.rsandcrates/xcl/src/shaders.rsat current main.Not tested
AI use
AI assistance Muse Spark via Clifford; conductor Legendary Godking (romeawayfromhome-rgb).
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:46:09Z.
Triage (#1607) – head
489ae2cStacked on #2699 (which is stacked on #2657 and #2450): the first three commits are those PRs, only
489ae2cbelongs here. That is not a duplicate.The added README line matches main:
--threads,--timeoutand--max-bytesare parsed inshaders.rs, the defaults aremax_bytes: 16384andtimeout: 10, threads areavailable_parallelism().min(8), andmax_bytes > 0gates the cap, so 0 lifts it. No open or merged PR documents these flags. 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.