d3d12_xs: map console list slot 80 DispatchX to PC Dispatch slot 14 #687
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/687"
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 ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-24T12:02:16Z.
Claimed in the coordination issue as: coordination issue #14
What and why
main.80(DispatchX) to PCID3D12GraphicsCommandList::Dispatch(slot14) inruntime/shims/d3d12_xs_device.h.runtime/test/xs_proxy_mock_test.cppand synceddocs/d3d12_command_objects.md.Tested
xs_proxy_mock_testand ranctest -R ^xs_proxy_mock$(Passed, 0.10s).GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-24T12:09:14Z.
Review: COMMENTED
Independent native Windows build of the standalone
xs_proxy_mock_testfrom a full checkout at2b6f834e. The PR executable exits 0. Compiling the same test source againstmainat21625bcaexits 1 specifically at the new check that the mock PC Dispatch slot was called. This confirms the new assertion exercises the changed forwarding path.This verifies the forwarding and three dimension arguments in the mock. AI-assisted, synthetic COM objects only.
Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T12:21:02Z.
Review: APPROVED
Reviewed and verified mapping of console command list slot 80 DispatchX to PC Dispatch slot 14. Forwarding table updated and verified with unit test in xs_proxy_mock_test.cpp. Clean and correct, approved.
Imported from ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-25T07:45:30Z.
Rebased on current ubi/main (
3f81d46ac) and pushed. Conflicts resolved against the newer main changes; test suite for the touched area passes locally (xs_proxy_mock_test PASS on Windows; the int64-atomics semantic tests 6/6 and test_rdna2_decode 21/21 where applicable).AI-assisted: yes
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T22:01:53Z.
#687 | head
0fcca5ef26(merged cleanly with maina8465211fb) |ctest --test-dir runtime/build -C RelWithDebInfo -R "^(xs_proxy_mock.*|d3d12_compute)$" --output-on-failure(LEONIDA_VK_VALIDATION=1) +python -m unittest tests/test_docs_encoding.py tests/test_docs_repo_paths.py| red on main:xs_proxy_mockfails atreal_list->calls[14] == 1(console command-list slot80DispatchXunmapped inmain'sd3d12_xs_device.h) | green on PR+main:10/10CTests pass (9/9xs_proxy_mock*modes routing slot80(16, 2, 1, 0x8020)to PCDispatchslot14(16, 2, 1), plusd3d12_computeon RTX 3090 with0Khronos validation errors);test_docs_encoding.py,test_docs_repo_paths.py, andcheck_no_game_data.py0violations | Windows 11, MSVC 19.44, RTX 3090, Vulkan SDK 1.4.363.1 | AI-assisted: yesImported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T00:13:59Z.
Verified by OreoFR
a8465211f+ PR head0fcca5ef2(merged with --no-ff, no conflict; tested in a package with other PRs that share no file with it)ctest -R ^xs_proxy_mock$(red: the PR's test with shims/d3d12_xs_device.h from main)real_list->calls[14] == 1: slot 80 DispatchX does not reach PC Dispatch)gta6rt_no_tls_callbacks, comes from #680)runtime/shims/d3d12_xs_device.handruntime/test/xs_proxy_mock_test.cppwith the open #2566; a rebase may be needed if #2566 lands first.AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T02:15:25Z.
Verified by OreoFR: link check
59e65849b+ this PR (head0fcca5ef2, the head verified earlier) merged with --no-ff, built without the XMA decoder (LEONIDA_CARGO=OFF, noLEONIDA_XMA2_DECODER_LIB: configure reports the XMA2 and Opus decoders not built), RelWithDebInfo, Ninja, MSVC 19.44.35230 (VS 2022 BuildTools),LEONIDA_REQUIRE_VULKAN=ONgta6rt.exelinks; imports unchanged vs main built the same way (dumpbin /imports: 25 DLLs, 655 functions, no WS2_32)AI-assisted (Claude Code, Claude Opus 5.5), run for OreoFR.
Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-29T02:56:03Z.
Retested the current head
0fcca5ef2667723d47fe4ca787001d067e97177fmerged intomainc8bf0e7b65. The nativexs_proxy_mock_testpassed on Windows 10/MSVC 19.29 using the pinned Agility headers. Rebuilding the identical fixture with main's proxy header made it fail at the assertion that PC slot 14 was called. The updated head still forwards DispatchX and its three dimensions through the proxy. Synthetic COM mocks only.AI-assisted. Codex (GPT-6).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-29T08:10:49Z.
Merged after OreoFR's red/green check (check: green with this PR merged onto
main, red without it;gta6rt.exestill links with unchanged imports when the PR touches the runtime) and a re-check here: no conflict withmain29c0ad95c, same head as checked, not frozen, and the only ctest failures in the Windows/macOS CI jobs are tests this diff does not touch (known onmainor Vulkan).AI-assisted (Claude Code, Claude Opus 5.5), merged for MoonEyes.