summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/driver.cpp
diff options
context:
space:
mode:
author android-build-team Robot <android-build-team-robot@google.com> 2019-07-08 18:32:16 +0000
committer android-build-team Robot <android-build-team-robot@google.com> 2019-07-08 18:32:16 +0000
commitd3f04ec40b7ce2365e3f1c8af7bab3aad691e7e7 (patch)
tree335e6a02646469572ab47866475e27830bf2aed5 /vulkan/libvulkan/driver.cpp
parent9e7f3806dd90dc90057bc1f13c550d2638fe7985 (diff)
parent42a149d853a6af9b6a04ef00ba644319a4c13ead (diff)
Snap for 5600800 from 42a149d853a6af9b6a04ef00ba644319a4c13ead to pi-platform-release
Change-Id: Ie2109a1040d23bddd1a42022c66b5a6291749fe6
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
-rw-r--r--vulkan/libvulkan/driver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp
index 56bc35ec70..19d0146dc9 100644
--- a/vulkan/libvulkan/driver.cpp
+++ b/vulkan/libvulkan/driver.cpp
@@ -945,7 +945,9 @@ VkResult EnumerateDeviceExtensionProperties(
memcpy(prop.extensionName, VK_KHR_SWAPCHAIN_EXTENSION_NAME,
sizeof(VK_KHR_SWAPCHAIN_EXTENSION_NAME));
- prop.specVersion = VK_KHR_SWAPCHAIN_SPEC_VERSION;
+ // b/130182551 VK_KHR_SWAPCHAIN_SPEC_VERSION > 68 has structs the
+ // loader doesn't handle properly. So drop the spec version to 68.
+ prop.specVersion = 68;
}
}