summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-05-15 18:05:24 +0200
committerGitHub <noreply@github.com>2023-05-15 18:05:24 +0200
commitbbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1 (patch)
treed0b3480a440f086faa6489a5b201ad955926c7d4 /src/video_core
parentMerge pull request #10234 from Kelebek1/clouds_depth (diff)
parentconfigure_graphics_advanced: Hide input compute toggle a little later (diff)
downloadyuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.gz
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.bz2
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.lz
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.xz
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.tar.zst
yuzu-bbb6b58aa4d86ccf1d23b5bdb3f81a50775848a1.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp3
1 files changed, 2 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 596996bec..66dfe5733 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -698,7 +698,8 @@ std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
PipelineStatistics* statistics, bool build_in_parallel) try {
// TODO: Remove this when Intel fixes their shader compiler.
// https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/issues/159
- if (device.GetDriverID() == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
+ if (device.GetDriverID() == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS &&
+ !Settings::values.enable_compute_pipelines.GetValue()) {
LOG_ERROR(Render_Vulkan, "Skipping 0x{:016x}", key.Hash());
return nullptr;
}