From: Jason Ekstrand Date: Thu, 26 May 2016 01:20:40 +0000 (-0700) Subject: anv: Stop linking against libmesa.la and libdri_test_stubs.la X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f0bc0f2b311f719090701a345428bd42bf79488;p=mesa.git 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 Reviewed-by: Kristian Høgsberg --- 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