Repository navigation
Conversation
…RT-5) Six pointer/size pairs after the root signature; pairs 2 and 4 pass the bare kind-6 program rule in 9,996 of 9,996 non-empty and 10,000 of 10,000 calls. Counts and sizes only. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Offline VS/PS library coverage for the slot-57 work. Windows x64, LLVM MC 23.1.5, SPIRV-Tools 2026.4, translator at e5658e4, --wave64-emulate and --wave64-graphics warn, 1.0.2.1 library.
This characterizes the shader side of a future handler. The 13,407 records are a catalog cohort, not the first 10,000 calls from the title. AI-assisted; aggregate counts only. |
|
checked: #8273 | with: diff review only (docs-only PR:
AI-assisted. |
|
The caller's side of device slot 57, read statically from the retail executable. That's my own 1.0.2.1 copy, whose SHA-256 matches the docs. File only, no run:
What this means for a handler (inference from the above, not a run):
cc #8890, which implements a slot-57 handler: points 1-3 are its contract on the title's side. AI-assisted. |
|
Reviewed 901d54b, docs read, AI-assisted: the table gives counts and sizes only, with no bytes, addresses or hashes; it is consistent with the slot 67 paragraph and with the kind-6 prologue rule already in |
|
checked: 901d54b | base: main@dde82f27e + #8273 | on: Windows 11, MSVC 14.51, NVIDIA RTX 4070 SUPER (621.14) | result: docs-only change, no code or build impact; I checked its cross-references against the tree and found them consistent (not re-measured: the 10,000-call counts need a game copy, which I do not have).
AI-assisted. |
|
Complementary static ABI note for
This explains why reading only the first two stage pairs ( (Clean-room static ABI inspection only — struct offsets, counts, and sizes; no game bytes, addresses, or hashes.) |
|
checked: #8273 | docs-only change, read against docs/fspx.md and the slot-67 layout it extends | on: n/a (documentation) | result: consistent The slot-57 table matches the established (pointer, size) pair layout used for slot 67, the kind-6 program identification is quantified over all 10,000 calls (9,996/9,996 and 10,000/10,000 non-empty blobs, with the 4 empty pair-2/pair-3 calls called out), and the unconfirmed parts (state blob meaning, which program is which stage, no handler yet) are explicitly labelled hypotheses. Sources cited (#8047, #7154, #7180, Wine/RTX 3060 probe). AI-assisted check. |
Claimed in #8047 (comment) (device slot 57, exotiquee's finding); the measurement is posted at #8047 (comment).
Depends on: nothing (docs only; applies to
main).What and why
docs/fspx.mddocuments slot 67's description (compute) but not slot 57, which the retail executable calls about 10,000 times at boot with nothing serving it. This adds a "Slot 57 (graphics)" paragraph and table: the description is a root-signature pointer plus six (pointer, size) pairs, and the programs in pairs 2 and 4 pass the bare kind-6 rule already in this file. It also says what a handler would still need (translated library graphics programs, the state blob decoded), so the next person does not have to repeat the measurement.Counts and sizes only: no bytes, addresses, hashes or offsets from the executable.
Tested
Measured on Linux, Wine 11.22, NVIDIA RTX 3060 (driver 580.178.04),
LEONIDA_D3D12=vulkan, own 1.0.2.1 copy,main@f6a00fc4d+ the boot stack of #7154 + #7180,LEONIDA_SKIP_INT3=1, with a temporary probe in the device proxy over 10,000 slot-57 calls (the probe is not part of this PR). The per-pair size counts in the table add up to 10,000 for pairs 0, 1 and 5.tests/test_docs_*.pyandtest_ci_registration.py: all pass excepttest_docs_cli_flagsandtest_docs_links, which fail the same way on currentorigin/main(files this PR does not touch).scripts/check_no_game_data.py: exit 0.AI-assisted: yes (Claude Code).
Checklist
docs/design.md, with how it was confirmed (n/a: no translator change).🤖 Generated with Claude Code