intel/genxml: reprocess xml with elementree output
authorDylan Baker <dylan.c.baker@intel.com>
Mon, 3 Oct 2022 17:45:47 +0000 (10:45 -0700)
committerDylan Baker <dylan.c.baker@intel.com>
Wed, 12 Oct 2022 17:59:06 +0000 (10:59 -0700)
This makes two relatively small changes, first it addes the encoding to
the xml delcaration, and switches the quote style. Second, it changes
the final newline. These seemed minor enough to not warrent patches to
make the old wrter do the same thing as the new writer.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18955>

12 files changed:
src/intel/genxml/gen11.xml
src/intel/genxml/gen12.xml
src/intel/genxml/gen125.xml
src/intel/genxml/gen4.xml
src/intel/genxml/gen45.xml
src/intel/genxml/gen5.xml
src/intel/genxml/gen6.xml
src/intel/genxml/gen7.xml
src/intel/genxml/gen75.xml
src/intel/genxml/gen8.xml
src/intel/genxml/gen9.xml
src/intel/genxml/gen_rt.xml

index de74efe..8420640 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="ICL" gen="11">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
   <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
     <field name="VS Invocation Count Report" start="0" end="63" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index 26534e3..990f501 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="TGL" gen="12">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
   <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
     <field name="VS Invocation Count Report" start="0" end="63" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index 9adfdeb..390e30e 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="GFX125" gen="12.5">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
   <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
     <field name="VS Invocation Count Report" start="0" end="63" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index 7d2567b..cbb62fb 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="BRW" gen="4">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
     <field name="Destination X2 Coordinate" start="64" end="79" type="int" />
     <field name="Destination Y2 Coordinate" start="80" end="95" type="int" />
   </instruction>
-</genxml>
+</genxml>
\ No newline at end of file
index e15cbdb..d879ac9 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="CTG" gen="4.5">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
     <field name="Destination X2 Coordinate" start="64" end="79" type="int" />
     <field name="Destination Y2 Coordinate" start="80" end="95" type="int" />
   </instruction>
-</genxml>
+</genxml>
\ No newline at end of file
index 816756b..a7520b6 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="ILK" gen="5">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
     <field name="Destination X2 Coordinate" start="64" end="79" type="int" />
     <field name="Destination Y2 Coordinate" start="80" end="95" type="int" />
   </instruction>
-</genxml>
+</genxml>
\ No newline at end of file
index dda91fb..d4088ed 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="SNB" gen="6">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
     <field name="RBWait" start="11" end="11" type="bool" />
     <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index 5604ded..30b0e66 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="IVB" gen="7">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
   <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
     <field name="VS Invocation Count Report" start="0" end="63" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index e44f588..27f6733 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="HSW" gen="7.5">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
   <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
     <field name="VS Invocation Count Report" start="0" end="63" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index 6b449c7..139729e 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="BDW" gen="8">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
   <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
     <field name="VS Invocation Count Report" start="0" end="63" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index b6fb5dd..0433af0 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="SKL" gen="9">
   <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
     <value name="ONE" value="1" />
   <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
     <field name="VS Invocation Count Report" start="0" end="63" type="uint" />
   </register>
-</genxml>
+</genxml>
\ No newline at end of file
index c56c396..ddb23a9 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" ?>
+<?xml version='1.0' encoding='utf-8'?>
 <genxml name="RT" gen="">
   <struct name="BINDLESS_SHADER_RECORD" length="2">
     <field name="Offset To Local Arguments" start="0" end="2" type="uint" />
     <field name="Closest Hit" start="0" end="63" type="BINDLESS_SHADER_RECORD" />
     <field name="Any Hit" start="64" end="127" type="BINDLESS_SHADER_RECORD" />
   </struct>
-</genxml>
+</genxml>
\ No newline at end of file