diff options
Diffstat (limited to 'src/intel/genxml/gen7.xml')
-rw-r--r-- | src/intel/genxml/gen7.xml | 74 |
1 files changed, 36 insertions, 38 deletions
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml index 65e2240ae54..2c269d47aa7 100644 --- a/src/intel/genxml/gen7.xml +++ b/src/intel/genxml/gen7.xml @@ -77,6 +77,36 @@ <value name="INVERT" value="7"/> </enum> + <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR"> + <value name="ONE" value="1"/> + <value name="SRC_COLOR" value="2"/> + <value name="SRC_ALPHA" value="3"/> + <value name="DST_ALPHA" value="4"/> + <value name="DST_COLOR" value="5"/> + <value name="SRC_ALPHA_SATURATE" value="6"/> + <value name="CONST_COLOR" value="7"/> + <value name="CONST_ALPHA" value="8"/> + <value name="SRC1_COLOR" value="9"/> + <value name="SRC1_ALPHA" value="10"/> + <value name="ZERO" value="17"/> + <value name="INV_SRC_COLOR" value="18"/> + <value name="INV_SRC_ALPHA" value="19"/> + <value name="INV_DST_ALPHA" value="20"/> + <value name="INV_DST_COLOR" value="21"/> + <value name="INV_CONST_COLOR" value="23"/> + <value name="INV_CONST_ALPHA" value="24"/> + <value name="INV_SRC1_COLOR" value="25"/> + <value name="INV_SRC1_ALPHA" value="26"/> + </enum> + + <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION"> + <value name="ADD" value="0"/> + <value name="SUBTRACT" value="1"/> + <value name="REVERSE_SUBTRACT" value="2"/> + <value name="MIN" value="3"/> + <value name="MAX" value="4"/> + </enum> + <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION"> <value name="ALWAYS" value="0"/> <value name="NEVER" value="1"/> @@ -428,44 +458,12 @@ <struct name="BLEND_STATE_ENTRY" length="2"> <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/> <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/> - <field name="Alpha Blend Function" start="26" end="28" type="uint"> - <value name="BLENDFUNCTION_ADD" value="0"/> - <value name="BLENDFUNCTION_SUBTRACT" value="1"/> - <value name="BLENDFUNCTION_REVERSE_SUBTRACT" value="2"/> - <value name="BLENDFUNCTION_MIN" value="3"/> - <value name="BLENDFUNCTION_MAX" value="4"/> - </field> - <field name="Source Alpha Blend Factor" start="20" end="24" type="uint"> - <value name="BLENDFACTOR_ONE" value="1"/> - <value name="BLENDFACTOR_SRC_COLOR" value="2"/> - <value name="BLENDFACTOR_SRC_ALPHA" value="3"/> - <value name="BLENDFACTOR_DST_ALPHA" value="4"/> - <value name="BLENDFACTOR_DST_COLOR" value="5"/> - <value name="BLENDFACTOR_SRC_ALPHA_SATURATE" value="6"/> - <value name="BLENDFACTOR_CONST_COLOR" value="7"/> - <value name="BLENDFACTOR_CONST_ALPHA" value="8"/> - <value name="BLENDFACTOR_SRC1_COLOR" value="9"/> - <value name="BLENDFACTOR_SRC1_ALPHA" value="10"/> - <value name="BLENDFACTOR_ZERO" value="17"/> - <value name="BLENDFACTOR_INV_SRC_COLOR" value="18"/> - <value name="BLENDFACTOR_INV_SRC_ALPHA" value="19"/> - <value name="BLENDFACTOR_INV_DST_ALPHA" value="20"/> - <value name="BLENDFACTOR_INV_DST_COLOR" value="21"/> - <value name="BLENDFACTOR_INV_CONST_COLOR" value="23"/> - <value name="BLENDFACTOR_INV_CONST_ALPHA" value="24"/> - <value name="BLENDFACTOR_INV_SRC1_COLOR" value="25"/> - <value name="BLENDFACTOR_INV_SRC1_ALPHA" value="26"/> - </field> - <field name="Destination Alpha Blend Factor" start="15" end="19" type="uint"/> - <field name="Color Blend Function" start="11" end="13" type="uint"> - <value name="BLENDFUNCTION_ADD" value="0"/> - <value name="BLENDFUNCTION_SUBTRACT" value="1"/> - <value name="BLENDFUNCTION_REVERSE_SUBTRACT" value="2"/> - <value name="BLENDFUNCTION_MIN " value="3"/> - <value name="BLENDFUNCTION_MAX" value="4"/> - </field> - <field name="Source Blend Factor" start="5" end="9" type="uint"/> - <field name="Destination Blend Factor" start="0" end="4" type="uint"/> + <field name="Alpha Blend Function" start="26" end="28" type="3D_Color_Buffer_Blend_Function"/> + <field name="Source Alpha Blend Factor" start="20" end="24" type="3D_Color_Buffer_Blend_Factor"/> + <field name="Destination Alpha Blend Factor" start="15" end="19" type="3D_Color_Buffer_Blend_Factor"/> + <field name="Color Blend Function" start="11" end="13" type="3D_Color_Buffer_Blend_Function"/> + <field name="Source Blend Factor" start="5" end="9" type="3D_Color_Buffer_Blend_Factor"/> + <field name="Destination Blend Factor" start="0" end="4" type="3D_Color_Buffer_Blend_Factor"/> <field name="AlphaToCoverage Enable" start="63" end="63" type="bool"/> <field name="AlphaToOne Enable" start="62" end="62" type="bool"/> <field name="AlphaToCoverage Dither Enable" start="61" end="61" type="bool"/> |