From 18c71620934085123ffaa66137f96c9eaf991dc4 Mon Sep 17 00:00:00 2001 From: Kelebek1 Date: Sun, 30 May 2021 18:06:58 +0100 Subject: [PATCH] Just for BSoD --- src/video_core/texture_cache/texture_cache.h | 2 +- src/video_core/vulkan_common/vulkan_memory_allocator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 53fe01eb11..de389c0414 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -65,7 +65,7 @@ class TextureCache { static constexpr u64 PAGE_BITS = 20; /// Time since last access that images are removed from the cache - static constexpr auto GC_IMAGE_EXPIRATION = std::chrono::minutes(4); + static constexpr auto GC_IMAGE_EXPIRATION = std::chrono::minutes(2); /// Time between checking for expired images static constexpr auto GC_IMAGE_REMOVAL = std::chrono::seconds(10); /// Time between updating framebuffer references. diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.h b/src/video_core/vulkan_common/vulkan_memory_allocator.h index 0feb7c4f75..fe5194af07 100644 --- a/src/video_core/vulkan_common/vulkan_memory_allocator.h +++ b/src/video_core/vulkan_common/vulkan_memory_allocator.h @@ -71,7 +71,7 @@ private: /// Allocates and releases memory allocations on demand. class MemoryAllocator { /// Time since last commit was made that allocations are removed - static constexpr auto ALLOCATION_EXPIRATION = std::chrono::minutes(4); + static constexpr auto ALLOCATION_EXPIRATION = std::chrono::minutes(2); /// Time between checking for expired allocations static constexpr auto ALLOCATION_TICK = std::chrono::seconds(10);