summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-28 13:36:41 -0800
committerJason Ekstrand <[email protected]>2016-01-29 20:37:45 -0800
commitd4953fb340d7f2c3410172e9898f7eaba71cc0f8 (patch)
treec1338469a460bf1aecd7e4b7fd94a1416a0e5ab1 /src
parenta19ceee46c553821332aca2ea0dff40fc83794b3 (diff)
vulkan: Import vk_icd.h
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/anv_private.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index c5ce1484bc2..211b83a3bab 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -57,6 +57,7 @@ typedef uint32_t xcb_window_t;
#define VK_PROTOTYPES
#include <vulkan/vulkan.h>
#include <vulkan/vulkan_intel.h>
+#include <vulkan/vk_icd.h>
#include "anv_entrypoints.h"
#include "anv_gen_macros.h"
@@ -77,13 +78,6 @@ extern "C" {
#define MAX_IMAGES 8
#define MAX_SAMPLES_LOG2 4 /* SKL supports 16 samples */
-#define ICD_LOADER_MAGIC 0x01CDC0DE
-
-typedef union _VK_LOADER_DATA {
- uintptr_t loaderMagic;
- void *loaderData;
-} VK_LOADER_DATA;
-
#define anv_noreturn __attribute__((__noreturn__))
#define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b)))