The two device sites of slot 108 are one allocation-info call shape over a
56-byte D3D12_RESOURCE_DESC: the 16-byte return is {SizeInBytes, Alignment}
and the 24-byte 4th argument is D3D12_RESOURCE_ALLOCATION_INFO1-sized. Record
the struct offsets, the 0x1000 alignment request and its retry, the 0x105
layout word for 3D, and the 32-bit size assert, cross-referencing main's
GetResourceAllocationInfo2 route in d3d12_vulkan.md §3.1.
Adds section 5.2: per-slot receiver proof, register/stack shape and arity for
device slots 86, 101, 108, 132 and 133 (and offset +0x418 / 131), from the 243
raw call sites at those offsets. Cross-references d3d12_vulkan.md §3.1 and
retail_boot_chain.md §3.4 for slots 86, 101, 108 and 133; offset +0x418 (131)
has 0 device sites and stays open.
Merging.
**Why merged:** OLD-10012: d3d12_xs exports D3D12CreateVersionedRootSignatureDeserializer and ordinal #7, forwarding to the host with the Xbox RTS0 flags cleared on a copy (the existing copy_rts0_blob_clear_xbox_flags guard). d3d12_xs_surface.md is updated. SweatierKey verified an earlier head, and trigger337's redundant-checksum finding is fixed in this head, with a zero-hash test.
**Why it's good:** root_sig passes both plain and under validation.
Tested on Windows 11 / RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0. Merged alone onto main 66d4f5aa3, its ctests pass both plain and with LEONIDA_VK_VALIDATION=1. Cumulative of this batch (13 PRs) on main 0b45fdc21: the repo-consistency set gives 573 passed / 5 skipped / 0 failed, compileall is clean, and full ctest is 314/316 with the same 11 skips. The only failures are main's: d3d12_depth_resolve (pre-existing) and d3d12_close_parity (the #510 regression, fixed by #1286). All d3d12_* tests under validation show 0 VUIDs. git merge-tree against current main 6261ca916: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.
AI-assisted (Claude Code, Claude Opus 5.5).
The host path of D3D12XboxCreateDevice asked the PC D3D12CreateDevice for
minimum feature level 12_0, which a comment called the least restrictive
floor. It is the other way round: the minimum refuses every adapter below
it, so a host that tops out at 11_x failed with E_INVALIDARG
(docs/boot_leads.md BL-2). rt::d3d12_xs::create_host_device asks for
kHostDeviceFloor = 11_0, the lowest level D3D12 creates a device at; the
device keeps its highest level, which FEATURE_LEVELS reports and the log
prints (max_feature_level).
xs_proxy_mock_test drives it with mock hosts that top out at 11_0, 11_1,
12_0, 12_1 and 12_2. Each one is created at 11_0, the device proxy's slot
13 reports the host's own top level, and the failure paths (no host
function, failing host, S_OK with no device) clear the output. With 12_0
as the floor the 11_x hosts fail. The Vulkan-backed device takes no feature
level and stays at 12_1 (no ray tracing tier, no sampler feedback).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Do not call a title trace the only source. The checker verifies that the local export table and CONSOLE_IIDS do not assign the four values; SCARAB's vendor-runtime observation stays attributed, and a QueryInterface trace is one possible future source.
The 1.0.2.1 package has 16 DLLs and no D3D12 runtime DLL; gameos.xvd is encrypted with no plaintext D3D12 strings, and the executable that would call QueryInterface is absent. SCARAB's provenance note also says the runtime does not export ID3D12ConsComputeCommandList/6/8 or ID3D12ConsCopyCommandList6, so no export table can supply them. Correct the surface/export-contract rows and lock the negative in the checker and test. All four stay unknown until the title's QueryInterface is logged.
Recovered from the package DLL's own reads (field accesses, element strides,
the standard-build and prebuild wrappers that construct a BATCHED_DESC2):
BATCHED_DESC2 is the public build desc, the postbuild count and pointer and
a 16-byte XDXR_STREAM_DESC (0x50 bytes); the stream desc is a size and a
pointer to 16-byte typed records, whose offsets, value types, defaults and
lookup rule are measured. The DLL rejects the offline-statistics postbuild
type for every build, so that layout is not in the package.
docs/xdxr.md has the evidence per field (RVAs only, nothing quoted from the
DLL). runtime/src/xdxr_descs.h defines the structs with static_asserts and
the DLL's stream lookup and flag defaults; xdxr_descs_test checks them and,
with a DXR d3d12.h, the public part against the SDK.
Answers 8.2 question 6 partly: public MIT/zlib GDKX code (Xbox-GDK-Samples,
DirectXTK12 wiki, directxtk12modelviewer, SDL2) presents with PresentX and
frame events and no DXGI swapchain. Records the call sequence and argument
counts as fact, the game's behaviour as hypothesis, slots/layouts as unmeasured.
Updates 4.5, queue/swapchain mapping rows, PresentX row, M0/M7 and xs_surface 7.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Records the 116-export contract (23 functions + 93 GUIDs), the 28 D3D12 IIDs and the 10 console-only IIDs from SCARAB, with per-item provenance and file:line references. The IID block ordinals 72-99 are derived from the alphabetical export order anchored by IID_ID3D12Debug @76. Includes a checker/test that re-verifies the 116-slot arithmetic and the 83 standard GUIDs against the Windows SDK.