diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-28 23:46:53 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-28 23:46:53 -0400 |
| commit | d294001f414944ef668f867b9e82c95ccdcb7340 (patch) | |
| tree | d6680d7aa7842866bf0e0f0af93b01444eefd169 /src/video_core/shader_cache.cpp | |
| parent | 63244330cde7e6b2b2755e8c58d27cc34c3309ab (diff) | |
vulkan: 64 MiB VMA blocks; device memory usage without VMA block slack
Title 1's texture cache deleted 1,400-2,600 textures per 600 frames
and created them again: device memory sat at the collector's critical
line, but ~38% of it was empty space in 256 MiB VMA blocks. Freeing an
image returns that space only once its whole block is empty, so the
caches kept collecting without the usage dropping (one mass purge
deleted 4,300 textures).
- 64 MiB blocks on discrete GPUs too (as on integrated ones).
- GetDeviceMemoryUsage subtracts the unused bytes in VMA blocks, so
each eviction counts at once.
Now 0-224 deletions per 600 frames, ~4,400 textures resident, and
driver usage 6.24 GB of a 6.97 GB budget.
Diffstat (limited to 'src/video_core/shader_cache.cpp')
0 files changed, 0 insertions, 0 deletions
