diff options
| author | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-22 21:05:23 +0100 |
|---|---|---|
| committer | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-22 21:05:23 +0100 |
| commit | 781b0763a0f7a8a4f1be1310435c59f0267ecbee (patch) | |
| tree | 3dfac1cf2cfb6b3064266ca9cd45849a9b1d2c5a /docs/d3d12_command_objects.md | |
| parent | 7cbb0d006faf8a9b54fa9e2e116e539a01bc5bbd (diff) | |
docs: the allocator note says how the exports were read, and points to §3.5
From the review on #3192: the FSR DLLs' exports are named and the tool that
listed them (dumpbin /exports) is given, so the measurement can be repeated,
and what §3.5 already says is a pointer instead of a repeat.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
| -rw-r--r-- | docs/d3d12_command_objects.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/d3d12_command_objects.md b/docs/d3d12_command_objects.md index c8b3911be..6a6a27ea2 100644 --- a/docs/d3d12_command_objects.md +++ b/docs/d3d12_command_objects.md | |||
| @@ -615,12 +615,12 @@ Command allocators get the same kind of proxy: device slot 9 (`CreateCommandAllo | |||
| 615 | 615 | ||
| 616 | - **What is forwarded.** The public chain, 9 slots: the base chain and `Reset` at 8. A slot past it, up to the | 616 | - **What is forwarded.** The public chain, 9 slots: the base chain and `Reset` at 8. A slot past it, up to the |
| 617 | end of a 64-slot table, is logged and refused, and a read past the table faults in its own guard region. | 617 | end of a 64-slot table, is logged and refused, and a read past the table faults in its own guard region. |
| 618 | The console allocator's extra methods cannot be measured from the package (D3D-360). The 16 images in | 618 | The console allocator's extra methods cannot be measured from the package (D3D-360). No shipped module creates, |
| 619 | `game/xbox-1.0.2.1.json` don't include `d3d12_xs.dll`, which owns the allocator's vtable. None of them contains | 619 | receives or calls an allocator (§3.5). The package has no `d3d12_xs.dll` either, and no export of the three |
| 620 | `IID_ID3D12CommandAllocator`, and no export takes an allocator: the BVH builder's take an `ID3D12Device11` or | 620 | D3D12 clients takes an allocator. `dumpbin /exports` (MSVC 19.52) lists the BVH builder's 12 exports, which take |
| 621 | an `ID3D12GraphicsCommandList4`/`6`/`8`, and the FSR loader and upscaler export only the five `ffx*` entry points. | 621 | an `ID3D12Device11` or a command list (`docs/d3d12_xs_surface.md`), and the FSR loader's and upscaler's |
| 622 | So no shipped module creates, receives or calls an allocator (§3.5). Only the game executable, which the package | 622 | `ffxConfigure`, `ffxCreateContext`, `ffxDestroyContext`, `ffxDispatch` and `ffxQuery`. A call past slot 8 could |
| 623 | doesn't contain, could show a call past slot 8. Until it does, a slot past 8 stays logged and refused. | 623 | only show up in the game executable, which the package doesn't contain, so such a slot stays logged and refused. |
| 624 | - **Where a list takes it.** A list takes an allocator from the title in `CreateCommandList` and `Reset`, so | 624 | - **Where a list takes it.** A list takes an allocator from the title in `CreateCommandList` and `Reset`, so |
| 625 | the proxy is safe only where the list side resolves it. Slot 9 therefore wraps an allocator only when it | 625 | the proxy is safe only where the list side resolves it. Slot 9 therefore wraps an allocator only when it |
| 626 | answers `kLeonidaCommandAllocatorTag` (`d3d12_xs_device.h`). That is the Vulkan layer's own allocator, whose | 626 | answers `kLeonidaCommandAllocatorTag` (`d3d12_xs_device.h`). That is the Vulkan layer's own allocator, whose |