summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-07-20 03:08:06 -0300
committerGravatar ameerj2021-07-22 21:51:40 -0400
commit3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a (patch)
treee479814ce9cfb14a51c1cf404659f32f0ff61a46 /src/video_core/renderer_vulkan
parentopengl: Fix asynchronous shaders (diff)
downloadyuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.gz
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.xz
yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.zip
Revert "renderers: Disable async shader compilation"
This reverts commit 4a152767286717fa69bfc94846a124a366f70065.
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp2
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 2ce8b4156..57b163247 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -271,7 +271,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, Tegra::Engines::Maxw
271 device{device_}, scheduler{scheduler_}, descriptor_pool{descriptor_pool_}, 271 device{device_}, scheduler{scheduler_}, descriptor_pool{descriptor_pool_},
272 update_descriptor_queue{update_descriptor_queue_}, render_pass_cache{render_pass_cache_}, 272 update_descriptor_queue{update_descriptor_queue_}, render_pass_cache{render_pass_cache_},
273 buffer_cache{buffer_cache_}, texture_cache{texture_cache_}, shader_notify{shader_notify_}, 273 buffer_cache{buffer_cache_}, texture_cache{texture_cache_}, shader_notify{shader_notify_},
274 use_asynchronous_shaders{false}, 274 use_asynchronous_shaders{Settings::values.use_asynchronous_shaders.GetValue()},
275 workers(std::max(std::thread::hardware_concurrency(), 2U) - 1, "yuzu:PipelineBuilder"), 275 workers(std::max(std::thread::hardware_concurrency(), 2U) - 1, "yuzu:PipelineBuilder"),
276 serialization_thread(1, "yuzu:PipelineSerialization") { 276 serialization_thread(1, "yuzu:PipelineSerialization") {
277 const auto& float_control{device.FloatControlProperties()}; 277 const auto& float_control{device.FloatControlProperties()};