diff options
author | bunnei <bunneidev@gmail.com> | 2023-06-17 01:53:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-17 01:53:25 +0200 |
commit | ec423c69197acfe1f46b161163a99d28e89abad7 (patch) | |
tree | 605db37c7f4e18e99e90617a7c529c899e82fd70 /src/video_core/renderer_vulkan | |
parent | Merge pull request #10808 from t895/settings-stuffs (diff) | |
parent | video_core: preallocate fewer IR blocks (diff) | |
download | yuzu-ec423c69197acfe1f46b161163a99d28e89abad7.tar yuzu-ec423c69197acfe1f46b161163a99d28e89abad7.tar.gz yuzu-ec423c69197acfe1f46b161163a99d28e89abad7.tar.bz2 yuzu-ec423c69197acfe1f46b161163a99d28e89abad7.tar.lz yuzu-ec423c69197acfe1f46b161163a99d28e89abad7.tar.xz yuzu-ec423c69197acfe1f46b161163a99d28e89abad7.tar.zst yuzu-ec423c69197acfe1f46b161163a99d28e89abad7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<Shader::IR::Inst> inst; - Shader::ObjectPool<Shader::IR::Block> block; - Shader::ObjectPool<Shader::Maxwell::Flow::Block> flow_block; + Shader::ObjectPool<Shader::IR::Inst> inst{8192}; + Shader::ObjectPool<Shader::IR::Block> block{32}; + Shader::ObjectPool<Shader::Maxwell::Flow::Block> flow_block{32}; }; class PipelineCache : public VideoCommon::ShaderCache { |