summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/intel/genxml/gen6.xml44
-rw-r--r--src/intel/genxml/gen7.xml44
-rw-r--r--src/intel/genxml/gen75.xml44
3 files changed, 12 insertions, 120 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 2e737cf42e9..7734ef66286 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -427,16 +427,7 @@
<value name="LOGICOP_SET" value="15"/>
</field>
<field name="Alpha Test Enable" start="48" end="48" type="bool"/>
- <field name="Alpha Test Function" start="45" end="47" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
<field name="Color Dither Enable" start="44" end="44" type="bool"/>
<field name="X Dither Offset" start="42" end="43" type="uint"/>
<field name="Y Dither Offset" start="40" end="41" type="uint"/>
@@ -478,16 +469,7 @@
<struct name="DEPTH_STENCIL_STATE" length="3">
<field name="Stencil Test Enable" start="31" end="31" type="bool"/>
- <field name="Stencil Test Function" start="28" end="30" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
<field name="Stencil Fail Op" start="25" end="27" type="uint">
<value name="STENCILOP_KEEP" value="0"/>
<value name="STENCILOP_ZERO" value="1"/>
@@ -502,16 +484,7 @@
<field name="Stencil Pass Depth Pass Op" start="19" end="21" type="uint"/>
<field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
<field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
- <field name="Backface Stencil Test Function" start="12" end="14" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
<field name="Backface Stencil Fail Op" start="9" end="11" type="uint">
<value name="STENCILOP_KEEP" value="0"/>
<value name="STENCILOP_ZERO" value="1"/>
@@ -529,16 +502,7 @@
<field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
<field name="Backface Stencil Write Mask" start="32" end="39" type="uint"/>
<field name="Depth Test Enable" start="95" end="95" type="bool"/>
- <field name="Depth Test Function" start="91" end="93" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
<field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
</struct>
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index ebec118d084..78c5ede3ff9 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -482,16 +482,7 @@
<value name="LOGICOP_SET" value="15"/>
</field>
<field name="Alpha Test Enable" start="48" end="48" type="bool"/>
- <field name="Alpha Test Function" start="45" end="47" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
<field name="Color Dither Enable" start="44" end="44" type="bool"/>
<field name="X Dither Offset" start="42" end="43" type="uint"/>
<field name="Y Dither Offset" start="40" end="41" type="uint"/>
@@ -533,16 +524,7 @@
<struct name="DEPTH_STENCIL_STATE" length="3">
<field name="Stencil Test Enable" start="31" end="31" type="bool"/>
- <field name="Stencil Test Function" start="28" end="30" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
<field name="Stencil Fail Op" start="25" end="27" type="uint">
<value name="STENCILOP_KEEP" value="0"/>
<value name="STENCILOP_ZERO" value="1"/>
@@ -557,16 +539,7 @@
<field name="Stencil Pass Depth Pass Op" start="19" end="21" type="uint"/>
<field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
<field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
- <field name="Backface Stencil Test Function" start="12" end="14" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
<field name="Backface Stencil Fail Op" start="9" end="11" type="uint">
<value name="STENCILOP_KEEP" value="0"/>
<value name="STENCILOP_ZERO" value="1"/>
@@ -584,16 +557,7 @@
<field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
<field name="Backface Stencil Write Mask" start="32" end="39" type="uint"/>
<field name="Depth Test Enable" start="95" end="95" type="bool"/>
- <field name="Depth Test Function" start="91" end="93" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
<field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
</struct>
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 3d5d3338d3b..2be1cfda338 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -492,16 +492,7 @@
<value name="LOGICOP_SET" value="15"/>
</field>
<field name="Alpha Test Enable" start="48" end="48" type="bool"/>
- <field name="Alpha Test Function" start="45" end="47" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
<field name="Color Dither Enable" start="44" end="44" type="bool"/>
<field name="X Dither Offset" start="42" end="43" type="uint"/>
<field name="Y Dither Offset" start="40" end="41" type="uint"/>
@@ -543,16 +534,7 @@
<struct name="DEPTH_STENCIL_STATE" length="3">
<field name="Stencil Test Enable" start="31" end="31" type="bool"/>
- <field name="Stencil Test Function" start="28" end="30" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
<field name="Stencil Fail Op" start="25" end="27" type="uint">
<value name="STENCILOP_KEEP" value="0"/>
<value name="STENCILOP_ZERO" value="1"/>
@@ -567,16 +549,7 @@
<field name="Stencil Pass Depth Pass Op" start="19" end="21" type="uint"/>
<field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
<field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
- <field name="Backface Stencil Test Function" start="12" end="14" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
<field name="Backface Stencil Fail Op" start="9" end="11" type="uint">
<value name="STENCILOP_KEEP" value="0"/>
<value name="STENCILOP_ZERO" value="1"/>
@@ -594,16 +567,7 @@
<field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
<field name="Backface Stencil Write Mask" start="32" end="39" type="uint"/>
<field name="Depth Test Enable" start="95" end="95" type="bool"/>
- <field name="Depth Test Function" start="91" end="93" type="uint">
- <value name="COMPAREFUNCTION_ALWAYS" value="0"/>
- <value name="COMPAREFUNCTION_NEVER" value="1"/>
- <value name="COMPAREFUNCTION_LESS" value="2"/>
- <value name="COMPAREFUNCTION_EQUAL" value="3"/>
- <value name="COMPAREFUNCTION_LEQUAL" value="4"/>
- <value name="COMPAREFUNCTION_GREATER" value="5"/>
- <value name="COMPAREFUNCTION_NOTEQUAL" value="6"/>
- <value name="COMPAREFUNCTION_GEQUAL" value="7"/>
- </field>
+ <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
<field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
</struct>