README: document DXC DLL search order #926

Open
Kadthicu wants to merge 1 commit from upstream-pr/932 into main
Kadthicu commented 2026-11-24 08:42:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Kadthicu on 2026-11-24T08:42:00Z.


Clarify DXC DLL lookup order in the Windows setup instructions: XCL_DXC_DIR, the executable directory, then Windows SDK directories. Also document the same-directory dxil.dll load attempt.

What is in it

  • README.md — put the lookup order in the DXC setup bullet.

Tested

  • Checked the wording against candidates() and load() in crates/xcl/src/gpu/recomp/dxc.rs.

Not tested

  • Windows build and runtime. Documentation-only change.

AI use

  • OpenAI Codex (GPT-6 family, exact variant unavailable) inspected the loader and drafted the README change and this description.
<!-- greyfinch-sync:ivall/xcl:issue:5468867678 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/932). Originally posted by [Kadthicu](https://github.com/Kadthicu) on 2026-11-24T08:42:00Z. --- Clarify DXC DLL lookup order in the Windows setup instructions: `XCL_DXC_DIR`, the executable directory, then Windows SDK directories. Also document the same-directory `dxil.dll` load attempt. **What is in it** - `README.md` — put the lookup order in the DXC setup bullet. **Tested** - Checked the wording against `candidates()` and `load()` in `crates/xcl/src/gpu/recomp/dxc.rs`. **Not tested** - Windows build and runtime. Documentation-only change. **AI use** - OpenAI Codex (GPT-6 family, exact variant unavailable) inspected the loader and drafted the README change and this description.
catminou4 commented 2026-11-24 09:13:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by catminou4 on 2026-11-24T09:13:06Z.

Review: APPROVED


Verified against the code: crates/xcl/src/gpu/recomp/dxc.rs searches %XCL_DXC_DIR% first, then the xcl.exe folder, then the Windows SDK bin\<ver>\x64 dirs, and loads dxil.dll from the same folder before dxcompiler.dll (module docs lines 4-5, toolchain() at line 78-84). The README now matches the implementation exactly. Docs-only, no test run needed.

<!-- greyfinch-sync:ivall/xcl:review:6036477376 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/932#pullrequestreview-6036477376). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-24T09:13:06Z. **Review:** APPROVED --- Verified against the code: `crates/xcl/src/gpu/recomp/dxc.rs` searches `%XCL_DXC_DIR%` first, then the `xcl.exe` folder, then the Windows SDK `bin\<ver>\x64` dirs, and loads `dxil.dll` from the same folder before `dxcompiler.dll` (module docs lines 4-5, `toolchain()` at line 78-84). The README now matches the implementation exactly. Docs-only, no test run needed.
DavidM1911 commented 2026-11-25 10:10:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T09:17:15Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7158127470 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/932#issuecomment-7158127470). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T09:17:15Z. --- 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!
github-actions[bot] commented 2026-11-29 07:41:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:41:15Z.


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:7252627443 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/932#issuecomment-7252627443). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T07:41:15Z. --- 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 04:31:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:31:10Z.


Triage (#1607) – head e7d305f

No open or merged PR documents the DXC search order. It matches dxc::candidates on main (XCL_DXC_DIR, the folder of xcl.exe, then the SDK folders, newest DXC first) and dxil.dll being loaded first. The PR is a draft and conflicts with the current README, where the requirements line moved.

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:7300815469 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/932#issuecomment-7300815469). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:31:10Z. --- **Triage (#1607)** – head e7d305f No open or merged PR documents the DXC search order. It matches `dxc::candidates` on main (XCL_DXC_DIR, the folder of xcl.exe, then the SDK folders, newest DXC first) and dxil.dll being loaded first. The PR is a draft and conflicts with the current README, where the requirements line moved. 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/932:upstream-pr/932'
git switch 'upstream-pr/932'

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