summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-03 01:44:28 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-07 07:06:22 +0200
commit6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083 (patch)
treea9840cc7684bdd6cae7a4cd7ac0c3830decf8c5f /src/video_core
parentsettings: Add enable compute pipelines (diff)
downloadyuzu-6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083.tar
yuzu-6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083.tar.gz
yuzu-6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083.tar.bz2
yuzu-6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083.tar.lz
yuzu-6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083.tar.xz
yuzu-6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083.tar.zst
yuzu-6ed6e6e18e99bdfb4518647abd36a4cf9fc1c083.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 a318d643e..e5219e7e0 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;
}