Skip to content

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

Draft
romeawayfromhome-rgb wants to merge 2 commits into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/direct-hash-dump-readme
Draft

romeawayfromhome-rgb wants to merge 2 commits into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/direct-hash-dump-readme

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

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.

@luckyteagirl luckyteagirl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants