From 9f0bc0f2b311f719090701a345428bd42bf79488 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 25 May 2016 18:20:40 -0700 Subject: [PATCH] anv: Stop linking against libmesa.la and libdri_test_stubs.la MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/intel/vulkan/Makefile.am | 6 +++--- src/intel/vulkan/TODO | 1 - 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 -- 2.30.2