diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 22:47:54 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 22:52:55 -0500 |
| commit | d16eb1ff0a55cbc3bd09730a66aa9abe2266f7ea (patch) | |
| tree | 44acfc5857cdb367f198a2f79c3efa1ccedd7a35 /docs | |
| parent | 5129be10d47e16ecf5d8c41cfec12a59a2f25512 (diff) | |
d3d12: give a depth placement inside another one's PC extent its own image
The slot-133 depth/UAV registry recorded each placement's extent as the PC
allocation size and refused, with E_NOTIMPL, any placement that started
inside another live range. On RADV the PC size of a large D16 target is
above the block the title placed it in, so the title's next block starts
inside the previous range: its first depth target was refused, no trace
line showed it, and the title stopped on its own assert and crash reporter
about 30 s into the boot (Game Init, frame 0) on an RDNA2 iGPU.
Overlapping placements at different addresses never shared a backing, so
between two opaque layouts the inner one now gets an image of its own, as
D3D12 leaves an alias's contents undefined until it is reinitialized. A
non-opaque layout is still refused there, and the same-address rules are
unchanged. A refused depth placement is now logged.
d3d12_depth_stencil_uav_test places a texture one alignment step inside
another one: refused for the tiled Xbox layout, its own backing for the
opaque one, and the outer placement still finds its shared backing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/d3d12_vulkan.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md index 97d737c8e..e23985ecb 100644 --- a/docs/d3d12_vulkan.md +++ b/docs/d3d12_vulkan.md | |||
| @@ -2855,7 +2855,12 @@ The console has two list topologies Vulkan lacks: rectangle list (`IASetPrimitiv | |||
| 2855 | plane 1. For `R16_TYPELESS`, use `R16_UINT` on plane 0 to access the raw D16 bits. An array UAV selects a | 2855 | plane 1. For `R16_TYPELESS`, use `R16_UINT` on plane 0 to access the raw D16 bits. An array UAV selects a |
| 2856 | contiguous range of layers. The depth/stencil and shader-resource views continue to use the attachment image. | 2856 | contiguous range of layers. The depth/stencil and shader-resource views continue to use the attachment image. |
| 2857 | Slot 133 keeps the guest address. Identical, live placements share their image and writable planes across | 2857 | Slot 133 keeps the guest address. Identical, live placements share their image and writable planes across |
| 2858 | distinct COM objects. A partial overlap or incompatible reinterpretation is refused. | 2858 | distinct COM objects. An incompatible reinterpretation at the same address is refused. A placement's extent is |
| 2859 | the PC allocation size, which can exceed the title's own block (RADV sizes a large D16 target above it, so the | ||
| 2860 | title's next block starts inside the range); a placement that starts inside another one therefore gets its own | ||
| 2861 | image when both layouts are opaque, since D3D12 leaves an alias's contents undefined until reinitialized, and is | ||
| 2862 | refused only for a non-opaque layout. Before this, the retail boot stopped on the title's assert while it created | ||
| 2863 | its D16 depth targets on an RDNA2 iGPU under RADV. A refused depth placement is logged (no trace line covers it). | ||
| 2859 | - Legacy and enhanced texture transitions copy the selected planes and layers to or from their storage images. | 2864 | - Legacy and enhanced texture transitions copy the selected planes and layers to or from their storage images. |
| 2860 | Fence-ordered graphics and compute queues can share UAV access. A dedicated compute family can perform | 2865 | Fence-ordered graphics and compute queues can share UAV access. A dedicated compute family can perform |
| 2861 | the plane transfer itself when `VK_KHR_maintenance10` and the format's depth/stencil copy flags allow it. | 2866 | the plane transfer itself when `VK_KHR_maintenance10` and the format's depth/stencil copy flags allow it. |