docs: record the RX 9070 XT run of the four MinLod bridge entries #2857

Merged
thepatrickworld merged 1 commit from upstream-pr/2865 into main 2026-11-27 07:40:13 +00:00
thepatrickworld commented 2026-11-26 14:46:34 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-26T14:46:34Z.


Records an AMD Radeon RX 9070 XT (RDNA 4) in the "Minimum LOD in the SPIR-V bridge" section:
the four registered spirv_minlod_*_hardware entries run and pass there once CMake is pointed at the
pinned tools tools/setup-spirv-tools.ps1 builds, including the two blend errors the fixture prints
and the stale-mip control. The fractional boundary clamps land on the WARP side, which the section
already records for in-box WARP and not for the Intel Arc 140T.

Measured on main at 5a41adba, clean tracked tree, dev preset, Windows 11 build 26200.9974,
MSVC 19.44.35230 / BuildTools 14.44.35207, DXC 1.9.2602.17, AMD Radeon RX 9070 XT
(1002:7550, driver 32.0.32029.2010, driver date 2026-11-18), D3D12 debug layer unavailable.

# The default -Python resolves to the Windows Store stub on this machine; pass a real interpreter.
.\tools\setup-spirv-tools.ps1 -Python <python.exe>
$bin = "$PWD\out\tools\spirv\bin"
cmake --preset dev "-DSPIRV_WINDOW_AS=$bin\spirv-as.exe" "-DSPIRV_WINDOW_VAL=$bin\spirv-val.exe" "-DSPIRV_WINDOW_CROSS=$bin\spirv-cross.exe"
ctest --preset dev --no-tests=error -R '^spirv_minlod(_exact|_levels|_fractional)?_hardware$' -V

ctest -N with that filter registers exactly four entries. Three consecutive runs: the four entries
pass each time, and their per-entry output is identical across the three (same mip per clamp, same
max_absolute_error, same control verdicts). The first of the three runs also carried
spirv_address_window_hardware and spirv_compare_sampler_hardware, which pass with the same
pinned spirv-cross, so swapping the toolchain does not change a verdict elsewhere in the family.

What this does not claim: one adapter and one driver; no debug layer, so no validation-error or
warning count; only what the four fixtures read back (an 8x8 four-mip texture, 64 pixels and 256
channels), nothing about anisotropic filtering, other minification paths or the console sampler
descriptor. At clamps 1.5 and 1.5625 the fixture accepts either mip, so the mip-2 result records
which side this adapter takes rather than a strict expectation. The blend-clamp rows print
first_pixel_bits rather than a mip number, so the control claim there is "matched", not "same mip".

Docs only; no fixture, reference or lowering change.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5512129696 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2865). Originally posted by [thepatrickworld](https://github.com/thepatrickworld) on 2026-11-26T14:46:34Z. --- Records an AMD Radeon RX 9070 XT (RDNA 4) in the "Minimum LOD in the SPIR-V bridge" section: the four registered `spirv_minlod_*_hardware` entries run and pass there once CMake is pointed at the pinned tools `tools/setup-spirv-tools.ps1` builds, including the two blend errors the fixture prints and the stale-mip control. The fractional boundary clamps land on the WARP side, which the section already records for in-box WARP and not for the Intel Arc 140T. Measured on `main` at `5a41adba`, clean tracked tree, `dev` preset, Windows 11 build 26200.9974, MSVC 19.44.35230 / BuildTools 14.44.35207, DXC `1.9.2602.17`, AMD Radeon RX 9070 XT (`1002:7550`, driver `32.0.32029.2010`, driver date 2026-11-18), D3D12 debug layer unavailable. ```powershell # The default -Python resolves to the Windows Store stub on this machine; pass a real interpreter. .\tools\setup-spirv-tools.ps1 -Python <python.exe> $bin = "$PWD\out\tools\spirv\bin" cmake --preset dev "-DSPIRV_WINDOW_AS=$bin\spirv-as.exe" "-DSPIRV_WINDOW_VAL=$bin\spirv-val.exe" "-DSPIRV_WINDOW_CROSS=$bin\spirv-cross.exe" ctest --preset dev --no-tests=error -R '^spirv_minlod(_exact|_levels|_fractional)?_hardware$' -V ``` `ctest -N` with that filter registers exactly four entries. Three consecutive runs: the four entries pass each time, and their per-entry output is identical across the three (same mip per clamp, same `max_absolute_error`, same control verdicts). The first of the three runs also carried `spirv_address_window_hardware` and `spirv_compare_sampler_hardware`, which pass with the same pinned `spirv-cross`, so swapping the toolchain does not change a verdict elsewhere in the family. What this does not claim: one adapter and one driver; no debug layer, so no validation-error or warning count; only what the four fixtures read back (an 8x8 four-mip texture, 64 pixels and 256 channels), nothing about anisotropic filtering, other minification paths or the console sampler descriptor. At clamps `1.5` and `1.5625` the fixture accepts either mip, so the mip-2 result records which side this adapter takes rather than a strict expectation. The blend-clamp rows print `first_pixel_bits` rather than a mip number, so the control claim there is "matched", not "same mip". Docs only; no fixture, reference or lowering change. _AI-assisted._
R0Y00 commented 2026-11-27 07:39:49 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T07:39:49Z.

Review: APPROVED


Reviewed the documentation-only diff at 4738c757 integrated with main f17a08fd. The recorded commands and tool revisions match tools/setup-spirv-tools.ps1 and the four registered MinLod cases. The report distinguishes strict integer and blend controls from the permitted fractional mip boundary, and identifies the RX 9070 XT, driver, commit and unavailable debug layer. The RX 9070 XT measurements are the contributor's reported runs.

Independent checks on the integrated tree: python -B tests/docs_links_check.py, python -B tests/bidi_controls_check.py, and git diff --check passed. Hosted Windows, Linux Python and gfx1013 checks passed.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6084911869 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2865#pullrequestreview-6084911869). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T07:39:49Z. **Review:** APPROVED --- Reviewed the documentation-only diff at `4738c757` integrated with `main` `f17a08fd`. The recorded commands and tool revisions match `tools/setup-spirv-tools.ps1` and the four registered MinLod cases. The report distinguishes strict integer and blend controls from the permitted fractional mip boundary, and identifies the RX 9070 XT, driver, commit and unavailable debug layer. The RX 9070 XT measurements are the contributor's reported runs. Independent checks on the integrated tree: `python -B tests/docs_links_check.py`, `python -B tests/bidi_controls_check.py`, and `git diff --check` passed. Hosted Windows, Linux Python and gfx1013 checks passed.
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!2857
No description provided.