diff options
| -rw-r--r-- | src/video_core/buffer_cache/buffer_cache.h | 4 | ||||
| -rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index a04c7ab0c..eefd04c81 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h | |||
| @@ -109,8 +109,6 @@ public: | |||
| 109 | 109 | ||
| 110 | void TickFrame(); | 110 | void TickFrame(); |
| 111 | 111 | ||
| 112 | void RunGarbageCollector(); | ||
| 113 | |||
| 114 | void WriteMemory(VAddr cpu_addr, u64 size); | 112 | void WriteMemory(VAddr cpu_addr, u64 size); |
| 115 | 113 | ||
| 116 | void CachedWriteMemory(VAddr cpu_addr, u64 size); | 114 | void CachedWriteMemory(VAddr cpu_addr, u64 size); |
| @@ -197,6 +195,8 @@ private: | |||
| 197 | ((cpu_addr + size) & ~Core::Memory::PAGE_MASK); | 195 | ((cpu_addr + size) & ~Core::Memory::PAGE_MASK); |
| 198 | } | 196 | } |
| 199 | 197 | ||
| 198 | void RunGarbageCollector(); | ||
| 199 | |||
| 200 | void BindHostIndexBuffer(); | 200 | void BindHostIndexBuffer(); |
| 201 | 201 | ||
| 202 | void BindHostVertexBuffers(); | 202 | void BindHostVertexBuffers(); |
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: | |||
| 110 | /// Notify the cache that a new frame has been queued | 110 | /// Notify the cache that a new frame has been queued |
| 111 | void TickFrame(); | 111 | void TickFrame(); |
| 112 | 112 | ||
| 113 | /// Runs the Garbage Collector. | ||
| 114 | void RunGarbageCollector(); | ||
| 115 | |||
| 116 | /// Return a constant reference to the given image view id | 113 | /// Return a constant reference to the given image view id |
| 117 | [[nodiscard]] const ImageView& GetImageView(ImageViewId id) const noexcept; | 114 | [[nodiscard]] const ImageView& GetImageView(ImageViewId id) const noexcept; |
| 118 | 115 | ||
| @@ -207,6 +204,9 @@ private: | |||
| 207 | } | 204 | } |
| 208 | } | 205 | } |
| 209 | 206 | ||
| 207 | /// Runs the Garbage Collector. | ||
| 208 | void RunGarbageCollector(); | ||
| 209 | |||
| 210 | /// Fills image_view_ids in the image views in indices | 210 | /// Fills image_view_ids in the image views in indices |
| 211 | void FillImageViews(DescriptorTable<TICEntry>& table, | 211 | void FillImageViews(DescriptorTable<TICEntry>& table, |
| 212 | std::span<ImageViewId> cached_image_view_ids, std::span<const u32> indices, | 212 | std::span<ImageViewId> cached_image_view_ids, std::span<const u32> indices, |