docs: record the per-adapter MinLod mip rule, including the Arc floor case #1382

Merged
ChazY11 merged 1 commit from upstream-pr/1389 into main 2026-11-24 10:28:08 +00:00
ChazY11 commented 2026-11-24 10:16:42 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T10:16:42Z.


What

docs/experiments.md, minimum-LOD section: names the two mip rules the recorded adapters follow and adds the adapter
that follows the floor rule, with a 19-clamp sweep instead of five clamps.

Measured

Windows 11 build 26300.9974, x64, Core Ultra 9 285H; DXC 1.8.2502.11, SPIRV-Tools 2025.5, SPIRV-Cross 57e4efc+,
debug layer enabled in every run (debug_errors=0 debug_warnings=0), ps_6_6, MIN_MAG_MIP_POINT, 8x8 four-mip
texture, constant coordinate so the LOD is the clamp.

$env:XBOX2WINDOWS_ADAPTER = 'Intel'    # or 'NVIDIA'; unset for WARP
ctest --preset dev --no-tests=error -R '^spirv_minlod_' -V
clamp Arc 140T (32.0.101.8132) RTX 5080 Laptop (32.0.15.8142) in-box WARP (10.0.26100.9818)
0.5 0 1 1
0.99 0 1 1
1.5 1 2 2
1.5625 1 2 2
1.99 1 2 2
2.5 2 3 3
3.5 3 3 3

All 19 clamps from 0.4375 to 3.75 follow floor(clamp) on the Arc and floor(clamp + 0.5) on the RTX and WARP, with
translated SPIR-V and the direct HLSL control agreeing in all 57 cells.

Two consequences are recorded in the entry: the stale-reference control at 1.5625 cannot reject on the Arc because the
adapter reads mip 1 there, and the wrong-mip control at clamp 1 still rejects everywhere because both rules agree at an
exact mip. That is the same finding I reported in #809, now in the place the repository keeps measurements.

Tested

python -B tests/docs_links_check.py       -> 15 Markdown files, 253 links
python -B tests/bidi_controls_check.py    -> 950 tracked files, no bidirectional controls

Docs only: one paragraph and one table in one section. No fixture, CTest registration, build change or expectation
change.

Notes

  • AI-assisted; every cell is from this machine and reproducible with the command above.
  • Refs #809. The Arc fixture failure and the control-design discussion stay in the issue; this PR only records what
    was measured, and explicitly keeps the cause (driver mip selection) as the adapter's behaviour, not a claim about a
    bug.
  • The Arc is named with adapter id, driver and DXC the way the existing hardware notes are, so a later reader can tell
    which build produced the floor rule.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6579539746 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1389). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-24T10:16:42Z. --- ## What `docs/experiments.md`, minimum-LOD section: names the two mip rules the recorded adapters follow and adds the adapter that follows the floor rule, with a 19-clamp sweep instead of five clamps. ## Measured Windows 11 build 26300.9974, x64, Core Ultra 9 285H; DXC 1.8.2502.11, SPIRV-Tools 2025.5, SPIRV-Cross `57e4efc+`, debug layer enabled in every run (`debug_errors=0 debug_warnings=0`), `ps_6_6`, `MIN_MAG_MIP_POINT`, 8x8 four-mip texture, constant coordinate so the LOD is the clamp. ```powershell $env:XBOX2WINDOWS_ADAPTER = 'Intel' # or 'NVIDIA'; unset for WARP ctest --preset dev --no-tests=error -R '^spirv_minlod_' -V ``` | clamp | Arc 140T (32.0.101.8132) | RTX 5080 Laptop (32.0.15.8142) | in-box WARP (10.0.26100.9818) | |---|---|---|---| | 0.5 | **0** | 1 | 1 | | 0.99 | **0** | 1 | 1 | | 1.5 | **1** | 2 | 2 | | 1.5625 | **1** | 2 | 2 | | 1.99 | **1** | 2 | 2 | | 2.5 | **2** | 3 | 3 | | 3.5 | **3** | 3 | 3 | All 19 clamps from 0.4375 to 3.75 follow `floor(clamp)` on the Arc and `floor(clamp + 0.5)` on the RTX and WARP, with translated SPIR-V and the direct HLSL control agreeing in all 57 cells. Two consequences are recorded in the entry: the stale-reference control at 1.5625 cannot reject on the Arc because the adapter reads mip 1 there, and the wrong-mip control at clamp 1 still rejects everywhere because both rules agree at an exact mip. That is the same finding I reported in #809, now in the place the repository keeps measurements. ## Tested ```text python -B tests/docs_links_check.py -> 15 Markdown files, 253 links python -B tests/bidi_controls_check.py -> 950 tracked files, no bidirectional controls ``` Docs only: one paragraph and one table in one section. No fixture, CTest registration, build change or expectation change. ## Notes - AI-assisted; every cell is from this machine and reproducible with the command above. - `Refs #809`. The Arc fixture failure and the control-design discussion stay in the issue; this PR only records what was measured, and explicitly keeps the cause (driver mip selection) as the adapter's behaviour, not a claim about a bug. - The Arc is named with adapter id, driver and DXC the way the existing hardware notes are, so a later reader can tell which build produced the floor rule.
upstream-sync closed this pull request 2026-11-24 11:02:46 +00:00
tedin7 commented 2026-11-24 11:02:46 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T10:28:27Z.

Review: COMMENTED


Reviewed ddc9fce4 (docs/experiments.md).

  • Diff is clean (git diff --check passed) and 100% title-neutral.
  • Linux checks passed:
    • tests/docs_links_check.py: 16 Markdown files, 313 links checked.
    • tests/bidi_controls_check.py: 1171 tracked files checked, no bidirectional controls.
  • The floor(clamp) vs floor(clamp + 0.5) comparison table and fixture-control implications (stale-reference at 1.5625 vs wrong-mip at 1) are clear and consistent with the surrounding MinLod section.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6037551696 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1389#pullrequestreview-6037551696). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T10:28:27Z. **Review:** COMMENTED --- Reviewed `ddc9fce4` (`docs/experiments.md`). - Diff is clean (`git diff --check` passed) and 100% title-neutral. - Linux checks passed: - `tests/docs_links_check.py`: 16 Markdown files, 313 links checked. - `tests/bidi_controls_check.py`: 1171 tracked files checked, no bidirectional controls. - The `floor(clamp)` vs `floor(clamp + 0.5)` comparison table and fixture-control implications (stale-reference at 1.5625 vs wrong-mip at 1) are clear and consistent with the surrounding `MinLod` section.
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!1382
No description provided.