gpu: exercise per-case pixel batch errors and device removal #2227
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2235"
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-25T06:47:21Z.
Refs #448. The temporary control build reported in #508 exercised two failure paths in the shared-device pixel batch. This patch makes both checks reproducible in CTest.
Each control starts with three successful, distinct color readbacks through the ordinary batch command. A separate test command then runs the same draw loop and injects one event after the second readback.
Run
ctest --preset dev --no-tests=error -R '^pixel_batch_(debug|removal)_(warp|hardware)$' -V. Missing debug-layer and device-interface capabilities have independent skip results.At
bbae5b80, the Windows 2025 build and WARP mutation run passed both controls with the debug layer enabled. Retaining the previous case's messages turned the third status into an error and failed the debug test. Removing the pre-draw device check failed the removal test even though both remaining cases still reported errors.The packaged binary from that same revision also passed the device-removal test on local WARP and a physical D3D12 adapter. Both local debug-message tests returned capability skip 77 because the layer was unavailable. The documentation checker passed 417 links and the bidi check passed 1,519 tracked files.
AI-assisted with Codex (GPT-6.2 Astra xhigh).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T07:00:05Z.
Review: COMMENTED
Review of head
bbae5b80c8.Logic: the new batch controls look correct. The
run_pixel_batchtemplate keeps the old per-case error handling. The debug control adds one application message after case 1. The removal control callsRemoveDeviceafter case 1 and skips onE_NOINTERFACE. The expected statuses (pass/error/pass and pass/error/error) and exit code 1 match that behavior. No P1 or P2 found. No other open PR touches the same batch controls.Commands executed locally:
python3 tests/docs_links_check.py-> pass (18 Markdown files, 417 links)python3 tests/bidi_controls_check.py-> pass (no bidirectional controls)git diff --check origin/main...HEAD-> clean-R '^pixel_batch_(debug|removal)_(warp|hardware)$|^pixel_cb_read_warp$': 100% passed in both.pixel_batch_removal_warpandpixel_cb_read_warpran and passed.pixel_batch_debug_warpandpixel_batch_debug_hardwarereported capability SKIP, because the debug layer is not available on that VM.Build and test on Windows: SUCCESS.Gaps (no approval from this review):
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T07:07:43Z.
The two checks you could not run on your VM were exercised on a separate Windows 2025 runner at the reviewed head,
bbae5b80.D3D12 1: pixel batch control error, and the statuses were pass/error/pass. The removal case recorded pass/error/error and 0x887a0005 before the third draw.The workflow checks out the exact PR SHA for the initial build and applies each mutation separately. Both logs are public.