mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 10:23:01 -06:00
vk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_state
Vertex binding's <stride> is bugged on AMD's proprietary drivers when using VK_EXT_extended_dynamic_state. Blacklist it for now while we investigate how to report this issue to AMD.
This commit is contained in:
parent
45b73ba840
commit
fe90c4fd7b
1 changed files with 6 additions and 1 deletions
|
@ -691,7 +691,12 @@ std::vector<const char*> VKDevice::LoadExtensions() {
|
|||
}
|
||||
}
|
||||
|
||||
if (has_ext_extended_dynamic_state) {
|
||||
if (has_ext_extended_dynamic_state && driver_id == VK_DRIVER_ID_AMD_PROPRIETARY) {
|
||||
// AMD's proprietary driver supports VK_EXT_extended_dynamic_state but the <stride> field
|
||||
// seems to be bugged. Blacklisting it for now.
|
||||
LOG_WARNING(Render_Vulkan,
|
||||
"Blacklisting AMD proprietary from VK_EXT_extended_dynamic_state");
|
||||
} else if (has_ext_extended_dynamic_state) {
|
||||
VkPhysicalDeviceExtendedDynamicStateFeaturesEXT dynamic_state;
|
||||
dynamic_state.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT;
|
||||
dynamic_state.pNext = nullptr;
|
||||
|
|
Loading…
Reference in a new issue