From 2c01669046af7a2d2a9852a253647461e78ab158 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 14 Jun 2023 20:17:46 -0400 Subject: video_core: preallocate fewer IR blocks --- src/video_core/renderer_vulkan/vk_pipeline_cache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video_core/renderer_vulkan') diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.h b/src/video_core/renderer_vulkan/vk_pipeline_cache.h index 15aa7e224..e323ea0fd 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.h +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.h @@ -92,9 +92,9 @@ struct ShaderPools { inst.ReleaseContents(); } - Shader::ObjectPool inst; - Shader::ObjectPool block; - Shader::ObjectPool flow_block; + Shader::ObjectPool inst{8192}; + Shader::ObjectPool block{32}; + Shader::ObjectPool flow_block{32}; }; class PipelineCache : public VideoCommon::ShaderCache { -- cgit v1.2.3