diff options
| author | MoonEyes <ducoinbenjamin@yahoo.fr> | 2026-11-29 15:41:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-29 15:41:29 +0100 |
| commit | a793e3fdf4ee7bd23e04b88917df69029bb2c30e (patch) | |
| tree | 5d8933a283cd3858b5036b20280dc8e84dfa6f7e /docs/boot.md | |
| parent | e7281f33ffe71a60449b9460d36766a62d7e93c6 (diff) | |
| parent | b2dda52105367c2d1b761db74df163eac1207a2f (diff) | |
Merge pull request #1010 from robot00f/docs/d3d12-createdevice-params
docs/boot: the CreateDevice params are 0x50 bytes, not 24 words (D3D12-CREATEDEVICE-PARAMS)
Diffstat (limited to 'docs/boot.md')
| -rw-r--r-- | docs/boot.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/boot.md b/docs/boot.md index 06b34a11d..ed3369a3e 100644 --- a/docs/boot.md +++ b/docs/boot.md | |||
| @@ -258,7 +258,7 @@ order. It maps each question to the event to look for; it does not answer them. | |||
| 258 | 258 | ||
| 259 | | # | Question | Signal in the first trace | | 259 | | # | Question | Signal in the first trace | |
| 260 | |---|---|---| | 260 | |---|---|---| |
| 261 | | 1 | `D3D12XboxCreateDevice` 24-word params and flags | first `D3D12XboxCreateDevice` in the D3D12 trace; the shim prints the 24 words as an `[rt]` line in the same log, with or without `--trace-d3d12` (grep `^\[rt\]`); accept unknown flags | | 261 | | 1 | `D3D12XboxCreateDevice` 0x50-byte params and flags | first `D3D12XboxCreateDevice` in the D3D12 trace; the shim prints the twenty dwords as an `[rt]` line in the same log, with or without `--trace-d3d12` (grep `^\[rt\]`); accept unknown flags. The struct is 0x50 bytes (20 dwords), not 24 words: at the single retail call site it is a stack local of a `0x228` frame whose saved `xmm6` begins at `+0x200`, and three 32-byte stores zero it up to `+0x4F`. Only `+0x00 = 0x00020004`, `+0x08 = 0x00100000`, `+0x28 = 1` and `+0x3C = 0x20` are fixed; `+0x20` and `+0x24` carry two bytes of launch state and `+0x30`-`+0x4F` stay zero. Adapter is null, the IID is `{5405C344-D457-444E-B4DD-2366E45AEE39}` | |
| 262 | | 2 | Xbox device/heap/queue/command-list slots | queue, fence and allocator method names in the D3D12 trace; device slots past the PC vtable print an `[rt] d3d12_xs: device slot …` line instead and record nothing; compare with the SDK vtable | | 262 | | 2 | Xbox device/heap/queue/command-list slots | queue, fence and allocator method names in the D3D12 trace; device slots past the PC vtable print an `[rt] d3d12_xs: device slot …` line instead and record nothing; compare with the SDK vtable | |
| 263 | | 3 | Root signature → `s0..s31` | `CreateRootSignature`, `SetGraphicsRootSignature`, then the shader's user-SGPR reads; mask `0x03000000` on a copy | | 263 | | 3 | Root signature → `s0..s31` | `CreateRootSignature`, `SetGraphicsRootSignature`, then the shader's user-SGPR reads; mask `0x03000000` on a copy | |
| 264 | | 4 | Descriptor bytes and heap increments | first `CreateShaderResourceView`/`CreateSampler` and the first draw; dump the heap bytes and compare with the T#/S# parser | | 264 | | 4 | Descriptor bytes and heap increments | first `CreateShaderResourceView`/`CreateSampler` and the first draw; dump the heap bytes and compare with the T#/S# parser | |