summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-11-12 10:46:02 -0800
committerJason Ekstrand <[email protected]>2016-11-16 10:09:03 -0800
commit1587ac1edc8c06fce9962163e56544d638c9b9d2 (patch)
tree77eea59c0bdbcfad4c072fefc546747739ac5830 /src/intel/genxml
parent23ad9982460fe563f8e5d94eb38f3ca5b4dd1a36 (diff)
intel/genxml: Make 3DSTATE_WM more consistent across gens
Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/intel/genxml')
-rw-r--r--src/intel/genxml/gen6.xml16
-rw-r--r--src/intel/genxml/gen7.xml16
-rw-r--r--src/intel/genxml/gen75.xml16
-rw-r--r--src/intel/genxml/gen8.xml6
-rw-r--r--src/intel/genxml/gen9.xml6
5 files changed, 45 insertions, 15 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 60e403a6d34..2d19305b74c 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -1464,12 +1464,22 @@
<field name="Dispatch GRF Start Register For Constant/Setup Data [2]" start="128" end="134" type="uint"/>
<field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
<field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
- <field name="Pixel Shader Kill Pixel" start="182" end="182" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
<field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
<field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
<field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
- <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint"/>
- <field name="Line Antialiasing Region Width" start="174" end="175" type="uint"/>
+ <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
+ <value name="0.5 pixels" value="0"/>
+ <value name="1.0 pixels" value="1"/>
+ <value name="2.0 pixels" value="2"/>
+ <value name="4.0 pixels" value="3"/>
+ </field>
+ <field name="Line Antialiasing Region Width" start="174" end="175" type="uint">
+ <value name="0.5 pixels" value="0"/>
+ <value name="1.0 pixels" value="1"/>
+ <value name="2.0 pixels" value="2"/>
+ <value name="4.0 pixels" value="3"/>
+ </field>
<field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
<field name="Line Stipple Enable" start="171" end="171" type="bool"/>
<field name="oMask Present to RenderTarget" start="169" end="169" type="bool"/>
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index 7ac421fed60..9bb863300aa 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -1637,7 +1637,12 @@
<value name="BACK" value="3"/>
</field>
<field name="Line Width" start="82" end="91" type="u3.7"/>
- <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint"/>
+ <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint">
+ <value name="0.5 pixels" value="0"/>
+ <value name="1.0 pixels" value="1"/>
+ <value name="2.0 pixels" value="2"/>
+ <value name="4.0 pixels" value="3"/>
+ </field>
<field name="Scissor Rectangle Enable" start="75" end="75" type="bool"/>
<field name="Multisample Rasterization Mode" start="72" end="73" type="uint"/>
<field name="Last Pixel Enable" start="127" end="127" type="bool"/>
@@ -1907,7 +1912,7 @@
<field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
<field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
<field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
- <field name="Pixel Shader Kill Pixel" start="57" end="57" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="57" end="57" type="bool"/>
<field name="Pixel Shader Computed Depth Mode" start="55" end="56" type="uint">
<value name="PSCDEPTH_OFF" value="0"/>
<value name="PSCDEPTH_ON" value="1"/>
@@ -1929,7 +1934,12 @@
<field name="Barycentric Interpolation Mode" start="43" end="48" type="uint"/>
<field name="Pixel Shader Uses Input Coverage Mask" start="42" end="42" type="bool"/>
<field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint"/>
- <field name="Line Antialiasing Region Width" start="38" end="39" type="uint"/>
+ <field name="Line Antialiasing Region Width" start="38" end="39" type="uint">
+ <value name="0.5 pixels" value="0"/>
+ <value name="1.0 pixels" value="1"/>
+ <value name="2.0 pixels" value="2"/>
+ <value name="4.0 pixels" value="3"/>
+ </field>
<field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
<field name="Line Stipple Enable" start="35" end="35" type="bool"/>
<field name="Point Rasterization Rule" start="34" end="34" type="uint">
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 2e61e7bea07..eb00c15ae62 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -1892,7 +1892,12 @@
<value name="BACK" value="3"/>
</field>
<field name="Line Width" start="82" end="91" type="u3.7"/>
- <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint"/>
+ <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint">
+ <value name="0.5 pixels" value="0"/>
+ <value name="1.0 pixels" value="1"/>
+ <value name="2.0 pixels" value="2"/>
+ <value name="4.0 pixels" value="3"/>
+ </field>
<field name="Line Stipple Enable" start="78" end="78" type="bool"/>
<field name="Scissor Rectangle Enable" start="75" end="75" type="bool"/>
<field name="RT Independent Rasterization Enable" start="74" end="74" type="bool"/>
@@ -2180,7 +2185,7 @@
<field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
<field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
<field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
- <field name="Pixel Shader Kill Pixel" start="57" end="57" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="57" end="57" type="bool"/>
<field name="Pixel Shader Computed Depth Mode" start="55" end="56" type="uint">
<value name="PSCDEPTH_OFF" value="0"/>
<value name="PSCDEPTH_ON" value="1"/>
@@ -2202,7 +2207,12 @@
<field name="Barycentric Interpolation Mode" start="43" end="48" type="uint"/>
<field name="Pixel Shader Uses Input Coverage Mask" start="42" end="42" type="bool"/>
<field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint"/>
- <field name="Line Antialiasing Region Width" start="38" end="39" type="uint"/>
+ <field name="Line Antialiasing Region Width" start="38" end="39" type="uint">
+ <value name="0.5 pixels" value="0"/>
+ <value name="1.0 pixels" value="1"/>
+ <value name="2.0 pixels" value="2"/>
+ <value name="4.0 pixels" value="3"/>
+ </field>
<field name="RT Independent Rasterization Enable" start="37" end="37" type="bool"/>
<field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
<field name="Line Stipple Enable" start="35" end="35" type="bool"/>
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
index f4dda4e9954..3178b1d83a3 100644
--- a/src/intel/genxml/gen8.xml
+++ b/src/intel/genxml/gen8.xml
@@ -2310,9 +2310,9 @@
<field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
<field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
<field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
- <value name="NORMAL" value="0"/>
- <value name="PSEXEC" value="1"/>
- <value name="PREPS" value="2"/>
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
</field>
<field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
<value name="ForceOff" value="1"/>
diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index 58b41f71dd9..3d44cdbc26f 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -2535,9 +2535,9 @@
<field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
<field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
<field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
- <value name="NORMAL" value="0"/>
- <value name="PSEXEC" value="1"/>
- <value name="PREPS" value="2"/>
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
</field>
<field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
<value name="ForceOff" value="1"/>