Repository navigation
docs: the retail title's D3D12ConsCreateDevice parameter block (Q1) - #8228
Open
EitaPreulaJhol wants to merge 1 commit into
Open
EitaPreulaJhol wants to merge 1 commit into
EitaPreulaJhol wants to merge 1 commit into
Conversation
ihymonte
reviewed
Nov 23, 2026
ihymonte
left a comment
There was a problem hiding this comment.
Reviewed ec5bbf4 merged with main dde82f2 on macOS (Apple Silicon arm64), Python 3.12.16 (docs read + checks, no game files): pass
- Verified offset/byte math in
docs/xbox_d3d12_xs.md(+0x00..+0x4F=0x50bytes = 20 dwords,0x20004= bits 2 & 17,0x100000= 1 MiB,0x20= 32), cross-checked againstruntime/shims/d3d12_xs.cpp:124-214andd3d12_xs_device.cpp, and confirmed the relative link indocs/d3d12_xs_surface.md:582resolves. scripts/check_no_game_data.pyandgit diff --check: clean. 9/11tests/test_docs_*.pypass (the 2 failures intest_docs_cli_flags.pyandtest_docs_links.pyare pre-existing onmain).- Cross-PR note: open PR #7250 changes
d3d12_xs.cppfrom logging 24 words to 20 words (0x50bytes); if #7250 merges first, the "logs 24 words" /24-word paramswording here will need a quick update.
AI-assisted (Antigravity).
A static read of the 1.0.2.1 title's only D3D12XboxCreateDevice call site: the first 0x50 bytes of the parameter block, the initialized values, ID3D12Device11, and the four words the runtime's 24-word log reads past the initialized part. Values only; no game data and no run.
EitaPreulaJhol
force-pushed
the
docs/q1-cons-create-device-params
branch
from
November 23, 2026 19:00
ec5bbf4 to
3f05a5e
Compare
Author
|
Force-push note (
Tests unchanged: the two |
|
Tested 3f05a5e on Linux, Python 3.14.4: pass (docs read, no game copy)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Q1 in
docs/boot.md: the 24-wordD3D12XboxCreateDeviceparams. Static read of the 1.0.2.1 executable's only call site; not run.Rebased on
main867d922f0, which added the public field layout indocs/d3d12_xs_surface.md§7.1. The values now map to those names:IID_ID3D12Device11, parameter block pointer;Version0x20004at+0x00,GraphicsCommandQueueRingSizeBytes0x100000(1 MiB) at+0x08,DisableDXR1 at+0x28,CreateDeviceFlags0x20at+0x3C; the other named fields are zero;0x50bytes are initialized; the runtime logs 24 words, so words 20 to 23 are past the part the title writes;DisableDXRis noted as unresolved against the title's laterXboxBvhBuilderuse.Values and offsets only, no game data. Docs:
docs/xbox_d3d12_xs.md§5.1 and the Q1 row ofdocs/d3d12_xs_surface.md.Claim: #7694 (comment)
Depends on: none
Tested:
python3 -m unittest discover -s tests -p test_docs_links.py— the two failures (docs/dev-tools.md,docs/gpu_test_results.md) are onmaintoo; neither touches these files.python3 -I scripts/check_no_game_data.py docs/xbox_d3d12_xs.md docs/d3d12_xs_surface.md— clean.AI-assisted.