VideoCommon: Fix Intel GPUs on Metal/Vulkan locking up in ubershaders
This commit is contained in:
parent
70bf89fa59
commit
db6e928c8d
|
@ -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(
|
||||
|
|
|
@ -142,6 +142,8 @@ constexpr BugInfo m_known_bugs[] = {
|
|||
-1.0, -1.0, true},
|
||||
{API_VULKAN, OS_OSX, VENDOR_APPLE, DRIVER_PORTABILITY, Family::UNKNOWN,
|
||||
BUG_BROKEN_DISCARD_WITH_EARLY_Z, -1.0, -1.0, true},
|
||||
{API_VULKAN, OS_OSX, VENDOR_INTEL, DRIVER_PORTABILITY, Family::UNKNOWN,
|
||||
BUG_BROKEN_DYNAMIC_SAMPLER_INDEXING, -1.0, -1.0, true},
|
||||
};
|
||||
|
||||
static std::map<Bug, BugInfo> m_bugs;
|
||||
|
|
|
@ -328,6 +328,12 @@ enum Bug
|
|||
// Started version: -1
|
||||
// Ended version: -1
|
||||
BUG_BROKEN_DISCARD_WITH_EARLY_Z,
|
||||
|
||||
// BUG: Using dynamic sampler indexing locks up the GPU
|
||||
// Affected devices: Intel (macOS Metal)
|
||||
// Started version: -1
|
||||
// Ended version: -1
|
||||
BUG_BROKEN_DYNAMIC_SAMPLER_INDEXING,
|
||||
};
|
||||
|
||||
// Initializes our internal vendor, device family, and driver version
|
||||
|
|
Loading…
Reference in New Issue