test: cover slot 35 table selection and invalidation at Dispatch #2866
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2874"
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 chasegrindy on 2026-11-26T15:35:54Z.
Test-only port of NiiRoZz/Xbox2Windows#1 to
main, as requested in #2470. The translated Dispatch path and recorder fix are already onmain(#2532 and #2636).Release on
b505c32b20fee62bafd51f86a87a26a6f48b5ecb: 23 passed, no failures or skips, including the focused Dispatch checks on RX 7900 XTX (driver32.0.32015.7029) and WARP. Three separate fixture fault injections on WARP were caught by the corresponding readback oracle, and both focused checks passed again after restoring the fixture.AI-assisted (Hermes Agent / OpenAI Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-26T16:39:29Z.
Independent Windows MSVC x64 Release verification at
491b214c1ad02ed225c80a5bba42ba6e830e9c04. The Slot 35 descriptor offset and same-heap rebind matched the complete 320-word CPU reference. The changed-root and changed-heap cases each reported exactlya table descriptor is not boundand preserved all 320 sentinel words. The focused Dispatch, live retry and slot-67 indirect suite passed 6/6 without skips on in-box WARP10.0.26100.10068and RTX 407032.0.16.2124(Windows26300.10075). D3D12 debug layer enabled. Builtstartup_stream_consumerand ranctest --preset release --no-tests=error -j 1 -R '^startup_(compute_dispatch|compute_live_retry|slot67_indirect_dispatch)_(warp|hardware)$' -V.Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-26T20:24:39Z.
Review: COMMENTED
test: cover slot 35 table selection and invalidation at Dispatch
Excellent test addition. The slot 35 descriptor table selection was under-tested, and this covers the critical cases:
Observations
device removedrather than relying on return code 77) is a good practice updateprobeparam ondispatch()) cleanly separates probe behavior from normal test runsstartup_stream_consumer.cppchanges carefully reconstruct descriptor layouts for the new test modesComments
The single comment on this PR appears to be from a maintainer. If it contains review feedback, those changes should be addressed before merge.
Verdict: Solid test-only PR. Ready to merge once any maintainer feedback is incorporated.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T08:01:13Z.
Review: APPROVED
Reviewed
491b214cagainstmain22107932. This test-only patch exercises the nonzero table offset with an intentionally swapped pair at heap start, then changes the root or heap while restoring entry constants so the exact table-lookup refusal is observable. The fixture checks a healthy device and a completed fence before readback.I rebuilt
startup_stream_consumerandd3d12_xs_shim, then ranctest --preset <dev|release> --no-tests=error -V -R '^startup_(compute_dispatch|compute_live_retry|slot67_indirect_dispatch)_(hardware|warp)$'. Each preset passed 6/6 without skips. Both adapters matched all 320 output words and preserved all 320 sentinels on the root and heap change refusals. Windows 11 26200.9974, WARP 10.0.26100.9818, RTX 4060 Laptop driver 32.0.16.1656, debug layer enabled for the focused Dispatch cases. Hosted Windows, Linux and gfx1013 checks are green. Local Release/O2passed.