diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-25 07:41:34 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-26 07:17:36 +0200 |
commit | b4894faeae86ec9097068189288cb2c82f1f2f01 (patch) | |
tree | 77ef4e42c5fc783fa9919c5bbfa89c62a18226b8 /src/video_core/texture_cache/texture_cache.h | |
parent | buffer_cache: Silence implicit cast warning (diff) | |
download | yuzu-b4894faeae86ec9097068189288cb2c82f1f2f01.tar yuzu-b4894faeae86ec9097068189288cb2c82f1f2f01.tar.gz yuzu-b4894faeae86ec9097068189288cb2c82f1f2f01.tar.bz2 yuzu-b4894faeae86ec9097068189288cb2c82f1f2f01.tar.lz yuzu-b4894faeae86ec9097068189288cb2c82f1f2f01.tar.xz yuzu-b4894faeae86ec9097068189288cb2c82f1f2f01.tar.zst yuzu-b4894faeae86ec9097068189288cb2c82f1f2f01.zip |
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 84530a179..c7cfd02b6 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -110,9 +110,6 @@ public: /// Notify the cache that a new frame has been queued void TickFrame(); - /// Runs the Garbage Collector. - void RunGarbageCollector(); - /// Return a constant reference to the given image view id [[nodiscard]] const ImageView& GetImageView(ImageViewId id) const noexcept; @@ -207,6 +204,9 @@ private: } } + /// Runs the Garbage Collector. + void RunGarbageCollector(); + /// Fills image_view_ids in the image views in indices void FillImageViews(DescriptorTable<TICEntry>& table, std::span<ImageViewId> cached_image_view_ids, std::span<const u32> indices, |