diff options
| author | Zack <zmasi21@gmail.com> | 2026-11-29 16:10:59 -0800 |
|---|---|---|
| committer | Zack <zmasi21@gmail.com> | 2026-11-29 16:10:59 -0800 |
| commit | 51ea09bf534bc5838f3e0bb14eebaef9d353856f (patch) | |
| tree | 12bfd91b6fdf1b2995e681f0ae6eee036e1da109 /runtime/test/cpp_unwind_test.cpp | |
| parent | 452d1d1b68aa2da94d5f0eff43ad0a6a83bbbadf (diff) | |
d3d12: fix WARP bypass and parallel descriptor contention in depth-bounds PSOs
When DepthBoundsTestEnable is true with DepthEnable and StencilEnable false,
Microsoft WARP bypasses the depth-stencil stage completely and passes
fragments even when the depth buffer value lies outside [MinDepthBounds,
MaxDepthBounds].
Normalize host D3D12_DEPTH_STENCIL_DESC1 in pipeline::host so pipelines with
DepthBoundsTestEnable && !DepthEnable and a non-UNKNOWN DSVFormat enable
DepthEnable with D3D12_COMPARISON_FUNC_ALWAYS and D3D12_DEPTH_WRITE_MASK_ZERO
(a mathematical no-op on depth comparison and writes, valid on read-only DSVs
as well), exclude depth-bounds passes from GraphicsState::screen_pass, and
isolate RTV/DSV descriptors and pre-cut clears in
depth_bounds_pipeline_loads_and_filters_draws alongside a 4-thread parallel
WARP + hardware regression test.
Refs: #2570
AI-assisted.
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions