From 9a999ceab8ce092543d6e1dfb965098418573ba7 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 8 Jun 2016 11:29:15 -0700 Subject: genxml: Add enough XML for gens 4, 4.5, and 5 to get SURFACE_STATE Signed-off-by: Jason Ekstrand Acked-by: Chad Versace --- src/intel/genxml/Android.mk | 15 +++++++++++ src/intel/genxml/Makefile.am | 3 +++ src/intel/genxml/Makefile.sources | 3 +++ src/intel/genxml/gen4.xml | 52 ++++++++++++++++++++++++++++++++++++ src/intel/genxml/gen45.xml | 56 +++++++++++++++++++++++++++++++++++++++ src/intel/genxml/gen5.xml | 56 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 185 insertions(+) create mode 100644 src/intel/genxml/gen4.xml create mode 100644 src/intel/genxml/gen45.xml create mode 100644 src/intel/genxml/gen5.xml diff --git a/src/intel/genxml/Android.mk b/src/intel/genxml/Android.mk index e5b7597977a..39b5e2cb356 100644 --- a/src/intel/genxml/Android.mk +++ b/src/intel/genxml/Android.mk @@ -49,6 +49,21 @@ define header-gen $(hide) $(PRIVATE_SCRIPT) $(PRIVATE_XML) > $@ endef +$(intermediates)/genxml/gen4_pack.h: PRIVATE_SCRIPT := $(MESA_PYTHON2) $(LOCAL_PATH)/gen_pack_header.py +$(intermediates)/genxml/gen4_pack.h: PRIVATE_XML := $(LOCAL_PATH)/gen4.xml +$(intermediates)/genxml/gen4_pack.h: $(LOCAL_PATH)/gen4.xml $(LOCAL_PATH)/gen_pack_header.py + $(call header-gen) + +$(intermediates)/genxml/gen45_pack.h: PRIVATE_SCRIPT := $(MESA_PYTHON2) $(LOCAL_PATH)/gen_pack_header.py +$(intermediates)/genxml/gen45_pack.h: PRIVATE_XML := $(LOCAL_PATH)/gen45.xml +$(intermediates)/genxml/gen45_pack.h: $(LOCAL_PATH)/gen45.xml $(LOCAL_PATH)/gen_pack_header.py + $(call header-gen) + +$(intermediates)/genxml/gen5_pack.h: PRIVATE_SCRIPT := $(MESA_PYTHON2) $(LOCAL_PATH)/gen_pack_header.py +$(intermediates)/genxml/gen5_pack.h: PRIVATE_XML := $(LOCAL_PATH)/gen5.xml +$(intermediates)/genxml/gen5_pack.h: $(LOCAL_PATH)/gen5.xml $(LOCAL_PATH)/gen_pack_header.py + $(call header-gen) + $(intermediates)/genxml/gen6_pack.h: PRIVATE_SCRIPT := $(MESA_PYTHON2) $(LOCAL_PATH)/gen_pack_header.py $(intermediates)/genxml/gen6_pack.h: PRIVATE_XML := $(LOCAL_PATH)/gen6.xml $(intermediates)/genxml/gen6_pack.h: $(LOCAL_PATH)/gen6.xml $(LOCAL_PATH)/gen_pack_header.py diff --git a/src/intel/genxml/Makefile.am b/src/intel/genxml/Makefile.am index d6c1c5b5124..95c1ff9a508 100644 --- a/src/intel/genxml/Makefile.am +++ b/src/intel/genxml/Makefile.am @@ -35,6 +35,9 @@ $(BUILT_SOURCES): gen_pack_header.py CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = \ + gen4.xml \ + gen45.xml \ + gen5.xml \ gen6.xml \ gen7.xml \ gen75.xml \ diff --git a/src/intel/genxml/Makefile.sources b/src/intel/genxml/Makefile.sources index 9298b4a3bf0..86c0bbe2bc0 100644 --- a/src/intel/genxml/Makefile.sources +++ b/src/intel/genxml/Makefile.sources @@ -1,4 +1,7 @@ GENXML_GENERATED_FILES = \ + gen4_pack.h \ + gen45_pack.h \ + gen5_pack.h \ gen6_pack.h \ gen7_pack.h \ gen75_pack.h \ diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml new file mode 100644 index 00000000000..1f89b1d2f33 --- /dev/null +++ b/src/intel/genxml/gen4.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml new file mode 100644 index 00000000000..973b3bb32ea --- /dev/null +++ b/src/intel/genxml/gen45.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml new file mode 100644 index 00000000000..37e1ac4f8dd --- /dev/null +++ b/src/intel/genxml/gen5.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3