Make the depth-bounds fixture work on WARP #328
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/328"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Belobug/VIctory-Belobug-AMD. Originally posted by loyodea on 2026-11-26T20:27:29Z.
Fixes #314.
Make the synthetic depth-bounds test exercise WARP and physical GPUs with the same strict assertions. Local WARP reports depth-bounds support but ignored the bounds with ordinary depth testing disabled, including when
OMSetDepthBoundswas called directly. Enable an always-pass ordinary depth comparison with writes disabled so depth bounds determine whether the draw is visible.The fixture binds the heaps required by its root signature and draws with the pipeline loaded back from the library. The incoming depth differs from the stored depth, and the assertions check rejection on both sides of the range and acceptance inside it. The diff is confined to the test fixture.
Validation
Codex contributed the implementation and independent verification.