summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Billy Laws2023-02-18 17:23:12 +0000
committerGravatar bunnei2023-06-03 00:05:31 -0700
commita3c261d9406a747759097155d181abe7a67b2a7a (patch)
treec2d7f3dc78e907a810e5609ff9f7767391cd17db /src
parentandroid: Add motion sensor (diff)
downloadyuzu-a3c261d9406a747759097155d181abe7a67b2a7a.tar.gz
yuzu-a3c261d9406a747759097155d181abe7a67b2a7a.tar.xz
yuzu-a3c261d9406a747759097155d181abe7a67b2a7a.zip
Disable multithreaded pipeline compilation on Qualcomm drivers
This causes crashes during compilation on several 6xx and 5xx driver versions.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp5
1 files changed, 4 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 b77ed2200..ec55e11b1 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -286,7 +286,10 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
286 texture_cache{texture_cache_}, shader_notify{shader_notify_}, 286 texture_cache{texture_cache_}, shader_notify{shader_notify_},
287 use_asynchronous_shaders{Settings::values.use_asynchronous_shaders.GetValue()}, 287 use_asynchronous_shaders{Settings::values.use_asynchronous_shaders.GetValue()},
288 use_vulkan_pipeline_cache{Settings::values.use_vulkan_driver_pipeline_cache.GetValue()}, 288 use_vulkan_pipeline_cache{Settings::values.use_vulkan_driver_pipeline_cache.GetValue()},
289 workers(std::max(std::thread::hardware_concurrency(), 2U) - 1, "VkPipelineBuilder"), 289 workers(device.GetDriverID() == VK_DRIVER_ID_QUALCOMM_PROPRIETARY
290 ? 1
291 : (std::max(std::thread::hardware_concurrency(), 2U) - 1),
292 "VkPipelineBuilder"),
290 serialization_thread(1, "VkPipelineSerialization") { 293 serialization_thread(1, "VkPipelineSerialization") {
291 const auto& float_control{device.FloatControlProperties()}; 294 const auto& float_control{device.FloatControlProperties()};
292 const VkDriverId driver_id{device.GetDriverID()}; 295 const VkDriverId driver_id{device.GetDriverID()};