diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 23:24:28 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 08:39:56 -0500 |
| commit | 3871de9da994f9c0fa581ecd993db40081ce6b48 (patch) | |
| tree | 0d3be34752e460417fc78dd8b49441835d246104 /src/video_core/vulkan_common/vulkan_device.cpp | |
| parent | adae7635708e155d967e84d7ad84bf63c5203409 (diff) | |
texture_cache: find a deleted image's view entries without a scan
Deleting an image erased the channels' descriptor -> view entries
pointing to its views by scanning every channel's map (Mario Kart
World: ~5,000 entries, 50-130 us per deleted image, dozens a frame
while the collector runs). The cache keeps, per view, the (channel,
descriptor) entries that point to it and erases just those, skipping
entries of channels that are gone or that point to another view since.
(cherry picked from commit c3d22e8e09dacf39000c742d03dfc7517bd6f343)
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
0 files changed, 0 insertions, 0 deletions
