summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2016-11-28 16:44:22 -0800
committerKristian H. Kristensen <[email protected]>2016-11-29 22:02:49 -0800
commit0799022bf90c82cf1425e35e9dc42eb8bcfb6b54 (patch)
tree2a1918e19c21bfa5cce5efe1c27a3d878ad3c8d1 /src/intel
parent993babc01432bf7d088bc5433e9b5ac2d6cd0c69 (diff)
intel/genxml: Use enum 3D_Prim_Topo_Type where applicable
Signed-off-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/genxml/gen6.xml2
-rw-r--r--src/intel/genxml/gen7.xml6
-rw-r--r--src/intel/genxml/gen75.xml6
-rw-r--r--src/intel/genxml/gen8.xml8
-rw-r--r--src/intel/genxml/gen9.xml8
5 files changed, 15 insertions, 15 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 7734ef66286..a6a273731e7 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -730,7 +730,7 @@
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="10" end="14" type="uint"/>
+ <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
<field name="Internal Vertex Count" start="9" end="9" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
<field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index 78c5ede3ff9..3b41de903b1 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -810,7 +810,7 @@
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="uint"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -1141,7 +1141,7 @@
<field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
<field name="Output Vertex Size" start="151" end="156" type="uint"/>
- <field name="Output Topology" start="145" end="150" type="uint" prefix="OUTPUT"/>
+ <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/>
<field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
<field name="Include Vertex Handles" start="138" end="138" type="bool"/>
<field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
@@ -2354,7 +2354,7 @@
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
<field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
- <field name="Topology Filter Value" start="0" end="5" type="uint"/>
+ <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="MI_URB_CLEAR" bias="2" length="2">
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 2be1cfda338..ec1621bbf37 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -832,7 +832,7 @@
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="uint"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -1360,7 +1360,7 @@
<field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
<field name="Output Vertex Size" start="151" end="156" type="uint"/>
- <field name="Output Topology" start="145" end="150" type="uint" prefix="OUTPUT"/>
+ <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/>
<field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
<field name="Include Vertex Handles" start="138" end="138" type="bool"/>
<field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
@@ -2756,7 +2756,7 @@
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
<field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
- <field name="Topology Filter Value" start="0" end="5" type="uint"/>
+ <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1">
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
index e8220442450..d90de08ab1a 100644
--- a/src/intel/genxml/gen8.xml
+++ b/src/intel/genxml/gen8.xml
@@ -901,7 +901,7 @@
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="uint"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -1423,7 +1423,7 @@
<field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
<field name="Output Vertex Size" start="215" end="220" type="uint"/>
- <field name="Output Topology" start="209" end="214" type="uint" prefix="OUTPUT"/>
+ <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
<field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
<field name="Include Vertex Handles" start="202" end="202" type="bool"/>
<field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
@@ -2234,7 +2234,7 @@
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Primitive Topology Type" start="32" end="37" type="uint"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2">
@@ -3019,7 +3019,7 @@
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
<field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
- <field name="Topology Filter Value" start="0" end="5" type="uint"/>
+ <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1">
diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index 3232cf917d0..ec16d73b611 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -953,7 +953,7 @@
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="uint"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -1526,7 +1526,7 @@
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
<field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
<field name="Output Vertex Size" start="215" end="220" type="uint"/>
- <field name="Output Topology" start="209" end="214" type="uint" prefix="OUTPUT"/>
+ <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
<field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
<field name="Include Vertex Handles" start="202" end="202" type="bool"/>
<field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
@@ -2459,7 +2459,7 @@
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Primitive Topology Type" start="32" end="37" type="uint"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2">
@@ -3297,7 +3297,7 @@
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
<field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
- <field name="Topology Filter Value" start="0" end="5" type="uint"/>
+ <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1">