Commit b2841fe2 by Hernan Liatis

Update ICD version to 3.0

Needed to call VkCreateXXXSurfaceKHR() functions, where XXX is the platform name. Bug: b/125405086 Change-Id: Id0de2ee02bd3b7d5b37eda202fb26e4ad3265bf3 Reviewed-on: https://swiftshader-review.googlesource.com/c/25208 Kokoro-Presubmit: Hernan Liatis <hliatis@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com> Tested-by: 's avatarHernan Liatis <hliatis@google.com>
parent 3fc635ac
...@@ -54,6 +54,12 @@ VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr(VkInstance in ...@@ -54,6 +54,12 @@ VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr(VkInstance in
return vk::GetInstanceProcAddr(instance, pName); return vk::GetInstanceProcAddr(instance, pName);
} }
VKAPI_ATTR VkResult VKAPI_CALL vk_icdNegotiateLoaderICDInterfaceVersion(uint32_t* pSupportedVersion)
{
*pSupportedVersion = 3;
return VK_SUCCESS;
}
static const VkExtensionProperties instanceExtensionProperties[] = static const VkExtensionProperties instanceExtensionProperties[] =
{ {
{ VK_KHR_DEVICE_GROUP_CREATION_EXTENSION_NAME, VK_KHR_DEVICE_GROUP_CREATION_SPEC_VERSION }, { VK_KHR_DEVICE_GROUP_CREATION_EXTENSION_NAME, VK_KHR_DEVICE_GROUP_CREATION_SPEC_VERSION },
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
global: global:
# Loader-ICD interface functions # Loader-ICD interface functions
vk_icdGetInstanceProcAddr; vk_icdGetInstanceProcAddr;
vk_icdNegotiateLoaderICDInterfaceVersion;
# Type-strings and type-infos required by sanitizers # Type-strings and type-infos required by sanitizers
_ZTS*; _ZTS*;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment