[Mesa-dev] [PATCH] genxml: Add XML version tags

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu Mar 16 08:07:55 UTC 2017


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 16/03/17 05:56, Jason Ekstrand wrote:
> There's not much point to having them or not having them but this
> reduces some pointless diff from the version we can auto-generate
> ---
>   src/intel/genxml/gen4.xml  | 1 +
>   src/intel/genxml/gen45.xml | 1 +
>   src/intel/genxml/gen5.xml  | 1 +
>   src/intel/genxml/gen6.xml  | 1 +
>   src/intel/genxml/gen7.xml  | 1 +
>   src/intel/genxml/gen75.xml | 1 +
>   src/intel/genxml/gen8.xml  | 1 +
>   src/intel/genxml/gen9.xml  | 1 +
>   8 files changed, 8 insertions(+)
>
> diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml
> index d7c6c30..5ea15e7 100644
> --- a/src/intel/genxml/gen4.xml
> +++ b/src/intel/genxml/gen4.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="BRW" gen="4">
>     <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
>       <value name="POINTLIST" value="1"/>
> diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml
> index de9243e..4582beb 100644
> --- a/src/intel/genxml/gen45.xml
> +++ b/src/intel/genxml/gen45.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="CTG" gen="4.5">
>     <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
>       <value name="NOSTORE" value="0"/>
> diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
> index cb6a7b6..39fec37 100644
> --- a/src/intel/genxml/gen5.xml
> +++ b/src/intel/genxml/gen5.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="ILK" gen="5">
>     <struct name="RENDER_SURFACE_STATE" length="6">
>       <field name="Surface Type" start="29" end="31" type="uint">
> diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
> index 6a9b090..717f395 100644
> --- a/src/intel/genxml/gen6.xml
> +++ b/src/intel/genxml/gen6.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="SNB" gen="6">
>     <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
>       <value name="POINTLIST" value="1"/>
> diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
> index 7368b5b..aed2d52 100644
> --- a/src/intel/genxml/gen7.xml
> +++ b/src/intel/genxml/gen7.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="IVB" gen="7">
>     <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
>       <value name="POINTLIST" value="1"/>
> diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
> index ed82236..bf62c43 100644
> --- a/src/intel/genxml/gen75.xml
> +++ b/src/intel/genxml/gen75.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="HSW" gen="7.5">
>     <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
>       <value name="POINTLIST" value="1"/>
> diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
> index 32ed764..199135c 100644
> --- a/src/intel/genxml/gen8.xml
> +++ b/src/intel/genxml/gen8.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="BDW" gen="8">
>     <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
>       <value name="POINTLIST" value="1"/>
> diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
> index ec29d13..8c453f8 100644
> --- a/src/intel/genxml/gen9.xml
> +++ b/src/intel/genxml/gen9.xml
> @@ -1,3 +1,4 @@
> +<?xml version="1.0" ?>
>   <genxml name="SKL" gen="9">
>     <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
>       <value name="POINTLIST" value="1"/>




More information about the mesa-dev mailing list