d3d12_depth_resolve_test: clears, resolve and read-back as three lists (refused cases fail since 4da716493) #66

Manually merged
github merged 2 commits from gh-pr/66/head into gh-pr/66/base 2026-11-26 08:42:54 +00:00
Owner

@⁠Pixel-Katana on GitHub · 2026-11-24 02:11 UTC · original
Pixel-Katana:fix/depth-resolve-refused-lists → main · +21 −10 · 1 files · 2 commits · merged 2026-11-24 03:36 UTC

Fixes d3d12_depth_resolve on main: 8× refused … Close 0x80070057, destination changed.

Since 4da716493 the layer refuses a whole batch holding a list whose Close failed. The test recorded clears, resolve and read-back in one list, so a refused resolve dropped all of it. The resolve is now its own list between a setup list and a copy list.

Tested: RTX 5080 (621.24), Windows 11: passes with and without LEONIDA_VK_VALIDATION=1. AI-assisted.

🤖 Generated with Claude Code

**@⁠Pixel-Katana** on GitHub · 2026-11-24 02:11 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/66) `Pixel-Katana:fix/depth-resolve-refused-lists` → `main` · +21 −10 · 1 files · 2 commits · merged 2026-11-24 03:36 UTC Fixes `d3d12_depth_resolve` on `main`: 8× `refused … Close 0x80070057, destination changed`. Since 4da716493 the layer refuses a whole batch holding a list whose `Close` failed. The test recorded clears, resolve and read-back in one list, so a refused resolve dropped all of it. The resolve is now its own list between a setup list and a copy list. Tested: RTX 5080 (621.24), Windows 11: passes with and without `LEONIDA_VK_VALIDATION=1`. AI-assisted. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Since 4da716493 the layer refuses a whole ExecuteCommandLists batch that holds a list whose Close failed, as
D3D12 must not be given one. resolve_and_read recorded the clears, the resolve and the read-back copy in one
list, so a refused resolve now took the clears and the copy with it and the eight refused cases read back an
unwritten buffer: "refused D24S8 depth AVERAGE rect 1: Close 0x80070057, destination changed" and seven more.

The resolve is now a list of its own between a setup list (clears, edge draw, barriers) and a copy list
(barrier, read-back). Each runs as its own batch, so the layer refuses only the resolve and the test checks
that the destination keeps its clears. The host path is unchanged: a resolve whose Close fails is still never
executed there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:42:52 +00:00
github manually merged commit 4f26b1de32 into gh-pr/66/base 2026-11-26 08:42:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.