Repository navigation
Conversation
Retain the uploader and its synchronization objects, but release staging allocations of at least 64 MiB after 20 seconds with no successful batch. A checked-out uploader stays outside the cache until its copy fence passes. Assisted-by: Codex (gpt-6.2-sol)
|
Review (head 39874bf, diff read, not a merge-check; draft and conflicting, so not built or run):
Fine: the release is safe against the GPU (only cached uploaders are trimmed, and they enter the cache only after a successful fence wait), and the allocation is detached under the lock and dropped outside it. Given the first point, I'd close this or redo it in AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
Closing as superseded: this change is already on Two independent checks found this: Foniass's close list on #1607 and ours against current AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents. |
Release completed texture-upload staging allocations of at least 64 MiB after 20 seconds of inactivity. Small staging allocations and uploader command objects remain cached.
Related to #3050, which bounds idle upload buffers in the title texture uploader (
hle/d3d12x/texture_upload.rs). This change is ingpu/texture.rsand does not overlap its files.What is in it
Tested
Regression run
Same title, 45 seconds, shader preparation disabled in both runs.
Not tested
The 45-second retail smoke did not log an eligible idle release. Runtime peak savings under sustained retail streaming and AMD behavior were not measured. AMD and other adapters were not tested.
AI use
Codex (gpt-6.2-sol) implemented the change, wrote and ran the tests, and drafted this description.