summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/driver.cpp
diff options
context:
space:
mode:
author Xin Li <delphij@google.com> 2019-07-09 15:15:55 -0700
committer Xin Li <delphij@google.com> 2019-07-09 15:15:55 -0700
commit4d90373273263e55e48a2ddab2e89a047ae49412 (patch)
treef5aa60c6e1a97dbef2b22e0267f70e0f564a588a /vulkan/libvulkan/driver.cpp
parent8add7a99c4c909fbd7acde9e26ae5aa1a8c61872 (diff)
parent6431a9bc8f0243205fa09fa316f84bdfe13858c4 (diff)
DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
Bug: 136196576 Change-Id: Id1667c08d51f9bc0e8095f97944e35c8082e9bec
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 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;
}
}