include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)
+# ---------------------------------------
+# Build libmesa_isl_gen11
+# ---------------------------------------
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libmesa_isl_gen11
+
+LOCAL_SRC_FILES := $(ISL_GEN11_FILES)
+
+LOCAL_CFLAGS := -DGEN_VERSIONx10=110
+
+LOCAL_C_INCLUDES := $(LIBISL_GENX_COMMON_INCLUDES)
+
+LOCAL_WHOLE_STATIC_LIBRARIES := libmesa_genxml
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)
+
# ---------------------------------------
# Build libmesa_isl
# ---------------------------------------
libmesa_isl_gen8 \
libmesa_isl_gen9 \
libmesa_isl_gen10 \
+ libmesa_isl_gen11 \
libmesa_genxml
# Autogenerated sources
isl/libisl-gen8.la \
isl/libisl-gen9.la \
isl/libisl-gen10.la \
+ isl/libisl-gen11.la \
$(NULL)
noinst_LTLIBRARIES += $(ISL_GEN_LIBS) isl/libisl.la
isl_libisl_gen10_la_SOURCES = $(ISL_GEN10_FILES)
isl_libisl_gen10_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=100
+isl_libisl_gen11_la_SOURCES = $(ISL_GEN11_FILES)
+isl_libisl_gen11_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=110
+
BUILT_SOURCES += $(ISL_GENERATED_FILES)
isl/isl_format_layout.c: isl/gen_format_layout.py \
isl/isl_emit_depth_stencil.c \
isl/isl_surface_state.c
+ISL_GEN11_FILES = \
+ isl/isl_emit_depth_stencil.c \
+ isl/isl_surface_state.c
+
ISL_GENERATED_FILES = \
isl/isl_format_layout.c
case 10: \
isl_gen10_##func(__VA_ARGS__); \
break; \
+ case 11: \
+ isl_gen11_##func(__VA_ARGS__); \
+ break; \
default: \
assert(!"Unknown hardware generation"); \
}
# define genX(x) gen10_##x
# include "isl_genX_priv.h"
# undef genX
+# define genX(x) gen11_##x
+# include "isl_genX_priv.h"
+# undef genX
#endif
#endif /* ISL_PRIV_H */
isl_gen_libs = []
foreach g : [['40', isl_gen4_files], ['50', []], ['60', isl_gen6_files],
['70', isl_gen7_files], ['75', []], ['80', isl_gen8_files],
- ['90', isl_gen9_files], ['100', []]]
+ ['90', isl_gen9_files], ['100', []], ['110', []]]
_gen = g[0]
isl_gen_libs += static_library(
'libisl_gen@0@'.format(_gen),