diff options
| author | Rafael <rafaelalvesp2005@gmail.com> | 2026-11-21 22:51:42 -0300 |
|---|---|---|
| committer | Rafael <rafaelalvesp2005@gmail.com> | 2026-11-21 22:51:42 -0300 |
| commit | 12f1dc5a4890a77101624ec524f9e1d5076ce323 (patch) | |
| tree | 199a22409e58547f4fe5c2138243978356540d24 /runtime/src/pe_loader.cpp | |
| parent | c432cdce127ed2d22a99aa6ef57d91db4a10b5bb (diff) | |
runtime: depth-stencil views of a multisample texture array's slice range (D3D-79 part 1)
CreateDepthStencilView refused D3D12_DSV_DIMENSION_TEXTURE2DMSARRAY, so the descriptor held an
empty TargetView and any clear through it failed when the list was recorded. Multisample textures
have one mip, so the view is {resource, mip 0, FirstArraySlice, ArraySize}; the replay already
checks the range against the image and clears through a view of those layers.
d3d12_vulkan_device_test: a 4-layer 4x multisampled D32 texture, a view of slices 1-2 captures
that range and its clear replays; a view of slices 3-4 is refused at execute
(invalid_subresource). D3D12 can't copy a multisampled texture to a buffer, so the cleared
values are not read back. Without the change the test fails at the captured-range check.
docs/d3d12_vulkan.md: drop the duplicated RTV/DSV bullet and list the new dimension. The 1D and
1D-array DSVs need 1D textures first (D3D-63, #561).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions