README: document xcl shaders --direct --seed and --validate #2689
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2699"
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:02:34Z.
Stacked on #2657; only the top commit belongs here. The README examples added by the stacked direct-sweep PRs cover
--sample,--hash,--dump, and--compare, but not--seedor--validate, although the built-in help lists both. This adds one example for a reproducible seeded sample with DXIL validation.What is in it
xcl shaders --direct --seed 7 --validate, after the stacked--hash/--dumpline.Tested
crates/xcl/src/main.rsHELP andcrates/xcl/src/shaders.rsatb49be18368:--seeddefaults to 1 and selects the deterministic sample;--validatedefaults to false and runs the DXIL validator on translated output.--seedor--validate.Regression run
Not tested
AI use
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T07:13:29Z.
Review: COMMENTED
Could the new example add
--threads 1to make the selected programs reproducible? The seed fixes the record order, but workers claim records in parallel and share a per-program limit. With a limit of two, let the first seeded record contain programs A and B and the next record contain C. One schedule admits A and B before the second worker runs. Another admits A, then C, leaving B out. Both use the same seed.Either add
--threads 1or say that the seed fixes record order. This is an exact-head source review ofacfd8d5b39e07364e4d21694119789bf0ed13bdc. No shader-pack run. AI-assisted review with Codex.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:44:16Z.
Triage (#1607) – head
acfd8d5Stacked on #2657, which is stacked on #2450: this PR contains their commits
0c0bdcaanda4ad250, and only the top commitacfd8d5(the--seed/--validateline) belongs here. That is a stack, not a duplicate. The other README PRs with similar titles document other flags.--seedand--validateare parsed inshaders.rson main and listed inmain.rsHELP next to--direct. 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.