1/* 2 * Copyright 2019 Google LLC 3 * SPDX-License-Identifier: MIT 4 * 5 * based in part on anv and radv which are: 6 * Copyright © 2015 Intel Corporation 7 * Copyright © 2016 Red Hat. 8 * Copyright © 2016 Bas Nieuwenhuizen 9 */ 10 11#ifndef VN_ICD_H 12#define VN_ICD_H 13 14#include "vn_common.h" 15 16PUBLIC 17VKAPI_ATTR VkResult VKAPI_CALL 18vk_icdNegotiateLoaderICDInterfaceVersion(uint32_t *pSupportedVersion); 19 20PUBLIC 21VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL 22vk_icdGetInstanceProcAddr(VkInstance instance, const char *pName); 23 24PUBLIC 25VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL 26vk_icdGetPhysicalDeviceProcAddr(VkInstance instance, const char *pName); 27 28bool 29vn_icd_supports_api_version(uint32_t api_version); 30 31#endif /* VN_ICD_H */ 32