summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-05-23 01:53:20 +0200
committerLiam <byteslice@airmail.cc>2023-05-23 01:53:20 +0200
commit8bba9f7deaa78c523fbf12a1b10f4428436479ec (patch)
treea3ebbfe8f41dc1d5b199f79911f3966104fec01c /src
parentMerge pull request #10386 from german77/high (diff)
downloadyuzu-8bba9f7deaa78c523fbf12a1b10f4428436479ec.tar
yuzu-8bba9f7deaa78c523fbf12a1b10f4428436479ec.tar.gz
yuzu-8bba9f7deaa78c523fbf12a1b10f4428436479ec.tar.bz2
yuzu-8bba9f7deaa78c523fbf12a1b10f4428436479ec.tar.lz
yuzu-8bba9f7deaa78c523fbf12a1b10f4428436479ec.tar.xz
yuzu-8bba9f7deaa78c523fbf12a1b10f4428436479ec.tar.zst
yuzu-8bba9f7deaa78c523fbf12a1b10f4428436479ec.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index f6e6f2736..c03f4a56b 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -473,11 +473,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
}
if (extensions.push_descriptor && is_intel_anv) {
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
// mesa/mesa/-/commit/ff91c5ca42bc80aa411cb3fd8f550aa6fdd16bdc
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;
loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
}