d3d12_xs: map console list slot 80 DispatchX to PC Dispatch slot 14 #687

Open
github-bot wants to merge 1 commit from github-bot/gh-687 into main AGit
Owner

@⁠kotekompotek on GitHub · 2026-11-24 12:02 UTC · original
kotekompotek:work/d3d12-xs-list-slot80-dispatch → main · +9 −0 · 3 files · 1 commits · open

Claimed in the coordination issue as: coordination issue #14

What and why

  • Rebased onto current main.
  • Mapped console command-list slot 80 (DispatchX) to PC ID3D12GraphicsCommandList::Dispatch (slot 14) in runtime/shims/d3d12_xs_device.h.
  • Added mock coverage in runtime/test/xs_proxy_mock_test.cpp and synced docs/d3d12_command_objects.md.

Tested

  • Built xs_proxy_mock_test and ran ctest -R ^xs_proxy_mock$ (Passed, 0.10s).

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.
**@⁠kotekompotek** on GitHub · 2026-11-24 12:02 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/687) `kotekompotek:work/d3d12-xs-list-slot80-dispatch` → `main` · +9 −0 · 3 files · 1 commits · open Claimed in the coordination issue as: coordination issue #14 ### What and why - Rebased onto current `main`. - Mapped console command-list slot `80` (`DispatchX`) to PC `ID3D12GraphicsCommandList::Dispatch` (slot `14`) in `runtime/shims/d3d12_xs_device.h`. - Added mock coverage in `runtime/test/xs_proxy_mock_test.cpp` and synced `docs/d3d12_command_objects.md`. ### Tested - Built `xs_proxy_mock_test` and ran `ctest -R ^xs_proxy_mock$` (`Passed`, 0.10s). GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:16:28 +00:00
Author
Owner

@⁠lixonik on GitHub · 2026-11-24 12:09 UTC · original · reviewed

Independent native Windows build of the standalone xs_proxy_mock_test from a full checkout at 2b6f834e. The PR executable exits 0. Compiling the same test source against main at 21625bca exits 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.

**@⁠lixonik** on GitHub · 2026-11-24 12:09 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/687#pullrequestreview-6038925732) · **reviewed** Independent native Windows build of the standalone `xs_proxy_mock_test` from a full checkout at `2b6f834e`. The PR executable exits 0. Compiling the same test source against `main` at `21625bca` exits 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.
Author
Owner

@⁠abnalstlll-byte on GitHub · 2026-11-24 12:21 UTC · original · approved these changes

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.

**@⁠abnalstlll-byte** on GitHub · 2026-11-24 12:21 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/687#pullrequestreview-6039091492) · **approved these changes** 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.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 07:45 UTC · original

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

**@⁠kotekompotek** on GitHub · 2026-11-25 07:45 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/687#issuecomment-7156218649) 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
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/687/head:github-bot/gh-687'
git switch 'github-bot/gh-687'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-687'
git switch 'github-bot/gh-687'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-687'
git switch 'github-bot/gh-687'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-687'
git switch 'main'
git merge --squash 'github-bot/gh-687'
git switch 'main'
git merge --ff-only 'github-bot/gh-687'
git switch 'main'
git merge 'github-bot/gh-687'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.