mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:45:54 +01:00
[PR #1006] [MERGED] docs: the retail IID inventory the d3d12_iid_scan answers (D3D12-IID-INVENTORY-RETAIL) #1043
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1043
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 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)
6ea4ac3docs: 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 saystools/d3d12_iid_scan.pyrun 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
ID3D12IIDs and carriesID3D12CommandQueue,ID3D12CommandAllocator,ID3D12GraphicsCommandListandID3D12Fence;ID3D12CommandListandID3D12Fence1are absent. The other nine carried IIDs and the threed3d12_xs.dllimports are listed too:ID3D12Device11({5405C344-D457-444E-B4DD-2366E45AEE39}ind3d12.h:24502,35748,.rdata0x1461E0638) is theriidpassed toD3D12XboxCreateDevice(0x14247856C->0x1424785B7), which is why bothd3d12_iid_scan.pyandis_device_iidinruntime/shims/d3d12_xs_device.cpprecognise it duringdocs/retail_boot_chain.md.d3d12.hand therefore invisible to the scan:{C3827890-4024-474C-98CF-645B51DC4874}(.rdata0x1461E0668), passed to Xbox device slot 73 (CreateCommandListX) in renderer startup at0x142478B56->0x142478B71(docs/retail_boot_chain.md§3.3, #523), whereas the carriedIID_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.26100d3d12.h.0x1461E0638(ID3D12Device11at0x14247856C),0x1461E0668({C3827890-...}at0x142478B56), and0x1461ECFA0(IID_ID3D12GraphicsCommandListat0x1417F6D1D).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
mainand merges cleanly.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.