docs: refresh the fractional MinLod consequence after the fixture changed #1411

Merged
ChazY11 merged 1 commit from upstream-pr/1418 into main 2026-11-24 11:24:49 +00:00
ChazY11 commented 2026-11-24 11:08:24 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T11:08:24Z.


What

One paragraph in docs/experiments.md, in the minimum-LOD section. The Arc paragraph I added in #1389 ends with:

Two consequences for the fixtures: the stale-reference control at 1.5625 cannot reject on this adapter, because the
adapter genuinely reads mip 1 there, while the wrong-mip control at clamp 1 still rejects on all three because both
rules agree at an exact mip.

That described the fixture as it was when I measured. The fractional case has since become rounding-rule agnostic — it
now accepts mip 1 or 2 at 1.5 and 1.5625, requires the two shader sources to agree, and takes --strict-rounding to
assert nearest-mip selection — so the "cannot reject" conclusion is stale and reads as a problem when it is now a
handled case.

Change

Replace those sentences with the current contract plus a measured result:

spirv_minlod_fractional_* covers both rules instead of asserting one: it accepts mip 1 or 2 at 1.5 and 1.5625,
requires the two shader sources to agree, and takes --strict-rounding to assert nearest-mip selection. Run on the
Arc at commit 0a679c06 it passed, reporting mip 1 at 1.4375, 1.5 and 1.5625 and mip 3 at 3.75 with both sources
agreeing, and the wrong-mip control still rejects on all three adapters because both rules agree at an exact mip.

Measured

Windows 11 build 26300.9974, Intel Arc 140T (8086:7d51), driver 32.0.101.8132, DXC 1.8.2502.11, debug layer enabled,
at 0a679c06:

$env:XBOX2WINDOWS_ADAPTER = 'Intel'
ctest --preset dev --no-tests=error -R '^spirv_minlod_fractional_hardware$' -V
translated clamp=1.4375 selected_mip=1
translated clamp=1.5    selected_mip=1
translated clamp=1.5625 selected_mip=1
translated clamp=3.75   selected_mip=3
SPIR-V fractional MinLod: PASS

That is the same floor rule the paragraph's 19-clamp table records, so the two halves of the section now agree.

Tested

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

Docs only: one paragraph. No fixture, expectation or skip change.

Notes

  • AI-assisted.
  • Refs #809.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6580415812 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1418). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-24T11:08:24Z. --- ## What One paragraph in `docs/experiments.md`, in the minimum-LOD section. The Arc paragraph I added in #1389 ends with: > Two consequences for the fixtures: the stale-reference control at 1.5625 cannot reject on this adapter, because the > adapter genuinely reads mip 1 there, while the wrong-mip control at clamp 1 still rejects on all three because both > rules agree at an exact mip. That described the fixture as it was when I measured. The fractional case has since become rounding-rule agnostic — it now accepts mip 1 or 2 at 1.5 and 1.5625, requires the two shader sources to agree, and takes `--strict-rounding` to assert nearest-mip selection — so the "cannot reject" conclusion is stale and reads as a problem when it is now a handled case. ## Change Replace those sentences with the current contract plus a measured result: ```text spirv_minlod_fractional_* covers both rules instead of asserting one: it accepts mip 1 or 2 at 1.5 and 1.5625, requires the two shader sources to agree, and takes --strict-rounding to assert nearest-mip selection. Run on the Arc at commit 0a679c06 it passed, reporting mip 1 at 1.4375, 1.5 and 1.5625 and mip 3 at 3.75 with both sources agreeing, and the wrong-mip control still rejects on all three adapters because both rules agree at an exact mip. ``` ## Measured Windows 11 build 26300.9974, Intel Arc 140T (8086:7d51), driver 32.0.101.8132, DXC 1.8.2502.11, debug layer enabled, at `0a679c06`: ```powershell $env:XBOX2WINDOWS_ADAPTER = 'Intel' ctest --preset dev --no-tests=error -R '^spirv_minlod_fractional_hardware$' -V ``` ```text translated clamp=1.4375 selected_mip=1 translated clamp=1.5 selected_mip=1 translated clamp=1.5625 selected_mip=1 translated clamp=3.75 selected_mip=3 SPIR-V fractional MinLod: PASS ``` That is the same floor rule the paragraph's 19-clamp table records, so the two halves of the section now agree. ## Tested ```text python -B tests/docs_links_check.py -> 16 Markdown files, 322 links python -B tests/bidi_controls_check.py -> 1181 tracked files, no bidirectional controls ``` Docs only: one paragraph. No fixture, expectation or skip change. ## Notes - AI-assisted. - `Refs #809`.
upstream-sync closed this pull request 2026-11-24 12:02:51 +00:00
tedin7 commented 2026-11-24 12:02:52 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:13:30Z.

Review: COMMENTED


Reviewed at 220f060f (docs-only):

  • git diff --check origin/main...HEAD: clean.
  • Linux checks: python3 -B tests/docs_links_check.py (16 Markdown files, 322 links) and python3 -B tests/bidi_controls_check.py (1181 tracked files) both passed.
  • Verified tests/spirv_window/minlod_fractional.py matches the documented --strict-rounding contract, and wording in docs/experiments.md is title-neutral.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6038189585 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1418#pullrequestreview-6038189585). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T11:13:30Z. **Review:** COMMENTED --- Reviewed at `220f060f` (docs-only): - `git diff --check origin/main...HEAD`: clean. - Linux checks: `python3 -B tests/docs_links_check.py` (16 Markdown files, 322 links) and `python3 -B tests/bidi_controls_check.py` (1181 tracked files) both passed. - Verified `tests/spirv_window/minlod_fractional.py` matches the documented `--strict-rounding` contract, and wording in `docs/experiments.md` is title-neutral.
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!1411
No description provided.