README: document xcl shaders --export-hlsl --count and --min-kb #2522

Open
github-bot wants to merge 1 commit from github-bot/gh-2522 into main AGit
Owner

@⁠romeawayfromhome-rgb on GitHub · 2026-11-25 21:28 UTC · original
romeawayfromhome-rgb:docs/export-hlsl-readme → main · +1 −1 · 1 files · 1 commits · draft

The README's --export-hlsl example shows only --record-hash, but the built-in help documents two more options for the same mode: --count N and --min-kb N. This adds them to the example line so the export size/count controls are discoverable from the README.

What is in it

  • README.md: the --export-hlsl example line now lists [--count N] [--min-kb N] [--record-hash HEX].

Tested

  • Docs-only change; no code changed.
  • Verified the flags against HELP in crates/xcl/src/main.rs (--export-hlsl DIR [--count N] [--min-kb N] [--record-hash HEX]: writes deterministic compute HLSL for investigation; an exact hash bypasses the size threshold) and the parser in crates/xcl/src/shaders.rs at current main (6d12f58): defaults are min_kb: 1024 and count: 2, and a --record-hash selects exactly one record and bypasses the size threshold.
  • Confirmed the README had no --count or --min-kb mention 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. Opened as a draft per CONTRIBUTING.md until CI and review pass.

AI use

  • Muse Spark via Muse, for finding the HELP/README gap and drafting. Human conductor: Alexander Lerbakken (romeawayfromhome-rgb).
**@⁠romeawayfromhome-rgb** on GitHub · 2026-11-25 21:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/2522) `romeawayfromhome-rgb:docs/export-hlsl-readme` → `main` · +1 −1 · 1 files · 1 commits · draft The README's `--export-hlsl` example shows only `--record-hash`, but the built-in help documents two more options for the same mode: `--count N` and `--min-kb N`. This adds them to the example line so the export size/count controls are discoverable from the README. **What is in it** - README.md: the `--export-hlsl` example line now lists `[--count N] [--min-kb N] [--record-hash HEX]`. **Tested** - Docs-only change; no code changed. - Verified the flags against HELP in `crates/xcl/src/main.rs` (`--export-hlsl DIR [--count N] [--min-kb N] [--record-hash HEX]`: writes deterministic compute HLSL for investigation; an exact hash bypasses the size threshold) and the parser in `crates/xcl/src/shaders.rs` at current main (`6d12f58`): defaults are `min_kb: 1024` and `count: 2`, and a `--record-hash` selects exactly one record and bypasses the size threshold. - Confirmed the README had no `--count` or `--min-kb` mention 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. Opened as a draft per CONTRIBUTING.md until CI and review pass. **AI use** - Muse Spark via Muse, for finding the HELP/README gap and drafting. Human conductor: Alexander Lerbakken (romeawayfromhome-rgb).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:32:50 +00:00
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 21:42 UTC · original

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

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 21:42 UTC · [original](https://github.com/xcl-dev/xcl/pull/2522#issuecomment-7175434040) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
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/2522/head:github-bot/gh-2522'
git switch 'github-bot/gh-2522'

Merge

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