mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-31 12:27:53 +00:00
vk_pipeline_cache: Fix num of pipeline workers on weird platforms
This commit is contained in:
parent
417fb5d385
commit
bfeeb23ddc
1 changed files with 1 additions and 1 deletions
|
@ -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()};
|
||||
|
|
Loading…
Reference in a new issue