mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
radv: Fix missing Android platform define.
CC: <mesa-stable@lists.freedesktop.org> Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
13b9d32fb1
commit
bf33ca7512
2 changed files with 3 additions and 1 deletions
|
|
@ -62,6 +62,7 @@ LOCAL_SRC_FILES := \
|
|||
$(VULKAN_FILES)
|
||||
|
||||
LOCAL_CFLAGS += -DFORCE_BUILD_AMDGPU # instructs LLVM to declare LLVMInitializeAMDGPU* functions
|
||||
LOCAL_CFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR
|
||||
|
||||
$(call mesa-build-with-llvm)
|
||||
|
||||
|
|
@ -140,6 +141,7 @@ LOCAL_SRC_FILES := \
|
|||
$(VULKAN_ANDROID_FILES)
|
||||
|
||||
LOCAL_CFLAGS += -DFORCE_BUILD_AMDGPU # instructs LLVM to declare LLVMInitializeAMDGPU* functions
|
||||
LOCAL_CFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR
|
||||
|
||||
$(call mesa-build-with-llvm)
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ VULKAN_LIB_DEPS += \
|
|||
endif
|
||||
|
||||
if HAVE_PLATFORM_ANDROID
|
||||
AM_CPPFLAGS += $(ANDROID_CPPFLAGS)
|
||||
AM_CPPFLAGS += $(ANDROID_CPPFLAGS) -DVK_USE_PLATFORM_ANDROID_KHR
|
||||
AM_CFLAGS += $(ANDROID_CFLAGS)
|
||||
VULKAN_LIB_DEPS += $(ANDROID_LIBS)
|
||||
VULKAN_SOURCES += $(VULKAN_ANDROID_FILES)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue