D3D12.X: handle Close failures in deferred dispatch command lists #2602
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2602
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?
@KOLESNiii on GitHub · 2026-11-26 01:18 UTC · original
Part of #2508 (Pipeline Rebuild). Reviewed on
mainatb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7.deferred_segmentappends the placeholder after calling nativeClosewithout checking its HRESULT. At submission,record_deferredtakes the saved operation, records it and discards anotherCloseresult. It then uses the segment as the predecessor of the next one. The queue wrapper expands all segments afterwards, andKickoffXuses the same deferred helper for its prior segments. D3D12 surfaces recording errors throughClose. Placeholder · Replay · Queue · KickoffX · D3D12 CloseInject a failed
Closeat each point. Verify that the failed segment stays out of native execution, and that dependent completion bookkeeping reflects what was actually submitted. The existing deferred test injects a failed PSO build and verifies a successful queue signal. #2547 covers the bounded PSO wait. Existing test · Original trace discussionA resulting stall or device failure in a title is a hypothesis. The discarded HRESULTs and submission control flow are verified from source. Windows behavior and title impact remain unmeasured.
AI use was OpenAI Codex (GPT-6, exact serving variant unavailable) for static review and drafting.
@oni-swr on GitHub · 2026-11-26 01:37 UTC · original
Claiming #2602 for a focused fix and synthetic Windows regression tests for deferred command-list Close failures and submission bookkeeping.
AI use: Claude Code (Claude Opus 5.5), coordinated by Codex (gpt-6.2-sol).