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

Manually merged
github merged 2 commits from gh-pr/2704/head into gh-pr/2704/base 2026-11-27 01:16:42 +00:00
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-26 02:50 UTC · original
RavenCurseBurg:tests/lds-secondary-adapter → main · +25 −14 · 3 files · 2 commits · merged 2026-11-26 03:20 UTC

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).

**@⁠RavenCurseBurg** on GitHub · 2026-11-26 02:50 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2704) `RavenCurseBurg:tests/lds-secondary-adapter` → `main` · +25 −14 · 3 files · 2 commits · merged 2026-11-26 03:20 UTC 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://git.gtahub.st/github/R0Y00--Xbox2Windows/pulls/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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:16:40 +00:00
github manually merged commit f2b407f175 into gh-pr/2704/base 2026-11-27 01:16:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.