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 ee2215df1d1ec31ebf2c0acc52d77314e41cb9cc..31273af36c00cf2cf8b6157e5587f7d101113f5d 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 3136a1b250d540b133a45f271b05b17f9bad210c..a877ff273dc29381d017c57036e7deb84b201045 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 878abf3f7d3151ccf6176f83290f8bffd7978a6c..8fe857efe145cfbdf2e5d9f83e6078850029b81e 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 762aefc5542c2e7ce96333e5667ccbbd2f05d4bb..c29cc594c8ef4bcc9d4ac4c6bcd22631b6eb8fe9 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 f199235be6b32d97a86b36488956da76da007fc0..1e656eb65a49705aa78e46228663cb496de2708f 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