Module: Mesa
Branch: master
Commit: 7a3a0d921235712fa8d22f85552cc382a793ce95
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a3a0d921235712fa8d22f85552cc382a793ce95

Author: Emil Velikov <[email protected]>
Date:   Sat Jun  4 00:20:53 2016 +0100

anv: add the X related and Wayland CFLAGS to VULKAN_ENTRYPOINT_CPPFLAGS

Otherwise we will fail to find the headers in some scenarios.

Cc: <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reported-by: Tobias Klausmann <[email protected]>
Tested-by: Tobias Klausmann <[email protected]>
Reviewed-by: Tobias Klausmann <[email protected]>

---

 src/intel/vulkan/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
index 37c2986..3294fa4 100644
--- a/src/intel/vulkan/Makefile.am
+++ b/src/intel/vulkan/Makefile.am
@@ -125,6 +125,8 @@ nodist_EXTRA_libvulkan_intel_la_SOURCES = dummy.cpp
 libvulkan_intel_la_SOURCES = $(VULKAN_GEM_FILES)
 
 VULKAN_ENTRYPOINT_CPPFLAGS = \
+       $(XCB_DRI3_CFLAGS) \
+       $(WAYLAND_CFLAGS) \
        -DVK_USE_PLATFORM_XCB_KHR \
        -DVK_USE_PLATFORM_WAYLAND_KHR
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to