aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMark Young <[email protected]>2017-03-29 13:39:27 -0600
committerMark Lobodzinski <[email protected]>2018-05-04 09:24:25 -0600
commit5f3d8fa4eafdd56871596ab213908a5d61f58790 (patch)
treefa3320da6266321f20768948e1829c5592a1763a /include
parentd1a417f036cb9f016cbd58ee6a6569ce37a57af3 (diff)
downloadVulkan-Headers-5f3d8fa4eafdd56871596ab213908a5d61f58790.tar.gz
Vulkan-Headers-5f3d8fa4eafdd56871596ab213908a5d61f58790.zip
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')
-rw-r--r--include/vulkan/vk_layer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h
index 4a502a3..5458ff2 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