diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-16 14:03:39 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-18 00:52:11 +0200 |
commit | caaa9914fd359464a3c54c27ea275130c1778d0f (patch) | |
tree | c920071daa018b68d0b056a9594bd51649167ef6 | |
parent | Implement Reinterpret Surface, to accurately blit 3D textures (diff) | |
download | yuzu-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.h | 16 |
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); |