aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLenny Komow <[email protected]>2018-06-25 13:59:47 -0600
committerLenny Komow <[email protected]>2018-07-06 11:03:23 -0600
commit396f82798a4d19b57fc9933490dc1bd7624c9bbb (patch)
treefe0efc4d0ab688f15a8d3e0acae1c7ac9db5e165
parent1ebb2c0f7d5911a027a7fcbfe15164caac77e2f8 (diff)
downloadVulkan-Headers-396f82798a4d19b57fc9933490dc1bd7624c9bbb.tar.gz
Vulkan-Headers-396f82798a4d19b57fc9933490dc1bd7624c9bbb.zip
headers: Remove loader/layer dependency
The header vk_layer.h included vk_layer_dispatch_table.h, which is not present in this repo. Instead, it had to be generated from either the Vulkan-Loader or Vulkan-ValidationLayers repo. This change removes that dependency.
-rw-r--r--include/vulkan/vk_layer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h
index e8300c3..823c88a 100644
--- a/include/vulkan/vk_layer.h
+++ b/include/vulkan/vk_layer.h
@@ -35,9 +35,6 @@
#define VK_LAYER_EXPORT
#endif
-// Definition for VkLayerDispatchTable and VkLayerInstanceDispatchTable now appear in externally generated header
-#include "vk_layer_dispatch_table.h"
-
#define MAX_NUM_UNKNOWN_EXTS 250
// Loader-Layer version negotiation API. Versions add the following features:
@@ -50,6 +47,9 @@
#define VK_CURRENT_CHAIN_VERSION 1
+// Typedef for use in the interfaces below
+typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const char* pName);
+
// Version negotiation values
typedef enum VkNegotiateLayerStructType {
LAYER_NEGOTIATE_UNINTIALIZED = 0,