[PR #1006] [MERGED] docs: the retail IID inventory the d3d12_iid_scan answers (D3D12-IID-INVENTORY-RETAIL) #1043

Closed
opened 2026-11-26 20:19:53 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1006
Author: @robot00f
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta

Base: main ← Head: docs/d3d12-iid-inventory-retail


📝 Commits (1)

  • 6ea4ac3 docs: record the retail IID inventory the iid scan answers (D3D12-IID-INVENTORY-RETAIL)

📊 Changes

1 file changed (+35 additions, -2 deletions)

View changed files

📝 docs/d3d12_command_objects.md (+35 -2)

📄 Description

Claimed in the coordination issue as: D3D12-IID-INVENTORY-RETAIL (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7138102572)

Fixes: #523

What and why

docs/d3d12_command_objects.md §2.1 ends on an open question: the queue/allocator/list/fence slots' callers are in the executable, the package has none, and the doc says tools/d3d12_iid_scan.py run on it "shows whether it carries these IIDs". This records that measurement for the retail executable so the question is not open any more.

The image carries 13 of the 80 SDK ID3D12 IIDs and carries ID3D12CommandQueue, ID3D12CommandAllocator, ID3D12GraphicsCommandList and ID3D12Fence; ID3D12CommandList and ID3D12Fence1 are absent. The other nine carried IIDs and the three d3d12_xs.dll imports are listed too:

  • ID3D12Device11 ({5405C344-D457-444E-B4DD-2366E45AEE39} in d3d12.h:24502,35748, .rdata 0x1461E0638) is the riid passed to D3D12XboxCreateDevice (0x14247856C -> 0x1424785B7), which is why both d3d12_iid_scan.py and is_device_iid in runtime/shims/d3d12_xs_device.cpp recognise it during docs/retail_boot_chain.md.
  • One console command-list IID is outside d3d12.h and therefore invisible to the scan: {C3827890-4024-474C-98CF-645B51DC4874} (.rdata 0x1461E0668), passed to Xbox device slot 73 (CreateCommandListX) in renderer startup at 0x142478B56 -> 0x142478B71 (docs/retail_boot_chain.md §3.3, #523), whereas the carried IID_ID3D12GraphicsCommandList (0x1461ECFA0) is passed to slot 73 at a separate site (0x1417F6D1D -> 0x1417F6D34).

The text keeps the confidence for slots 8/9/12/36 Open and says why a carried IID is necessary but not sufficient. Docs only: no source change, no game data committed.

Tested

  • python -I tools/d3d12_iid_scan.py <retail 1.0.2.1 executable> -> 13 found, 80 SDK IIDs read from the Windows SDK 10.0.26100 d3d12.h.
  • Capstone xref verification of 0x1461E0638 (ID3D12Device11 at 0x14247856C), 0x1461E0668 ({C3827890-...} at 0x142478B56), and 0x1461ECFA0 (IID_ID3D12GraphicsCommandList at 0x1417F6D1D).
  • python -I tests/test_d3d12_iid_scan.py -> 15 tests, OK.
  • python -I tests/test_docs_links.py, tests/test_docs_table_rows.py, tests/test_docs_repo_paths.py, tests/test_docs_cli_flags.py -> OK.
  • python -I scripts/check_no_game_data.py docs/d3d12_command_objects.md -> exit 0.

GPUs tested: n/a

AI-assisted: yes (Antigravity, Gemini 4 Carbon)

Checklist

  • Based on current main and merges cleanly.
  • 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. (No translator change.)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1006 **Author:** [@robot00f](https://github.com/robot00f) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@Andretuta](https://github.com/Andretuta) **Base:** `main` ← **Head:** `docs/d3d12-iid-inventory-retail` --- ### 📝 Commits (1) - [`6ea4ac3`](https://github.com/ubiquitarianism/leonida/commit/6ea4ac39f5183f152f43b80f290a06bad7d7296d) docs: record the retail IID inventory the iid scan answers (D3D12-IID-INVENTORY-RETAIL) ### 📊 Changes **1 file changed** (+35 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/d3d12_command_objects.md` (+35 -2) </details> ### 📄 Description Claimed in the coordination issue as: D3D12-IID-INVENTORY-RETAIL (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7138102572) Fixes: #523 ### What and why `docs/d3d12_command_objects.md` §2.1 ends on an open question: the queue/allocator/list/fence slots' callers are in the executable, the package has none, and the doc says `tools/d3d12_iid_scan.py` run on it "shows whether it carries these IIDs". This records that measurement for the retail executable so the question is not open any more. The image carries 13 of the 80 SDK `ID3D12` IIDs and carries `ID3D12CommandQueue`, `ID3D12CommandAllocator`, `ID3D12GraphicsCommandList` and `ID3D12Fence`; `ID3D12CommandList` and `ID3D12Fence1` are absent. The other nine carried IIDs and the three `d3d12_xs.dll` imports are listed too: - `ID3D12Device11` (`{5405C344-D457-444E-B4DD-2366E45AEE39}` in `d3d12.h:24502,35748`, `.rdata` `0x1461E0638`) is the `riid` passed to `D3D12XboxCreateDevice` (`0x14247856C` -> `0x1424785B7`), which is why both `d3d12_iid_scan.py` and `is_device_iid` in `runtime/shims/d3d12_xs_device.cpp` recognise it during `docs/retail_boot_chain.md`. - One console command-list IID is outside `d3d12.h` and therefore invisible to the scan: `{C3827890-4024-474C-98CF-645B51DC4874}` (`.rdata` `0x1461E0668`), passed to Xbox device slot 73 (`CreateCommandListX`) in renderer startup at `0x142478B56` -> `0x142478B71` (`docs/retail_boot_chain.md` §3.3, #523), whereas the carried `IID_ID3D12GraphicsCommandList` (`0x1461ECFA0`) is passed to slot 73 at a separate site (`0x1417F6D1D` -> `0x1417F6D34`). The text keeps the confidence for slots 8/9/12/36 **Open** and says why a carried IID is necessary but not sufficient. Docs only: no source change, no game data committed. ### Tested - `python -I tools/d3d12_iid_scan.py <retail 1.0.2.1 executable>` -> `13 found`, 80 SDK IIDs read from the Windows SDK 10.0.26100 `d3d12.h`. - Capstone xref verification of `0x1461E0638` (`ID3D12Device11` at `0x14247856C`), `0x1461E0668` (`{C3827890-...}` at `0x142478B56`), and `0x1461ECFA0` (`IID_ID3D12GraphicsCommandList` at `0x1417F6D1D`). - `python -I tests/test_d3d12_iid_scan.py` -> 15 tests, OK. - `python -I tests/test_docs_links.py`, `tests/test_docs_table_rows.py`, `tests/test_docs_repo_paths.py`, `tests/test_docs_cli_flags.py` -> OK. - `python -I scripts/check_no_game_data.py docs/d3d12_command_objects.md` -> exit 0. GPUs tested: n/a AI-assisted: yes (Antigravity, Gemini 4 Carbon) ### Checklist - [x] Based on current `main` and merges cleanly. - [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. (No translator change.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:53 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1043
No description provided.