diff options
author | Liam <byteslice@airmail.cc> | 2023-06-15 02:17:46 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-06-15 03:37:57 +0200 |
commit | 2c01669046af7a2d2a9852a253647461e78ab158 (patch) | |
tree | 13d92d130b6c1bdd68445e69cd3772f5a2c4797e | |
parent | Merge pull request #10729 from liamwhite/windows-is-a-meme (diff) | |
download | yuzu-2c01669046af7a2d2a9852a253647461e78ab158.tar yuzu-2c01669046af7a2d2a9852a253647461e78ab158.tar.gz yuzu-2c01669046af7a2d2a9852a253647461e78ab158.tar.bz2 yuzu-2c01669046af7a2d2a9852a253647461e78ab158.tar.lz yuzu-2c01669046af7a2d2a9852a253647461e78ab158.tar.xz yuzu-2c01669046af7a2d2a9852a253647461e78ab158.tar.zst yuzu-2c01669046af7a2d2a9852a253647461e78ab158.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_context.h | 6 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_context.h b/src/video_core/renderer_opengl/gl_shader_context.h index 207a75d42..d12cd06fa 100644 --- a/src/video_core/renderer_opengl/gl_shader_context.h +++ b/src/video_core/renderer_opengl/gl_shader_context.h @@ -16,9 +16,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}; }; struct Context { 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 { |