diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-26 20:38:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-26 20:38:30 +0100 |
commit | af04f8b8e958a79471d58bc21745f0e8b9b2ea75 (patch) | |
tree | 65e18a33eda02f6a18cb32b5f492aa72fca0ed2a /src/video_core/texture_cache/texture_cache_base.h | |
parent | Merge pull request #8041 from Morph1984/inline-swkbd (diff) | |
download | yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.gz yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.bz2 yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.lz yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.xz yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.tar.zst yuzu-af04f8b8e958a79471d58bc21745f0e8b9b2ea75.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/texture_cache_base.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.h index ad5978a33..b1324edf3 100644 --- a/src/video_core/texture_cache/texture_cache_base.h +++ b/src/video_core/texture_cache/texture_cache_base.h @@ -8,7 +8,6 @@ #include <span> #include <type_traits> #include <unordered_map> -#include <unordered_set> #include <vector> #include <queue> @@ -51,9 +50,6 @@ class TextureCache { /// Address shift for caching images into a hash table static constexpr u64 PAGE_BITS = 20; - static constexpr u64 CPU_PAGE_BITS = 12; - static constexpr u64 CPU_PAGE_SIZE = 1ULL << CPU_PAGE_BITS; - /// Enables debugging features to the texture cache static constexpr bool ENABLE_VALIDATION = P::ENABLE_VALIDATION; /// Implement blits as copies between framebuffers @@ -140,9 +136,6 @@ public: /// Mark images in a range as modified from the CPU void WriteMemory(VAddr cpu_addr, size_t size); - /// Mark images in a range as modified from the CPU - void CachedWriteMemory(VAddr cpu_addr, size_t size); - /// Download contents of host images to guest memory in a region void DownloadMemory(VAddr cpu_addr, size_t size); @@ -152,8 +145,6 @@ public: /// Remove images in a region void UnmapGPUMemory(GPUVAddr gpu_addr, size_t size); - void FlushCachedWrites(); - /// Blit an image with the given parameters void BlitImage(const Tegra::Engines::Fermi2D::Surface& dst, const Tegra::Engines::Fermi2D::Surface& src, @@ -375,8 +366,6 @@ private: std::unordered_map<ImageId, std::vector<ImageViewId>> sparse_views; - std::unordered_set<ImageId> cached_cpu_invalidate; - VAddr virtual_invalid_space{}; bool has_deleted_images = false; |