aboutsummaryrefslogtreecommitdiff
path: root/include/vulkan
diff options
context:
space:
mode:
authorMark Young <marky@lunarg.com>2017-03-29 13:39:27 -0600
committerMark Young <marky@lunarg.com>2017-04-07 09:08:22 -0600
commit8e04c6f0054eccf28f26245255eb05685a7c11ba (patch)
tree92417c191eaedaef7bf735555444b3aafd937a95 /include/vulkan
parent10b04f3da9a9282428b6532667ea88256cfb6060 (diff)
downloadusermoji-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.h9
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