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:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-28 23:20:23 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-29 06:34:52 -0500
commit0da4ca402817a213c9e339eac3798d246e56bfd7 (patch)
treef28137fe0cec868b084b84b38d81c3cc203e4857 /runtime/test/queue_proxy_test.cpp
parentb3c8d1b60ab3c370c05b717da87b29c752a5d4da (diff)
rendering(r5a): allow R16_UNORM UAV views on native D16_UNORM[_S8_UINT] depth-stencil textures
On GPUs with native VK_FORMAT_D16_UNORM_S8_UINT (e.g. AMD RADV), Resource::enable_depth_stencil_uav created the plane-0 storage shadow as non-mutable DXGI_FORMAT_R16_UINT, causing CreateUnorderedAccessView to reject DXGI_FORMAT_R16_UNORM (format 56) views such as MaterialDepth (dsv=118) with all-zero descriptors. Use DXGI_FORMAT_R16_TYPELESS for depth16 plane-0 storage shadows across native and widened paths, allow R16_UINT and R16_UNORM views while rejecting typeless texture UAVs, and extend xbox_depth_storage_test.
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions