<div dir="ltr">Pushed. Thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 16, 2016 at 1:48 PM, Marcin Ślusarz <span dir="ltr"><<a href="mailto:marcin.slusarz@gmail.com" target="_blank">marcin.slusarz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
---<br>
src/intel/vulkan/Makefile.am | 9 +++++----<br>
src/intel/vulkan/anv_private.h | 3 ---<br>
2 files changed, 5 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am<br>
index cba6671..a201bed 100644<br>
--- a/src/intel/vulkan/Makefile.am<br>
+++ b/src/intel/vulkan/Makefile.am<br>
@@ -31,8 +31,7 @@ vulkan_include_HEADERS = \<br>
# Used when generating entrypoints to filter out unwanted extensions<br>
VULKAN_ENTRYPOINT_CPPFLAGS = \<br>
-I$(top_srcdir)/include/vulkan \<br>
- -DVK_USE_PLATFORM_XCB_KHR \<br>
- -DVK_USE_PLATFORM_WAYLAND_KHR<br>
+ -DVK_USE_PLATFORM_XCB_KHR<br>
<br>
lib_LTLIBRARIES = <a href="http://libvulkan_intel.la" rel="noreferrer" target="_blank">libvulkan_intel.la</a><br>
<br>
@@ -67,7 +66,7 @@ AM_CPPFLAGS = \<br>
-I$(top_builddir)/src/compiler/nir \<br>
-I$(top_builddir)/src/intel<br>
<br>
-libvulkan_intel_la_CFLAGS = $(CFLAGS) -Wno-override-init<br>
+libvulkan_intel_la_CFLAGS = $(CFLAGS) -DVK_USE_PLATFORM_XCB_KHR -Wno-override-init<br>
<br>
VULKAN_SOURCES = \<br>
anv_allocator.c \<br>
@@ -150,7 +149,9 @@ AM_CPPFLAGS += -I$(top_srcdir)/src/egl/wayland/wayland-drm<br>
VULKAN_SOURCES += \<br>
wayland-drm-protocol.c \<br>
anv_wsi_wayland.c<br>
-libvulkan_intel_la_CFLAGS += -DHAVE_WAYLAND_PLATFORM<br>
+libvulkan_intel_la_CFLAGS += -DHAVE_WAYLAND_PLATFORM -DVK_USE_PLATFORM_WAYLAND_KHR<br>
+<br>
+VULKAN_ENTRYPOINT_CPPFLAGS += -DVK_USE_PLATFORM_WAYLAND_KHR<br>
endif<br>
<br>
libvulkan_intel_la_SOURCES = \<br>
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h<br>
index ae2e08d..2840f98 100644<br>
--- a/src/intel/vulkan/anv_private.h<br>
+++ b/src/intel/vulkan/anv_private.h<br>
@@ -52,9 +52,6 @@ typedef struct xcb_connection_t xcb_connection_t;<br>
typedef uint32_t xcb_visualid_t;<br>
typedef uint32_t xcb_window_t;<br>
<br>
-#define VK_USE_PLATFORM_XCB_KHR<br>
-#define VK_USE_PLATFORM_WAYLAND_KHR<br>
-<br>
#define VK_PROTOTYPES<br>
#include <vulkan/vulkan.h><br>
#include <vulkan/vulkan_intel.h><br>
<span class="HOEnZb"><font color="#888888">--<br>
2.5.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>