Skip to content

test: cover slot 35 table selection and invalidation at Dispatch - #2874

Open
chasegrindy wants to merge 1 commit into
R0Y00:mainfrom
chasegrindy:fix/slot35-compute-table-invalidation
Open

chasegrindy wants to merge 1 commit into
R0Y00:mainfrom
chasegrindy:fix/slot35-compute-table-invalidation

Conversation

@chasegrindy

Copy link
Copy Markdown
Contributor

Test-only port of NiiRoZz/Xbox2Windows#1 to main, as requested in #2470. The translated Dispatch path and recorder fix are already on main (#2532 and #2636).

  • Select the correct pair at descriptor index 2 rather than the swapped pair at the heap start. Binding the same heap again preserves the table; all 320 words must match the CPU reference.
  • Change the compute root and restore it, or switch ordinary view heaps. Reissue the constants without rebinding slot 35 and require the exact unbound-table refusal with all 320 sentinel words intact.
  • Require the requested fence value and a healthy device before readback. Only the initial capability probe can skip; an adapter/heap failure later is an error.

Release on b505c32b20fee62bafd51f86a87a26a6f48b5ecb: 23 passed, no failures or skips, including the focused Dispatch checks on RX 7900 XTX (driver 32.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.

cmake --build --preset release --target startup_stream_consumer
$env:XBOX2WINDOWS_ADAPTER = 'AMD Radeon RX 7900 XTX'
ctest --preset release --no-tests=error -j 1 -R '^startup_compute_dispatch_(warp|hardware)$' -V

AI-assisted (Hermes Agent / OpenAI Codex).

Port the synthetic Dispatch controls from NiiRoZz#1 as requested in upstream R0Y00#2470. Test only. AI-assisted (Hermes Agent / OpenAI Codex).

Copy link
Copy Markdown
Contributor

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 exactly a table descriptor is not bound and preserved all 320 sentinel words. The focused Dispatch, live retry and slot-67 indirect suite passed 6/6 without skips on in-box WARP 10.0.26100.10068 and RTX 4070 32.0.16.2124 (Windows 26300.10075). D3D12 debug layer enabled. Built startup_stream_consumer and ran ctest --preset release --no-tests=error -j 1 -R '^startup_(compute_dispatch|compute_live_retry|slot67_indirect_dispatch)_(warp|hardware)$' -V.

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