mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #1056] docs: align the other pages with the measured CreateDevice block size and slot 62/76 (D3D12-OTHER-PAGES-CONSISTENCY) #1093
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#1093
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/1056
Author: @robot00f
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:docs/d3d12-other-pages-consistency📝 Commits (1)
42b6b66docs: align the other pages with the measured CreateDevice block size and slot 62/76 (D3D12-OTHER-PAGES-CONSISTENCY)📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
📝
docs/d3d12_command_objects.md(+3 -1)📝
docs/d3d12_xs_surface.md(+2 -2)📄 Description
Claimed in the coordination issue as: D3D12-OTHER-PAGES-CONSISTENCY (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7139160368)
Depends on: #1010 (the block size), #1007 (slot 62/76). Neither file here is touched by those, so all three merge independently.
What and why
Two other pages carry the same two facts in their old form, and leaving them makes the docs contradict each other once #1007 and #1010 are in:
d3d12_xs_surface.mdcalls theD3D12XboxCreateDeviceblock "24-word" in the §7.1 row and in the §9 row #1. Measured at the single retail call site it is 0x50 bytes (20 dwords): the frame issub rsp,0x228, the block sits atrsp+0x1B0and+0x200is the savedxmm6, so 24 words (0x60) would overlap the save. The rows now say 0x50 bytes and name the two dwords at0x48/0x4Cas the unnamed ones (the public field list ends at0x44, and both are zero).d3d12_command_objects.md§4.2 repeats "slot 62 is called asCreateComputePipelineState". In the retail executable the slot 62 site (0x14247FE66) passes five parameters,(desc, 0, 0, &riid, &out); the three-argument PC method drops the two extra words. The same sentence is also the one place that could read as "slot 76 is unused": it is not, the package DLLs call it, so the bullet now says the executable is the one with no slot 76 site.Docs only, three sentences and two row labels.
Tested
check_no_game_data.pyon both files -> exit 0.GPUs tested: n/a
AI-assisted: yes (OpenCode, DeepSeek V4.1 Flash)
Checklist
mainand merges cleanly; the two files are untouched by #1007/#1010.docs/design.md. (No translator change.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.