Fix descriptor heap lifetime and identity tracking #179
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/readmet3xt-lab--foxhound!179
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-179"
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?
@nativ69 on GitHub · 2026-11-30 20:15 UTC · original
nativ69:fix/descriptor-heap-lifetime→main· +0 −64 · 1 files · 52 commits · closed without mergingSummary
Adapted from edsuuu/VI-BR-PORT#48, specifically the correctness changes in
567a081and1b83f60.The
Weak::upgradeoptimization is intentionally excluded pending profiling.Validation
git diff --checkpassed.Existing formatting drift and unrelated Clippy warnings remain unchanged.
Gameplay performance has not been evaluated.
@mgrein on GitHub · 2026-11-30 23:30 UTC · original
I tried this PR in game (a new retail game, open world, idle camera) and hit long stalls with it, so I'm reporting the numbers in case they help.
Setup: RTX 4070 12 GB, Ryzen 5 5600X, 32 GB RAM, Windows 11. Series X profile at 1440p, DLSS Quality, no frame generation, with
VICTORY_SUBMIT_SPLIT=1,VICTORY_ASK_FIRST=1andVICTORY_OFF_LINE=1. The base was main plus a few of my own open PRs (#83, #89, #93, #109, #116, #138, #182). Each run is 7.5 minutes; the log has one frame-times line a second.During the stretch:
VICTORY_THINline) went to 630–690 ms a frame summed over the threads, against ~150–250 ms otherwise;So translation itself slowed down roughly 3×, not the submitting side.
I haven't profiled where inside translation the time goes. Retaining heaps and resources through execution, or the new lock ordering in the mirroring paths, would be my first guesses, given that the stall shows up as list-thread time. The PR merged cleanly and
cargo test -p victory-gpu --libpassed (495 tests); no device removal or errors were logged, only the slowdown.🤖 Generated with Claude Code
@readmet3xt-lab on GitHub · 2026-12-01 01:34 UTC · original
Thank you. Stale descriptor writes after a heap's address is used again are a real class of fault, and the regression tests are welcome.
Closing in this form for three reasons:
constant_slotandconstant_slotsare never used, an unneededreturn, anifthat can be collapsed);What would let us take it: lint clean on the current main, frame times before and after at one place (the 5-second fps line is enough), and if possible the lifetime fix (heaps and their resources kept through execution) split from the identity and cache-key changes.
Main's history was rewritten on 2026-12-01 (text-only changes; every commit hash changed), so a follow-up has to start from the current main, or this branch be rebased onto it.
Pull request closed