aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/Makefile.am
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-17 07:07:02 -0800
committerJason Ekstrand <[email protected]>2015-11-17 12:14:24 -0800
commitf0390bcad6b5e1f1e94bbf762ccc98bf499c022b (patch)
tree6275d5a904ab73661a3e3a627c7f75fed2d3f8b9 /src/vulkan/Makefile.am
parent45320f677bb7d60fd301273d182ad0823d633137 (diff)
anv: Add initial Haswell support
Diffstat (limited to 'src/vulkan/Makefile.am')
-rw-r--r--src/vulkan/Makefile.am24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am
index 6e4de53b2d0..c484f2d92d6 100644
--- a/src/vulkan/Makefile.am
+++ b/src/vulkan/Makefile.am
@@ -34,6 +34,12 @@ lib_LTLIBRARIES = libvulkan.la
check_LTLIBRARIES = libvulkan-test.la
+PER_GEN_LIBS = \
+ libanv-gen7.la \
+ libanv-gen75.la
+
+noinst_LTLIBRARIES = $(PER_GEN_LIBS)
+
# The gallium includes are for the util/u_math.h include from main/macros.h
AM_CPPFLAGS = \
@@ -81,9 +87,6 @@ VULKAN_SOURCES = \
gen8_state.c \
gen8_cmd_buffer.c \
gen8_pipeline.c \
- gen7_state.c \
- gen7_cmd_buffer.c \
- gen7_pipeline.c \
isl.c \
isl_format_layout.c
@@ -92,6 +95,18 @@ BUILT_SOURCES = \
anv_entrypoints.c \
isl_format_layout.c
+libanv_gen7_la_SOURCES = \
+ gen7_cmd_buffer.c \
+ gen7_pipeline.c \
+ gen7_state.c
+libanv_gen7_la_CFLAGS = $(libvulkan_la_CFLAGS) -DANV_GENx10=70
+
+libanv_gen75_la_SOURCES = \
+ gen7_cmd_buffer.c \
+ gen7_pipeline.c \
+ gen7_state.c
+libanv_gen75_la_CFLAGS = $(libvulkan_la_CFLAGS) -DANV_GENx10=75
+
if HAVE_EGL_PLATFORM_WAYLAND
BUILT_SOURCES += \
wayland-drm-protocol.c \
@@ -131,7 +146,8 @@ libvulkan_la_LIBADD = $(WAYLAND_LIBS) -lxcb -lxcb-dri3 \
$(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la \
../mesa/libmesa.la \
../mesa/drivers/dri/common/libdri_test_stubs.la \
- -lpthread -ldl -lstdc++
+ -lpthread -ldl -lstdc++ \
+ $(PER_GEN_LIBS)
# Libvulkan with dummy gem. Used for unit tests.