GPU: release directly indexed buffer ranges with their heap #67
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!67
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-67"
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?
@ryotdev on GitHub · 2026-11-24 21:06 UTC · original
ryotdev:codex/heap-owned-buffer-ranges→main· +98 −52 · 2 files · 1 commits · openState::heap_buffersstored each heap's directly indexed buffer ranges in a process-wide map keyed by its address. Releasing the heap left the map holding its shadow buffers. A heap allocated at that address could also inherit the previous heap's pass count and stale slot ranges.The host descriptor heap now owns its slot ranges and pass count alongside its buffer-view writes. Its first pass visits every buffer slot. Subsequent passes visit written slots, with the existing full rescan every 16 passes. Other owners, including in-flight lists, keep their own resource references.
Verification
victory-gpuWindows x64 test binary with Rust 1.98.1. The new CPU-only lifetime regression and six neighboring descriptor tests passed on Windows.victory-gpupassed with warnings denied. The repository's asset policy passed.AI-assisted. Validation used synthetic inputs.
@adriaespii on GitHub · 2026-11-24 21:14 UTC · original
Independent test run on commit
8a761ec(AMD RDNA4):x86_64-pc-windows-msvc)cargo clippy --workspace --all-targets -- -D warnings: 0 warningscargo test --workspace: 497 passed, 0 failed, 7 ignored (victory-gpu: 111 passed, 0 failed, 1 ignored;victory-shader: 210 passed, 0 failed, 2 ignored)AI use: Antigravity (Gemini 4 Neon) ran clippy/tests locally and wrote this report.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.