GPU Present source state tracking on current main #908
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!908
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/908/head"
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?
@Kamiloj9 on GitHub · 2026-11-25 12:24 UTC · original
Kamiloj9:codex/present-submit-state→main· +79 −46 · 3 files · 1 commits · closed without mergingForward port of AscilCH’s state-tracking fix from #564 to
a253706, including that revision’s optionalVICTORY_ASYNC_PRESENTpath.The Present copy list retains the
HostTextureand lets the submission prelude transition it toCOPY_SOURCEunder the submission lock. The async queue holds the same texture rather than a state sampled before preceding lists execute. This also avoids a redundant source barrier on consecutive Presents. Swap-chain back-buffer transitions still surround the copy.Verification used an independently reviewed diff,
cargo check --workspace --all-features, staged asset policy, and a synthetic WARP regression that Presents the same texture twice starting fromCOPY_DEST. The regression failed before the fix and passed on both trees. The public tree passed withVICTORY_LATE_WAIT=0and3. The test calls host Present directly, so the async queue worker and title runtime remain untested.@Filip722 on GitHub · 2026-11-25 14:08 UTC · original
Independent Proton check of the Present change in
83f6b852on Bazzite 44, RTX 5060 Laptop 8 GB, NVIDIA 615.78.08 and GE-Proton 11-14 (vkd3d-proton buildcae8353ed7959c4+). Windows MSVC build with Rust 1.98.1.The supplied 64×64 two-Present state fixture passed with a test-only hardware-adapter selection and a device-removal check after each call, at both
VICTORY_LATE_WAIT=0and3. It exercised the fixed code on the NVIDIA adapter and verified the trackedCOPY_SOURCEstate. These direct calls cover host Present state.For a Series S comparison, I added the unchanged #908 commit to the same private #938 integration and used an identical cache/prefix seed, launch settings and host guards. The baseline and patched title-window captures were uniformly black from the first sampled frame. Their last observed scene recording was 74 and 87 first-bound pipelines respectively. Both ended on the host RAM guard with no recorded NVIDIA Xid. This integration takes the first present plane, and Series S second-plane composition is covered separately by #188.
Testing and report prepared with OpenAI Codex assistance.
Pull request closed