Verify GPU completion before publishing or retiring work #2728
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2728
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2728"
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?
@CDworks-Design on GitHub · 2026-11-29 16:40 UTC · original
CDworks-Design:cdworks/verified-fence-completion→main· +21 −17 · 1 files · 1 commits · merged 2026-11-30 14:12 UTCWhat it changes
Reject the D3D12 device-removal fence sentinel before the relay drains queued work. Use the existing checked fence wait in the synchronous submission path, and advance completion and retirement only after verification. This is a correctness fix, not an FPS or crash-root-cause claim.
How it was tested
Applied cleanly to main at
55d0691;git diff --checkpassed. A standalone Rust regression compiled the patched completion helpers and passed ordered publication, incomplete fences, and the device-removal sentinel cases. Full crate and RTX integration checks are pending. No title assets or logs included.Checked for overlap
Related to #242 and #993, which cover the background wait helper and device-loss error text. This patch also covers the relay's pre-wait queue drain and the separate synchronous submission path.