summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-07-03 14:01:54 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-07-03 14:01:54 +0200
commitebaa7e391c9631e92ff290318ffd58d808b76f87 (patch)
tree87b90af48e66ef2221673dada4ca930631d2621c /src
parentMerge pull request #6498 from Kelebek1/Audio (diff)
downloadyuzu-ebaa7e391c9631e92ff290318ffd58d808b76f87.tar
yuzu-ebaa7e391c9631e92ff290318ffd58d808b76f87.tar.gz
yuzu-ebaa7e391c9631e92ff290318ffd58d808b76f87.tar.bz2
yuzu-ebaa7e391c9631e92ff290318ffd58d808b76f87.tar.lz
yuzu-ebaa7e391c9631e92ff290318ffd58d808b76f87.tar.xz
yuzu-ebaa7e391c9631e92ff290318ffd58d808b76f87.tar.zst
yuzu-ebaa7e391c9631e92ff290318ffd58d808b76f87.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/texture_cache/texture_cache.h3
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
std::vector<ImageId> right_aliased_ids;
std::vector<ImageId> bad_overlap_ids;
ForEachImageInRegion(cpu_addr, size_bytes, [&](ImageId overlap_id, ImageBase& overlap) {
- if (info.type != overlap.info.type) {
- return;
- }
if (info.type == ImageType::Linear) {
if (info.pitch == overlap.info.pitch && gpu_addr == overlap.gpu_addr) {
// Alias linear images with the same pitch