docs: record which mip the Arc reads at the MinLod boundary #1664

Merged
ChazY11 merged 1 commit from upstream-pr/1671 into main 2026-11-24 16:52:54 +00:00
ChazY11 commented 2026-11-24 16:47:45 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T16:47:45Z.


Refs #809.

What

The Intel Arc paragraph in the MinLod section records the exact-mip and integer-clamp results. It does not record the
fractional case, which is where the two adapters on this machine differ. This adds that, and states the limit of the
claim: the fixture accepts either mip at those clamps, so this records which side the adapter takes, not a defect.

Measured

main at d90dd76b, Windows 11 build 26300.9974, debug layer enabled, DXC 1.8.2502.11:

$env:XBOX2WINDOWS_ADAPTER = 'Intel'
ctest --preset dev --no-tests=error -R '^spirv_minlod_fractional_hardware$' -V
ctest --preset dev --no-tests=error -R '^spirv_minlod_fractional_warp$' -V
Arc 140T (8086:7d51, 32.0.101.8132)   clamp 1.5 -> mip 1 ;  1.5625 -> mip 1
WARP 10.0.26100.9818                  clamp 1.5 -> mip 2 ;  1.5625 -> mip 2
both                                  clamp 1.4375 -> mip 1 ;  3.75 -> mip 3 ;  wrong-clamp control -> mip 0

tests/spirv_window/minlod_levels.py declares those two clamps as ("1.5", (2, 1)) and ("1.5625", (2, 1)), so both
answers are accepted and the test passes on both adapters. Translated SPIR-V and the direct HLSL control agree on each
adapter (selected[clamp] != level raises inside the fixture), so this is not an AOT-versus-control difference.

Scope

One sentence appended to an existing paragraph, one file. Checked with git merge-tree --write-tree against current
main; no conflict.

Tested

python -B tests/docs_links_check.py    -> 16 Markdown files, 350 links
python -B tests/bidi_controls_check.py -> 1213 tracked files, no bidirectional controls

Notes

  • AI-assisted.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6586871066 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1671). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-24T16:47:45Z. --- Refs #809. ## What The Intel Arc paragraph in the MinLod section records the exact-mip and integer-clamp results. It does not record the fractional case, which is where the two adapters on this machine differ. This adds that, and states the limit of the claim: the fixture accepts either mip at those clamps, so this records which side the adapter takes, not a defect. ## Measured `main` at `d90dd76b`, Windows 11 build 26300.9974, debug layer enabled, DXC 1.8.2502.11: ```powershell $env:XBOX2WINDOWS_ADAPTER = 'Intel' ctest --preset dev --no-tests=error -R '^spirv_minlod_fractional_hardware$' -V ctest --preset dev --no-tests=error -R '^spirv_minlod_fractional_warp$' -V ``` ```text Arc 140T (8086:7d51, 32.0.101.8132) clamp 1.5 -> mip 1 ; 1.5625 -> mip 1 WARP 10.0.26100.9818 clamp 1.5 -> mip 2 ; 1.5625 -> mip 2 both clamp 1.4375 -> mip 1 ; 3.75 -> mip 3 ; wrong-clamp control -> mip 0 ``` `tests/spirv_window/minlod_levels.py` declares those two clamps as `("1.5", (2, 1))` and `("1.5625", (2, 1))`, so both answers are accepted and the test passes on both adapters. Translated SPIR-V and the direct HLSL control agree on each adapter (`selected[clamp] != level` raises inside the fixture), so this is not an AOT-versus-control difference. ## Scope One sentence appended to an existing paragraph, one file. Checked with `git merge-tree --write-tree` against current `main`; no conflict. ## Tested ```text python -B tests/docs_links_check.py -> 16 Markdown files, 350 links python -B tests/bidi_controls_check.py -> 1213 tracked files, no bidirectional controls ``` ## Notes - AI-assisted.
upstream-sync closed this pull request 2026-11-24 17:02:00 +00:00
tedin7 commented 2026-11-24 17:02:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T16:51:44Z.

Review: COMMENTED


Reviewed head d7128cdd01 (docs/experiments.md, one paragraph).

  • The Arc 140T / WARP results for clamps 1.5 and 1.5625 (Arc mip 1, WARP mip 2) and the 1.4375 -> mip 1, 3.75 -> mip 3, wrong-clamp -> mip 0 claims match the fixture in tests/spirv_window/minlod_levels.py: FRACTIONAL = ("1.4375",(1,)), ("1.5",(2,1)), ("1.5625",(2,1)), ("3.75",(3,)), WRONG_FRACTIONAL = ("1.5625", 0). The "accepts either mip" wording is correct.
  • Target name spirv_minlod_fractional_hardware exists (CMakeLists.txt minlod_fractional). The hardware result itself is the author's local measurement and was not re-run here.
  • No game names, dumps, distribution links or private paths.

Commands executed locally in a checkout of the head:
git diff --check origin/main...HEAD -> clean
python3 tests/docs_links_check.py -> self-test passed, 16 files, 350 links
python3 tests/bidi_controls_check.py -> passed, 1277 files, no bidi controls
CI: all required checks successful, mergeable CLEAN.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6043616893 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1671#pullrequestreview-6043616893). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T16:51:44Z. **Review:** COMMENTED --- Reviewed head d7128cdd01ce8848157736fdb4ebfc0e3d3ff31b (docs/experiments.md, one paragraph). - The Arc 140T / WARP results for clamps 1.5 and 1.5625 (Arc mip 1, WARP mip 2) and the 1.4375 -> mip 1, 3.75 -> mip 3, wrong-clamp -> mip 0 claims match the fixture in tests/spirv_window/minlod_levels.py: FRACTIONAL = ("1.4375",(1,)), ("1.5",(2,1)), ("1.5625",(2,1)), ("3.75",(3,)), WRONG_FRACTIONAL = ("1.5625", 0). The "accepts either mip" wording is correct. - Target name spirv_minlod_fractional_hardware exists (CMakeLists.txt minlod_fractional). The hardware result itself is the author's local measurement and was not re-run here. - No game names, dumps, distribution links or private paths. Commands executed locally in a checkout of the head: git diff --check origin/main...HEAD -> clean python3 tests/docs_links_check.py -> self-test passed, 16 files, 350 links python3 tests/bidi_controls_check.py -> passed, 1277 files, no bidi controls CI: all required checks successful, mergeable CLEAN. AI-assisted; commands listed were executed locally.
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!1664
No description provided.