diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 23:20:23 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-29 06:34:52 -0500 |
| commit | 0da4ca402817a213c9e339eac3798d246e56bfd7 (patch) | |
| tree | f28137fe0cec868b084b84b38d81c3cc203e4857 /runtime/test/queue_proxy_test.cpp | |
| parent | b3c8d1b60ab3c370c05b717da87b29c752a5d4da (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