docs(usage): describe the texture cache budgets and APS5_TEXTURE_CACHE_MIB #6873
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6873"
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 parl0v on 2026-10-16T15:09:42Z.
What
Adds a "Texture cache budget" section to
docs/user/USAGE.md: how the automatic storage image and sampled texture budgets are chosen (StorageTextureBudget,SampledTextureBudget,TextureCacheBudgetinShaderResources.cpp), thatAPS5_TEXTURE_CACHE_MIBfixes both, and that a fixed budget above the automatic one can push allocations into host memory on an 8 GB card.APS5_TEXTURE_CACHE_MIBis not described in the user documentation today. #6078 lists it in its developer environment reference (docs/dev/ENVIRONMENT.md); this is the user-facing description of what the automatic budget does and when not to override it.The numbers in the section, Minecraft Dungeons II (PPSA16064 01.100.100), first world load and a 120 s scripted walk, RTX 4060 8 GB (NVIDIA 617.42), i5-14400F, 16 GB RAM, Windows 10 19045. Heap 0 reports a 7189 MiB budget, so the automatic storage image budget is 1797 MiB (the start-up
[gpu] sampled texture cache budgetline). Same libs in both arms, rows interleaved:APS5_TEXTURE_CACHE_MIBplaced in host memoryline)Tested
tools/check_conventions.py --base upstream/mainpasses. Documentation only.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T15:29:45Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/user/USAGE.mdL187Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/user/USAGE.mddocs/user/USAGE.mddocs/user/USAGE.mddocs/user/USAGE.mddocs/user/USAGE.mddocs/user/USAGE.md