fix(agc): texture cache budgets from device memory #1181
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1181"
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?
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-07T16:44:31Z.
What
The sampled-texture and storage-image caches evicted at a fixed 2 GiB each. That is below a bindless table's working set (GTA V's ray tracing binds about 4500 textures), so every table dispatch recreated its images.
Both budgets are now a quarter of the largest device-local heap, at least 2 GiB.
APS5_TEXTURE_CACHE_MIBstill overrides.Tested
Windows 11 Pro, AMD Ryzen 5 7600, NVIDIA GeForce RTX 5080 (driver 32.0.16.1074), 32 GB, MinGW-w64 GCC 15.2.0.
gta-v/testingbranch (Performance mode, the prologue).ctestpasses. Not run here: the relinker's Python tests (my local Python does not find their helper modules) andguest_gameupdate.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T02:44:25Z.
Closing: #1059, opened first, sizes both texture caches from the device-local heap with the same 2 GiB floor and
APS5_TEXTURE_CACHE_MIBoverride, and also fixes the accounting. If the GTA V bindless case needs more than that, comment on #1059 with what's missing.Pull request closed