summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2022-07-10 19:35:55 -0400
committerGitHub <noreply@github.com>2022-07-10 19:35:55 -0400
commitcce6133ef6a95ddca18264290be005ababc6dc6e (patch)
tree9445dbc0f15707eac9a4574a04d5e7404575e878 /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
parent38cb76dea54b59fa0eae458e0898edebed13e7ca (diff)
parent25929789c1e80d7a22d6acdb14082bc44e4fb0e9 (diff)
Merge pull request #10749 from tellowkrinkle/IntelUbershaders
VideoCommon: Fix ubershaders on MoltenVK Intel
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VulkanContext.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/VulkanContext.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
index 0a82d6451f..1dc02e689a 100644
--- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
+++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
@@ -377,6 +377,10 @@ void VulkanContext::PopulateBackendInfoFeatures(VideoConfig* config, VkPhysicalD
// We will use shader blending, so disable hardware dual source blending.
config->backend_info.bSupportsDualSourceBlend = false;
}
+
+ // Dynamic sampler indexing locks up Intel GPUs on MoltenVK/Metal
+ if (DriverDetails::HasBug(DriverDetails::BUG_BROKEN_DYNAMIC_SAMPLER_INDEXING))
+ config->backend_info.bSupportsDynamicSamplerIndexing = false;
}
void VulkanContext::PopulateBackendInfoMultisampleModes(