Make the depth-bounds fixture work on WARP #328

Manually merged
github merged 1 commit from github-bot/gh-328 into a-publier 2026-11-27 00:57:56 +00:00 AGit
Owner

@⁠loyodea on GitHub · 2026-11-26 20:27 UTC · original
loyodea:victory-depth-bounds-ci → a-publier · +16 −9 · 1 files · 1 commits · merged 2026-11-26 22:30 UTC

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 OMSetDepthBounds was 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

  • Reproduced the base failure on WARP 10.0.26100.10068. The proposed fixture passed all six pipeline-host tests on both WARP and the RX 9060 XT with diagnostics, and on the RX 9060 XT in the default build.
  • Temporarily removing command-list replay made the out-of-range assertion fail on both adapters. The independent rerun passed all six tests per adapter with the debug layer requested.
  • Hosted CI remains to be run. All inputs were synthetic.

Codex contributed the implementation and independent verification.

**@⁠loyodea** on GitHub · 2026-11-26 20:27 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/328) `loyodea:victory-depth-bounds-ci` → `a-publier` · +16 −9 · 1 files · 1 commits · merged 2026-11-26 22:30 UTC 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 `OMSetDepthBounds` was 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** - Reproduced the base failure on WARP 10.0.26100.10068. The proposed fixture passed all six pipeline-host tests on both WARP and the RX 9060 XT with diagnostics, and on the RX 9060 XT in the default build. - Temporarily removing command-list replay made the out-of-range assertion fail on both adapters. The independent rerun passed all six tests per adapter with the debug layer requested. - Hosted CI remains to be run. All inputs were synthetic. Codex contributed the implementation and independent verification.
Use the library-loaded pipeline and valid descriptor bindings. Enable an always-pass depth comparison with writes disabled so WARP exercises the same strict bounds assertions. Fixes #314.

Co-authored-by: Codex <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:33:02 +00:00
Author
Owner

@⁠ on GitHub · 2026-11-26 20:30 UTC · original · approved these changes

**@⁠** on GitHub · 2026-11-26 20:30 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/328#pullrequestreview-6080186489) · **approved these changes**
Author
Owner

@⁠cadinhoruf on GitHub · 2026-11-26 20:41 UTC · original · approved these changes

**@⁠cadinhoruf** on GitHub · 2026-11-26 20:41 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/328#pullrequestreview-6080287248) · **approved these changes**
github manually merged commit 8b75af9f63 into a-publier 2026-11-27 00:57:56 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.