From: Jason Ekstrand Date: Wed, 8 Jun 2016 18:29:15 +0000 (-0700) Subject: genxml: Add enough XML for gens 4, 4.5, and 5 to get SURFACE_STATE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a999ceab8ce092543d6e1dfb965098418573ba7;p=mesa.git genxml: Add enough XML for gens 4, 4.5, and 5 to get SURFACE_STATE Signed-off-by: Jason Ekstrand Acked-by: Chad Versace --- 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +