diff options
| -rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index c7cfd02b6..d8dbd3824 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h | |||
| @@ -1057,9 +1057,6 @@ ImageId TextureCache<P>::JoinImages(const ImageInfo& info, GPUVAddr gpu_addr, VA | |||
| 1057 | std::vector<ImageId> right_aliased_ids; | 1057 | std::vector<ImageId> right_aliased_ids; |
| 1058 | std::vector<ImageId> bad_overlap_ids; | 1058 | std::vector<ImageId> bad_overlap_ids; |
| 1059 | ForEachImageInRegion(cpu_addr, size_bytes, [&](ImageId overlap_id, ImageBase& overlap) { | 1059 | ForEachImageInRegion(cpu_addr, size_bytes, [&](ImageId overlap_id, ImageBase& overlap) { |
| 1060 | if (info.type != overlap.info.type) { | ||
| 1061 | return; | ||
| 1062 | } | ||
| 1063 | if (info.type == ImageType::Linear) { | 1060 | if (info.type == ImageType::Linear) { |
| 1064 | if (info.pitch == overlap.info.pitch && gpu_addr == overlap.gpu_addr) { | 1061 | if (info.pitch == overlap.info.pitch && gpu_addr == overlap.gpu_addr) { |
| 1065 | // Alias linear images with the same pitch | 1062 | // Alias linear images with the same pitch |