Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

texture_cache: Eliminate linear textures fallthrough

Fernando Sahmkowc8c2b09c368e
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 78821503e2..d86ddeb76c 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -603,10 +603,6 @@ private:
return InitializeSurface(gpu_addr, params, preserve_contents);
}
- if (!params.is_tiled) {
- return RecycleSurface(overlaps, params, gpu_addr, preserve_contents,
- MatchTopologyResult::FullMatch);
- }
// Step 3
// Now we need to figure the relationship between the texture and its overlaps
// we do a topological test to ensure we can find some relationship. If it fails