victory-gpu: key dynamic descriptor slot releases by heap id #549
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/Belobug--VIctory-Belobug-AMD!549
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-549"
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?
@SalmanBarkat on GitHub · 2026-11-27 11:08 UTC · original
SalmanBarkat:fix/heap-id-dynamic-slots→a-publier· +126 −45 · 5 files · 1 commits · openSummary
Heapa monotonicid: u64(NEXT_HEAP_ID) and track it inSHADER_HEAPS(ShaderHeap) instead of identifying shader heaps solely by guestptr.State::dynamic,root_srv_slots,root_uav_slots),with_heap/release_dynamic/constant_slot, and deferred constant slot targets (defer_constants,FillTo::Slot,To::Slot) byheap.idso a stale reference after a heap is dropped cannot release or overwrite dynamic slots on a new heap created at the same guest address.stale_heap_id_cannot_release_or_touch_newer_heap_at_same_pointerregression test incrates/victory-gpu/src/descriptor.rs.Verification
cargo clippy --workspace --all-targets --locked -- -D warnings(passed)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings(passed)cargo test --locked -p victory-gpu --lib -- --test-threads=1(397 passed, 0 failed, 34 ignored)cargo test --locked -p victory-gpu --all-features --lib -- --test-threads=1(446 passed, 0 failed, 34 ignored)cargo test -p xtask --locked(9 passed, 0 failed)@MamaLeVrai on GitHub · 2026-11-27 15:56 UTC · original
Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At
bcc90ce:victory-gpu397 passed, 0 failed, 34 ignored.AI-assisted (Claude Code); no game data.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.