[Mesa-dev] [PATCH 3/3] vc4: Enable Neon on arm builds

Rob Herring robh at kernel.org
Mon Jan 30 22:54:53 UTC 2017


Signed-off-by: Rob Herring <robh at kernel.org>
---
 src/gallium/drivers/vc4/Android.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/vc4/Android.mk b/src/gallium/drivers/vc4/Android.mk
index de9d5e3f5b3c..fdc06744e5ab 100644
--- a/src/gallium/drivers/vc4/Android.mk
+++ b/src/gallium/drivers/vc4/Android.mk
@@ -25,6 +25,8 @@ include $(LOCAL_PATH)/Makefile.sources
 
 include $(CLEAR_VARS)
 
+LOCAL_CFLAGS_arm := -DVC4_BUILD_NEON
+
 LOCAL_SRC_FILES := \
 	$(C_SOURCES)
 
-- 
2.10.1



More information about the mesa-dev mailing list