summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar Kelebek12023-10-11 23:27:23 +0100
committerGravatar Kelebek12023-10-11 23:27:23 +0100
commit6f4a080b9880992afc847bd5ae6e8cd66d17a9bb (patch)
tree251c6118d8d1f38f69669ab28a74963f52afdbbf /src/video_core/texture_cache
parentMerge pull request #11743 from Squall-Leonhart/IFREMOVED (diff)
downloadyuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar.gz
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.tar.xz
yuzu-6f4a080b9880992afc847bd5ae6e8cd66d17a9bb.zip
Transition MSAA images to general layout without uploading data
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) {
1016 1016
1017 if (image.info.num_samples > 1 && !runtime.CanUploadMSAA()) { 1017 if (image.info.num_samples > 1 && !runtime.CanUploadMSAA()) {
1018 LOG_WARNING(HW_GPU, "MSAA image uploads are not implemented"); 1018 LOG_WARNING(HW_GPU, "MSAA image uploads are not implemented");
1019 runtime.TransitionImageLayout(image);
1019 return; 1020 return;
1020 } 1021 }
1021 if (True(image.flags & ImageFlagBits::AsynchronousDecode)) { 1022 if (True(image.flags & ImageFlagBits::AsynchronousDecode)) {