diff options
| author | 2021-07-20 03:08:06 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:40 -0400 | |
| commit | 3c6d440015d7ffb81eedbfcd7ee1aab1ea87ee2a (patch) | |
| tree | e479814ce9cfb14a51c1cf404659f32f0ff61a46 /src/video_core/renderer_vulkan | |
| parent | opengl: Fix asynchronous shaders (diff) | |
| download | yuzu-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.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 | |||
| 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()}; |