diff options
| author | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-22 20:39:14 +0100 |
|---|---|---|
| committer | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-22 20:39:14 +0100 |
| commit | 7cbb0d006faf8a9b54fa9e2e116e539a01bc5bbd (patch) | |
| tree | b8c5e5a8a1f5251b4c39e70931450b31ae5f13fa /docs | |
| parent | 162821017ea3c286c8bec860f3ff94f037912061 (diff) | |
docs: the console allocator's slots past 8 can't be measured from the package
D3D-360. Read statically on a 1.0.2.1 package whose 16 images all match
game/xbox-1.0.2.1.json: none of them is d3d12_xs.dll, which owns the
allocator's vtable. None contains IID_ID3D12CommandAllocator, and no export
takes an allocator: the BVH builder's take a device or a command list, and the
two FidelityFX DLLs export the five ffx* entry points. No shipped module
creates, receives or calls an allocator, so only the game executable could
show a call past slot 8, and the proxy keeps logging and refusing those.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/d3d12_command_objects.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/d3d12_command_objects.md b/docs/d3d12_command_objects.md index 56e1fd5cd..c8b3911be 100644 --- a/docs/d3d12_command_objects.md +++ b/docs/d3d12_command_objects.md | |||
| @@ -615,7 +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 are not measured. | 618 | The console allocator's extra methods cannot be measured from the package (D3D-360). The 16 images in |
| 619 | `game/xbox-1.0.2.1.json` don't include `d3d12_xs.dll`, which owns the allocator's vtable. None of them contains | ||
| 620 | `IID_ID3D12CommandAllocator`, and no export takes an allocator: the BVH builder's take an `ID3D12Device11` or | ||
| 621 | an `ID3D12GraphicsCommandList4`/`6`/`8`, and the FSR loader and upscaler export only the five `ffx*` entry points. | ||
| 622 | So no shipped module creates, receives or calls an allocator (§3.5). Only the game executable, which the package | ||
| 623 | doesn't contain, could show a call past slot 8. Until it does, a slot past 8 stays logged and refused. | ||
| 619 | - **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 |
| 620 | 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 |
| 621 | 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 |