renderer: preserve GPU-authored storage images during GC #373
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!373
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-373"
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?
@Techx3 on GitHub · 2026-08-28 23:01 UTC · original
Techx3:techx3/texture-gc-preserve-gpu-storage→main· +72 −0 · 2 files · 1 commits · openSummary
Why
Pressure GC can otherwise clear and delete a GPU-authored storage image without publishing its only current contents to guest memory. The next use is then reconstructed from stale or empty guest data, producing black or corrupted textures.
This isolates and hardens the GC part of #266. Unlike the original traversal, it keeps the candidate vector bounded and prevents protected images from starving a later evictable image.
Game / PPSA context
Validation
Co-authorship preserves credit for the original #266 change and the hardened regression work.
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.