README: document xcl shaders --direct --hash and --dump #2657

Open
github-bot wants to merge 2 commits from github-bot/gh-2657 into main AGit
Owner

@⁠romeawayfromhome-rgb on GitHub · 2026-11-26 05:10 UTC · original
romeawayfromhome-rgb:docs/direct-hash-dump-readme → main · +2 −0 · 1 files · 2 commits · draft

Stacked on #2450; only the top commit belongs here.

What is in it

  • One README example line for --direct --hash/--dump/--compare, verified against main.rs HELP and shaders.rs at b49be18.

Tested

  • No build or test run: this was prepared on Linux, XCL is Windows-only, and the change is README-only.

Regression run

  • Not applicable, no runtime code changed.

Not tested

  • Windows build, GPU test suite, and smoke run not run.

AI use

  • Muse Spark, prepared the README line and this description; the account holder authorized the contribution loop.
**@⁠romeawayfromhome-rgb** on GitHub · 2026-11-26 05:10 UTC · [original](https://github.com/xcl-dev/xcl/pull/2657) `romeawayfromhome-rgb:docs/direct-hash-dump-readme` → `main` · +2 −0 · 1 files · 2 commits · draft Stacked on #2450; only the top commit belongs here. **What is in it** - One README example line for --direct --hash/--dump/--compare, verified against main.rs HELP and shaders.rs at b49be18. **Tested** - No build or test run: this was prepared on Linux, XCL is Windows-only, and the change is README-only. **Regression run** - Not applicable, no runtime code changed. **Not tested** - Windows build, GPU test suite, and smoke run not run. **AI use** - Muse Spark, prepared the README line and this description; the account holder authorized the contribution loop.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:14:46 +00:00
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 05:47 UTC · original · reviewed

Could the example qualify that --compare adds the HLSL path only when direct DXIL translation succeeds? On a direct refusal, the dump writes direct.err.txt, but the compare && r.is_ok() guard skips HLSL generation entirely. That matters when a user follows the example to investigate a failed direct translation and expects an alternate HLSL artifact. The HLSL path can also stop before .hlsl.dxil if translation or DXC fails. Exact-head source review at a4ad250e79590475042d0d65d070284c992350ba; no title or shader pack run. AI-assisted review with Codex.

**@⁠luckyteagirl** on GitHub · 2026-11-26 05:47 UTC · [original](https://github.com/xcl-dev/xcl/pull/2657#pullrequestreview-6069140407) · **reviewed** Could the example qualify that `--compare` adds the HLSL path only when direct DXIL translation succeeds? On a direct refusal, the dump writes `direct.err.txt`, but the `compare && r.is_ok()` guard skips HLSL generation entirely. That matters when a user follows the example to investigate a failed direct translation and expects an alternate HLSL artifact. The HLSL path can also stop before `.hlsl.dxil` if translation or DXC fails. Exact-head source review at `a4ad250e79590475042d0d65d070284c992350ba`; no title or 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/2657/head:github-bot/gh-2657'
git switch 'github-bot/gh-2657'

Merge

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