mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:45:54 +01:00
[PR #1007] docs: device slot 62 takes five parameters and slot 76 has no call site in the executable (D3D12-DEVICE-SLOT-ARITY) #1044
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#1044
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/1007
Author: @robot00f
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:docs/d3d12-device-slot-arity📝 Commits (1)
401d04bdocs: device slot 62 takes five parameters and slot 76 has no call site in the executable (D3D12-DEVICE-SLOT-ARITY)📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+1 -1)📄 Description
Claimed in the coordination issue as: D3D12-DEVICE-SLOT-ARITY (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7138186707), from the finding one comment above.
What and why
The
ID3D12Devicerow of the object table (docs/d3d12_vulkan.md§4) says slot 62 isCreateComputePipelineStateand slot 76 is "Xbox texture creation". Static Capstone disassembly over the executable's.text(0x140001000–0x145f40966), following the device globals (0x148759D00and0x1475DF000–0x1475DF048) from renderer init0x142478440, answers the first differently and scopes the second:0x14247FE66as(desc, 0, 0, &riid, &out)— five parameters with an explicit IID/out pair, the same shape as slots 8 and 9. The PC method it forwards to takes three(desc, riid, out), so forwarding by number drops the two extra words.+0x260) has no device call site in this executable. None of the 57 indirectcall [reg+0x260]sites in.textloads a device global (they are non-device virtual calls, includingboolpredicates). Its only measured caller is the shipped FidelityFX upscaler, with the sevenCreateCommittedResourcearguments (docs/d3d12_command_objects.md§3.5a), so the doc's slot 76 meaning stands and the table cell now records both how it was measured and where the call comes from.Tested
.text(0x140001000–0x145f40966, nothing executed): device globals traced from0x142478440, slot 62 call verified at0x14247FE66, all 57 indirectcall [reg+0x260]sites checked against the device globals (0 matches).python -I scripts/check_no_game_data.py docs/d3d12_vulkan.md-> exit 0python -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-> OK.GPUs tested: n/a
AI-assisted: yes (Antigravity, Gemini 4 Carbon)
Checklist
mainand 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.