[Mesa-dev] [PATCH 01/18] genxml: Add values for Barycentric Interpolation Mode
Kristian H. Kristensen
hoegsberg at gmail.com
Tue Nov 29 20:48:01 UTC 2016
Signed-off-by: Kristian H. Kristensen <hoegsberg at gmail.com>
---
src/intel/genxml/gen6.xml | 9 ++++++++-
src/intel/genxml/gen7.xml | 9 ++++++++-
src/intel/genxml/gen75.xml | 9 ++++++++-
src/intel/genxml/gen8.xml | 9 ++++++++-
src/intel/genxml/gen9.xml | 9 ++++++++-
5 files changed, 40 insertions(+), 5 deletions(-)
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 2d19305..2ad6172 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 9d52aac..5e75c4c 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 ab8bec6..b3d7e16 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 1fbf6d8..bad69a7 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 46b1ced..fb0a111 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"/>
--
2.9.3
More information about the mesa-dev
mailing list