summaryrefslogtreecommitdiffstats
path: root/src/vulkan/Makefile.am
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-18 12:25:11 -0800
committerJason Ekstrand <[email protected]>2015-11-18 12:26:57 -0800
commit6f613abc2bf8fc3cf70c51a1d569bc4eb9dd18af (patch)
tree385449eaca9ed3158c582bd96b47a2ec5246197f /src/vulkan/Makefile.am
parentfb8b2f5f9e029fdaaf78cac4b7f72084c4ae4ea2 (diff)
anv/cmd_buffer: Add a new genX_cmd_buffer file for shared code
This file contains code that can be shared across gens modulo recompiling. In particular, we can share STATE_BASE_ADDRESS setup and handling of the vkPipelineBarrier call. Not sharing STATE_BASE_ADDRESS setup has already been a source of bugs and the gen7 and gen8 implementations of PipelineBarrier were line-for-line identical. Incidentally, this should fix MOCS settings for dynamic and surface state on Haswell.
Diffstat (limited to 'src/vulkan/Makefile.am')
-rw-r--r--src/vulkan/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am
index c484f2d92d6..e3825d711d1 100644
--- a/src/vulkan/Makefile.am
+++ b/src/vulkan/Makefile.am
@@ -36,7 +36,8 @@ check_LTLIBRARIES = libvulkan-test.la
PER_GEN_LIBS = \
libanv-gen7.la \
- libanv-gen75.la
+ libanv-gen75.la \
+ libanv-gen8.la
noinst_LTLIBRARIES = $(PER_GEN_LIBS)
@@ -96,17 +97,23 @@ BUILT_SOURCES = \
isl_format_layout.c
libanv_gen7_la_SOURCES = \
+ genX_cmd_buffer.c \
gen7_cmd_buffer.c \
gen7_pipeline.c \
gen7_state.c
libanv_gen7_la_CFLAGS = $(libvulkan_la_CFLAGS) -DANV_GENx10=70
libanv_gen75_la_SOURCES = \
+ genX_cmd_buffer.c \
gen7_cmd_buffer.c \
gen7_pipeline.c \
gen7_state.c
libanv_gen75_la_CFLAGS = $(libvulkan_la_CFLAGS) -DANV_GENx10=75
+libanv_gen8_la_SOURCES = \
+ genX_cmd_buffer.c
+libanv_gen8_la_CFLAGS = $(libvulkan_la_CFLAGS) -DANV_GENx10=80
+
if HAVE_EGL_PLATFORM_WAYLAND
BUILT_SOURCES += \
wayland-drm-protocol.c \