diff options
| author | 2023-10-11 23:27:23 +0100 | |
|---|---|---|
| committer | 2023-10-11 23:27:23 +0100 | |
| commit | 6f4a080b9880992afc847bd5ae6e8cd66d17a9bb (patch) | |
| tree | 251c6118d8d1f38f69669ab28a74963f52afdbbf /src/video_core/texture_cache | |
| parent | Merge pull request #11743 from Squall-Leonhart/IFREMOVED (diff) | |
| download | yuzu-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.h | 1 |
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)) { |