summaryrefslogtreecommitdiff
path: root/include
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
commit3cc02e191b679cd2417f95a92b701cd6690f11c4 (patch)
tree0f5c4ac09921d1b7a1e6fa38606aeaee2b50d166 /include
parent5ce9cedd1809b095fa0cac22c2eea4f65c2456aa (diff)
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 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