How to reproduce:
1. Open the attached project "S8Shadowmap_Repro"
2. Go to Repro -> Run S8_UInt shadowmap check
3. Observe the results
Expected results: A shadowmap always has a depth component, so S8_UInt is promoted to a depth or depth-stencil format as it was before
Actual results: depthStencilFormat is S8_UInt with GetDepthBits = 0, while shadowSamplingMode is still set to CompareDepths, producing a depth-comparison sampler on a texture with no depth
Reproducible with: 6000.7.0a4, 6000.7.0b1
Not reproducible with: 6000.7.0a3
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Note: The project crashes in 6000.7.0a4 but doesn't in the newer versions, the crash indicates the regression as well