diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-06-20 17:07:17 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-06-20 19:11:41 +0200 |
commit | 569a1962c093319c89079c52b5cb6fff139c8174 (patch) | |
tree | 22d7b6fd6233ecae09b55eb003616aa0db0e2073 /src/video_core/texture_cache/texture_cache.h | |
parent | Reaper: Upgrade label from unsafe to experimental as no regressions are known now. (diff) | |
download | yuzu-569a1962c093319c89079c52b5cb6fff139c8174.tar yuzu-569a1962c093319c89079c52b5cb6fff139c8174.tar.gz yuzu-569a1962c093319c89079c52b5cb6fff139c8174.tar.bz2 yuzu-569a1962c093319c89079c52b5cb6fff139c8174.tar.lz yuzu-569a1962c093319c89079c52b5cb6fff139c8174.tar.xz yuzu-569a1962c093319c89079c52b5cb6fff139c8174.tar.zst yuzu-569a1962c093319c89079c52b5cb6fff139c8174.zip |
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 64b576cbc..6ee654dc1 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -397,8 +397,9 @@ TextureCache<P>::TextureCache(Runtime& runtime_, VideoCore::RasterizerInterface& expected_memory = std::max(possible_expected_memory, DEFAULT_EXPECTED_MEMORY); critical_memory = std::max(possible_critical_memory, DEFAULT_CRITICAL_MEMORY); } else { - expected_memory = DEFAULT_EXPECTED_MEMORY; - critical_memory = DEFAULT_CRITICAL_MEMORY; + // on OGL we can be more conservatives as the driver takes care. + expected_memory = DEFAULT_EXPECTED_MEMORY + Common::Size_512_MB; + critical_memory = DEFAULT_CRITICAL_MEMORY + Common::Size_1_GB; } } |