summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-06-20 14:58:32 -0400
committerGravatar ReinUsesLisp2019-06-20 21:38:34 -0300
commit97c8c9f49a3327f8f38dd460951071630c3e26fa (patch)
tree3cab5d16c792040cdc711ee2d685e63669828668 /src/video_core/texture_cache
parenttexture_cache: Correct format R16U as sibling (diff)
downloadyuzu-97c8c9f49a3327f8f38dd460951071630c3e26fa.tar.gz
yuzu-97c8c9f49a3327f8f38dd460951071630c3e26fa.tar.xz
yuzu-97c8c9f49a3327f8f38dd460951071630c3e26fa.zip
texture_cache: Eliminate linear textures fallthrough
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 78821503e..d86ddeb76 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -603,10 +603,6 @@ private:
603 return InitializeSurface(gpu_addr, params, preserve_contents); 603 return InitializeSurface(gpu_addr, params, preserve_contents);
604 } 604 }
605 605
606 if (!params.is_tiled) {
607 return RecycleSurface(overlaps, params, gpu_addr, preserve_contents,
608 MatchTopologyResult::FullMatch);
609 }
610 // Step 3 606 // Step 3
611 // Now we need to figure the relationship between the texture and its overlaps 607 // Now we need to figure the relationship between the texture and its overlaps
612 // we do a topological test to ensure we can find some relationship. If it fails 608 // we do a topological test to ensure we can find some relationship. If it fails