diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 9a8763e6a..f6e6f2736 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -471,6 +471,17 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 471 | LOG_WARNING(Render_Vulkan, "ANV driver does not support native BGR format"); | 471 | LOG_WARNING(Render_Vulkan, "ANV driver does not support native BGR format"); |
| 472 | must_emulate_bgr565 = true; | 472 | must_emulate_bgr565 = true; |
| 473 | } | 473 | } |
| 474 | if (extensions.push_descriptor && is_intel_anv) { | ||
| 475 | const u32 version = (properties.properties.driverVersion << 3) >> 3; | ||
| 476 | if (version >= VK_MAKE_API_VERSION(0, 22, 3, 0)) { | ||
| 477 | // Disable VK_KHR_push_descriptor due to | ||
| 478 | // mesa/mesa/-/commit/ff91c5ca42bc80aa411cb3fd8f550aa6fdd16bdc | ||
| 479 | LOG_WARNING(Render_Vulkan, | ||
| 480 | "ANV drivers 22.3.0 and later have broken VK_KHR_push_descriptor"); | ||
| 481 | extensions.push_descriptor = false; | ||
| 482 | loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME); | ||
| 483 | } | ||
| 484 | } | ||
| 474 | if (is_mvk) { | 485 | if (is_mvk) { |
| 475 | LOG_WARNING(Render_Vulkan, | 486 | LOG_WARNING(Render_Vulkan, |
| 476 | "MVK driver breaks when using more than 16 vertex attributes/bindings"); | 487 | "MVK driver breaks when using more than 16 vertex attributes/bindings"); |