• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
16 PUBLIC
17 VKAPI_ATTR VkResult VKAPI_CALL
18 vk_icdNegotiateLoaderICDInterfaceVersion(uint32_t *pSupportedVersion);
19 
20 PUBLIC
21 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
22 vk_icdGetInstanceProcAddr(VkInstance instance, const char *pName);
23 
24 PUBLIC
25 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
26 vk_icdGetPhysicalDeviceProcAddr(VkInstance instance, const char *pName);
27 
28 bool
29 vn_icd_supports_api_version(uint32_t api_version);
30 
31 #endif /* VN_ICD_H */
32