README: document xcl shaders --export-hlsl --count and --min-kb #2512
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2522"
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?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-25T21:28:19Z.
The README's
--export-hlslexample shows only--record-hash, but the built-in help documents two more options for the same mode:--count Nand--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
--export-hlslexample line now lists[--count N] [--min-kb N] [--record-hash HEX].Tested
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 incrates/xcl/src/shaders.rsat current main (6d12f58): defaults aremin_kb: 1024andcount: 2, and a--record-hashselects exactly one record and bypasses the size threshold.--countor--min-kbmention before this change.Regression run
Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T21:42:25Z.
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!
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:43:30Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:15:54Z.
Triage (#1607) – head
2057907No open or merged PR documents these flags. The other README PRs (#2382, #2450, #2657, #2699, #2728, #3088) each add a line for a different
xcl shadersflag.No problems found in the diff.
--countand--min-kbexist inshaders.rs, andexport_hlslskips themin_kbthreshold when--record-hashis given, as the new text says.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.