diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-06 00:15:45 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | bfeeb23ddce9f3531a834c257bd8af05c42ed194 (patch) | |
tree | cbe5345e4155dfe094f7311bd2a74846c571193a /src/video_core | |
parent | shader: Move recursive SSA rewrite to the heap (diff) | |
download | yuzu-bfeeb23ddce9f3531a834c257bd8af05c42ed194.tar yuzu-bfeeb23ddce9f3531a834c257bd8af05c42ed194.tar.gz yuzu-bfeeb23ddce9f3531a834c257bd8af05c42ed194.tar.bz2 yuzu-bfeeb23ddce9f3531a834c257bd8af05c42ed194.tar.lz yuzu-bfeeb23ddce9f3531a834c257bd8af05c42ed194.tar.xz yuzu-bfeeb23ddce9f3531a834c257bd8af05c42ed194.tar.zst yuzu-bfeeb23ddce9f3531a834c257bd8af05c42ed194.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 088de7001..25f592b8a 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -608,7 +608,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, Tegra::GPU& gpu_, scheduler{scheduler_}, descriptor_pool{descriptor_pool_}, update_descriptor_queue{update_descriptor_queue_}, render_pass_cache{render_pass_cache_}, buffer_cache{buffer_cache_}, texture_cache{texture_cache_}, - workers(std::thread::hardware_concurrency() - 1, "yuzu:PipelineBuilder"), + workers(std::max(std::thread::hardware_concurrency(), 2U) - 1, "yuzu:PipelineBuilder"), serialization_thread(1, "yuzu:PipelineSerialization") { const auto& float_control{device.FloatControlProperties()}; const VkDriverIdKHR driver_id{device.GetDriverID()}; |