tests: indirect-target fixture fails in the Agility configuration on a debug-layer warning (message 1477) #3527
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3527
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?
@KelboLive on GitHub · 2026-11-29 22:51 UTC · original
tests: an indirect-target fixture fails in the Agility configuration on a debug-layer warning (message 1477)
Summary
startup_indirect_translated_targets_hardwarepasses in the default configuration and fails in the Agilityconfiguration. Every functional check in the fixture passes; the failure comes from the newer D3D12 debug
layer reporting a warning that the in-box layer does not.
This is the last unexplained failure from a full Agility run of
main(
3,113 tests: 3,075 passed, 13 skipped, 28 failed). The other hardware failures from that run are fixedby #3512 and #3525; the remaining WARP failures pass on hardware.
Reproduction
Both runs on NVIDIA GeForce RTX 4070 Ti SUPER, driver 32.0.16.2101; Agility SDK 1.620.2 and WARP 1.0.22 in
the second.
Evidence
The fixture's functional results are identical in both runs:
The Agility run also emits, twice:
Severity 2 is
D3D12_MESSAGE_SEVERITY_WARNING. The fixture treats debug-layer warnings as failures, as theneighbouring fixtures do, so it exits 1 while all five pixel comparisons pass.
Question
Which side should change?
DXGI_FORMAT_UNKNOWNas its DSV format rather than the bound DSV's format, and the warning disappears.That would make the Agility run clean and is arguably the more correct state.
the depth-only path binds a DSV that the state does not write — then severity 2 is expected here and the
fixture should fail on severity 0/1 only, as some others already do.
I do not know which is right, and the two imply different behaviour, so I have not changed either.
Environment note
This only appears in the Agility configuration, which CI does not build:
windows.ymlruns the in-boxconfiguration, where the in-box debug layer does not emit message 1477 for this case.
@KelboLive on GitHub · 2026-12-01 00:47 UTC · original
Fixed by #3537 (
d8cf4c3e4), which merged after this was filed.pipeline_fornow declaresDXGI_FORMAT_UNKNOWNwhen the pass carries no depth-stencil state, so the debug layer no longer emits 1477 for the depth-only indirect case:startup_indirect_translated_targets_hardwarepasses in the Agility configuration.The follow-up in that PR also corrected the comment: narrowing further on
DepthEnable/StencilEnableis not valid, because a bound DSV must match the pipeline'sDSVFormatat draw time (debug layer id 615) even when depth and stencil are disabled.Closing as fixed.