summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-04-30 08:02:45 +0200
committerGitHub <noreply@github.com>2023-04-30 08:02:45 +0200
commit689f9a75a7809e21c160b97283db72180feba524 (patch)
treeb4acc863658640691bea43903a73cf28a508ac17
parentMerge pull request #10082 from FernandoS27/the-testers-really-love-chocolate (diff)
parentvk_pipeline_cache: Skip compute pipelines on Intel proprietary drivers (diff)
downloadyuzu-689f9a75a7809e21c160b97283db72180feba524.tar
yuzu-689f9a75a7809e21c160b97283db72180feba524.tar.gz
yuzu-689f9a75a7809e21c160b97283db72180feba524.tar.bz2
yuzu-689f9a75a7809e21c160b97283db72180feba524.tar.lz
yuzu-689f9a75a7809e21c160b97283db72180feba524.tar.xz
yuzu-689f9a75a7809e21c160b97283db72180feba524.tar.zst
yuzu-689f9a75a7809e21c160b97283db72180feba524.zip
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index 985cc3203..a318d643e 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -696,6 +696,13 @@ std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
ShaderPools& pools, const ComputePipelineCacheKey& key, Shader::Environment& env,
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) {
+ LOG_ERROR(Render_Vulkan, "Skipping 0x{:016x}", key.Hash());
+ return nullptr;
+ }
+
LOG_INFO(Render_Vulkan, "0x{:016x}", key.Hash());
Shader::Maxwell::Flow::CFG cfg{env, pools.flow_block, env.StartAddress()};