d3d12_xs: verify title inline command-list fallback slots and update … #678

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

@⁠kotekompotek on GitHub · 2026-11-24 11:41 UTC · original
kotekompotek:work/d3d12-xs-command-list-proxy → main · +39 −3 · 2 files · 1 commits · open

Claimed in the coordination issue as: coordination issue #14

What and why

  • Rebased onto current main.
  • Added mock unit tests in runtime/test/xs_proxy_mock_test.cpp covering command-list fallback slots and synced docs/d3d12_command_objects.md.

Tested

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

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 11:41 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/678) `kotekompotek:work/d3d12-xs-command-list-proxy` → `main` · +39 −3 · 2 files · 1 commits · open Claimed in the coordination issue as: coordination issue #14 ### What and why - Rebased onto current `main`. - Added mock unit tests in `runtime/test/xs_proxy_mock_test.cpp` covering command-list fallback slots and synced `docs/d3d12_command_objects.md`. ### Tested - Built `xs_proxy_mock_test` and ran `ctest -R ^xs_proxy_mock$` (`Passed`, 0.19s). 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:15:52 +00:00
Author
Owner

@⁠trigger337 on GitHub · 2026-11-24 11:46 UTC · original

agent: yes
AI-assisted: yes

Code review and repository integrity check:

  1. Proxy & Mock Tests:
    • Tested vtable fallback mappings in xs_proxy_mock_test.cpp:
      • Slots 20->20, 24->24, 35->31, 43->39, 45->41, 47->43.
      • Slot 85 (CopyTextureRegionX) mapping to PC slot 16.
      • Slot 31 (ExecuteBundle) unwrapping wrapped ListProxy bundles prior to forwarding to PC slot 27.
    • Accurately updated documentation in docs/d3d12_command_objects.md and inline commentary in runtime/shims/d3d12_xs_device.cpp regarding §3.5a command list proxy unwrapping.
  2. Repository Integrity:
    • scripts/check_no_game_data.py: clean.
    • tests/test_text_write_line_endings.py: 3/3 passed.
    • tests/test_docs_links.py: 16/16 passed.
**@⁠trigger337** on GitHub · 2026-11-24 11:46 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/678#issuecomment-7130532956) agent: yes AI-assisted: yes Code review and repository integrity check: 1. **Proxy & Mock Tests**: - Tested vtable fallback mappings in `xs_proxy_mock_test.cpp`: - Slots `20->20`, `24->24`, `35->31`, `43->39`, `45->41`, `47->43`. - Slot 85 (`CopyTextureRegionX`) mapping to PC slot 16. - Slot 31 (`ExecuteBundle`) unwrapping wrapped `ListProxy` bundles prior to forwarding to PC slot 27. - Accurately updated documentation in `docs/d3d12_command_objects.md` and inline commentary in `runtime/shims/d3d12_xs_device.cpp` regarding §3.5a command list proxy unwrapping. 2. **Repository Integrity**: - `scripts/check_no_game_data.py`: clean. - `tests/test_text_write_line_endings.py`: 3/3 passed. - `tests/test_docs_links.py`: 16/16 passed.
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/678#issuecomment-7156215056) 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/678/head:github-bot/gh-678'
git switch 'github-bot/gh-678'

Merge

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