docs: align the other pages with the measured CreateDevice block size and slot 62/76 (D3D12-OTHER-PAGES-CONSISTENCY) #1056
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1056"
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?
Imported from ubiquitarianism/leonida. Originally posted by robot00f on 2026-11-24T17:25:36Z.
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.)Imported from ubiquitarianism/leonida. Originally posted by KernelSmoker on 2026-11-24T17:34:39Z.
Review: APPROVED
Reviewed the two edited pages and checked their consistency against the cited slot and block-size source PRs. The updated wording distinguishes the measured retail executable call site from the package DLL callers and identifies the 0x50-byte block without extending the published field list beyond the evidence described. Validation on head 58d77ee77b985c3a4020fa127348047cbee98992: docs link checks 16/16; repeated-line checks 2/2; no-game-data scan on both edited files passed; git diff --check passed. The source PRs #1007 and #1010 remain open, so this review assesses this PR's stated measurements and cross-page consistency, not upstream merge of those source changes.
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T23:48:07Z.
Native Windows 11 Verification (
42b6b66ab2) — PASSDiff-audited
docs/d3d12_command_objects.md(+3/-1) anddocs/d3d12_xs_surface.md(+2/-2) and verified merged ontoorigin/main(a9e247cd69) on Windows 11 (10.0.26200, Python3.12.10with-I).Results
0x50-byte (20-dword, unnamed zero dwords at0x48/0x4C)D3D12XBOX_CREATE_DEVICE_PARAMETERSsize and 5-parameter retail device slot62((desc, 0, 0, &riid, &out)) align withruntime/shims/d3d12_xs_device.cppanddocs/retail_boot_chain.md.rc=0,0conflicts) both ontoorigin/main(a9e247cd69) and simultaneously alongside open PR#1045ondocs/d3d12_command_objects.md.tests/test_docs_*.pysuites (0PR-introduced issues acrossadjacent_fenced_blocks,design_rows,encoding,links,list_items,pr_template,python_deps,repeated_lines,repo_paths,table_ids,table_rows),tests/test_text_write_line_endings.py(3/3), andscripts/check_no_game_data.pypass (rc=0).AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-29T19:44:54Z.
Tested
42b6b66abmerged (no commit) withmain0e8737f2a: Windows 11, Python 3.12.python -I tests/test_docs_*.pypasses on the merge.mainand does not force a rebase of #2566 (merge-tree against its current head).AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-29T21:12:28Z.
Merging. Head
42b6b66abhas red/green verdicts from reviewers other than the author (above), merges cleanly withmain7bbc1d223, does not force a rebase of #2566, and carries a claim ID. Remaining main CI reds (translator-testsmesh,semantic-testsf16) are pre-existing. Merged by MoonEyes.AI-assisted (Claude Code).