diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-28 09:46:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 09:46:37 +0100 |
commit | f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d (patch) | |
tree | a14f73749158e0ad38e99d0c222d401441376911 /src/video_core/texture_cache | |
parent | Merge pull request #7621 from bunnei/set-mem-perm (diff) | |
parent | vk_texture_cache: Fix invalidated pointer access (diff) | |
download | yuzu-f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d.tar yuzu-f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d.tar.gz yuzu-f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d.tar.bz2 yuzu-f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d.tar.lz yuzu-f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d.tar.xz yuzu-f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d.tar.zst yuzu-f67605e6aa5ec3a5e7a7e44ab30a24991bac6e6d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 2e19fced2..b494152b8 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -1397,7 +1397,8 @@ ImageViewId TextureCache<P>::FindOrEmplaceImageView(ImageId image_id, const Imag if (const ImageViewId image_view_id = image.FindView(info); image_view_id) { return image_view_id; } - const ImageViewId image_view_id = slot_image_views.insert(runtime, info, image_id, image); + const ImageViewId image_view_id = + slot_image_views.insert(runtime, info, image_id, image, slot_images); image.InsertView(info, image_view_id); return image_view_id; } |