diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-04-25 22:45:47 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-04-25 22:45:47 +0000 |
commit | ef211707c61f0aaa5017b4155074a865ed1ecda8 (patch) | |
tree | d8e4d0589f92f3eee06f2be32023b90b67d31e37 | |
parent | 181e024f3dc312c2666b07c544d58c128976d7e4 (diff) | |
parent | ee6e379e19211e59cbf5587a75eb4187e2c31a0c (diff) | |
download | native-ef211707c61f0aaa5017b4155074a865ed1ecda8.tar.gz |
Merge "[RESTRICT AUTOMERGE] libvulkan: drop the advertised swapchain spec version to 68"
-rw-r--r-- | vulkan/libvulkan/driver.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp index fdbd969d66..b494bcafec 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; } } |