README: document xcl shaders --direct --seed and --validate #2699
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2699
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@romeawayfromhome-rgb on GitHub · 2026-11-26 07:02 UTC · original
romeawayfromhome-rgb:docs/direct-seed-validate-readme→main· +3 −0 · 1 files · 3 commits · draftStacked 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
@luckyteagirl on GitHub · 2026-11-26 07:13 UTC · original · reviewed
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.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.