diff options
| author | 2023-06-19 17:33:30 -0400 | |
|---|---|---|
| committer | 2023-06-19 17:33:30 -0400 | |
| commit | 197e13d93d6740cda589d88804262d6bdd176a74 (patch) | |
| tree | 3caa1b12468437865fa17971e2fa4c327cbc4cef /src/video_core/renderer_vulkan | |
| parent | vk_device_info: Check only affected Intel drivers (diff) | |
| download | yuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar.gz yuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar.xz yuzu-197e13d93d6740cda589d88804262d6bdd176a74.zip | |
video_core: Check broken compute earlier
Checks it as the system is determining what settings to enable. Reduces
the need to check settings while the system is running.
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 ee2c33131..a2cfb2105 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |||
| @@ -705,7 +705,7 @@ std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline( | |||
| 705 | std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline( | 705 | std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline( |
| 706 | ShaderPools& pools, const ComputePipelineCacheKey& key, Shader::Environment& env, | 706 | ShaderPools& pools, const ComputePipelineCacheKey& key, Shader::Environment& env, |
| 707 | PipelineStatistics* statistics, bool build_in_parallel) try { | 707 | PipelineStatistics* statistics, bool build_in_parallel) try { |
| 708 | if (device.HasBrokenCompute() && !Settings::values.enable_compute_pipelines.GetValue()) { | 708 | if (device.HasBrokenCompute()) { |
| 709 | LOG_ERROR(Render_Vulkan, "Skipping 0x{:016x}", key.Hash()); | 709 | LOG_ERROR(Render_Vulkan, "Skipping 0x{:016x}", key.Hash()); |
| 710 | return nullptr; | 710 | return nullptr; |
| 711 | } | 711 | } |