summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-06-17 01:53:25 +0200
committerGitHub <noreply@github.com>2023-06-17 01:53:25 +0200
commitec423c69197acfe1f46b161163a99d28e89abad7 (patch)
tree605db37c7f4e18e99e90617a7c529c899e82fd70 /src/video_core/renderer_vulkan
parentMerge pull request #10808 from t895/settings-stuffs (diff)
parentvideo_core: preallocate fewer IR blocks (diff)
downloadyuzu-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 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.h6
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 {