summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2018-06-27 19:40:44 -0700
committerChad Versace <[email protected]>2018-07-11 11:09:16 -0700
commit8e403bc959dee007cad58742147fa118202ccb03 (patch)
treeca0f3604c49f060f18a60eb0c4489eb59e146313 /src/intel
parent4a67ce886a7b3def5f66c1aedf9e5436d157a03c (diff)
anv/android: Fix Autotools build for VK_ANDROID_native_buffer
Changes to vk.xml and anv_entrypoints_gen.py broke the Autotools build on Android. The changes undef'd the VK_ANDROID_native_buffer entrypoints in anv_entrypoints.h. Fix it with CPPFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR. CC: <[email protected]> See-Also: 63525ba7 "android: enable VK_ANDROID_native_buffer" Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/Makefile.vulkan.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 4a80c3ae412..9555d98095b 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -164,7 +164,10 @@ VULKAN_LIB_DEPS = \
-lm
if HAVE_PLATFORM_ANDROID
-VULKAN_CPPFLAGS += $(ANDROID_CPPFLAGS)
+VULKAN_CPPFLAGS += \
+ $(ANDROID_CPPFLAGS) \
+ -DVK_USE_PLATFORM_ANDROID_KHR
+
VULKAN_CFLAGS += $(ANDROID_CFLAGS)
VULKAN_LIB_DEPS += $(ANDROID_LIBS)
VULKAN_SOURCES += $(VULKAN_ANDROID_FILES)