summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/Makefile.am
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2012-10-27 11:07:34 -0500
committerRob Clark <robdclark@gmail.com>2013-03-11 21:53:24 -0400
commit6173cc19c45d92ef0b7bc6aa008aa89bb29abbda (patch)
tree50b2d2fca779e88ad8f143d08901dfb01fc36096 /src/gallium/targets/egl-static/Makefile.am
parent44a8e5135470fa51ae36b304f3c5286bf9cca259 (diff)
downloadexternal_mesa3d-6173cc19c45d92ef0b7bc6aa008aa89bb29abbda.zip
external_mesa3d-6173cc19c45d92ef0b7bc6aa008aa89bb29abbda.tar.gz
external_mesa3d-6173cc19c45d92ef0b7bc6aa008aa89bb29abbda.tar.bz2
freedreno: gallium driver for adreno
Currently works on a220. Others in the a2xx family look pretty similar and should be pretty straightforward to support with the same driver. The a3xx has a new shader ISA, and while many registers appear similar, the register addresses have been completely shuffled around. I am not sure yet whether it is best to support with the same driver, but different compiler, or whether it should be split into a different driver. v1: original v2: build file updates from review comments, and remove GPL licensed header files from msm kernel v3: smarter temp/pred register assignment, fix clear and depth/stencil format issues, resource_transfer fixes, scissor fixes Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'src/gallium/targets/egl-static/Makefile.am')
-rw-r--r--src/gallium/targets/egl-static/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
index 5c40ae8..31dbc79 100644
--- a/src/gallium/targets/egl-static/Makefile.am
+++ b/src/gallium/targets/egl-static/Makefile.am
@@ -191,6 +191,15 @@ egl_gallium_la_LIBADD += \
$(top_builddir)/src/gallium/drivers/svga/libsvga.la
endif
+if HAVE_GALLIUM_FREEDRENO
+AM_CPPFLAGS += -D_EGL_PIPE_FREEDRENO=1
+egl_gallium_la_LIBADD += \
+ $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \
+ $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \
+ $(FREEDRENO_LIBS)
+
+endif
+
if HAVE_GALLIUM_SOFTPIPE
AM_CPPFLAGS += -DGALLIUM_SOFTPIPE -DGALLIUM_RBUG -DGALLIUM_TRACE
egl_gallium_la_LIBADD += \