Repository navigation
docs/retail_boot_chain.md: stops 13-17 (descriptor heap at an address, device slots 70, 127, 25) - #6982
docs/retail_boot_chain.md: stops 13-17 (descriptor heap at an address, device slots 70, 127, 25)#6982Pipodi wants to merge 1 commit into
Conversation
…, device slots 70, 127 and 25) Follow-up to ItsNotRexed#6915. Stop 13 is cleared locally with the heap at the title's address; slot 70 (an SRV from raw descriptions), slot 127 (CreateCommittedResource3's argument list) and slot 25 (allocation info with Xbox descriptors) come next. The current stop is a render-target budget assert that the PC allocation sizes trip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the measurements. I have my own 1.0.2.1 copy and can reproduce on Windows 11. Of the PRs that clear stops 1–12, only #6582, #6964 and #6953 merge cleanly on current AI-assisted (Claude Code). |
|
@simonbronk here it is: Base: To run it past stop 17:
Where it stops now (1,655 D3D12 calls):
The next thing I'm measuring is slot 61's Xbox shape. On the render-target sizes for stop 17: on the PC the full-screen target asks AI-assisted (Claude Code). |
|
Reproduced on AI-assisted (Claude Code). |
|
@simonbronk thanks for reproducing it. Two updates so we don't duplicate work: Slot 61 is settled by #7115 (mrp1no): The new frontier is slot 67 from the executable itself, not from the FidelityFX DLL. docs/fspx.md only knows the DLL's caller.
The open question is where the title gets these programs: a package archive we don't carve yet, or something it decompresses or builds at run time. If you look into it, the caller is the thing to trace. I'm on the same question. Your The branch is updated to this state. Counts only, no game files. AI-assisted (Claude Code). |
|
Two results from my run of
Fence slot 12 isn't claimed in #7049 as far as I can see. I'm leaving it to whoever owns the queue/fence proxy and only posting the shape here. AI-assisted (Claude Code). |
|
Follow-up with #7180 merged on the same stack (RTX 5070, Windows 11, Vulkan):
AI-assisted (Claude Code). |
|
Verified at 01f2221, clean merge with current main 8575d36. Docs-only: stops 13-17 and sections 3.5-3.7 added to the boot-chain page with the page's own measurement-citation convention (build sha, copy 1.0.2.1, Windows 11, RTX 4090, driver 617.42, LEONIDA_D3D12=vulkan), the "a measurement for RT-5, not a claim" status line kept, and no exe bytes or addresses quoted. Stand-ins are honestly labeled untested beyond title. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
|
More from the same stack (RTX 5070, Windows 11, Vulkan), with
AI-assisted (Claude Code). |
|
The same chain reproduced under Wine 11.21 on Linux (clang-cl + xwin cross build,
#4348 was merged at step 2 and changed nothing observable there. Conflicts between these PRs were all mechanical: slot lists, mock-test hunks, and #7066's route helper needing #7037's Two notes for Linux users:
AI-assisted (Claude Code). No game files, bytes or code addresses here. |
|
@gkissel on step 11 ( Static check of the retail 1.0.2.1 executable: every device slot-25 call site whose setup is in view (3 sites) uses the C form. RCX holds a return buffer on the stack. RDX holds the device, and the vtable is loaded from RDX. R8 is 1 (the visible mask), R9 is 1 (one description), and the description pointer is the fifth argument on the stack. After the call, the title reads the 16-byte result out of that buffer. One caller compares the alignment with 4 KiB. The other tests that the size's high dword is 0, which is the "under 4 GiB" assert simonbronk reported. #6964 deliberately changes only slot 26, so on that stack the proxy treats the buffer as the device. #7110 (tedin7) takes the console form for slots 25 and 26 when RDX holds the proxy. Slot numbers, argument shapes and counts only. AI-assisted (Claude Code). |
Claimed in the coordination issue as: RT-5 measurement (data for its owners, not a claim; follow-up to #6915)
Depends on: none (docs only). #6915 is merged; this extends its page.
What and why
#6915 stopped at stop 13: the title asserting on the first descriptor heap's CPU start. This adds what came after, on the same machine and build:
D3D12_DESCRIPTOR_HEAP_DESCcarries a CPU address and size after the 16 PC bytes. The title asserts that the heap starts there. Giving the Vulkan heap that memory as its CPU storage clears it (§3.5).CreatePlacedResource1(§3.6).CreateCommittedResource3's argument list, but it sits past the PC vtable (§3.7).GetResourceAllocationInfo, called as(ret, this, …)) passes Xbox descriptors unchanged.The trace now holds 1,641 D3D12 calls, up from 1,185.
Tested
LEONIDA_D3D12=vulkan, MSVC 2022 RelWithDebInfo, own 1.0.2.1 copy, plus the local stand-ins the page names.python -m pytest tests/test_docs_links.py: 7 passed.AI-assisted: yes (Claude Code)
Checklist
docs/design.md, with how it was confirmed. (n/a: no translator change)🤖 Generated with Claude Code