tests: preserve LDS readback diagnostics on a secondary adapter #2696

Merged
RavenCurseBurg merged 2 commits from upstream-pr/2704 into main 2026-11-26 03:20:22 +00:00
RavenCurseBurg commented 2026-11-26 02:50:43 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-26T02:50:43Z.


Selecting Intel UHD 770 as the second adapter reproduces a false failure in both LDS fixtures at a3b923e1. For the b64 exchange (case P) and dual/atomic fixture (case D), the renderer returned success and all 320 words matched. Each Python fixture then raised on XBOX2WINDOWS_ADAPTER: skipping NVIDIA GeForce RTX 4060. The mutation summaries could also report the adapter notice in place of the differing word.

The two fixtures now use the existing compute fixture's hardware-notice handling, extracted into a shared function. The renderer's enumeration notices are still printed. Other stderr still fails a successful-path check. An expected mutation has to exit 1 with a first diagnostic containing the differing word index and both eight-digit values. The dual/atomic fixture keeps its debug-layer checks.

Verification

On Windows 11 build 26100.9711 I ran the b64 and dual/atomic fixtures on Intel UHD 770 (32.0.101.5973), RTX 4060 (32.0.15.9579) and WARP (10.0.26100.9711), with DXC 1.9.2609.5 and the debug layer unavailable. On each adapter, all five baseline cases matched all 320 words and all 15 shader mutations reported a first mismatch. For example, Intel's a-oob-nonzero failed at word 11, expected 00000000, actual 00000001. The original compute fixture also passed on all three adapters.

Both LDS host suites and their LLVM 15 reassembly passed (5 programs and 19 additional snippets). I also forced 20 cases across the two checkers, including a real error following an enumeration notice, an invalid status, exit 77, a WARP notice, a valid mismatch preceded by an unrelated warning, and a malformed mismatch message.

The initial Linux and LLVM jobs passed. The Windows job stopped before tests at MSVC C2086, on the duplicate render target declarations from #2448 and #2417 in its main revision. The integration fix merged in #2706. After syncing main, the Linux, LLVM and Windows checks all passed at f2b407f1.

Refs #1541. AI-assisted contribution using Codex (GPT-6.2 Astra, xhigh).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6618433106 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2704). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-26T02:50:43Z. --- Selecting Intel UHD 770 as the second adapter reproduces a false failure in both LDS fixtures at `a3b923e1`. For the b64 exchange (case P) and dual/atomic fixture (case D), the renderer returned success and all 320 words matched. Each Python fixture then raised on `XBOX2WINDOWS_ADAPTER: skipping NVIDIA GeForce RTX 4060`. The mutation summaries could also report the adapter notice in place of the differing word. The two fixtures now use the existing compute fixture's hardware-notice handling, extracted into a shared function. The renderer's enumeration notices are still printed. Other stderr still fails a successful-path check. An expected mutation has to exit 1 with a first diagnostic containing the differing word index and both eight-digit values. The dual/atomic fixture keeps its debug-layer checks. ## Verification On Windows 11 build 26100.9711 I ran the b64 and dual/atomic fixtures on Intel UHD 770 (32.0.101.5973), RTX 4060 (32.0.15.9579) and WARP (10.0.26100.9711), with DXC 1.9.2609.5 and the debug layer unavailable. On each adapter, all five baseline cases matched all 320 words and all 15 shader mutations reported a first mismatch. For example, Intel's `a-oob-nonzero` failed at word 11, expected `00000000`, actual `00000001`. The original compute fixture also passed on all three adapters. Both LDS host suites and their LLVM 15 reassembly passed (5 programs and 19 additional snippets). I also forced 20 cases across the two checkers, including a real error following an enumeration notice, an invalid status, exit 77, a WARP notice, a valid mismatch preceded by an unrelated warning, and a malformed mismatch message. The initial Linux and LLVM jobs passed. The [Windows job](https://github.com/R0Y00/Xbox2Windows/actions/runs/45745104983/job/139659120059) stopped before tests at MSVC C2086, on the duplicate render target declarations from #2448 and #2417 in its main revision. The integration fix merged in [#2706](https://github.com/R0Y00/Xbox2Windows/pull/2706). After syncing main, the Linux, LLVM and Windows checks all passed at `f2b407f1`. Refs #1541. AI-assisted contribution using Codex (GPT-6.2 Astra, xhigh).
upstream-sync closed this pull request 2026-11-26 04:04:26 +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!2696
No description provided.