diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-07-20 08:08:06 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:40 +0200 |
commit | 3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a (patch) | |
tree | e479814ce9cfb14a51c1cf404659f32f0ff61a46 /src/video_core/renderer_vulkan | |
parent | opengl: Fix asynchronous shaders (diff) | |
download | yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.gz yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.bz2 yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.lz yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.xz yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.tar.zst yuzu-3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-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 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 device{device_}, 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_}, shader_notify{shader_notify_}, - use_asynchronous_shaders{false}, + use_asynchronous_shaders{Settings::values.use_asynchronous_shaders.GetValue()}, workers(std::max(std::thread::hardware_concurrency(), 2U) - 1, "yuzu:PipelineBuilder"), serialization_thread(1, "yuzu:PipelineSerialization") { const auto& float_control{device.FloatControlProperties()}; |