upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authorRafael <rafaelalvesp2005@gmail.com>2026-11-21 23:31:00 -0300
committerRafael <rafaelalvesp2005@gmail.com>2026-11-21 23:31:00 -0300
commit276a9e9d37871a5220b87d35c544462e5e945c6c (patch)
tree28d9a715bb60f8313868a5defb3c462ea1e783e3 /runtime/test/queue_proxy_test.cpp
parent67204bf8c0471335d9046890288b33e8d5e2875b (diff)
runtime: render-target views of a multisample texture array's slice range
CreateRenderTargetView refused D3D12_RTV_DIMENSION_TEXTURE2DMSARRAY, so after the DSV change in #683 a multisample array could be a depth target but not a colour target (found by @Derpbeat on #683). The view is {resource, mip 0, FirstArraySlice, ArraySize}, as for the DSV; the replay already checks the range and clears through a view of those layers. d3d12_vulkan_device_test: a 4-layer 4x RGBA8 target is cleared red through a whole-array view and green through a view of slices 1-2; every slice is resolved and read back, so slices 0 and 3 must stay red and 1-2 green. A view of slices 3-4 is refused at execute (invalid_subresource). Without the change the test fails at the captured-range check. docs/d3d12_vulkan.md: the RTV/DSV bullet lists TEXTURE2DMSARRAY for both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions