VideoCommon: Fix Intel GPUs on Metal/Vulkan locking up in ubershaders

This commit is contained in:
TellowKrinkle
2022-06-12 21:43:00 -05:00
parent 70bf89fa59
commit db6e928c8d
3 changed files with 12 additions and 0 deletions

View File

@ -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(