summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2022-01-16 05:05:34 +0100
committerGravatar Fernando Sahmkow2022-03-25 01:51:51 +0100
commit5e982a781201a12c4cee6af2908e4732b4c8d945 (patch)
tree480bba2bae6f2618b657e3ddb9729eff65c94c2d /src/video_core/texture_cache
parentGarbage Collection: Redesign the algorithm to do a better use of memory. (diff)
downloadyuzu-5e982a781201a12c4cee6af2908e4732b4c8d945.tar.gz
yuzu-5e982a781201a12c4cee6af2908e4732b4c8d945.tar.xz
yuzu-5e982a781201a12c4cee6af2908e4732b4c8d945.zip
Buffer Cache: Tune to the levels of the new GC.
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache_base.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.h
index 5dabc344b..b1324edf3 100644
--- a/src/video_core/texture_cache/texture_cache_base.h
+++ b/src/video_core/texture_cache/texture_cache_base.h
@@ -60,8 +60,6 @@ class TextureCache {
60 static constexpr bool HAS_DEVICE_MEMORY_INFO = P::HAS_DEVICE_MEMORY_INFO; 60 static constexpr bool HAS_DEVICE_MEMORY_INFO = P::HAS_DEVICE_MEMORY_INFO;
61 61
62 static constexpr s64 TARGET_THRESHOLD = 4_GiB; 62 static constexpr s64 TARGET_THRESHOLD = 4_GiB;
63 static constexpr s64 MIN_VACANCY_EXPECTED = (6 * TARGET_THRESHOLD) / 10;
64 static constexpr s64 MIN_VACANCY_CRITICAL = (3 * TARGET_THRESHOLD) / 10;
65 static constexpr s64 DEFAULT_EXPECTED_MEMORY = 1_GiB + 125_MiB; 63 static constexpr s64 DEFAULT_EXPECTED_MEMORY = 1_GiB + 125_MiB;
66 static constexpr s64 DEFAULT_CRITICAL_MEMORY = 1_GiB + 625_MiB; 64 static constexpr s64 DEFAULT_CRITICAL_MEMORY = 1_GiB + 625_MiB;
67 static constexpr size_t GC_EMERGENCY_COUNTS = 2; 65 static constexpr size_t GC_EMERGENCY_COUNTS = 2;