Repository navigation
tests: preserve LDS readback diagnostics on a secondary adapter - #2704
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).