summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2018-10-16 14:03:39 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2018-10-18 00:52:11 +0200
commitcaaa9914fd359464a3c54c27ea275130c1778d0f (patch)
treec920071daa018b68d0b056a9594bd51649167ef6
parentImplement Reinterpret Surface, to accurately blit 3D textures (diff)
downloadyuzu-caaa9914fd359464a3c54c27ea275130c1778d0f.tar
yuzu-caaa9914fd359464a3c54c27ea275130c1778d0f.tar.gz
yuzu-caaa9914fd359464a3c54c27ea275130c1778d0f.tar.bz2
yuzu-caaa9914fd359464a3c54c27ea275130c1778d0f.tar.lz
yuzu-caaa9914fd359464a3c54c27ea275130c1778d0f.tar.xz
yuzu-caaa9914fd359464a3c54c27ea275130c1778d0f.tar.zst
yuzu-caaa9914fd359464a3c54c27ea275130c1778d0f.zip
-rw-r--r--src/video_core/rasterizer_cache.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/video_core/rasterizer_cache.h b/src/video_core/rasterizer_cache.h
index 294b7c6ef..0a3b3951e 100644
--- a/src/video_core/rasterizer_cache.h
+++ b/src/video_core/rasterizer_cache.h
@@ -105,22 +105,6 @@ protected:
return nullptr;
}
- std::vector<T> GetInRange(Tegra::GPUVAddr addr, size_t size) {
- std::vector<T> objects;
- if (size == 0)
- return objects;
-
- const ObjectInterval interval{addr, addr + size};
- for (auto& pair : boost::make_iterator_range(object_cache.equal_range(interval))) {
- for (auto& cached_object : pair.second) {
- if (!cached_object)
- continue;
- objects.push_back(cached_object);
- }
- }
- return objects;
- }
-
/// Register an object into the cache
void Register(const T& object) {
object->SetIsRegistered(true);