docs: document xcl shaders --iface #2764

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/2774 into main
romeawayfromhome-rgb commented 2026-11-26 11:45:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-26T11:45:15Z.


What is in it
One README example line documenting xcl shaders --iface, the opt-in interface-hypotheses analysis in crates/xcl/src/shaders.rs (how console programs connect to their DXBC signatures: PS attributes vs ISG1 registers, VS exports vs OSG1 registers, input-register use, exports, s_sendmsg and PSV0 by hardware stage). Off by default; normal shader statistics are unchanged.
Tested
Verified against source: --iface is parsed in parse_args with default false, and the analysis prints the "interface (hypotheses)" section only when the flag is on. Confirmed the live README does not mention iface, and no open PR documents this flag.
Not tested
No runtime test of the flag's output; this is a documentation-only change.
AI use
Candidate scouted by ChatGPT (GPT) and independently verified against the source by Muse Spark via Clifford; conductor: Legendary Godking (romeawayfromhome-rgb).

<!-- greyfinch-sync:ivall/xcl:issue:5509428248 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2774). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-26T11:45:15Z. --- **What is in it** One README example line documenting `xcl shaders --iface`, the opt-in interface-hypotheses analysis in crates/xcl/src/shaders.rs (how console programs connect to their DXBC signatures: PS attributes vs ISG1 registers, VS exports vs OSG1 registers, input-register use, exports, s_sendmsg and PSV0 by hardware stage). Off by default; normal shader statistics are unchanged. **Tested** Verified against source: `--iface` is parsed in parse_args with default false, and the analysis prints the "interface (hypotheses)" section only when the flag is on. Confirmed the live README does not mention iface, and no open PR documents this flag. **Not tested** No runtime test of the flag's output; this is a documentation-only change. **AI use** Candidate scouted by ChatGPT (GPT) and independently verified against the source by Muse Spark via Clifford; conductor: Legendary Godking (romeawayfromhome-rgb).
github-actions[bot] commented 2026-12-01 02:34:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:34:09Z.


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:7298756574 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2774#issuecomment-7298756574). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-12-01T02:34:09Z. --- 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:56:01 +00:00 (Migrated from github.com)

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


Triage (#1607) – head e398501

The same author's similar README PRs (#2382 --json, #2450 --direct, #2728 --precompile --limit, #3088 --prepare-corpus) each document a different flag, so they are not duplicates. The line matches the code (--iface in shaders::parse_args, doc comment at shaders.rs --iface: how console programs connect to their DXBC signatures). Small point: the commit/title prefix docs: should be README: as in the repository's commit style.
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:7305980559 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2774#issuecomment-7305980559). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:56:01Z. --- **Triage (#1607)** – head e398501 The same author's similar README PRs (#2382 `--json`, #2450 `--direct`, #2728 `--precompile --limit`, #3088 `--prepare-corpus`) each document a different flag, so they are not duplicates. The line matches the code (`--iface` in `shaders::parse_args`, doc comment at shaders.rs `--iface: how console programs connect to their DXBC signatures`). Small point: the commit/title prefix `docs:` should be `README:` as in the repository's commit style. 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/2774:upstream-pr/2774'
git switch 'upstream-pr/2774'

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/2774'
git switch 'upstream-pr/2774'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2774'
git switch 'upstream-pr/2774'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2774'
git switch 'main'
git merge --squash 'upstream-pr/2774'
git switch 'main'
git merge --ff-only 'upstream-pr/2774'
git switch 'main'
git merge 'upstream-pr/2774'
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!2764
No description provided.