diff options
| author | Mark Young <marky@lunarg.com> | 2017-03-29 13:39:27 -0600 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2017-04-07 09:08:22 -0600 |
| commit | 8e04c6f0054eccf28f26245255eb05685a7c11ba (patch) | |
| tree | 92417c191eaedaef7bf735555444b3aafd937a95 /include/vulkan | |
| parent | 10b04f3da9a9282428b6532667ea88256cfb6060 (diff) | |
| download | usermoji-8e04c6f0054eccf28f26245255eb05685a7c11ba.tar.xz | |
loader: Fix loader and layer negotiation
Resolve missing struct sType as well as extern of
vkNegotiateLoaderAndLayerInterface as a C function. Finally,
bump up the JSON file version so it looks for the negotiate
function.
Change-Id: I7fd4784fce6cbd0c303f7b2bb354542e4b16b1df
Diffstat (limited to 'include/vulkan')
| -rw-r--r-- | include/vulkan/vk_layer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index 4a502a33..5458ff2b 100644 --- a/include/vulkan/vk_layer.h +++ b/include/vulkan/vk_layer.h @@ -132,3 +132,12 @@ typedef struct { } u; } VkLayerDeviceCreateInfo; +#ifdef __cplusplus +extern "C" { +#endif + +VKAPI_ATTR VkResult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct); + +#ifdef __cplusplus +} +#endif |
