tests: preserve LDS readback diagnostics on a secondary adapter #2696
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2704"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 onXBOX2WINDOWS_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-nonzerofailed at word 11, expected00000000, actual00000001. 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).