Merge pull request #10749 from tellowkrinkle/IntelUbershaders

VideoCommon: Fix ubershaders on MoltenVK Intel
This commit is contained in:
JMC47
2022-07-10 19:35:55 -04:00
committed by GitHub
4 changed files with 19 additions and 16 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(