summaryrefslogtreecommitdiffstats
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorMatías Locatti <42481638+goldenx86@users.noreply.github.com>2024-02-21 03:19:27 +0100
committerGitHub <noreply@github.com>2024-02-21 03:19:27 +0100
commite0c17a21138ba4379a5c77b40a7d3fd7414ca605 (patch)
tree798f8678677cabd7c9048ed06022997a804a1aa5 /src/video_core/buffer_cache
parentMerge pull request #13091 from t895/device-renaming (diff)
parenttexture_cache: tweak iteration tracking change (diff)
downloadyuzu-e0c17a21138ba4379a5c77b40a7d3fd7414ca605.tar
yuzu-e0c17a21138ba4379a5c77b40a7d3fd7414ca605.tar.gz
yuzu-e0c17a21138ba4379a5c77b40a7d3fd7414ca605.tar.bz2
yuzu-e0c17a21138ba4379a5c77b40a7d3fd7414ca605.tar.lz
yuzu-e0c17a21138ba4379a5c77b40a7d3fd7414ca605.tar.xz
yuzu-e0c17a21138ba4379a5c77b40a7d3fd7414ca605.tar.zst
yuzu-e0c17a21138ba4379a5c77b40a7d3fd7414ca605.zip
Diffstat (limited to 'src/video_core/buffer_cache')
-rw-r--r--src/video_core/buffer_cache/buffer_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h
index 296c90e85..ed7a5b27e 100644
--- a/src/video_core/buffer_cache/buffer_cache.h
+++ b/src/video_core/buffer_cache/buffer_cache.h
@@ -35,7 +35,7 @@ BufferCache<P>::BufferCache(Tegra::MaxwellDeviceMemoryManager& device_memory_, R
const s64 min_spacing_critical = device_local_memory - 512_MiB;
const s64 mem_threshold = std::min(device_local_memory, TARGET_THRESHOLD);
const s64 min_vacancy_expected = (6 * mem_threshold) / 10;
- const s64 min_vacancy_critical = (3 * mem_threshold) / 10;
+ const s64 min_vacancy_critical = (2 * mem_threshold) / 10;
minimum_memory = static_cast<u64>(
std::max(std::min(device_local_memory - min_vacancy_expected, min_spacing_expected),
DEFAULT_EXPECTED_MEMORY));