tests: accept hardware adapter selection notices in compute readfirstlane #2685
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2693"
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:12:08Z.
Change
On a Windows 11 machine with an RTX 4060 and Intel UHD 770,
XBOX2WINDOWS_ADAPTER=Intelselects the Intel device and logs the skipped NVIDIA adapter to stderr. I reproduced a failure instartup_compute_readfirstlane_hardwareonf06646ba: the renderer returned 0 withcompared_words=320 mismatches=0, then the Python fixture failed the baseline on the adapter notice. The same notice also precedes the first wrong word in each mutation run.The readfirstlane fixture now echoes the hardware selector's
XBOX2WINDOWS_ADAPTER: skippinglines and checks the remaining diagnostics, followingstartup_gfx2hlsl_compute_check.py. A regular renderer error still fails the baseline. Each mutation still requires exit 1 and its specific first wrong word.Verification
At
fa691dd6, I ran the normal dispatch entry point on Intel UHD 770, RTX 4060 and WARP. All three baseline readbacks matched 320 words. On each backend the three controls first mismatched at word 0, with actual values00000019,0000007fand00000087against expected0000008b. The selected Intel run echoed the four skipped-adapter notices.I also injected renderer results through
dispatch: hardware notice only passed; a notice followed by a real diagnostic, an unexpected nonzero exit, the wrong mutation word, noise ahead of the mutation word, and the hardware-only notice on WARP each failed. Device-unavailable exit 77 still skipped.Discovered while verifying #2644. AI-assisted contribution using Codex (GPT-6.2 Astra, xhigh).