aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common/vulkan_device.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-31 23:24:25 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 08:39:52 -0500
commit446c34aa8b305deb9f0870721d2126da8c186368 (patch)
tree8235281e7bfc36a9bbd73981d1642b78723ba29b /src/video_core/vulkan_common/vulkan_device.cpp
parent75385e994dc8cc8699a918180ee566e8723b8394 (diff)
texture_cache: free deleted images once the GPU is past them
Deleted images kept their device memory for TICKS_TO_DESTROY (8) frames. While the collector deletes dozens a frame that held 1-1.5 GB of VRAM on top of its threshold, which the collector does not count (Mario Kart World on an 8 GB card: 6.6-7.0 GB in use against 5 GiB). On runtimes that report GPU progress (Vulkan) an image is destroyed as soon as the GPU is past it. Title screen, 10 minutes: VRAM in use 6.75 -> 6.34 GB on average, frames over 100 ms 22 -> 15. (cherry picked from commit 8c899541baf398deb892a857a932590f32d2aa4f)
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
0 files changed, 0 insertions, 0 deletions