Browse Source

texture_cache: Eliminate linear textures fallthrough

nce_cpp
Fernando Sahmkow 7 years ago
committed by ReinUsesLisp
parent
commit
c8c2b09c36
  1. 4
      src/video_core/texture_cache/texture_cache.h

4
src/video_core/texture_cache/texture_cache.h

@ -603,10 +603,6 @@ private:
return InitializeSurface(gpu_addr, params, preserve_contents); return InitializeSurface(gpu_addr, params, preserve_contents);
} }
if (!params.is_tiled) {
return RecycleSurface(overlaps, params, gpu_addr, preserve_contents,
MatchTopologyResult::FullMatch);
}
// Step 3 // Step 3
// Now we need to figure the relationship between the texture and its overlaps // 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 // we do a topological test to ensure we can find some relationship. If it fails

Loading…
Cancel
Save