mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:45:54 +01:00
[PR #2070] docs(d3d12_command_objects): measure retail creator call sites for slots 8, 9, 12 and 36 (D3D12-COMMAND-OBJECT-CREATOR-SLOTS) #2076
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#2076
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/2070
Author: @robot00f
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:docs/d3d12-creator-slots-retail📝 Commits (2)
6ea4ac3docs: record the retail IID inventory the iid scan answers (D3D12-IID-INVENTORY-RETAIL)3fd332ddocs(d3d12_command_objects): measure retail creator call sites for slots 8, 9, 12 and 36 (D3D12-COMMAND-OBJECT-CREATOR-SLOTS)📊 Changes
1 file changed (+48 additions, -3 deletions)
View changed files
📝
docs/d3d12_command_objects.md(+48 -3)📄 Description
Claim:
D3D12-COMMAND-OBJECT-CREATOR-SLOTS(https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7172190888)Depends on: #1006 (stacked on
6ea4ac39so the §2.1 IID table and creator-site table sit together cleanly; once #1006 lands, this diff is a single §2.1 hunk).What and why
docs/d3d12_command_objects.md§2.1 leavesCreateCommandQueue(slot 8),CreateCommandAllocator(slot 9),CreateCommandList(slot 12) andCreateFence(slot 36) at Open ("until a call site is followed"). Following every RIP-relativeleato the carried.rdataIIDs and every load of the device globals (0x148759D00and0x1475DF000–0x1475DF048) across.text(0x140001000–0x145F40966) resolves all four:ID3D12CommandQueue(0x1461E0648) — slots 8 (+0x40) and 48 (+0x180): 2 device sites at public slot 8 (0x141E6C2EF,0x14247878A, 16-byteD3D12_COMMAND_QUEUE_DESC) and 4 sites at console slot 48 (0x142478813,0x142478853,0x142478893,0x1424788D3in renderer init, matchingdocs/retail_boot_chain.md§3.2).ID3D12CommandAllocator(0x1461E0658) — slot 9 (+0x48): all 5 allocator creation sites (0x14161D0A0,0x1417F6BCF,0x141F75D3A,0x142478B2D,0x142478C3B) call public slot 9 with(device, type, &IID_ID3D12CommandAllocator, &out). (The two nearby+0x48calls at0x141C74559and0x141F75FCBare heap slot 9 on a descriptor heap created at slot 14.)0x1461ECFA0,0x1461E0668) — slot 12 (+0x60) has 0 device sites; all 3 use console slot 73 (+0x248): PC slot 12 is never called on the device in.text. Every list creation calls console slot 73 (CreateCommandListX(device, &16-byte desc, allocator, 0, riid, &out)) — twice in renderer init with{C3827890-4024-474C-98CF-645B51DC4874}(0x142478B71,0x142478C70) and once in helper0x1417F6CF0withIID_ID3D12GraphicsCommandList(0x1417F6D34) — and immediately closes the returned list at list slot 9 (+0x48).ID3D12Fence(0x1461E0618) — slot 36 (+0x120): 1 device site (0x141D0B2FA) calling public slot 36 as(device, 0, 1, &IID_ID3D12Fence, &out).Tested
.text(0x140001000–0x145F40966, nothing executed).python -I scripts/check_no_game_data.py docs/d3d12_command_objects.md-> exit 0.python -I tests/test_d3d12_iid_scan.py,tests/test_docs_links.py,tests/test_docs_table_rows.py,tests/test_docs_repo_paths.py,tests/test_docs_cli_flags.py,tests/test_i18n_index.py-> OK.GPUs tested: n/a
AI-assisted: yes (Antigravity, Gemini 4 Carbon)
Checklist
main(stacked on #1006, declared) and merges cleanly.docs/design.md. (No translator change.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.