diff options
| author | Jon Ashburn <jon@lunarg.com> | 2016-04-25 11:09:37 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-04-25 11:16:41 -0600 |
| commit | 530fb897313a21b28feb6ae9fcf7d9272cb2c194 (patch) | |
| tree | e4a8eaa6e940fb7483819170b9bb98c92b797c22 /include/vulkan | |
| parent | 0b56da42cb4e238601a6bc06e3e124e3541baf85 (diff) | |
| download | usermoji-530fb897313a21b28feb6ae9fcf7d9272cb2c194.tar.xz | |
loader: ghlvl#180 Support a ICD interface version negotiation
Change-Id: I2e5c3717dd7fa86992f617bcc0f93de8ba60759e
Diffstat (limited to 'include/vulkan')
| -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. |
