anv: Stop linking against libmesa.la and libdri_test_stubs.la
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 May 2016 01:20:40 +0000 (18:20 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 May 2016 21:13:38 +0000 (14:13 -0700)
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>
src/intel/vulkan/Makefile.am
src/intel/vulkan/TODO

index 662d72051a531600d2657d68721b46d5c71e6881..8c6ce18144c4e8438f4de2b6e69bdc9ccd5d033e 100644 (file)
@@ -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) \
index 197bf0c8efc4c9119950f5928cd14cb98ecac332..8fac37041066f6670aff13db20461c39a57b8753 100644 (file)
@@ -30,5 +30,4 @@ Performance:
  - Use soft-pin to avoid relocations
 
 Cleanups:
- - Drop libmesa.la
  - Deduplicate gen7 and gen8