forked from ShuriZma/suyu
1
0
Fork 0

android: vulkan: Disable vertex_input_dynamic_state on Qualcomm.

This commit is contained in:
bunnei 2023-04-16 00:56:00 -07:00
parent d2e55558df
commit 12c9e18b55
1 changed files with 2 additions and 1 deletions

View File

@ -472,7 +472,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
dynamic_state3_enables = false;
}
}
if (extensions.vertex_input_dynamic_state && is_radv) {
if (extensions.vertex_input_dynamic_state && (is_radv || is_qualcomm)) {
// Qualcomm S8gen2 drivers do not properly support vertex_input_dynamic_state.
// TODO(ameerj): Blacklist only offending driver versions
// TODO(ameerj): Confirm if RDNA1 is affected
const bool is_rdna2 =