README: the sample-file list misses XCL_SAMPLE_XG and XCL_SAMPLE_DXC #870

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

@⁠Koro4e on GitHub · 2026-11-24 07:06 UTC · original
Koro4e:readme-sample-env-vars → main · +3 −1 · 1 files · 1 commits · open

scripts/test.ps1 counts eight XCL_SAMPLE_* variables in its not-set message (XCL_SAMPLE_RPF, DLLS, TTPF, BK2, BVH4, AWC, XG, DXC), but the README's opt-in list names only six - XCL_SAMPLE_XG and XCL_SAMPLE_DXC are missing. Both are described in HANDOFF.md and have tests: tests/xg_oracle.rs (XCL_SAMPLE_XG = the console's xg_xs.dll) and tests/console_shaders.rs (XCL_SAMPLE_DXC = dxcompiler_xs.dll). This adds them with one-line descriptions.

Docs only - no code, no tests touched.

What is in it

  • README.md, "Building and usage": the sample-file list now includes XCL_SAMPLE_XG (the console's xg_xs.dll, the texture-layout oracle) and XCL_SAMPLE_DXC (dxcompiler_xs.dll, the console shader compiler), matching scripts/test.ps1 and HANDOFF.md

Tested

  • Documentation only, no code changed: nothing to build or run, no tests executed.

Regression run

  • not needed: no change to crates/xcl/src

Not tested

  • AMD GPUs; the retail title (docs-only change, nothing that runs it)

AI use

  • AI-assisted: yes. Written with an AI agent (DeepAI Code) with GLM 5.3 Flash (Z.ai): found the mismatch with scripts/test.ps1, made the edit and wrote this description.
**@⁠Koro4e** on GitHub · 2026-11-24 07:06 UTC · [original](https://github.com/xcl-dev/xcl/pull/870) `Koro4e:readme-sample-env-vars` → `main` · +3 −1 · 1 files · 1 commits · open `scripts/test.ps1` counts eight `XCL_SAMPLE_*` variables in its not-set message (`XCL_SAMPLE_RPF`, `DLLS`, `TTPF`, `BK2`, `BVH4`, `AWC`, `XG`, `DXC`), but the README's opt-in list names only six - `XCL_SAMPLE_XG` and `XCL_SAMPLE_DXC` are missing. Both are described in `HANDOFF.md` and have tests: `tests/xg_oracle.rs` (`XCL_SAMPLE_XG` = the console's `xg_xs.dll`) and `tests/console_shaders.rs` (`XCL_SAMPLE_DXC` = `dxcompiler_xs.dll`). This adds them with one-line descriptions. Docs only - no code, no tests touched. **What is in it** - README.md, "Building and usage": the sample-file list now includes `XCL_SAMPLE_XG` (the console's `xg_xs.dll`, the texture-layout oracle) and `XCL_SAMPLE_DXC` (`dxcompiler_xs.dll`, the console shader compiler), matching `scripts/test.ps1` and `HANDOFF.md` **Tested** - Documentation only, no code changed: nothing to build or run, no tests executed. **Regression run** - not needed: no change to `crates/xcl/src` **Not tested** - AMD GPUs; the retail title (docs-only change, nothing that runs it) **AI use** - AI-assisted: yes. Written with an AI agent (DeepAI Code) with GLM 5.3 Flash (Z.ai): found the mismatch with scripts/test.ps1, made the edit and wrote this description.
scripts/test.ps1 counts eight XCL_SAMPLE_* variables in its not-set
message; the README's list named six. HANDOFF.md describes the two
missing ones: tests/xg_oracle.rs uses XCL_SAMPLE_XG (the console's
xg_xs.dll) and tests/console_shaders.rs uses XCL_SAMPLE_DXC
(dxcompiler_xs.dll).

Assisted-by: DeepAI Code (GLM 5.3 Flash)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:35:12 +00:00
Author
Owner

@⁠ettehn on GitHub · 2026-11-24 07:35 UTC · original

Small setup detail at f2705e8d: the console shader test documents that xbsc_xs.dll belongs beside dxcompiler_xs.dll, and console_compiler() resolves its back ends relative to that directory (crates/xcl/tests/console_shaders.rs, lines 6–8 and 23–30). Suggest wording the new entry as XCL_SAMPLE_DXC (dxcompiler_xs.dll, with xbsc_xs.dll alongside it) so someone following the README knows which files to keep together.

The eight names match scripts/test.ps1. I also checked the ninth name in the Rust sources, XCL_SAMPLE_FSPX: its only test is #[ignore], so it makes sense to leave it out of this default-suite list. Source check only. OpenAI Codex (GPT-6.2 Astra) assisted with verification.

**@⁠ettehn** on GitHub · 2026-11-24 07:35 UTC · [original](https://github.com/xcl-dev/xcl/pull/870#issuecomment-7125159705) Small setup detail at f2705e8d: the console shader test documents that xbsc_xs.dll belongs beside dxcompiler_xs.dll, and console_compiler() resolves its back ends relative to that directory (crates/xcl/tests/console_shaders.rs, lines 6–8 and 23–30). Suggest wording the new entry as `XCL_SAMPLE_DXC (dxcompiler_xs.dll, with xbsc_xs.dll alongside it)` so someone following the README knows which files to keep together. The eight names match scripts/test.ps1. I also checked the ninth name in the Rust sources, XCL_SAMPLE_FSPX: its only test is #[ignore], so it makes sense to leave it out of this default-suite list. Source check only. OpenAI Codex (GPT-6.2 Astra) assisted with verification.
Author
Owner

@⁠Koro4e on GitHub · 2026-11-24 07:42 UTC · original

Fair point, done: the entry now reads XCL_SAMPLE_DXC (dxcompiler_xs.dll, with xbsc_xs.dll alongside it, the console shader compiler) — pushed as 39f68af.

Thanks for the XCL_SAMPLE_FSPX check: confirmed, its only test (fspx_compute_user_sgprs_from_rsrc2) is #[ignore], so leaving it out of the default-suite list is right.

**@⁠Koro4e** on GitHub · 2026-11-24 07:42 UTC · [original](https://github.com/xcl-dev/xcl/pull/870#issuecomment-7125280600) Fair point, done: the entry now reads `XCL_SAMPLE_DXC` (`dxcompiler_xs.dll`, with `xbsc_xs.dll` alongside it, the console shader compiler) — pushed as 39f68af. Thanks for the XCL_SAMPLE_FSPX check: confirmed, its only test (fspx_compute_user_sgprs_from_rsrc2) is #[ignore], so leaving it out of the default-suite list is right.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 10:02 UTC · original

Verification on RTX 3060 Ti (Windows 11): merge conflict with current main — needs a rebase before it can be tested.

**@⁠DavidM1911** on GitHub · 2026-11-25 10:02 UTC · [original](https://github.com/xcl-dev/xcl/pull/870#issuecomment-7159141008) Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** — needs a rebase before it can be tested.
This pull request has changes conflicting with the target branch.
  • README.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/870/head:github-bot/gh-870'
git switch 'github-bot/gh-870'

Merge

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