mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 17:38:09 +02:00
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: <mesa-stable@lists.freedesktop.org> See-Also:63525ba7"android: enable VK_ANDROID_native_buffer" Reviewed-by: Tapani Pälli <tapani.palli@intel.com> (cherry picked from commit8e403bc959)
This commit is contained in:
parent
e536024346
commit
0ecf5dcedc
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue