video_core: vulkan_device: Remove superfluous is_qualcomm check.
- I think we added this for one bad Qualcomm driver, but seems fine now.
This commit is contained in:
@@ -485,7 +485,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
|||||||
loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
|
loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (extensions.extended_dynamic_state2 && (is_radv || is_qualcomm)) {
|
if (extensions.extended_dynamic_state2 && is_radv) {
|
||||||
const u32 version = (properties.properties.driverVersion << 3) >> 3;
|
const u32 version = (properties.properties.driverVersion << 3) >> 3;
|
||||||
if (version < VK_MAKE_API_VERSION(0, 22, 3, 1)) {
|
if (version < VK_MAKE_API_VERSION(0, 22, 3, 1)) {
|
||||||
LOG_WARNING(
|
LOG_WARNING(
|
||||||
@@ -512,8 +512,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
|||||||
dynamic_state3_enables = false;
|
dynamic_state3_enables = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (extensions.vertex_input_dynamic_state && (is_radv || is_qualcomm)) {
|
if (extensions.vertex_input_dynamic_state && is_radv) {
|
||||||
// Qualcomm S8gen2 drivers do not properly support vertex_input_dynamic_state.
|
|
||||||
// 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
|
||||||
const bool is_rdna2 =
|
const bool is_rdna2 =
|
||||||
|
|||||||
Reference in New Issue
Block a user