diff options
| author | 2021-11-17 05:44:01 +0100 | |
|---|---|---|
| committer | 2022-10-06 21:00:52 +0200 | |
| commit | bb74973bba6005cee5f1409b3b5a6c572da3cf66 (patch) | |
| tree | 5739e8f73e5ed05de932de2806fbc33decf5cc61 | |
| parent | VideoCore: Extra Fixes. (diff) | |
| download | yuzu-bb74973bba6005cee5f1409b3b5a6c572da3cf66.tar.gz yuzu-bb74973bba6005cee5f1409b3b5a6c572da3cf66.tar.xz yuzu-bb74973bba6005cee5f1409b3b5a6c572da3cf66.zip | |
General: Rebase fixes.
| -rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index e8b0b0a3b..0ec999d63 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h | |||
| @@ -885,14 +885,13 @@ void TextureCache<P>::InvalidateScale(Image& image) { | |||
| 885 | } | 885 | } |
| 886 | image.image_view_ids.clear(); | 886 | image.image_view_ids.clear(); |
| 887 | image.image_view_infos.clear(); | 887 | image.image_view_infos.clear(); |
| 888 | for (auto& this_state : channel_storage) { | 888 | auto& channel_info = channel_storage[image.channel]; |
| 889 | if constexpr (ENABLE_VALIDATION) { | 889 | if constexpr (ENABLE_VALIDATION) { |
| 890 | std::ranges::fill(this_state.graphics_image_view_ids, CORRUPT_ID); | 890 | std::ranges::fill(channel_info.graphics_image_view_ids, CORRUPT_ID); |
| 891 | std::ranges::fill(this_state.compute_image_view_ids, CORRUPT_ID); | 891 | std::ranges::fill(channel_info.compute_image_view_ids, CORRUPT_ID); |
| 892 | } | ||
| 893 | this_state.graphics_image_table.Invalidate(); | ||
| 894 | this_state.compute_image_table.Invalidate(); | ||
| 895 | } | 892 | } |
| 893 | channel_info.graphics_image_table.Invalidate(); | ||
| 894 | channel_info.compute_image_table.Invalidate(); | ||
| 896 | has_deleted_images = true; | 895 | has_deleted_images = true; |
| 897 | } | 896 | } |
| 898 | 897 | ||