mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:15:52 +01:00
[PR #232] [CLOSED] Tests: d3d12_depth_resolve no longer expects a refused list to replay #283
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#283
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/232
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/9965📝 Commits (1)
f44150aTests: d3d12_depth_resolve no longer expects a refused list to replay📊 Changes
1 file changed (+9 additions, -8 deletions)
View changed files
📝
runtime/test/d3d12_depth_resolve_test.cpp(+9 -8)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116934259. This fixes tugasky's finding https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116620428, which isn't in the tables yet.
d3d12_depth_resolvefails on every Vulkan device with eight lines likerefused D24S8 depth AVERAGE rect 1: Close 0x80070057, destination changed. The cause is#6610: since it landed,ExecuteCommandListsrefuses a whole batch that holds a list whoseClosefailed, as the D3D12 runtime does. The test was written a day earlier. For its refused cases it still executes the list on the layer and compares the readback with the destination's clear. That clear is in the refused list, so it never runs.The host-comparison lines (
63 of 97 match, 18 host quirks) and theedge … (information)lines are only printed, never failures, so they aren't the cause.Change (test only):
ClosereturnsE_INVALIDARG, and still execute the list, so the layer's batch refusal stays exercised.depth 0xf, stencil 0xd), but it would on a device missing a mode that D3D12 accepts.Tested on Windows 11, AMD Radeon RX 7800 XT (Adrenalin 26.11.2), MSVC 19.44, Vulkan SDK 1.4.363.0. Current
main(c95d93572) doesn't build on MSVC (the console descriptor heap of#9576), so I built on top of#9873, one of the open build fixes; this PR needs whichever of them lands.ctest -R d3d12_depth_resolvewith this change: pass.destination changedlines.Depends on:
#9873(or any of the MSVC build fixes, to build on Windows)AI-assisted (Claude Code).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.