Skip the residency flag query for excluded heaps #29
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/linkoovosh--LinkoArts-build!29
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-29"
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?
@avt0m4t48 on GitHub · 2026-12-03 03:44 UTC · original
avt0m4t48:perf-delay-residency-descriptor→main· +16 −18 · 1 files · 1 commits · draftChange
Read the resource description only after
GetHeapPropertiesreturns a heap that the current policy considers for HIGH priority. An excluded heap such as UPLOAD or CUSTOM/L0 drops from three classification calls to two. Eligible heaps still read the live resource flags, and the priority request still precedes the synchronous residency wait.The source comment now reflects that
GetHeapPropertiesaccepts placed and committed resources and returns an error for reserved resources. Direct3D 12 API contractVerification
An updated priority test makes the flag supplier panic if upload or CUSTOM/L0 classification calls it. A Linux replay ran the actual classifier, synchronous residency and buffer wrapper on simulated interfaces. It matched the returned errors, the order of all remaining calls, the number of HIGH requests and the count of MakeResident calls. The cases include disabled priority, disabled waiting, writable resources and failed queries or requests.
Windows x64 MSVC type-checked the standalone GPU crate and test targets and the integrated workspace test targets with diagnostics and pure-Rust BLAKE3. The staged file passed the asset policy. The replay verifies call counts and behavior. Driver elapsed time and gameplay frame times remain unmeasured.
On LinkoArts the saving requires opt-in residency priority and the synchronous path. The replay also exercised the asynchronous queue path and its two initialization failures, which route to synchronous residency. The Windows checks used an external allocator metadata declaration.
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.