docs: the retail IID inventory the d3d12_iid_scan answers (D3D12-IID-INVENTORY-RETAIL) #1006
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!1006
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1006/head"
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?
@robot00f on GitHub · 2026-11-24 16:44 UTC · original
robot00f:docs/d3d12-iid-inventory-retail→main· +35 −2 · 1 files · 1 commits · merged 2026-11-25 21:27 UTCClaimed in the coordination issue as: D3D12-IID-INVENTORY-RETAIL (#14)
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.)@PierreEbele on GitHub · 2026-11-25 14:26 UTC · original
Reviewed 8bb9c0d (docs-only, §2.1): ran the docs-consistency suite and
tests/test_d3d12_iid_scan.pyin the sandbox on the PR tree and on main — all pass, and keeping slots 8/9/12/36 Open with "necessary but not sufficient" is the right call. One blocking inconsistency: the new text says the title passes{5405C344-D457-444E-B4DD-2366E45AEE39}toD3D12XboxCreateDevice, butdocs/retail_boot_chain.mdrecords that same call succeeding in the retail run through a shim whoseis_device_iidaccepts only PCID3D12Device*GUIDs and returnsE_NOINTERFACEfor anything else (d3d12_xs_device.cpp:365) — both cannot hold for the creation-time riid. Could you add where the GUID was seen (a trace or log quote, as §3.3 does for the list IID) or reword where it is actually passed? Also, the "ID3D12GraphicsCommandList present" row could mislead: the title's list-creation IID is the consolec3827890-4024-...the scan cannot see, which your own closing paragraph already covers — a phrase would tie them together. I could not re-run the scan (no game files here) or read the PR description or #523 (no GitHub access). AI-assisted review.Recommendation: Fix first
@robot00f on GitHub · 2026-11-25 19:07 UTC · original
Rebased onto
main(9f9a7c5f) and fixed both points from @PierreEbele (indocs/d3d12_command_objects.md§2.1 and the PR description):{5405C344-D457-444E-B4DD-2366E45AEE39}atD3D12XboxCreateDevice: Good catch —{5405C344-D457-444E-B4DD-2366E45AEE39}(.rdata0x1461E0638, loaded intor8at0x14247856Cforcall D3D12XboxCreateDeviceat0x1424785B7) is not outsided3d12.h: it isIID_ID3D12Device11(d3d12.h:24502,35748), which is whyd3d12_iid_scan.pyalready counts it asID3D12Device11in the 13 carried SDK IIDs andis_device_iidinruntime/shims/d3d12_xs_device.cppaccepts it duringdocs/retail_boot_chain.md. Only the startup command-list IID{C3827890-4024-474C-98CF-645B51DC4874}is outsided3d12.h.ID3D12GraphicsCommandListvs{C3827890-4024-474C-98CF-645B51DC4874}: Tied theID3D12GraphicsCommandListtable row to the closing paragraph: the startup renderer-init path (0x142478B56->0x142478B71,docs/retail_boot_chain.md§3.3, #523) passes{C3827890-...}(.rdata0x1461E0668) to Xbox device slot 73 (CreateCommandListX), while the carriedIID_ID3D12GraphicsCommandList(0x1461ECFA0) is passed to slot 73 at a separate site (0x1417F6D1D->0x1417F6D34).Re-ran
check_no_game_data.py,test_d3d12_iid_scan.py, and the docs test suite (all pass).AI-assisted: yes (Antigravity, Gemini 4 Carbon)