vulkan: disable extendedDynamicState3ColorBlendEquation on radv
This commit is contained in:
parent
0c7149d222
commit
da83afdeaf
|
@ -401,6 +401,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
||||||
loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
|
loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (extensions.extended_dynamic_state3 && is_radv) {
|
||||||
|
LOG_WARNING(Render_Vulkan, "RADV has broken extendedDynamicState3ColorBlendEquation");
|
||||||
|
features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false;
|
||||||
|
features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false;
|
||||||
|
dynamic_state3_blending = false;
|
||||||
|
}
|
||||||
if (extensions.vertex_input_dynamic_state && is_radv) {
|
if (extensions.vertex_input_dynamic_state && is_radv) {
|
||||||
// TODO(ameerj): Blacklist only offending driver versions
|
// TODO(ameerj): Blacklist only offending driver versions
|
||||||
// TODO(ameerj): Confirm if RDNA1 is affected
|
// TODO(ameerj): Confirm if RDNA1 is affected
|
||||||
|
|
Reference in New Issue