i965/cnl: Wire up Mesa build files for gen10
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 11 May 2017 21:18:52 +0000 (14:18 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 9 Jun 2017 23:02:58 +0000 (16:02 -0700)
V2: Remove isl_gen10.c and isl_gen10.h

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/Makefile.isl.am
src/intel/Makefile.sources
src/intel/Makefile.vulkan.am
src/mesa/drivers/dri/i965/Makefile.am
src/mesa/drivers/dri/i965/Makefile.sources

index ee2215d..31273af 100644 (file)
@@ -27,6 +27,7 @@ ISL_GEN_LIBS =                                           \
        isl/libisl-gen75.la                              \
        isl/libisl-gen8.la                               \
        isl/libisl-gen9.la                               \
+       isl/libisl-gen10.la                              \
        $(NULL)
 
 noinst_LTLIBRARIES += $(ISL_GEN_LIBS) isl/libisl.la
@@ -55,6 +56,9 @@ isl_libisl_gen8_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=80
 isl_libisl_gen9_la_SOURCES = $(ISL_GEN9_FILES)
 isl_libisl_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90
 
+isl_libisl_gen10_la_SOURCES = $(ISL_GEN10_FILES)
+isl_libisl_gen10_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=100
+
 BUILT_SOURCES += $(ISL_GENERATED_FILES)
 
 isl/isl_format_layout.c: isl/gen_format_layout.py \
index 3136a1b..a877ff2 100644 (file)
@@ -125,7 +125,8 @@ GENXML_XML_FILES = \
        genxml/gen7.xml \
        genxml/gen75.xml \
        genxml/gen8.xml \
-       genxml/gen9.xml
+       genxml/gen9.xml \
+       genxml/gen10.xml
 
 GENXML_GENERATED_PACK_FILES = \
        genxml/gen4_pack.h \
@@ -135,7 +136,8 @@ GENXML_GENERATED_PACK_FILES = \
        genxml/gen7_pack.h \
        genxml/gen75_pack.h \
        genxml/gen8_pack.h \
-       genxml/gen9_pack.h
+       genxml/gen9_pack.h \
+       genxml/gen10_pack.h
 
 GENXML_GENERATED_FILES = \
        $(GENXML_GENERATED_PACK_FILES) \
@@ -187,6 +189,10 @@ ISL_GEN9_FILES = \
        isl/isl_emit_depth_stencil.c \
        isl/isl_surface_state.c
 
+ISL_GEN10_FILES = \
+       isl/isl_emit_depth_stencil.c \
+       isl/isl_surface_state.c
+
 ISL_GENERATED_FILES = \
        isl/isl_format_layout.c
 
index 878abf3..8fe857e 100644 (file)
@@ -72,7 +72,8 @@ VULKAN_PER_GEN_LIBS = \
        vulkan/libanv-gen7.la \
        vulkan/libanv-gen75.la \
        vulkan/libanv-gen8.la \
-       vulkan/libanv-gen9.la
+       vulkan/libanv-gen9.la \
+       vulkan/libanv-gen10.la
 
 noinst_LTLIBRARIES += $(VULKAN_PER_GEN_LIBS)
 
@@ -107,6 +108,10 @@ vulkan_libanv_gen9_la_CFLAGS = $(VULKAN_CFLAGS)
 vulkan_libanv_gen9_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=90
 vulkan_libanv_gen9_la_SOURCES = $(VULKAN_GEN9_FILES)
 
+vulkan_libanv_gen10_la_CFLAGS = $(VULKAN_CFLAGS)
+vulkan_libanv_gen10_la_CPPFLAGS = $(VULKAN_CPPFLAGS) -DGEN_VERSIONx10=100
+vulkan_libanv_gen10_la_SOURCES = $(VULKAN_GEN10_FILES)
+
 VULKAN_SOURCES = \
        $(VULKAN_GENERATED_FILES) \
        $(VULKAN_FILES)
index 762aefc..c29cc59 100644 (file)
@@ -53,7 +53,8 @@ I965_PERGEN_LIBS = \
        libi965_gen7.la \
        libi965_gen75.la \
        libi965_gen8.la \
-       libi965_gen9.la
+       libi965_gen9.la \
+       libi965_gen10.la
 
 libi965_gen4_la_SOURCES = $(i965_gen4_FILES)
 libi965_gen4_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=40
@@ -79,6 +80,9 @@ libi965_gen8_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=80
 libi965_gen9_la_SOURCES = $(i965_gen9_FILES)
 libi965_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90
 
+libi965_gen10_la_SOURCES = $(i965_gen10_FILES)
+libi965_gen10_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=100
+
 noinst_LTLIBRARIES = \
        libi965_dri.la \
        $(I965_PERGEN_LIBS)
index f199235..1e656eb 100644 (file)
@@ -155,6 +155,10 @@ i965_gen9_FILES = \
        genX_blorp_exec.c \
        genX_state_upload.c
 
+i965_gen10_FILES = \
+       genX_blorp_exec.c \
+       genX_state_upload.c
+
 i965_oa_GENERATED_FILES = \
        brw_oa_hsw.h \
        brw_oa_hsw.c