Note the DXC version that shader_metadata_probe needs #110

Manually merged
github merged 2 commits from gh-pr/110/head into gh-pr/110/base 2026-11-26 21:27:34 +00:00
Owner

@⁠Krille2004zzz on GitHub · 2026-11-21 16:12 UTC · original
Krille2004zzz:docs/dxc-module-validation → main · +2 −0 · 1 files · 2 commits · merged 2026-11-21 16:30 UTC

Change

Adds one paragraph to the README first-build section, after the full-suite ctest command. It says shader_metadata_probe needs a DXC validator that accepts module-only validation, and gives the versions known so far: the DXC 1.7.2308 in the original Windows SDK 10.0.26100 fails with call_hr 0x80070057, and the DXC v1.9.2609 release passes. It also shows how to point the build at a release with -DDXC_EXECUTABLE.

This helps someone doing a clean first build who sees this one failure on an otherwise passing suite. Right now the README requirement ("Windows SDK 10.0.26100 with DXC") can be met by an SDK that fails the test, so the failure looks like a bug in their build.

I went with the documentation option from #98 because it's the smallest change and doesn't change what the test measures. A configure-time version check or a named skip could still be added later. I left #98 open because nobody has narrowed the minimum version down yet.

Refs #98

Verification

Docs-only change. I don't have a Windows machine with the 1.7.2308 SDK, so I haven't reproduced the failure myself. The version results come from the A/B run in #98 (same .cso files, two root_probe builds).

On Linux at 88fd8c5 I checked the configure step that the new sentence depends on. I used a stub dxc on PATH because only configure is exercised here:

cmake -S . -B /tmp/b2 -G Ninja -DINTAKE_PYTHON=<venv python>
cmake -S . -B /tmp/b2 -DDXC_EXECUTABLE=/tmp/dxcrel/bin/x64/dxc
  • After the second command, an already configured build directory switches SDK_DXC_DIR for root_probe from the PATH directory to /tmp/dxcrel/bin/x64/. All 35 DXC compile commands in build.ninja use the new executable, so no fresh build directory is needed. The shader fixtures get rebuilt with the newer compiler too.
  • ctest -N still lists shader_metadata_probe.
  • The dxc_2026_09_29.zip asset of the v1.9.2609 release has bin\x64\dxc.exe, dxcompiler.dll and dxil.dll side by side. root_probe loads dxcompiler.dll and dxil.dll from SDK_DXC_DIR, which matches the path in the example.
  • All relative links and anchors in the repository's Markdown files still resolve.

Evidence and follow-up

No new fixtures. Still open in #98: which DXC release between 1.7.2308 and 1.9.2609 first passes, and whether later servicing releases of SDK 10.0.26100 already include a working validator. The clean build in #2 passed the full suite with "Windows SDK 10.0.26100", so it may have been a later servicing release.

**@⁠Krille2004zzz** on GitHub · 2026-11-21 16:12 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/110) `Krille2004zzz:docs/dxc-module-validation` → `main` · +2 −0 · 1 files · 2 commits · merged 2026-11-21 16:30 UTC ## Change Adds one paragraph to the README first-build section, after the full-suite `ctest` command. It says `shader_metadata_probe` needs a DXC validator that accepts module-only validation, and gives the versions known so far: the DXC 1.7.2308 in the original Windows SDK 10.0.26100 fails with `call_hr 0x80070057`, and the DXC v1.9.2609 release passes. It also shows how to point the build at a release with `-DDXC_EXECUTABLE`. This helps someone doing a clean first build who sees this one failure on an otherwise passing suite. Right now the README requirement ("Windows SDK 10.0.26100 with DXC") can be met by an SDK that fails the test, so the failure looks like a bug in their build. I went with the documentation option from #98 because it's the smallest change and doesn't change what the test measures. A configure-time version check or a named skip could still be added later. I left #98 open because nobody has narrowed the minimum version down yet. Refs #98 ## Verification Docs-only change. I don't have a Windows machine with the 1.7.2308 SDK, so I haven't reproduced the failure myself. The version results come from the A/B run in #98 (same `.cso` files, two `root_probe` builds). On Linux at `88fd8c5` I checked the configure step that the new sentence depends on. I used a stub `dxc` on `PATH` because only configure is exercised here: ```sh cmake -S . -B /tmp/b2 -G Ninja -DINTAKE_PYTHON=<venv python> cmake -S . -B /tmp/b2 -DDXC_EXECUTABLE=/tmp/dxcrel/bin/x64/dxc ``` - After the second command, an already configured build directory switches `SDK_DXC_DIR` for `root_probe` from the `PATH` directory to `/tmp/dxcrel/bin/x64/`. All 35 DXC compile commands in `build.ninja` use the new executable, so no fresh build directory is needed. The shader fixtures get rebuilt with the newer compiler too. - `ctest -N` still lists `shader_metadata_probe`. - The `dxc_2026_09_29.zip` asset of the v1.9.2609 release has `bin\x64\dxc.exe`, `dxcompiler.dll` and `dxil.dll` side by side. `root_probe` loads `dxcompiler.dll` and `dxil.dll` from `SDK_DXC_DIR`, which matches the path in the example. - All relative links and anchors in the repository's Markdown files still resolve. ## Evidence and follow-up No new fixtures. Still open in #98: which DXC release between 1.7.2308 and 1.9.2609 first passes, and whether later servicing releases of SDK 10.0.26100 already include a working validator. The clean build in #2 passed the full suite with "Windows SDK 10.0.26100", so it may have been a later servicing release.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:27:32 +00:00
github manually merged commit 0995ff0793 into gh-pr/110/base 2026-11-26 21:27:34 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.