From fcfe1f863ffcbf5485834e083804ea4a073d513e Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 9 Aug 2022 02:44:32 +0300 Subject: [PATCH] Android.mk: try enable neon gpu for arm64 Android too --- jni/Android.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jni/Android.mk b/jni/Android.mk index d8a01093..682e407b 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -185,6 +185,11 @@ else ifeq ($(TARGET_ARCH_ABI),armeabi) SOURCES_ASM += $(UNAI_DIR)/gpu_arm.S \ $(FRONTEND_DIR)/cspace_arm.S SOURCES_C += $(UNAI_DIR)/gpulib_if.cpp +else ifeq ($(TARGET_ARCH_ABI),arm64-v8a) + COREFLAGS += -DNEON_BUILD -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP + COREFLAGS += -DGPU_NEON -DSIMD_BUILD + SOURCES_C += $(NEON_DIR)/psx_gpu_if.c \ + $(NEON_DIR)/psx_gpu/psx_gpu_simd.c else COREFLAGS += -fno-strict-aliasing -DGPU_PEOPS SOURCES_C += $(PEOPS_DIR)/gpulib_if.c -- 2.39.5