1 Commits

Author SHA1 Message Date
7342eadaa5 d3d12: validate CreateShaderResourceView descriptors
Reopened from #5275 (closed in the PR reset), rebased on current main.

Brings non-MSAA/non-volume SRV validation to parity with the MSAA/volume
checks: Shader4ComponentMapping (bit 12 and the four selectors) on every
texture and buffer SRV, negative or NaN ResourceMinLODClamp, typeless
resource/view formats outside depth/stencil, finite MipLevels/ArraySize
bounds on every dimension, and the TextureCubeArray NumCubes overflow.
An invalid view leaves the destination slot zeroed. Adds
d3d12_srv_validation_test.
2026-11-23 23:23:01 +00:00