mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
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.
|
// We will use shader blending, so disable hardware dual source blending.
|
||||||
config->backend_info.bSupportsDualSourceBlend = false;
|
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(
|
void VulkanContext::PopulateBackendInfoMultisampleModes(
|
||||||
|
@ -142,6 +142,8 @@ constexpr BugInfo m_known_bugs[] = {
|
|||||||
-1.0, -1.0, true},
|
-1.0, -1.0, true},
|
||||||
{API_VULKAN, OS_OSX, VENDOR_APPLE, DRIVER_PORTABILITY, Family::UNKNOWN,
|
{API_VULKAN, OS_OSX, VENDOR_APPLE, DRIVER_PORTABILITY, Family::UNKNOWN,
|
||||||
BUG_BROKEN_DISCARD_WITH_EARLY_Z, -1.0, -1.0, true},
|
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;
|
static std::map<Bug, BugInfo> m_bugs;
|
||||||
|
@ -328,6 +328,12 @@ enum Bug
|
|||||||
// Started version: -1
|
// Started version: -1
|
||||||
// Ended version: -1
|
// Ended version: -1
|
||||||
BUG_BROKEN_DISCARD_WITH_EARLY_Z,
|
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
|
// Initializes our internal vendor, device family, and driver version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user