Skip to content

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

Merged
R0Y00 merged 2 commits into
R0Y00:mainfrom
RavenCurseBurg:tests/lds-secondary-adapter
Nov 26, 2026
Merged

R0Y00 merged 2 commits into
R0Y00:mainfrom
RavenCurseBurg:tests/lds-secondary-adapter

Conversation

@RavenCurseBurg

@RavenCurseBurg RavenCurseBurg commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

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

@R0Y00
R0Y00 merged commit 7967c5a into R0Y00:main Nov 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants