aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-30 21:17:05 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-30 21:17:05 -0400
commitbe76402ab51deb40c8dea57f66078a19e4a561b2 (patch)
tree47086d481507a520e8326bc936f73d33b52c68ae /src/video_core/buffer_cache/buffer_cache.h
parentb40ad217ab829226841cb71f6e4c5cb05977a225 (diff)
vulkan: build at boot only the cached pipelines recent sessions used
Every graphics pipeline in the disk cache was built at boot, and each one holds driver memory: Mario Kart World builds 6.5k (the NVIDIA driver keeps ~1.6 GB for them) and a session uses about a quarter. Record the pipelines each session uses in <title>/vulkan_used.bin (key hash + sessions since the last use, dropped after 8), build only those at boot and the rest when a game first needs them, without storing them in the disk cache again. The first session without the file builds everything as before. EDEN_NX2_PRELOAD_ALL_PIPELINES=1 keeps building all of them.
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions