upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorZack <zmasi21@gmail.com>2026-11-29 16:10:59 -0800
committerZack <zmasi21@gmail.com>2026-11-29 16:10:59 -0800
commit51ea09bf534bc5838f3e0bb14eebaef9d353856f (patch)
tree12bfd91b6fdf1b2995e681f0ae6eee036e1da109 /runtime/test/tiny_game_exit_code_test.cpp
parent452d1d1b68aa2da94d5f0eff43ad0a6a83bbbadf (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/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions