README: document xcl shaders --direct --seed and --validate #2699

Open
github-bot wants to merge 3 commits from github-bot/gh-2699 into main AGit
Owner

@⁠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 · draft

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 --seed or --validate, although the built-in help lists both. This adds one example for a reproducible seeded sample with DXIL validation.

What is in it

  • README.md: one example line for xcl shaders --direct --seed 7 --validate, after the stacked --hash/--dump line.

Tested

  • Docs-only change; no code changed. Verified against crates/xcl/src/main.rs HELP and crates/xcl/src/shaders.rs at b49be18368: --seed defaults to 1 and selects the deterministic sample; --validate defaults to false and runs the DXIL validator on translated output.
  • Confirmed the stacked PRs #2450 and #2657 do not add --seed or --validate.

Regression run

  • Not applicable: README only, no runtime change.

Not tested

  • No Windows build, GPU test suite, smoke run, or command execution: this was prepared on Linux and XCL is Windows-only.

AI use

  • Muse Spark via Muse prepared the README line and this description. Alexander Lerbakken (romeawayfromhome-rgb) directed the continuous contribution loop.
**@⁠romeawayfromhome-rgb** on GitHub · 2026-11-26 07:02 UTC · [original](https://github.com/xcl-dev/xcl/pull/2699) `romeawayfromhome-rgb:docs/direct-seed-validate-readme` → `main` · +3 −0 · 1 files · 3 commits · draft 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 `--seed` or `--validate`, although the built-in help lists both. This adds one example for a reproducible seeded sample with DXIL validation. **What is in it** - README.md: one example line for `xcl shaders --direct --seed 7 --validate`, after the stacked `--hash`/`--dump` line. **Tested** - Docs-only change; no code changed. Verified against `crates/xcl/src/main.rs` HELP and `crates/xcl/src/shaders.rs` at b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7: `--seed` defaults to 1 and selects the deterministic sample; `--validate` defaults to false and runs the DXIL validator on translated output. - Confirmed the stacked PRs #2450 and #2657 do not add `--seed` or `--validate`. **Regression run** - Not applicable: README only, no runtime change. **Not tested** - No Windows build, GPU test suite, smoke run, or command execution: this was prepared on Linux and XCL is Windows-only. **AI use** - Muse Spark via Muse prepared the README line and this description. Alexander Lerbakken (romeawayfromhome-rgb) directed the continuous contribution loop.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 07:04:21 +00:00
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 07:13 UTC · original · reviewed

Could the new example add --threads 1 to 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 1 or say that the seed fixes record order. This is an exact-head source review of acfd8d5b39e07364e4d21694119789bf0ed13bdc. No shader-pack run. AI-assisted review with Codex.

**@⁠luckyteagirl** on GitHub · 2026-11-26 07:13 UTC · [original](https://github.com/xcl-dev/xcl/pull/2699#pullrequestreview-6069902906) · **reviewed** Could the new example add `--threads 1` to 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 1` or say that the seed fixes record order. This is an exact-head source review of `acfd8d5b39e07364e4d21694119789bf0ed13bdc`. No shader-pack run. AI-assisted review with Codex.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
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/2699/head:github-bot/gh-2699'
git switch 'github-bot/gh-2699'

Merge

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