mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-01 20:24:16 +01:00
vulkan_device: Enable VK_KHR_push_descriptor on newer ANV
This commit is contained in:
parent
e8a025b4f8
commit
8bba9f7dea
@ -473,11 +473,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
|||||||
}
|
}
|
||||||
if (extensions.push_descriptor && is_intel_anv) {
|
if (extensions.push_descriptor && is_intel_anv) {
|
||||||
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, 0)) {
|
if (version >= VK_MAKE_API_VERSION(0, 22, 3, 0) &&
|
||||||
|
version < VK_MAKE_API_VERSION(0, 23, 2, 0)) {
|
||||||
// Disable VK_KHR_push_descriptor due to
|
// Disable VK_KHR_push_descriptor due to
|
||||||
// mesa/mesa/-/commit/ff91c5ca42bc80aa411cb3fd8f550aa6fdd16bdc
|
// mesa/mesa/-/commit/ff91c5ca42bc80aa411cb3fd8f550aa6fdd16bdc
|
||||||
LOG_WARNING(Render_Vulkan,
|
LOG_WARNING(Render_Vulkan,
|
||||||
"ANV drivers 22.3.0 and later have broken VK_KHR_push_descriptor");
|
"ANV drivers 22.3.0 to 23.1.0 have broken VK_KHR_push_descriptor");
|
||||||
extensions.push_descriptor = false;
|
extensions.push_descriptor = false;
|
||||||
loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
|
loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user