summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-10-12 00:27:23 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-10-12 00:27:23 +0200
commit6f4a080b9880992afc847bd5ae6e8cd66d17a9bb (patch)
tree251c6118d8d1f38f69669ab28a74963f52afdbbf /src/video_core/texture_cache
parentMerge pull request #11743 from Squall-Leonhart/IFREMOVED (diff)
downloadyuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar.gz
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar.bz2
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar.lz
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar.xz
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar.zst
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 1bdb0def5..d575c57ca 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -1016,6 +1016,7 @@ void TextureCache<P>::RefreshContents(Image& image, ImageId image_id) {
if (image.info.num_samples > 1 && !runtime.CanUploadMSAA()) {
LOG_WARNING(HW_GPU, "MSAA image uploads are not implemented");
+ runtime.TransitionImageLayout(image);
return;
}
if (True(image.flags & ImageFlagBits::AsynchronousDecode)) {