summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2016-11-14 21:10:11 -0800
committerKristian H. Kristensen <[email protected]>2016-11-29 22:02:49 -0800
commitce26486115309469bb4952dc81ae4d6cb2fcadcf (patch)
treed5b68f4604ee049f7f898563e687f9c1ed87cecb /src/intel
parented0b3cbd09959fbc6323dbfaf2ed04c5d80a1736 (diff)
genxml: Add values for Barycentric Interpolation Mode
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.xml9
-rw-r--r--src/intel/genxml/gen7.xml9
-rw-r--r--src/intel/genxml/gen75.xml9
-rw-r--r--src/intel/genxml/gen8.xml9
-rw-r--r--src/intel/genxml/gen9.xml9
5 files changed, 40 insertions, 5 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 2d19305b74c..2ad6172ed62 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -1499,7 +1499,14 @@
<value name="INTERP_CENTROID" value="2"/>
<value name="INTERP_SAMPLE" value="3"/>
</field>
- <field name="Barycentric Interpolation Mode" start="202" end="207" type="uint"/>
+ <field name="Barycentric Interpolation Mode" start="202" end="207" type="uint">
+ <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
+ <value name="BIM_PERSPECTIVE_CENTROID" value ="2"/>
+ <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
+ <value name="BIM_LINEAR_PIXEL" value="8"/>
+ <value name="BIM_LINEAR_CENTROID" value="16"/>
+ <value name="BIM_LINEAR_SAMPLE" value="32"/>
+ </field>
<field name="Point Rasterization Rule" start="201" end="201" type="uint">
<value name="RASTRULE_UPPER_LEFT" value="0"/>
<value name="RASTRULE_UPPER_RIGHT" value="1"/>
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index 9d52aac6380..5e75c4cf2cb 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -1931,7 +1931,14 @@
<value name="INTERP_CENTROID" value="2"/>
<value name="INTERP_SAMPLE" value="3"/>
</field>
- <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint"/>
+ <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
+ <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
+ <value name="BIM_PERSPECTIVE_CENTROID" value ="2"/>
+ <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
+ <value name="BIM_LINEAR_PIXEL" value="8"/>
+ <value name="BIM_LINEAR_CENTROID" value="16"/>
+ <value name="BIM_LINEAR_SAMPLE" value="32"/>
+ </field>
<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">
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index ab8bec60cb1..b3d7e1632f1 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -2204,7 +2204,14 @@
<value name="INTERP_CENTROID" value="2"/>
<value name="INTERP_SAMPLE" value="3"/>
</field>
- <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint"/>
+ <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
+ <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
+ <value name="BIM_PERSPECTIVE_CENTROID" value ="2"/>
+ <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
+ <value name="BIM_LINEAR_PIXEL" value="8"/>
+ <value name="BIM_LINEAR_CENTROID" value="16"/>
+ <value name="BIM_LINEAR_SAMPLE" value="32"/>
+ </field>
<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">
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
index 1fbf6d86279..bad69a7836f 100644
--- a/src/intel/genxml/gen8.xml
+++ b/src/intel/genxml/gen8.xml
@@ -2323,7 +2323,14 @@
<value name="INTERP_CENTROID" value="2"/>
<value name="INTERP_SAMPLE" value="3"/>
</field>
- <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint"/>
+ <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
+ <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
+ <value name="BIM_PERSPECTIVE_CENTROID" value ="2"/>
+ <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
+ <value name="BIM_LINEAR_PIXEL" value="8"/>
+ <value name="BIM_LINEAR_CENTROID" value="16"/>
+ <value name="BIM_LINEAR_SAMPLE" value="32"/>
+ </field>
<field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
<value name="0.5 pixels" value="0"/>
<value name="1.0 pixels" value="1"/>
diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index 46b1ced23cc..fb0a111cbef 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -2548,7 +2548,14 @@
<value name="INTERP_CENTROID" value="2"/>
<value name="INTERP_SAMPLE" value="3"/>
</field>
- <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint"/>
+ <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
+ <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
+ <value name="BIM_PERSPECTIVE_CENTROID" value ="2"/>
+ <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
+ <value name="BIM_LINEAR_PIXEL" value="8"/>
+ <value name="BIM_LINEAR_CENTROID" value="16"/>
+ <value name="BIM_LINEAR_SAMPLE" value="32"/>
+ </field>
<field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
<value name="0.5 pixels" value="0"/>
<value name="1.0 pixels" value="1"/>