diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 01:30:46 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 01:30:46 -0400 |
| commit | 4d8a9629a6f49f57adfa420a7196e5967677f10f (patch) | |
| tree | 17ab895fb88e3931b1bb8ac5093b51e8e4ed66ce /src/video_core/vulkan_common/vulkan_device.cpp | |
| parent | b40ad217ab829226841cb71f6e4c5cb05977a225 (diff) | |
texture_cache: collect from 5 GiB of device memory on every GPU
The collector's thresholds follow the card's size and budget (critical
at budget - 768 MiB), so the cache keeps textures of earlier scenes
until the card is nearly full: Mario Kart World used 6.7 GB of an 8 GB
card, and more on larger cards. Cap the critical threshold at 5 GiB (and
expected/minimum below it) whatever the card. Same build, back to back:
peak device memory 6.7 -> 5.6 GB, frames over 100 ms 114 -> 64 in six
minutes, average frame time unchanged. The EDEN_NX2_TC_*_MIB overrides
still apply.
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
0 files changed, 0 insertions, 0 deletions
