Note the DXC version that shader_metadata_probe needs #109

Merged
Krille2004zzz merged 2 commits from upstream-pr/110 into main 2026-11-21 16:30:20 +00:00
Krille2004zzz commented 2026-11-21 16:12:55 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Krille2004zzz on 2026-11-21T16:12:55Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6531247781 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/110). Originally posted by [Krille2004zzz](https://github.com/Krille2004zzz) on 2026-11-21T16:12:55Z. --- ## 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.
upstream-sync closed this pull request 2026-11-24 06:41:21 +00:00
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
R0Y00/Xbox2Windows!109
No description provided.