summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-05-25 18:20:40 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-05-26 14:13:38 -0700
commit9f0bc0f2b311f719090701a345428bd42bf79488 (patch)
tree6b36021b60eb3eb26e3c50618ec1fb491311464f
parent057259655e79f6adfa79b71b0ee181dcae5454de (diff)
anv: Stop linking against libmesa.la and libdri_test_stubs.la
This brings the final size of an optimized non-debug build of the Vulkan driver down to 2.9 MB as opposed to 8.7 MB for the dri driver. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
-rw-r--r--src/intel/vulkan/Makefile.am6
-rw-r--r--src/intel/vulkan/TODO1
2 files changed, 3 insertions, 4 deletions
diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
index 662d72051a5..8c6ce18144c 100644
--- a/src/intel/vulkan/Makefile.am
+++ b/src/intel/vulkan/Makefile.am
@@ -112,10 +112,10 @@ libvulkan_common_la_SOURCES = $(VULKAN_SOURCES)
VULKAN_LIB_DEPS += \
libvulkan_common.la \
- $(top_builddir)/src/intel/isl/libisl.la \
$(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la \
- $(top_builddir)/src/mesa/libmesa.la \
- $(top_builddir)/src/mesa/drivers/dri/common/libdri_test_stubs.la \
+ $(top_builddir)/src/compiler/nir/libnir.la \
+ $(top_builddir)/src/util/libmesautil.la \
+ $(top_builddir)/src/intel/isl/libisl.la \
$(PER_GEN_LIBS) \
$(PTHREAD_LIBS) \
$(DLOPEN_LIBS) \
diff --git a/src/intel/vulkan/TODO b/src/intel/vulkan/TODO
index 197bf0c8efc..8fac3704106 100644
--- a/src/intel/vulkan/TODO
+++ b/src/intel/vulkan/TODO
@@ -30,5 +30,4 @@ Performance:
- Use soft-pin to avoid relocations
Cleanups:
- - Drop libmesa.la
- Deduplicate gen7 and gen8