diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/vulkan/vk_icd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h index dce9b745..fa110f4f 100644 --- a/include/vulkan/vk_icd.h +++ b/include/vulkan/vk_icd.h @@ -26,6 +26,12 @@ #include "vulkan.h" /* + * Loader-ICD version negotiation API + */ +#define CURRENT_LOADER_ICD_INTERFACE_VERSION 2 +#define MIN_SUPPORTED_LOADER_ICD_INTERFACE_VERSION 0 +typedef VkResult (VKAPI_PTR *PFN_vkNegotiateLoaderICDInterfaceVersion)(uint32_t *pVersion); +/* * The ICD must reserve space for a pointer for the loader's dispatch * table, at the start of <each object>. * The ICD must initialize this variable using the SET_LOADER_MAGIC_VALUE macro. |
