summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-12-24 02:55:48 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-12-24 02:55:48 +0100
commit481b210c0d035d3de36dc7845802135d90d25a8b (patch)
tree40fb9593457a28b9389140a2e649b9423a414a5b /src/video_core/texture_cache
parentMerge pull request #7614 from liushuyu/fix-linux-inhibit (diff)
downloadyuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar
yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.gz
yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.bz2
yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.lz
yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.xz
yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.zst
yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h3
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;
}