diff options
| author | ismailchaka1 <chakankar111@gmail.com> | 2026-11-22 02:56:29 +0000 |
|---|---|---|
| committer | ismailchaka1 <chakankar111@gmail.com> | 2026-11-22 02:56:29 +0000 |
| commit | 123ace7c11a98ca9094a90ca3cbd33d1ba339628 (patch) | |
| tree | b675b29dbe434d86fea4ffaa75c0467f186c2da0 /runtime/test/gameinput_test.cpp | |
| parent | 67204bf8c0471335d9046890288b33e8d5e2875b (diff) | |
Runtime: stencil-plane SRVs only on their own depth-stencil family
The stencil side of #767. image_descriptor accepted X24_TYPELESS_G8_UINT
and X32_TYPELESS_G8X24_UINT plane-1 views on either family, so an
R32G8X24_TYPELESS texture with an X24_TYPELESS_G8_UINT view (or the
other way round) got a live 8_UINT T# where D3D12 refuses the view.
Each stencil view format is now accepted on its own DXGI family only:
X24_TYPELESS_G8_UINT on R24G8_TYPELESS / D24_UNORM_S8_UINT,
X32_TYPELESS_G8X24_UINT on R32G8X24_TYPELESS / D32_FLOAT_S8X24_UINT. The
family is the DXGI format, not the Vulkan one behind it.
d3d12_descriptor_test checks that the other family's stencil view
format leaves the slot null on both textures; on main that check fails.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions