README: document xcl shaders --direct #2440

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/2450 into main
romeawayfromhome-rgb commented 2026-11-25 19:21:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-25T19:21:33Z.


The README's PowerShell examples cover several xcl shaders modes but have no example for --direct, even though the built-in help documents it. This adds one example line so the direct DXIL translator coverage mode is discoverable from the README.

What is in it

  • README.md: one example line for xcl shaders --direct --sample 200 in the PowerShell examples block.

Tested

  • Docs-only change; no code changed.
  • Verified the flags against HELP in crates/xcl/src/main.rs (--direct [--sample N] [--seed S] [--validate] [--compare]: direct DXIL translator coverage over a seeded sample, default 200 programs, 0 = all) and the parser in crates/xcl/src/shaders.rs at current main (2898511).
  • Confirmed the README had no --direct example before this change.

Regression run

  • Not applicable — README-only change, no runtime change.

Not tested

  • Not compiled or run locally — this VM has no Rust toolchain/Windows GPU; relying on CI.

AI use

  • Muse Spark via Muse, for finding the HELP/README gap and drafting. Human conductor: Alexander Lerbakken (romeawayfromhome-rgb).
<!-- greyfinch-sync:ivall/xcl:issue:5497668257 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2450). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-25T19:21:33Z. --- The README's PowerShell examples cover several `xcl shaders` modes but have no example for `--direct`, even though the built-in help documents it. This adds one example line so the direct DXIL translator coverage mode is discoverable from the README. **What is in it** - README.md: one example line for `xcl shaders --direct --sample 200` in the PowerShell examples block. **Tested** - Docs-only change; no code changed. - Verified the flags against HELP in `crates/xcl/src/main.rs` (`--direct [--sample N] [--seed S] [--validate] [--compare]`: direct DXIL translator coverage over a seeded sample, default 200 programs, 0 = all) and the parser in `crates/xcl/src/shaders.rs` at current main (`2898511`). - Confirmed the README had no `--direct` example before this change. **Regression run** - Not applicable — README-only change, no runtime change. **Not tested** - Not compiled or run locally — this VM has no Rust toolchain/Windows GPU; relying on CI. **AI use** - Muse Spark via Muse, for finding the HELP/README gap and drafting. Human conductor: Alexander Lerbakken (romeawayfromhome-rgb).
DavidM1911 commented 2026-11-25 21:05:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T20:29:18Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7173743697 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2450#issuecomment-7173743697). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T20:29:18Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun. Thanks!
github-actions[bot] commented 2026-11-30 08:39:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:39:43Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7273185175 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2450#issuecomment-7273185175). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:39:43Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 08:07:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:07:36Z.


Triage (#1607) – head 0c0bdca

Bottom of a stack by the same author: #2657, #2699 and #2709 each contain this commit (0c0bdca) and add more --direct lines on top, so they are not duplicates of it. The other README PRs listed as similar (#2382 --json, #3088 --prepare-corpus, #2728 --limit, #2627 --version, #2522 --export-hlsl) document other flags.
The line matches main: --direct [--sample N] is in main.rs HELP and parsed in shaders.rs. README on main has no --direct example yet. 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.

<!-- greyfinch-sync:ivall/xcl:comment:7304907835 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2450#issuecomment-7304907835). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:07:36Z. --- **Triage (#1607)** – head 0c0bdca Bottom of a stack by the same author: #2657, #2699 and #2709 each contain this commit (0c0bdca) and add more `--direct` lines on top, so they are not duplicates of it. The other README PRs listed as similar (#2382 `--json`, #3088 `--prepare-corpus`, #2728 `--limit`, #2627 `--version`, #2522 `--export-hlsl`) document other flags. The line matches main: `--direct [--sample N]` is in `main.rs` HELP and parsed in `shaders.rs`. README on main has no `--direct` example yet. 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.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2450:upstream-pr/2450'
git switch 'upstream-pr/2450'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/2450'
git switch 'upstream-pr/2450'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2450'
git switch 'upstream-pr/2450'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2450'
git switch 'main'
git merge --squash 'upstream-pr/2450'
git switch 'main'
git merge --ff-only 'upstream-pr/2450'
git switch 'main'
git merge 'upstream-pr/2450'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2440
No description provided.