[Mesa-dev] [RFC 3/5] anv: add a note about strange looking define
Emil Velikov
emil.l.velikov at gmail.com
Thu Apr 21 12:24:45 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
Leaning that gets us into a similar broken ABI state as with libGL. Not
100% sure though.
---
src/intel/vulkan/anv_private.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 120696e..3eb0475 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -53,6 +53,9 @@ typedef struct xcb_connection_t xcb_connection_t;
typedef uint32_t xcb_visualid_t;
typedef uint32_t xcb_window_t;
+/* XXX: We shold not need this define. Additionally adding it here, breaks
+ * the libvulkan ABI in a similar way the libGL is.
+ */
#define VK_PROTOTYPES
#include <vulkan/vulkan.h>
#include <vulkan/vulkan_intel.h>
--
2.8.0
More information about the mesa-dev
mailing list