summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-04-09 17:31:59 +0100
committerLionel Landwerlin <[email protected]>2019-04-09 18:24:03 +0100
commited009e68c5862fdac8ebd86bfb8a6899931eb8d3 (patch)
tree650724317a3f95d3ee3f95f1f878bf4c6a5a3b14 /src/intel
parent903e142f0d35bc550ffde321987a5b6fca1095eb (diff)
genxml: sort xml files using new script
Signed-off-by: Lionel Landwerlin <[email protected]> Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/genxml/gen10.xml7258
-rw-r--r--src/intel/genxml/gen11.xml7414
-rw-r--r--src/intel/genxml/gen4.xml1057
-rw-r--r--src/intel/genxml/gen45.xml1109
-rw-r--r--src/intel/genxml/gen5.xml1287
-rw-r--r--src/intel/genxml/gen6.xml2906
-rw-r--r--src/intel/genxml/gen7.xml4134
-rw-r--r--src/intel/genxml/gen75.xml4688
-rw-r--r--src/intel/genxml/gen8.xml5262
-rw-r--r--src/intel/genxml/gen9.xml7145
10 files changed, 21105 insertions, 21155 deletions
diff --git a/src/intel/genxml/gen10.xml b/src/intel/genxml/gen10.xml
index 2729841b06b..e9879786e67 100644
--- a/src/intel/genxml/gen10.xml
+++ b/src/intel/genxml/gen10.xml
@@ -1,5 +1,66 @@
<?xml version="1.0" ?>
<genxml name="CNL" gen="10">
+
+ <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"/>
+ <value name="LESS" value="2"/>
+ <value name="EQUAL" value="3"/>
+ <value name="LEQUAL" value="4"/>
+ <value name="GREATER" value="5"/>
+ <value name="NOTEQUAL" value="6"/>
+ <value name="GEQUAL" value="7"/>
+ </enum>
+
+ <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
+ <value name="CLEAR" value="0"/>
+ <value name="NOR" value="1"/>
+ <value name="AND_INVERTED" value="2"/>
+ <value name="COPY_INVERTED" value="3"/>
+ <value name="AND_REVERSE" value="4"/>
+ <value name="INVERT" value="5"/>
+ <value name="XOR" value="6"/>
+ <value name="NAND" value="7"/>
+ <value name="AND" value="8"/>
+ <value name="EQUIV" value="9"/>
+ <value name="NOOP" value="10"/>
+ <value name="OR_INVERTED" value="11"/>
+ <value name="COPY" value="12"/>
+ <value name="OR_REVERSE" value="13"/>
+ <value name="OR" value="14"/>
+ <value name="SET" value="15"/>
+ </enum>
+
<enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
<value name="POINTLIST" value="1"/>
<value name="LINELIST" value="2"/>
@@ -56,6 +117,17 @@
<value name="PATCHLIST_32" value="63"/>
</enum>
+ <enum name="3D_Stencil_Operation" prefix="STENCILOP">
+ <value name="KEEP" value="0"/>
+ <value name="ZERO" value="1"/>
+ <value name="REPLACE" value="2"/>
+ <value name="INCRSAT" value="3"/>
+ <value name="DECRSAT" value="4"/>
+ <value name="INCR" value="5"/>
+ <value name="DECR" value="6"/>
+ <value name="INVERT" value="7"/>
+ </enum>
+
<enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
<value name="NOSTORE" value="0"/>
<value name="STORE_SRC" value="1"/>
@@ -65,25 +137,6 @@
<value name="STORE_PID" value="7"/>
</enum>
- <enum name="COMPONENT_ENABLES" prefix="CE">
- <value name="NONE" value="0"/>
- <value name="X" value="1"/>
- <value name="Y" value="2"/>
- <value name="XY" value="3"/>
- <value name="Z" value="4"/>
- <value name="XZ" value="5"/>
- <value name="YZ" value="6"/>
- <value name="XYZ" value="7"/>
- <value name="W" value="8"/>
- <value name="XW" value="9"/>
- <value name="YW" value="10"/>
- <value name="XYW" value="11"/>
- <value name="ZW" value="12"/>
- <value name="XZW" value="13"/>
- <value name="YZW" value="14"/>
- <value name="XYZW" value="15"/>
- </enum>
-
<enum name="Attribute_Component_Format" prefix="ACF">
<value name="disabled" value="0"/>
<value name=".xy" value="1"/>
@@ -91,7 +144,8 @@
<value name=".xyzw" value="3"/>
</enum>
- <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
+ <enum name="COMPONENT_ENABLES" prefix="CE">
+ <value name="NONE" value="0"/>
<value name="X" value="1"/>
<value name="Y" value="2"/>
<value name="XY" value="3"/>
@@ -109,77 +163,6 @@
<value name="XYZW" value="15"/>
</enum>
- <enum name="3D_Stencil_Operation" prefix="STENCILOP">
- <value name="KEEP" value="0"/>
- <value name="ZERO" value="1"/>
- <value name="REPLACE" value="2"/>
- <value name="INCRSAT" value="3"/>
- <value name="DECRSAT" value="4"/>
- <value name="INCR" value="5"/>
- <value name="DECR" value="6"/>
- <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"/>
- <value name="LESS" value="2"/>
- <value name="EQUAL" value="3"/>
- <value name="LEQUAL" value="4"/>
- <value name="GREATER" value="5"/>
- <value name="NOTEQUAL" value="6"/>
- <value name="GEQUAL" value="7"/>
- </enum>
-
- <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
- <value name="CLEAR" value="0"/>
- <value name="NOR" value="1"/>
- <value name="AND_INVERTED" value="2"/>
- <value name="COPY_INVERTED" value="3"/>
- <value name="AND_REVERSE" value="4"/>
- <value name="INVERT" value="5"/>
- <value name="XOR" value="6"/>
- <value name="NAND" value="7"/>
- <value name="AND" value="8"/>
- <value name="EQUIV" value="9"/>
- <value name="NOOP" value="10"/>
- <value name="OR_INVERTED" value="11"/>
- <value name="COPY" value="12"/>
- <value name="OR_REVERSE" value="13"/>
- <value name="OR" value="14"/>
- <value name="SET" value="15"/>
- </enum>
-
<enum name="Shader Channel Select" prefix="SCS">
<value name="ZERO" value="0"/>
<value name="ONE" value="1"/>
@@ -199,6 +182,24 @@
<value name="HALF_BORDER" value="6"/>
</enum>
+ <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
+ <value name="X" value="1"/>
+ <value name="Y" value="2"/>
+ <value name="XY" value="3"/>
+ <value name="Z" value="4"/>
+ <value name="XZ" value="5"/>
+ <value name="YZ" value="6"/>
+ <value name="XYZ" value="7"/>
+ <value name="W" value="8"/>
+ <value name="XW" value="9"/>
+ <value name="YW" value="10"/>
+ <value name="XYW" value="11"/>
+ <value name="ZW" value="12"/>
+ <value name="XZW" value="13"/>
+ <value name="YZW" value="14"/>
+ <value name="XYZW" value="15"/>
+ </enum>
+
<struct name="3DSTATE_CONSTANT_BODY" length="10">
<group count="4" start="0" size="16">
<field name="Read Length" start="0" end="15" type="uint"/>
@@ -209,131 +210,48 @@
</struct>
<struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
- <field name="Binding Table Index" start="16" end="23" type="uint"/>
<field name="Surface State Pointer" start="0" end="15" type="offset"/>
+ <field name="Binding Table Index" start="16" end="23" type="uint"/>
</struct>
- <struct name="GATHER_CONSTANT_ENTRY" length="1">
- <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
- <field name="Channel Mask" start="4" end="7" type="uint"/>
- <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
- </struct>
-
- <struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="MOCS" start="16" end="22" type="uint"/>
- <field name="Address Modify Enable" start="14" end="14" type="bool"/>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
- <field name="Buffer Starting Address" start="32" end="95" type="address"/>
- <field name="Buffer Size" start="96" end="127" type="uint"/>
- </struct>
-
- <struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Valid" start="25" end="25" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
- <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
- <field name="Source Element Offset" start="0" end="11" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
- <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
- </struct>
-
- <struct name="SO_DECL" length="1">
- <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
- <field name="Hole Flag" start="11" end="11" type="uint"/>
- <field name="Register Index" start="4" end="9" type="uint"/>
- <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
- </struct>
-
- <struct name="SO_DECL_ENTRY" length="2">
- <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
- <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
- <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
- <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
- </struct>
-
- <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
- <field name="Component Override W" start="15" end="15" type="bool"/>
- <field name="Component Override Z" start="14" end="14" type="bool"/>
- <field name="Component Override Y" start="13" end="13" type="bool"/>
- <field name="Component Override X" start="12" end="12" type="bool"/>
- <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
- <field name="Constant Source" start="9" end="10" type="uint">
- <value name="CONST_0000" value="0"/>
- <value name="CONST_0001_FLOAT" value="1"/>
- <value name="CONST_1111_FLOAT" value="2"/>
- <value name="PRIM_ID" value="3"/>
- </field>
- <field name="Swizzle Select" start="6" end="7" type="uint">
- <value name="INPUTATTR" value="0"/>
- <value name="INPUTATTR_FACING" value="1"/>
- <value name="INPUTATTR_W" value="2"/>
- <value name="INPUTATTR_FACING_W" value="3"/>
- </field>
- <field name="Source Attribute" start="0" end="4" type="uint"/>
- </struct>
-
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
- <struct name="SF_CLIP_VIEWPORT" length="16">
- <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
- <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
- <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
- <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
- <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
- <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
- <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
- <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
- <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
- <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
- <field name="X Min ViewPort" start="384" end="415" type="float"/>
- <field name="X Max ViewPort" start="416" end="447" type="float"/>
- <field name="Y Min ViewPort" start="448" end="479" type="float"/>
- <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ <struct name="BINDING_TABLE_STATE" length="1">
+ <field name="Surface State Pointer" start="6" end="31" type="offset"/>
</struct>
<struct name="BLEND_STATE_ENTRY" length="2">
- <field name="Logic Op Enable" start="63" end="63" type="bool"/>
- <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
- <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Write Disable Green" start="1" end="1" type="bool"/>
+ <field name="Write Disable Red" start="2" end="2" type="bool"/>
+ <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
+ <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
<field name="Color Clamp Range" start="34" end="35" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
- <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
- <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
- <field name="Write Disable Red" start="2" end="2" type="bool"/>
- <field name="Write Disable Green" start="1" end="1" type="bool"/>
- <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
+ <field name="Logic Op Enable" start="63" end="63" type="bool"/>
</struct>
<struct name="BLEND_STATE" length="1">
- <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
- <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
- <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
- <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
- <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
- <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
- <field name="Color Dither Enable" start="23" end="23" type="bool"/>
- <field name="X Dither Offset" start="21" end="22" type="uint"/>
<field name="Y Dither Offset" start="19" end="20" type="uint"/>
+ <field name="X Dither Offset" start="21" end="22" type="uint"/>
+ <field name="Color Dither Enable" start="23" end="23" type="bool"/>
+ <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
+ <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
+ <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
+ <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
<group count="0" start="32" size="64">
<field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
</group>
@@ -344,12 +262,30 @@
<field name="Maximum Depth" start="32" end="63" type="float"/>
</struct>
+ <struct name="CHROMA_FILTER_COEFFICIENTS_ARRAY" length="2">
+ <field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
+ </struct>
+
+ <struct name="CLEAR_COLOR" length="8">
+ <field name="Raw Clear Color Red" start="0" end="31" type="int"/>
+ <field name="Raw Clear Color Green" start="32" end="63" type="int"/>
+ <field name="Raw Clear Color Blue" start="64" end="95" type="int"/>
+ <field name="Raw Clear Color Alpha" start="96" end="127" type="int"/>
+ </struct>
+
<struct name="COLOR_CALC_STATE" length="6">
- <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Test Format" start="0" end="0" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
+ <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
<field name="Blend Constant Color Red" start="64" end="95" type="float"/>
@@ -359,34 +295,182 @@
</struct>
<struct name="EXECUTION_UNIT_EXTENDED_MESSAGE_DESCRIPTOR" length="1">
- <field name="Extended Message Length" start="6" end="9" type="uint"/>
+ <field name="Target Function ID" start="0" end="3" type="uint"/>
<field name="End Of Thread" start="5" end="5" type="uint">
<value name="No Termination" value="0"/>
<value name="EOT" value="1"/>
</field>
- <field name="Target Function ID" start="0" end="3" type="uint"/>
+ <field name="Extended Message Length" start="6" end="9" type="uint"/>
+ </struct>
+
+ <struct name="FILTER_COEFFICIENT" length="1">
+ <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
+ </struct>
+
+ <struct name="FRAMEDELTAQP" length="2">
+ <group count="8" start="0" size="8">
+ <field name="Frame Delta QP" start="0" end="7" type="int"/>
+ </group>
+ </struct>
+
+ <struct name="FRAMEDELTAQPRANGE" length="2">
+ <group count="8" start="0" size="8">
+ <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
+ </group>
+ </struct>
+
+ <struct name="GATHER_CONSTANT_ENTRY" length="1">
+ <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
+ <field name="Channel Mask" start="4" end="7" type="uint"/>
+ <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
+ </struct>
+
+ <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
+ <field name="Priority" start="0" end="1" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ </struct>
+
+ <struct name="MEMORYADDRESSATTRIBUTES" length="1">
+ <field name="MOCS" start="1" end="6" type="uint"/>
+ <field name="Arbitration Priority Control" start="7" end="8" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
+ <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint"/>
+ <field name="Tiled Resource Mode" start="13" end="14" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
+ </struct>
+
+ <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
+ <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
+ <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
+ <field name="Indirect Payload Base Address2" start="96" end="128" type="MEMORYADDRESSATTRIBUTES"/>
+ </struct>
+
+ <struct name="HCP_REF_LIST_ENTRY" length="1">
+ <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
+ <field name="List Entry" start="8" end="10" type="uint"/>
+ <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
+ <value name="Default" value="0"/>
+ <value name="Explicit" value="1"/>
+ </field>
+ <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
+ <value name="Default" value="0"/>
+ <value name="Explicit" value="1"/>
+ </field>
+ <field name="Long Term Reference" start="13" end="13" type="bool"/>
+ <field name="Field Pic" start="14" end="14" type="bool"/>
+ <field name="Top Field" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
+ <field name="CtbPos0+i" start="0" end="7" type="uint"/>
+ <field name="CtbPos1+i" start="8" end="15" type="uint"/>
+ <field name="CtbPos2+i" start="16" end="23" type="uint"/>
+ <field name="CtbPos3+i" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
+ <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
+ <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
+ <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
+ <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
+ <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
+ <field name="Luma Offset LX" start="8" end="15" type="uint"/>
+ </struct>
+
+ <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
+ <field name="Lambda Value 0" start="0" end="15" type="uint"/>
+ <field name="Lambda Value 1" start="16" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
+ <field name="Address" start="0" end="63" type="address"/>
+ <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
+ </struct>
+
+ <struct name="IMAGE_STATE_COST" length="2">
+ <field name="MV 0 Cost" start="0" end="7" type="uint"/>
+ <field name="MV 1 Cost" start="8" end="15" type="uint"/>
+ <field name="MV 2 Cost" start="16" end="23" type="uint"/>
+ <field name="MV 3 Cost" start="24" end="31" type="uint"/>
+ <field name="MV 4 Cost" start="32" end="39" type="uint"/>
+ <field name="MV 5 Cost" start="40" end="47" type="uint"/>
+ <field name="MV 6 Cost" start="48" end="55" type="uint"/>
+ <field name="MV 7 Cost" start="56" end="63" type="uint"/>
+ </struct>
+
+ <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
+ <field name="MB Error Concealment P Slice Weight Prediction Disable Flag" start="0" end="0" type="bool"/>
+ <field name="MB Error Concealment P Slice Motion Vectors Override Disable Flag" start="1" end="1" type="bool"/>
+ <field name="MB Error Concealment B Spatial Weight Prediction Disable Flag" start="3" end="3" type="bool"/>
+ <field name="MB Error Concealment B Spatial Motion Vectors Override Disable Flag" start="4" end="4" type="bool"/>
+ <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
+ <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
+ <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
+ <field name="MPR Error Handling" start="12" end="12" type="bool"/>
+ <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
+ <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
+ <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
+ <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
+ <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
+ <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
+ <field name="Init Current MB Number" start="30" end="30" type="bool"/>
+ <field name="Concealment Method" start="31" end="31" type="uint"/>
+ <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
+ <field name="Last Slice" start="35" end="35" type="bool"/>
+ <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
+ <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
+ <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
+ <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
+ <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
+ <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
+ <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
+ <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
+ <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
</struct>
<struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
<field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
- <field name="Thread Preemption disable" start="84" end="84" type="bool"/>
- <field name="Denorm Mode" start="83" end="83" type="uint">
- <value name="Ftz" value="0"/>
- <value name="SetByKernel" value="1"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Single Program Flow" start="82" end="82" type="bool"/>
<field name="Thread Priority" start="81" end="81" type="uint">
<value name="Normal Priority" value="0"/>
<value name="High Priority" value="1"/>
</field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Single Program Flow" start="82" end="82" type="bool"/>
+ <field name="Denorm Mode" start="83" end="83" type="uint">
+ <value name="Ftz" value="0"/>
+ <value name="SetByKernel" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
+ <field name="Thread Preemption disable" start="84" end="84" type="bool"/>
<field name="Sampler Count" start="98" end="100" type="uint">
<value name="No samplers used" value="0"/>
<value name="Between 1 and 4 samplers used" value="1"/>
@@ -394,17 +478,13 @@
<value name="Between 9 and 12 samplers used" value="3"/>
<value name="Between 13 and 16 samplers used" value="4"/>
</field>
- <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
+ <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
<field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
- <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
<field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
- <field name="Rounding Mode" start="214" end="215" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
- </field>
- <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
+ <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
<field name="Shared Local Memory Size" start="208" end="212" type="uint">
<value name="Encodes 0K" value="0"/>
<value name="Encodes 1K" value="1"/>
@@ -415,105 +495,177 @@
<value name="Encodes 32K" value="6"/>
<value name="Encodes 64K" value="7"/>
</field>
- <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
- <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
+ <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Rounding Mode" start="214" end="215" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
+ </field>
<field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
</struct>
- <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
- <field name="Rounding Precision" start="0" end="2" type="uint">
- <value name="+1/16" value="0"/>
- <value name="+2/16" value="1"/>
- <value name="+3/16" value="2"/>
- <value name="+4/16" value="3"/>
- <value name="+5/16" value="4"/>
- <value name="+6/16" value="5"/>
- <value name="+7/16" value="6"/>
- <value name="+8/16" value="7"/>
+ <struct name="LUMA_FILTER_COEFFICIENTS_ARRAY" length="4">
+ <field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
+ </struct>
+
+ <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
+ <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
+ <field name="Last MB" start="3" end="3" type="bool"/>
+ <field name="Last Pic Slice" start="5" end="5" type="bool"/>
+ <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
+ <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
+ <field name="MB Count" start="8" end="15" type="uint"/>
+ <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
+ <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
+ <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
+ <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
+ </struct>
+
+ <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
+ <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
+ <value name="NOOP" value="0x000"/>
+ <value name="LOAD" value="0x080"/>
+ <value name="LOADINV" value="0x480"/>
+ <value name="LOAD0" value="0x081"/>
+ <value name="LOAD1" value="0x481"/>
+ <value name="ADD" value="0x100"/>
+ <value name="SUB" value="0x101"/>
+ <value name="AND" value="0x102"/>
+ <value name="OR" value="0x103"/>
+ <value name="XOR" value="0x104"/>
+ <value name="STORE" value="0x180"/>
+ <value name="STOREINV" value="0x580"/>
</field>
</struct>
<struct name="PALETTE_ENTRY" length="1">
- <field name="Alpha" start="24" end="31" type="uint"/>
- <field name="Red" start="16" end="23" type="uint"/>
- <field name="Green" start="8" end="15" type="uint"/>
<field name="Blue" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="BINDING_TABLE_STATE" length="1">
- <field name="Surface State Pointer" start="6" end="31" type="offset"/>
+ <field name="Green" start="8" end="15" type="uint"/>
+ <field name="Red" start="16" end="23" type="uint"/>
+ <field name="Alpha" start="24" end="31" type="uint"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="16">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_STRBUF" value="5"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Surface Array" start="28" end="28" type="bool"/>
- <field name="Surface Format" start="18" end="27" type="uint"/>
- <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
- <value name="VALIGN 4" value="1"/>
- <value name="VALIGN 8" value="2"/>
- <value name="VALIGN 16" value="3"/>
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
</field>
- <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
- <value name="HALIGN 4" value="1"/>
- <value name="HALIGN 8" value="2"/>
- <value name="HALIGN 16" value="3"/>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="Write-Only Cache" value="0"/>
+ <value name="Read-Write Cache" value="1"/>
</field>
+ <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
+ <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
+ <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
<field name="Tile Mode" start="12" end="13" type="uint">
<value name="LINEAR" value="0"/>
<value name="WMAJOR" value="1"/>
<value name="XMAJOR" value="2"/>
<value name="YMAJOR" value="3"/>
</field>
- <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
- <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
- <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="Write-Only Cache" value="0"/>
- <value name="Read-Write Cache" value="1"/>
+ <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
+ <value name="HALIGN 4" value="1"/>
+ <value name="HALIGN 8" value="2"/>
+ <value name="HALIGN 16" value="3"/>
</field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
+ <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
+ <value name="VALIGN 4" value="1"/>
+ <value name="VALIGN 8" value="2"/>
+ <value name="VALIGN 16" value="3"/>
+ </field>
+ <field name="Surface Format" start="18" end="27" type="uint"/>
+ <field name="Surface Array" start="28" end="28" type="bool"/>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_STRBUF" value="5"/>
+ <value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
- <field name="MOCS" start="56" end="62" type="uint"/>
- <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
<field name="Surface QPitch" start="32" end="46" type="uint"/>
- <field name="Height" start="80" end="93" type="uint"/>
+ <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
+ <field name="MOCS" start="56" end="62" type="uint"/>
<field name="Width" start="64" end="77" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Height" start="80" end="93" type="uint"/>
+ <field name="Surface Pitch" start="96" end="113" type="uint"/>
<field name="Tile Address Mapping Mode" start="116" end="116" type="uint">
<value name="Gen9" value="0"/>
<value name="Gen10+" value="1"/>
</field>
- <field name="Surface Pitch" start="96" end="113" type="uint"/>
- <field name="Force Non-Comparison Reduction Type" start="159" end="159" type="bool"/>
- <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
- <value name="0DEG" value="0"/>
- <value name="90DEG" value="1"/>
- <value name="180DEG" value="2"/>
- <value name="270DEG" value="3"/>
- </field>
- <field name="Minimum Array Element" start="146" end="156" type="uint"/>
- <field name="Render Target View Extent" start="135" end="145" type="uint"/>
- <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
- <value name="MSFMT_MSS" value="0"/>
- <value name="MSFMT_DEPTH_STENCIL" value="1"/>
- </field>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
<field name="Number of Multisamples" start="131" end="133" type="uint">
<value name="MULTISAMPLECOUNT_1" value="0"/>
<value name="MULTISAMPLECOUNT_2" value="1"/>
@@ -521,10 +673,26 @@
<value name="MULTISAMPLECOUNT_8" value="3"/>
<value name="MULTISAMPLECOUNT_16" value="4"/>
</field>
- <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
- <field name="Y Offset" start="181" end="183" type="uint"/>
- <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
+ <value name="MSFMT_MSS" value="0"/>
+ <value name="MSFMT_DEPTH_STENCIL" value="1"/>
+ </field>
+ <field name="Render Target View Extent" start="135" end="145" type="uint"/>
+ <field name="Minimum Array Element" start="146" end="156" type="uint"/>
+ <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
+ <value name="0DEG" value="0"/>
+ <value name="90DEG" value="1"/>
+ <value name="180DEG" value="2"/>
+ <value name="270DEG" value="3"/>
+ </field>
+ <field name="Force Non-Comparison Reduction Type" start="159" end="159" type="bool"/>
+ <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
+ <field name="Surface Min LOD" start="164" end="167" type="uint"/>
+ <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
+ <field name="Coherency Type" start="174" end="174" type="uint">
+ <value name="GPU coherent" value="0"/>
+ <value name="IA coherent" value="1"/>
+ </field>
<field name="Tiled Resource Mode" start="178" end="179" type="uint">
<value name="NONE" value="0"/>
<value name="4KB" value="1"/>
@@ -532,15 +700,9 @@
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
- <field name="Coherency Type" start="174" end="174" type="uint">
- <value name="GPU coherent" value="0"/>
- <value name="IA coherent" value="1"/>
- </field>
- <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
- <field name="Surface Min LOD" start="164" end="167" type="uint"/>
- <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
- <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
- <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Y Offset" start="181" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
<field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
<value name="AUX_NONE" value="0"/>
<value name="AUX_CCS_D" value="1"/>
@@ -548,52 +710,68 @@
<value name="AUX_HIZ" value="3"/>
<value name="AUX_CCS_E" value="5"/>
</field>
- <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
- <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
<field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
+ <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
+ <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
+ <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
+ <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
+ <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
+ <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
<field name="Memory Compression Mode" start="255" end="255" type="uint">
<value name="Horizontal" value="0"/>
<value name="Vertical" value="1"/>
</field>
- <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
- <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
- <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
- <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
- <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
- <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
<field name="Surface Base Address" start="256" end="319" type="address"/>
- <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
- <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
- <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
- <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
- <field name="Clear Value Address Enable" start="330" end="330" type="bool"/>
- <field name="Quilt Height" start="325" end="329" type="uint"/>
<field name="Quilt Width" start="320" end="324" type="uint"/>
- <!-- This address points to the address of a Clear Color in the case of
- CCS_D and CCS_E surfaces, and Depth Color for HiZ surfaces -->
- <field name="Clear Value Address" start="390" end="431" type="address"/>
+ <field name="Quilt Height" start="325" end="329" type="uint"/>
+ <field name="Clear Value Address Enable" start="330" end="330" type="bool"/>
+ <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
+ <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
+ <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
+ <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
<field name="Red Clear Color" start="384" end="415" type="int"/>
+ <field name="Clear Value Address" start="390" end="431" type="address"/>
<field name="Green Clear Color" start="416" end="447" type="int"/>
<field name="Blue Clear Color" start="448" end="479" type="int"/>
<field name="Alpha Clear Color" start="480" end="511" type="int"/>
</struct>
- <struct name="CLEAR_COLOR" length="8">
- <field name="Raw Clear Color Red" start="0" end="31" type="int"/>
- <field name="Raw Clear Color Green" start="32" end="63" type="int"/>
- <field name="Raw Clear Color Blue" start="64" end="95" type="int"/>
- <field name="Raw Clear Color Alpha" start="96" end="127" type="int"/>
- <!-- Reserved - MBZ -->
+ <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
+ <field name="Rounding Precision" start="0" end="2" type="uint">
+ <value name="+1/16" value="0"/>
+ <value name="+2/16" value="1"/>
+ <value name="+3/16" value="2"/>
+ <value name="+4/16" value="3"/>
+ <value name="+5/16" value="4"/>
+ <value name="+6/16" value="5"/>
+ <value name="+7/16" value="6"/>
+ <value name="+8/16" value="7"/>
+ </field>
+ </struct>
+
+ <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
+ <field name="Border Color Float Red" start="0" end="31" type="float"/>
+ <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
+ <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
+ <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
+ <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
</struct>
<struct name="SAMPLER_INDIRECT_STATE_BORDER_COLOR" length="4">
<field name="Border Color Red As S31" start="0" end="31" type="int"/>
<field name="Border Color Red As U32" start="0" end="31" type="uint"/>
<field name="Border Color Red As Float" start="0" end="31" type="float"/>
- <field name="Border Color Alpha As U8" start="24" end="31" type="uint"/>
- <field name="Border Color Blue As U8" start="16" end="23" type="uint"/>
- <field name="Border Color Green As U8" start="8" end="15" type="uint"/>
<field name="Border Color Red As U8" start="0" end="7" type="uint"/>
+ <field name="Border Color Green As U8" start="8" end="15" type="uint"/>
+ <field name="Border Color Blue As U8" start="16" end="23" type="uint"/>
+ <field name="Border Color Alpha As U8" start="24" end="31" type="uint"/>
<field name="Border Color Green As S31" start="32" end="63" type="int"/>
<field name="Border Color Green As U32" start="32" end="63" type="uint"/>
<field name="Border Color Green As Float" start="32" end="63" type="float"/>
@@ -605,62 +783,42 @@
<field name="Border Color Alpha As Float" start="96" end="127" type="float"/>
</struct>
- <struct name="FILTER_COEFFICIENT" length="1">
- <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
- </struct>
-
- <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
- <field name="Border Color Float Red" start="0" end="31" type="float"/>
- <field name="Border Color Float Green" start="32" end="63" type="float"/>
- <field name="Border Color Float Blue" start="64" end="95" type="float"/>
- <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
-
- <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
- <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
- <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
- <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
- </struct>
-
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="Texture Border Color Mode" start="29" end="29" type="uint">
- <value name="DX10/OGL" value="0"/>
- <value name="DX9" value="1"/>
- </field>
- <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
- <value name="NONE" value="0"/>
- <value name="OGL" value="2"/>
- </field>
- <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
+ <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
+ <value name="LEGACY" value="0"/>
+ <value name="EWA Approximation" value="1"/>
</field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
- <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
- <value name="LEGACY" value="0"/>
- <value name="EWA Approximation" value="1"/>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
</field>
- <field name="Min LOD" start="52" end="63" type="u4.8"/>
- <field name="Max LOD" start="40" end="51" type="u4.8"/>
- <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
- <field name="ChromaKey Index" start="37" end="38" type="uint"/>
- <field name="ChromaKey Mode" start="36" end="36" type="uint">
- <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
- <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
+ <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
+ <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
+ <value name="NONE" value="0"/>
+ <value name="OGL" value="2"/>
+ </field>
+ <field name="Texture Border Color Mode" start="29" end="29" type="uint">
+ <value name="DX10/OGL" value="0"/>
+ <value name="DX9" value="1"/>
+ </field>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
+ <value name="PROGRAMMED" value="0"/>
+ <value name="OVERRIDE" value="1"/>
</field>
<field name="Shadow Function" start="33" end="35" type="uint">
<value name="PREFILTEROP ALWAYS" value="0"/>
@@ -672,22 +830,37 @@
<value name="PREFILTEROP NOTEQUAL" value="6"/>
<value name="PREFILTEROP GEQUAL" value="7"/>
</field>
- <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
- <value name="PROGRAMMED" value="0"/>
- <value name="OVERRIDE" value="1"/>
+ <field name="ChromaKey Mode" start="36" end="36" type="uint">
+ <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
+ <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
</field>
- <field name="Border Color Pointer" start="70" end="87" type="offset"/>
- <field name="Force gather4 Behavior" start="69" end="69" type="bool"/>
+ <field name="ChromaKey Index" start="37" end="38" type="uint"/>
+ <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
+ <field name="Max LOD" start="40" end="51" type="u4.8"/>
+ <field name="Min LOD" start="52" end="63" type="u4.8"/>
<field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
<value name="MIPNONE" value="0"/>
<value name="MIPFILTER" value="1"/>
</field>
- <field name="Reduction Type" start="118" end="119" type="uint">
- <value name="STD_FILTER" value="0"/>
- <value name="COMPARISON" value="1"/>
- <value name="MINIMUM" value="2"/>
- <value name="MAXIMUM" value="3"/>
+ <field name="Force gather4 Behavior" start="69" end="69" type="bool"/>
+ <field name="Border Color Pointer" start="70" end="87" type="offset"/>
+ <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
+ <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
+ <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
+ <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
+ <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
+ <value name="FULL" value="0"/>
+ <value name="HIGH" value="1"/>
+ <value name="MED" value="2"/>
+ <value name="LOW" value="3"/>
</field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -698,23 +871,12 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
- <value name="FULL" value="0"/>
- <value name="HIGH" value="1"/>
- <value name="MED" value="2"/>
- <value name="LOW" value="3"/>
+ <field name="Reduction Type" start="118" end="119" type="uint">
+ <value name="STD_FILTER" value="0"/>
+ <value name="COMPARISON" value="1"/>
+ <value name="MINIMUM" value="2"/>
+ <value name="MAXIMUM" value="3"/>
</field>
- <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
- <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
- <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
- <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
- <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
</struct>
<struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
@@ -727,392 +889,211 @@
</group>
</struct>
- <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
- <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
- <value name="NOOP" value="0x000"/>
- <value name="LOAD" value="0x080"/>
- <value name="LOADINV" value="0x480"/>
- <value name="LOAD0" value="0x081"/>
- <value name="LOAD1" value="0x481"/>
- <value name="ADD" value="0x100"/>
- <value name="SUB" value="0x101"/>
- <value name="AND" value="0x102"/>
- <value name="OR" value="0x103"/>
- <value name="XOR" value="0x104"/>
- <value name="STORE" value="0x180"/>
- <value name="STOREINV" value="0x580"/>
- </field>
- <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- </struct>
-
- <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
- <field name="Priority" start="0" end="1" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- </struct>
-
- <struct name="MEMORYADDRESSATTRIBUTES" length="1">
- <field name="Tiled Resource Mode" start="13" end="14" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint"/>
- <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
- <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
- <field name="Arbitration Priority Control" start="7" end="8" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="MOCS" start="1" end="6" type="uint"/>
- </struct>
-
- <struct name="CHROMA_FILTER_COEFFICIENTS_ARRAY" length="2">
- <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
- </struct>
-
- <struct name="FRAMEDELTAQP" length="2">
- <group count="8" start="0" size="8">
- <field name="Frame Delta QP" start="0" end="7" type="int"/>
- </group>
- </struct>
-
- <struct name="FRAMEDELTAQPRANGE" length="2">
- <group count="8" start="0" size="8">
- <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
- </group>
- </struct>
-
- <struct name="HCP_REF_LIST_ENTRY" length="1">
- <field name="Top Field" start="15" end="15" type="bool"/>
- <field name="Field Pic" start="14" end="14" type="bool"/>
- <field name="Long Term Reference" start="13" end="13" type="bool"/>
- <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
- <value name="Default" value="0"/>
- <value name="Explicit" value="1"/>
- </field>
- <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
- <value name="Default" value="0"/>
- <value name="Explicit" value="1"/>
- </field>
- <field name="List Entry" start="8" end="10" type="uint"/>
- <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
- <field name="CtbPos3+i" start="24" end="31" type="uint"/>
- <field name="CtbPos2+i" start="16" end="23" type="uint"/>
- <field name="CtbPos1+i" start="8" end="15" type="uint"/>
- <field name="CtbPos0+i" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
- <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
- <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
- <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
- <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
- </struct>
-
- <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
- <field name="Luma Offset LX" start="8" end="15" type="uint"/>
- <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
- </struct>
-
- <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
- <field name="Lambda Value 1" start="16" end="31" type="uint"/>
- <field name="Lambda Value 0" start="0" end="15" type="uint"/>
- </struct>
-
- <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
- <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
- <field name="Address" start="0" end="63" type="address"/>
- </struct>
-
- <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
- <field name="Concealment Method" start="31" end="31" type="uint"/>
- <field name="Init Current MB Number" start="30" end="30" type="bool"/>
- <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
- <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
- <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
- <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
- <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
- <field name="MPR Error Handling" start="12" end="12" type="bool"/>
- <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
- <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
- <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
- <field name="MB Error Concealment B Spatial Motion Vectors Override Disable Flag" start="4" end="4" type="bool"/>
- <field name="MB Error Concealment B Spatial Weight Prediction Disable Flag" start="3" end="3" type="bool"/>
- <field name="MB Error Concealment P Slice Motion Vectors Override Disable Flag" start="1" end="1" type="bool"/>
- <field name="MB Error Concealment P Slice Weight Prediction Disable Flag" start="0" end="0" type="bool"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
- <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
- <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
- <field name="Last Slice" start="35" end="35" type="bool"/>
- <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
- <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
- <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
- <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
- <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
- <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
- <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
- </struct>
-
- <struct name="IMAGE_STATE_COST" length="2">
- <field name="MV 3 Cost" start="24" end="31" type="uint"/>
- <field name="MV 2 Cost" start="16" end="23" type="uint"/>
- <field name="MV 1 Cost" start="8" end="15" type="uint"/>
- <field name="MV 0 Cost" start="0" end="7" type="uint"/>
- <field name="MV 7 Cost" start="56" end="63" type="uint"/>
- <field name="MV 6 Cost" start="48" end="55" type="uint"/>
- <field name="MV 5 Cost" start="40" end="47" type="uint"/>
- <field name="MV 4 Cost" start="32" end="39" type="uint"/>
- </struct>
-
- <struct name="LUMA_FILTER_COEFFICIENTS_ARRAY" length="4">
- <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
- </struct>
-
- <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
- <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
- <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
- <field name="MB Count" start="8" end="15" type="uint"/>
- <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
- <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
- <field name="Last Pic Slice" start="5" end="5" type="bool"/>
- <field name="Last MB" start="3" end="3" type="bool"/>
- <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
- <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
- <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
- <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
<struct name="SFC_AVS_CHROMA_COEFF_TABLE_BODY" length="64">
- <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
<field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
<group count="31" start="64" size="64">
<field name="Filter Coefficients" start="0" end="63" type="CHROMA_FILTER_COEFFICIENTS_ARRAY"/>
</group>
</struct>
<struct name="SFC_AVS_LUMA_COEFF_TABLE_BODY" length="128">
- <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
<field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
<group count="31" start="128" size="128">
<field name="Filter Coefficients" start="0" end="127" type="LUMA_FILTER_COEFFICIENTS_ARRAY"/>
</group>
</struct>
<struct name="SFC_AVS_STATE_BODY" length="2">
- <field name="Sharpness Level" start="24" end="31" type="uint"/>
- <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
<field name="Transition Area with 8 Pixels" start="0" end="2" type="uint"/>
- <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
+ <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
+ <field name="Sharpness Level" start="24" end="31" type="uint"/>
<field name="Max Derivative 8 Pixels" start="32" end="39" type="uint"/>
+ <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
</struct>
<struct name="SFC_IEF_STATE_BODY" length="23">
- <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
- <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
- <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
- <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
<field name="Gain Factor" start="0" end="5" type="uint" default="44"/>
- <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
- <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
- <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
- <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
- <field name="Regular Weight" start="43" end="45" type="uint"/>
- <field name="Non Edge Weight" start="40" end="42" type="uint"/>
+ <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
+ <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
+ <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
+ <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
<field name="Global Noise Estimation" start="32" end="39" type="uint"/>
- <field name="Hue_Max" start="86" end="91" type="uint"/>
- <field name="Sat_Max" start="80" end="85" type="uint"/>
- <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
+ <field name="Non Edge Weight" start="40" end="42" type="uint"/>
+ <field name="Regular Weight" start="43" end="45" type="uint"/>
+ <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
+ <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
+ <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
+ <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
<field name="STD Sin(alpha)" start="64" end="71" type="s0.7"/>
- <field name="V_Mid" start="120" end="127" type="uint"/>
- <field name="U_Mid" start="112" end="119" type="uint"/>
- <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
- <field name="Diamond Margin" start="108" end="110" type="uint"/>
+ <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
+ <field name="Sat_Max" start="80" end="85" type="uint"/>
+ <field name="Hue_Max" start="86" end="91" type="uint"/>
<field name="S3U" start="96" end="106" type="s2.8"/>
+ <field name="Diamond Margin" start="108" end="110" type="uint"/>
+ <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
+ <field name="U_Mid" start="112" end="119" type="uint"/>
+ <field name="V_Mid" start="120" end="127" type="uint"/>
+ <field name="Diamond_dv" start="128" end="134" type="int"/>
+ <field name="Diamond_Th" start="135" end="140" type="uint"/>
+ <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
+ <field name="HS_margin" start="149" end="151" type="uint"/>
+ <field name="Diamond_du" start="152" end="158" type="int"/>
<field name="Skin Detail Factor" start="159" end="159" type="uint">
<value name="Detail Revealed" value="0"/>
<value name="Not Detail Revealed" value="1"/>
</field>
- <field name="Diamond_du" start="152" end="158" type="int"/>
- <field name="HS_margin" start="149" end="151" type="uint"/>
- <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
- <field name="Diamond_Th" start="135" end="140" type="uint"/>
- <field name="Diamond_dv" start="128" end="134" type="int"/>
- <field name="Y_point_4" start="184" end="191" type="uint"/>
- <field name="Y_point_3" start="176" end="183" type="uint"/>
- <field name="Y_point_2" start="168" end="175" type="uint"/>
<field name="Y_point_1" start="160" end="167" type="uint"/>
+ <field name="Y_point_2" start="168" end="175" type="uint"/>
+ <field name="Y_point_3" start="176" end="183" type="uint"/>
+ <field name="Y_point_4" start="184" end="191" type="uint"/>
<field name="INV_Margin_VYL" start="192" end="207" type="u0.16"/>
- <field name="P1L" start="248" end="255" type="uint"/>
- <field name="P0L" start="240" end="247" type="uint"/>
<field name="INV_Margin_VYU" start="224" end="239" type="u0.16"/>
- <field name="B1L" start="280" end="287" type="uint"/>
- <field name="B0L" start="272" end="279" type="uint"/>
- <field name="P3L" start="264" end="271" type="uint"/>
+ <field name="P0L" start="240" end="247" type="uint"/>
+ <field name="P1L" start="248" end="255" type="uint"/>
<field name="P2L" start="256" end="263" type="uint"/>
- <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
- <field name="S0L" start="304" end="314" type="s2.8"/>
- <field name="B3L" start="296" end="303" type="uint"/>
+ <field name="P3L" start="264" end="271" type="uint"/>
+ <field name="B0L" start="272" end="279" type="uint"/>
+ <field name="B1L" start="280" end="287" type="uint"/>
<field name="B2L" start="288" end="295" type="uint"/>
- <field name="S2L" start="331" end="341" type="s2.8"/>
+ <field name="B3L" start="296" end="303" type="uint"/>
+ <field name="S0L" start="304" end="314" type="s2.8"/>
+ <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
<field name="S1L" start="320" end="330" type="s2.8"/>
- <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
- <field name="P1U" start="371" end="378" type="uint"/>
- <field name="P0U" start="363" end="370" type="uint"/>
+ <field name="S2L" start="331" end="341" type="s2.8"/>
<field name="S3L" start="352" end="362" type="s2.8"/>
- <field name="B1U" start="408" end="415" type="uint"/>
- <field name="B0U" start="400" end="407" type="uint"/>
- <field name="P3U" start="392" end="399" type="uint"/>
+ <field name="P0U" start="363" end="370" type="uint"/>
+ <field name="P1U" start="371" end="378" type="uint"/>
+ <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
<field name="P2U" start="384" end="391" type="uint"/>
- <field name="S0U" start="432" end="442" type="s2.8"/>
- <field name="B3U" start="424" end="431" type="uint"/>
+ <field name="P3U" start="392" end="399" type="uint"/>
+ <field name="B0U" start="400" end="407" type="uint"/>
+ <field name="B1U" start="408" end="415" type="uint"/>
<field name="B2U" start="416" end="423" type="uint"/>
- <field name="S2U" start="459" end="469" type="s2.8"/>
+ <field name="B3U" start="424" end="431" type="uint"/>
+ <field name="S0U" start="432" end="442" type="s2.8"/>
<field name="S1U" start="448" end="458" type="s2.8"/>
- <field name="C1" start="496" end="508" type="s2.10"/>
- <field name="C0" start="483" end="495" type="s2.10"/>
- <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
+ <field name="S2U" start="459" end="469" type="s2.8"/>
<field name="Transform Enable" start="480" end="480" type="bool"/>
- <field name="C3" start="525" end="537" type="s2.10"/>
+ <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
+ <field name="C0" start="483" end="495" type="s2.10"/>
+ <field name="C1" start="496" end="508" type="s2.10"/>
<field name="C2" start="512" end="524" type="s2.10"/>
- <field name="C5" start="557" end="569" type="s2.10"/>
+ <field name="C3" start="525" end="537" type="s2.10"/>
<field name="C4" start="544" end="556" type="s2.10"/>
- <field name="C7" start="589" end="601" type="s2.10"/>
+ <field name="C5" start="557" end="569" type="s2.10"/>
<field name="C6" start="576" end="588" type="s2.10"/>
+ <field name="C7" start="589" end="601" type="s2.10"/>
<field name="C8" start="608" end="620" type="s2.10"/>
- <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
<field name="Offset In 1" start="640" end="650" type="s2.8"/>
- <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
+ <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
<field name="Offset In 2" start="672" end="682" type="s2.8"/>
- <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
+ <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
<field name="Offset In 3" start="704" end="714" type="s2.8"/>
+ <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
</struct>
<struct name="SFC_LOCK_BODY" length="1">
- <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
<field name="VE-SFC Pipe Select" start="0" end="0" type="uint"/>
+ <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
</struct>
- <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
- <field name="Tiled Resource Mode" start="13" end="14" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
+ <struct name="SF_CLIP_VIEWPORT" length="16">
+ <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
+ <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
+ <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
+ <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
+ <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
+ <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
+ <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
+ <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
+ <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ <field name="X Min ViewPort" start="384" end="415" type="float"/>
+ <field name="X Max ViewPort" start="416" end="447" type="float"/>
+ <field name="Y Min ViewPort" start="448" end="479" type="float"/>
+ <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ </struct>
+
+ <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
+ <field name="Source Attribute" start="0" end="4" type="uint"/>
+ <field name="Swizzle Select" start="6" end="7" type="uint">
+ <value name="INPUTATTR" value="0"/>
+ <value name="INPUTATTR_FACING" value="1"/>
+ <value name="INPUTATTR_W" value="2"/>
+ <value name="INPUTATTR_FACING_W" value="3"/>
</field>
- <field name="Cache Select" start="12" end="12" type="uint"/>
- <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
- <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Constant Source" start="9" end="10" type="uint">
+ <value name="CONST_0000" value="0"/>
+ <value name="CONST_0001_FLOAT" value="1"/>
+ <value name="CONST_1111_FLOAT" value="2"/>
+ <value name="PRIM_ID" value="3"/>
+ </field>
+ <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
+ <field name="Component Override X" start="12" end="12" type="bool"/>
+ <field name="Component Override Y" start="13" end="13" type="bool"/>
+ <field name="Component Override Z" start="14" end="14" type="bool"/>
+ <field name="Component Override W" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="SO_DECL" length="1">
+ <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
+ <field name="Register Index" start="4" end="9" type="uint"/>
+ <field name="Hole Flag" start="11" end="11" type="uint"/>
+ <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
+ </struct>
+
+ <struct name="SO_DECL_ENTRY" length="2">
+ <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
+ <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
+ <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
+ <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
+ </struct>
+
+ <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
+ <field name="MOCS" start="1" end="6" type="uint"/>
<field name="Arbitration Priority Control" start="7" end="8" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MOCS" start="1" end="6" type="uint"/>
+ <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
+ <field name="Cache Select" start="12" end="12" type="uint"/>
+ <field name="Tiled Resource Mode" start="13" end="14" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</struct>
<struct name="VDENC_PICTURE" length="3">
@@ -1121,11 +1102,20 @@
</struct>
<struct name="VDENC_SURFACE_STATE_FIELDS" length="4">
- <field name="Height" start="18" end="31" type="uint"/>
- <field name="Width" start="4" end="17" type="uint"/>
- <field name="Color Space Selection" start="3" end="3" type="uint"/>
- <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="0" end="1" type="u0.2"/>
+ <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
+ <field name="Color Space Selection" start="3" end="3" type="uint"/>
+ <field name="Width" start="4" end="17" type="uint"/>
+ <field name="Height" start="18" end="31" type="uint"/>
+ <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="33" end="33" type="uint"/>
+ <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
+ <field name="Surface Pitch" start="35" end="51" type="uint"/>
+ <field name="Chroma Downsample Filter Control" start="52" end="54" type="uint"/>
+ <field name="Format" start="59" end="63" type="uint"/>
<field name="Surface Format" start="60" end="63" type="uint" prefix="VDENC">
<value name="YUV 4:2:2" value="0"/>
<value name="RGBA 4:4:4:4" value="1"/>
@@ -1141,43 +1131,50 @@
<value name="NV21" value="11"/>
<value name="P010Variant" value="12"/>
</field>
- <field name="Format" start="59" end="63" type="uint"/>
- <field name="Chroma Downsample Filter Control" start="52" end="54" type="uint"/>
- <field name="Surface Pitch" start="35" end="51" type="uint"/>
- <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
- <field name="Tiled Surface" start="33" end="33" type="uint"/>
- <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
<field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
- <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
+ <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
<field name="Y Offset for V(Cr)" start="96" end="111" type="uint"/>
+ <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
</struct>
- <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
- <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
- <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
- <field name="Indirect Payload Base Address2" start="96" end="128" type="MEMORYADDRESSATTRIBUTES"/>
+ <struct name="VERTEX_BUFFER_STATE" length="4">
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
+ <field name="Address Modify Enable" start="14" end="14" type="bool"/>
+ <field name="MOCS" start="16" end="22" type="uint"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Buffer Starting Address" start="32" end="95" type="address"/>
+ <field name="Buffer Size" start="96" end="127" type="uint"/>
+ </struct>
+
+ <struct name="VERTEX_ELEMENT_STATE" length="2">
+ <field name="Source Element Offset" start="0" end="11" type="uint"/>
+ <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="25" end="25" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
- <field name="Extended Parameters Present" start="11" end="11" type="uint"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="End Offset Enable" start="41" end="41" type="bool"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="Extended Parameters Present" start="11" end="11" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="40" end="40" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
+ <field name="End Offset Enable" start="41" end="41" type="bool"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -1189,361 +1186,371 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
- <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
- <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
- <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
<field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
<value name="No Valid Data" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Blend State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Blend State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
<field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
<field name="ChromaKey High Value" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="float"/>
<field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
</instruction>
<instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Force Clip Mode" start="48" end="48" type="bool"/>
+ <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
+ <field name="Early Cull Enable" start="50" end="50" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Early Cull Enable" start="50" end="50" type="bool"/>
- <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
- <field name="Force Clip Mode" start="48" end="48" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
- <field name="Clip Enable" start="95" end="95" type="bool"/>
- <field name="API Mode" start="94" end="94" type="uint">
- <value name="APIMODE_OGL" value="0"/>
- <value name="APIMODE_D3D" value="1"/>
- </field>
- <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
- <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
+ <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
+ <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
<field name="Clip Mode" start="77" end="79" type="uint">
<value name="CLIPMODE_NORMAL" value="0"/>
<value name="CLIPMODE_REJECT_ALL" value="3"/>
<value name="CLIPMODE_ACCEPT_ALL" value="4"/>
</field>
- <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
- <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
- <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
- <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
- <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
+ <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
+ <field name="API Mode" start="94" end="94" type="uint">
+ <value name="APIMODE_OGL" value="0"/>
+ <value name="APIMODE_D3D" value="1"/>
+ </field>
+ <field name="Clip Enable" start="95" end="95" type="bool"/>
<field name="Maximum VP Index" start="96" end="99" type="uint"/>
+ <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
+ <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
- <field name="Disable Gather at Set Shader Hint" start="15" end="15" type="uint"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="Disable Gather at Set Shader Hint" start="15" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="Surface Type" start="61" end="63" type="uint">
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Depth Write Enable" start="60" end="60" type="bool"/>
- <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="49" type="uint"/>
<field name="Surface Format" start="50" end="52" type="uint">
<value name="D32_FLOAT" value="1"/>
<value name="D24_UNORM_X8_UINT" value="3"/>
<value name="D16_UNORM" value="5"/>
</field>
- <field name="Surface Pitch" start="32" end="49" type="uint"/>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Write Enable" start="60" end="60" type="bool"/>
+ <field name="Surface Type" start="61" end="63" type="uint">
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
<field name="Surface Base Address" start="64" end="127" type="address"/>
- <field name="Height" start="146" end="159" type="uint"/>
- <field name="Width" start="132" end="145" type="uint"/>
<field name="LOD" start="128" end="131" type="uint"/>
- <field name="Depth" start="181" end="191" type="uint"/>
- <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Width" start="132" end="145" type="uint"/>
+ <field name="Height" start="146" end="159" type="uint"/>
<field name="MOCS" start="160" end="166" type="uint"/>
+ <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Depth" start="181" end="191" type="uint"/>
+ <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
<field name="Tiled Resource Mode" start="222" end="223" type="uint">
<value name="NONE" value="0"/>
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
- <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
- <field name="Render Target View Extent" start="245" end="255" type="uint"/>
<field name="Surface QPitch" start="224" end="238" type="uint"/>
+ <field name="Render Target View Extent" start="245" end="255" type="uint"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Core Mode Select" start="14" end="15" type="uint">
<value name="Legacy" value="0"/>
<value name="Core 0 Enabled" value="1"/>
<value name="Core 1 Enabled" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_DS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Accesses UAV" start="110" end="110" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1551,57 +1558,47 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Accesses UAV" start="110" end="110" type="bool"/>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="245" end="254" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
<field name="Dispatch Mode" start="227" end="228" type="uint" prefix="DISPATCH_MODE">
<value name="SIMD4X2" value="0"/>
<value name="SIMD8_SINGLE_PATCH" value="1"/>
<value name="SIMD8_SINGLE_OR_DUAL_PATCH" value="2"/>
</field>
- <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
- <field name="Cache Disable" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="245" end="254" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
<field name="DUAL_PATCH Kernel Start Pointer" start="294" end="351" type="offset"/>
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1609,23 +1606,23 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1633,23 +1630,23 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1657,25 +1654,25 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
- <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1683,25 +1680,25 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
- <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1709,26 +1706,37 @@
</instruction>
<instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
- <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
<field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_GS" bias="2" length="10" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1736,77 +1744,76 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
- <field name="Output Vertex Size" start="215" end="220" type="uint"/>
- <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
- <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
- <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
- <field name="Control Data Header Size" start="244" end="247" type="uint"/>
- <field name="Instance Control" start="239" end="243" type="uint"/>
- <field name="Default Stream Id" start="237" end="238" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
+ <field name="Output Vertex Size" start="215" end="220" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Discard Adjacency" start="225" end="225" type="bool"/>
+ <field name="Reorder Mode" start="226" end="226" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Hint" start="227" end="227" type="uint"/>
+ <field name="Include Primitive ID" start="228" end="228" type="bool"/>
+ <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
<field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
<value name="Dual Instance" value="1"/>
<value name="Dual Object" value="2"/>
<value name="SIMD8" value="3"/>
</field>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
- <field name="Include Primitive ID" start="228" end="228" type="bool"/>
- <field name="Hint" start="227" end="227" type="uint"/>
- <field name="Reorder Mode" start="226" end="226" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="Discard Adjacency" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Default Stream Id" start="237" end="238" type="uint"/>
+ <field name="Instance Control" start="239" end="243" type="uint"/>
+ <field name="Control Data Header Size" start="244" end="247" type="uint"/>
+ <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
+ <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
+ <field name="Static Output" start="286" end="286" type="bool"/>
<field name="Control Data Format" start="287" end="287" type="uint">
<value name="CUT" value="0"/>
<value name="SID" value="1"/>
</field>
- <field name="Static Output" start="286" end="286" type="bool"/>
- <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
- <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
- <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="MOCS" start="57" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="63" type="uint"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_HS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Software Exception Enable" start="44" end="44" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
+ <field name="Floating Point Mode" start="48" end="48" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
<field name="Sampler Count" start="59" end="61" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1814,378 +1821,368 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="48" end="48" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Software Exception Enable" start="44" end="44" type="bool"/>
- <field name="Enable" start="95" end="95" type="bool"/>
- <field name="Statistics Enable" start="93" end="93" type="bool"/>
- <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
<field name="Instance Count" start="64" end="67" type="uint"/>
+ <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
+ <field name="Statistics Enable" start="93" end="93" type="bool"/>
+ <field name="Enable" start="95" end="95" type="bool"/>
<field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
- <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
<field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
- <field name="Single Program Flow" start="251" end="251" type="bool"/>
- <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
- <field name="Accesses UAV" start="249" end="249" type="bool"/>
- <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
- <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
+ <field name="Include Primitive ID" start="224" end="224" type="bool"/>
+ <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
<field name="Dispatch Mode" start="241" end="242" type="uint" prefix="DISPATCH_MODE">
<value name="SINGLE_PATCH" value="0"/>
<value name="DUAL_PATCH" value="1"/>
<value name="8_PATCH" value="2"/>
</field>
- <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
- <field name="Include Primitive ID" start="224" end="224" type="bool"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
+ <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
+ <field name="Accesses UAV" start="249" end="249" type="bool"/>
+ <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
+ <field name="Single Program Flow" start="251" end="251" type="bool"/>
+ <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Buffer Starting Address" start="64" end="127" type="address"/>
<field name="Buffer Size" start="128" end="159" type="uint"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
</instruction>
<instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
+ <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
</instruction>
<instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Number of Multisamples" start="33" end="35" type="uint"/>
<field name="Pixel Location" start="36" end="36" type="uint">
<value name="CENTER" value="0"/>
<value name="UL_CORNER" value="1"/>
</field>
- <field name="Number of Multisamples" start="33" end="35" type="uint"/>
+ <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_PS" bias="2" length="12" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
<field name="DWord Length" start="0" end="7" type="uint" default="10"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
- <field name="Sampler Count" start="123" end="125" type="uint">
- <value name="No Samplers" value="0"/>
- <value name="1-4 Samplers" value="1"/>
- <value name="5-8 Samplers" value="2"/>
- <value name="9-12 Samplers" value="3"/>
- <value name="13-16 Samplers" value="4"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Rounding Mode" start="110" end="111" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
</field>
- <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
- <value name="Flushed to Zero" value="0"/>
- <value name="Retained" value="1"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Thread Dispatch Priority" start="113" end="113" type="uint">
<value name="High" value="1"/>
</field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
+ <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
+ <value name="Flushed to Zero" value="0"/>
+ <value name="Retained" value="1"/>
</field>
- <field name="Rounding Mode" start="110" end="111" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
+ <field name="Sampler Count" start="123" end="125" type="uint">
+ <value name="No Samplers" value="0"/>
+ <value name="1-4 Samplers" value="1"/>
+ <value name="5-8 Samplers" value="2"/>
+ <value name="9-12 Samplers" value="3"/>
+ <value name="13-16 Samplers" value="4"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
- <field name="Push Constant Enable" start="203" end="203" type="bool"/>
- <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
+ <field name="Position XY Offset Select" start="195" end="196" type="uint">
+ <value name="POSOFFSET_NONE" value="0"/>
+ <value name="POSOFFSET_CENTROID" value="2"/>
+ <value name="POSOFFSET_SAMPLE" value="3"/>
+ </field>
<field name="Render Target Resolve Type" start="198" end="199" type="uint">
<value name="RESOLVE_DISABLED" value="0"/>
<value name="RESOLVE_PARTIAL" value="1"/>
<value name="FAST_CLEAR_0" value="2"/>
<value name="RESOLVE_FULL" value="3"/>
</field>
- <field name="Position XY Offset Select" start="195" end="196" type="uint">
- <value name="POSOFFSET_NONE" value="0"/>
- <value name="POSOFFSET_CENTROID" value="2"/>
- <value name="POSOFFSET_SAMPLE" value="3"/>
- </field>
- <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
+ <field name="Push Constant Enable" start="203" end="203" type="bool"/>
+ <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
<field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
<field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
</instruction>
<instruction name="3DSTATE_PS_BLEND" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
- <field name="Has Writeable RT" start="62" end="62" type="bool"/>
- <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
- <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
+ <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
+ <field name="Has Writeable RT" start="62" end="62" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
- <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
- <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
- <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
- <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
- <value name="PSCDEPTH_OFF" value="0"/>
- <value name="PSCDEPTH_ON" value="1"/>
- <value name="PSCDEPTH_ON_GE" value="2"/>
- <value name="PSCDEPTH_ON_LE" value="3"/>
- </field>
- <field name="Force Computed Depth" start="57" end="57" type="bool"/>
- <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
- <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
- <field name="Pixel Shader Requires Source Depth and/or W Plane Coefficients" start="53" end="53" type="bool"/>
- <field name="Pixel Shader Requires Perspective Bary Plane Coefficients" start="52" end="52" type="bool"/>
- <field name="Pixel Shader Requires Non-Perspective Bary Plane Coefficients" start="51" end="51" type="bool"/>
- <field name="Pixel Shader Requires Subpixel Sample Offsets" start="50" end="50" type="bool"/>
- <field name="Simple PS Hint" start="41" end="41" type="bool"/>
- <field name="Attribute Enable" start="40" end="40" type="bool"/>
- <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
- <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
- <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
- <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
- <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Coverage Mask State" start="32" end="33" type="uint" prefix="ICMS">
<value name="NONE" value="0"/>
<value name="NORMAL" value="1"/>
<value name="INNER_CONSERVATIVE" value="2"/>
<value name="DEPTH_COVERAGE" value="3"/>
</field>
+ <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
+ <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
+ <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
+ <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
+ <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
+ <field name="Attribute Enable" start="40" end="40" type="bool"/>
+ <field name="Simple PS Hint" start="41" end="41" type="bool"/>
+ <field name="Pixel Shader Requires Subpixel Sample Offsets" start="50" end="50" type="bool"/>
+ <field name="Pixel Shader Requires Non-Perspective Bary Plane Coefficients" start="51" end="51" type="bool"/>
+ <field name="Pixel Shader Requires Perspective Bary Plane Coefficients" start="52" end="52" type="bool"/>
+ <field name="Pixel Shader Requires Source Depth and/or W Plane Coefficients" start="53" end="53" type="bool"/>
+ <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
+ <field name="Force Computed Depth" start="57" end="57" type="bool"/>
+ <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
+ <value name="PSCDEPTH_OFF" value="0"/>
+ <value name="PSCDEPTH_ON" value="1"/>
+ <value name="PSCDEPTH_ON_GE" value="2"/>
+ <value name="PSCDEPTH_ON_LE" value="3"/>
+ </field>
+ <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
+ <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
+ <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
+ <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_RASTER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
- <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
- <field name="API Mode" start="54" end="55" type="uint">
- <value name="DX9/OGL" value="0"/>
- <value name="DX10.0" value="1"/>
- <value name="DX10.1+" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
+ <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
+ <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Front Winding" start="53" end="53" type="uint">
- <value name="Clockwise" value="0"/>
- <value name="Counter Clockwise" value="1"/>
+ <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
- <value name="NUMRASTSAMPLES_0" value="0"/>
- <value name="NUMRASTSAMPLES_1" value="1"/>
- <value name="NUMRASTSAMPLES_2" value="2"/>
- <value name="NUMRASTSAMPLES_4" value="3"/>
- <value name="NUMRASTSAMPLES_8" value="4"/>
- <value name="NUMRASTSAMPLES_16" value="5"/>
+ <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
+ <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
+ <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
+ <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
+ <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
</field>
+ <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
+ <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
+ <field name="Force Multisampling" start="46" end="46" type="uint"/>
<field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<value name="BACK" value="3"/>
</field>
- <field name="Force Multisampling" start="46" end="46" type="uint"/>
- <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
- <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
- <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
- <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
+ <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
+ <value name="NUMRASTSAMPLES_0" value="0"/>
+ <value name="NUMRASTSAMPLES_1" value="1"/>
+ <value name="NUMRASTSAMPLES_2" value="2"/>
+ <value name="NUMRASTSAMPLES_4" value="3"/>
+ <value name="NUMRASTSAMPLES_8" value="4"/>
+ <value name="NUMRASTSAMPLES_16" value="5"/>
</field>
- <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
- <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
- <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
- <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="Front Winding" start="53" end="53" type="uint">
+ <value name="Clockwise" value="0"/>
+ <value name="Counter Clockwise" value="1"/>
</field>
- <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="API Mode" start="54" end="55" type="uint">
+ <value name="DX9/OGL" value="0"/>
+ <value name="DX10.0" value="1"/>
+ <value name="DX10.1+" value="2"/>
</field>
- <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
- <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
- <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
+ <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
+ <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
<field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
<field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
<field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
</instruction>
<instruction name="3DSTATE_RS_CONSTANT_POINTER" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Shader Select" start="60" end="62" type="uint">
- <value name="VS" value="0"/>
- <value name="PS" value="4"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Operation Load or Store" start="44" end="44" type="uint" prefix="RS">
<value name="Store" value="0"/>
<value name="Load" value="1"/>
</field>
+ <field name="Shader Select" start="60" end="62" type="uint">
+ <value name="VS" value="0"/>
+ <value name="PS" value="4"/>
+ </field>
<field name="Global Constant Buffer Address" start="70" end="95" type="address"/>
<field name="Global Constant Buffer Address High" start="96" end="127" type="address"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
<field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
@@ -2195,168 +2192,168 @@
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Sample Mask" start="32" end="47" type="uint"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
- <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
- <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
- <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
- <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
- <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
- <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
- <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="16x Sample0 Y Offset" start="32" end="35" type="u0.4"/>
- <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
- <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
- <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
- <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
- <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
- <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
- <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
+ <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
+ <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
+ <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
+ <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
+ <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
+ <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
<field name="16x Sample4 Y Offset" start="64" end="67" type="u0.4"/>
- <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
- <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
- <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
- <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
- <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
- <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
- <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
+ <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
+ <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
+ <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
+ <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
+ <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
<field name="16x Sample8 Y Offset" start="96" end="99" type="u0.4"/>
- <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
- <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
- <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
- <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
- <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
- <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
- <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
+ <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
+ <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
+ <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
+ <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
+ <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
<field name="16x Sample12 Y Offset" start="128" end="131" type="u0.4"/>
- <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
- <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
- <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
- <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
- <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
- <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
- <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
+ <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
+ <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
+ <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
+ <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
+ <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
<field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
- <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
- <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
- <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
- <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
- <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
- <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
- <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
+ <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
+ <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
+ <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
+ <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
+ <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
<field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
- <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
- <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
- <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
- <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
- <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
- <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
- <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
+ <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
+ <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
+ <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
+ <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
+ <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
<field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
- <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
- <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
- <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
- <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
- <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
+ <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
+ <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
+ <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
+ <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
+ <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
<field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
+ <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
+ <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
+ <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
+ <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_SBE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
- <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
- <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
- <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
+ <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
+ <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
+ <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
+ <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
<field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
<value name="UPPERLEFT" value="0"/>
<value name="LOWERLEFT" value="1"/>
</field>
- <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
- <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
- <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
- <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
- <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
- <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
+ <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
+ <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
<field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
<field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
<group count="32" start="128" size="2">
<field name="Attribute Active Component Format" start="0" end="1" type="uint" prefix="ACTIVE_COMPONENT">
- <value name="DISABLED" value="0"/>
- <value name="XY" value="1"/>
- <value name="XYZ" value="2"/>
- <value name="XYZW" value="3"/>
+ <value name="DISABLED" value="0"/>
+ <value name="XY" value="1"/>
+ <value name="XYZ" value="2"/>
+ <value name="XYZW" value="3"/>
</field>
</group>
</instruction>
<instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="16">
<field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
</group>
@@ -2366,60 +2363,60 @@
</instruction>
<instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SF" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Line Width" start="44" end="61" type="u11.7"/>
- <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
+ <field name="Line Width" start="44" end="61" type="u11.7"/>
<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="Last Pixel Enable" start="127" end="127" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
- <field name="AA Line Distance Mode" start="110" end="110" type="uint">
- <value name="AALINEDISTANCE_TRUE" value="1"/>
+ <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Point Width Source" start="107" end="107" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
</field>
- <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Point Width Source" start="107" end="107" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
+ <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
+ <field name="AA Line Distance Mode" start="110" end="110" type="uint">
+ <value name="AALINEDISTANCE_TRUE" value="1"/>
</field>
- <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
+ <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
</instruction>
<instruction name="3DSTATE_SO_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
- <field name="SO Buffer Index" start="61" end="62" type="uint"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
- <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
+ <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="SO Buffer Index" start="61" end="62" type="uint"/>
+ <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="66" end="111" type="address"/>
<field name="Surface Size" start="128" end="157" type="uint"/>
<field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
@@ -2427,80 +2424,84 @@
</instruction>
<instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="8" type="uint"/>
- <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
- <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
- <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
- <field name="Num Entries [3]" start="88" end="95" type="uint"/>
- <field name="Num Entries [2]" start="80" end="87" type="uint"/>
- <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
+ <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
<field name="Num Entries [0]" start="64" end="71" type="uint"/>
+ <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Num Entries [2]" start="80" end="87" type="uint"/>
+ <field name="Num Entries [3]" start="88" end="95" type="uint"/>
<group count="0" start="96" size="64">
<field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_STREAMOUT" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="SO Function Enable" start="63" end="63" type="bool"/>
- <field name="Rendering Disable" start="62" end="62" type="bool"/>
- <field name="Render Stream Select" start="59" end="60" type="uint"/>
- <field name="Reorder Mode" start="58" end="58" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Force Rendering" start="55" end="56" type="uint">
<value name="Resreved" value="1"/>
<value name="Force_Off" value="2"/>
<value name="Force_on" value="3"/>
</field>
- <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
- <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
- <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
- <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
- <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
- <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
- <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="Reorder Mode" start="58" end="58" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="Rendering Disable" start="62" end="62" type="bool"/>
+ <field name="SO Function Enable" start="63" end="63" type="bool"/>
<field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
- <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
+ <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
+ <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
+ <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
+ <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
+ <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
+ <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
<field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
- <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
+ <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
<field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
+ <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
</instruction>
<instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Partitioning" start="44" end="45" type="uint">
- <value name="INTEGER" value="0"/>
- <value name="ODD_FRACTIONAL" value="1"/>
- <value name="EVEN_FRACTIONAL" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="TE Enable" start="32" end="32" type="bool"/>
+ <field name="TE Mode" start="33" end="34" type="uint">
+ <value name="HW_TESS" value="0"/>
+ </field>
+ <field name="TE Domain" start="36" end="37" type="uint">
+ <value name="QUAD" value="0"/>
+ <value name="TRI" value="1"/>
+ <value name="ISOLINE" value="2"/>
</field>
<field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
<value name="POINT" value="0"/>
@@ -2508,267 +2509,272 @@
<value name="TRI_CW" value="2"/>
<value name="TRI_CCW" value="3"/>
</field>
- <field name="TE Domain" start="36" end="37" type="uint">
- <value name="QUAD" value="0"/>
- <value name="TRI" value="1"/>
- <value name="ISOLINE" value="2"/>
- </field>
- <field name="TE Mode" start="33" end="34" type="uint">
- <value name="HW_TESS" value="0"/>
+ <field name="Partitioning" start="44" end="45" type="uint">
+ <value name="INTEGER" value="0"/>
+ <value name="ODD_FRACTIONAL" value="1"/>
+ <value name="EVEN_FRACTIONAL" value="2"/>
</field>
- <field name="TE Enable" start="32" end="32" type="bool"/>
<field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
<field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
</instruction>
<instruction name="3DSTATE_URB_CLEAR" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Clear Length" start="48" end="61" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="URB Address" start="32" end="46" type="offset"/>
+ <field name="URB Clear Length" start="48" end="61" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
- <field name="VertexID Offset Enable" start="11" end="11" type="bool"/>
- <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
- <field name="Component Packing Enable" start="9" end="9" type="bool"/>
- <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
+ <field name="Component Packing Enable" start="9" end="9" type="bool"/>
+ <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="VertexID Offset Enable" start="11" end="11" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cut Index" start="32" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_COMPONENT_PACKING" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
- <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
- <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
- <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
- <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
- <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
- <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Element 00 Enables" start="32" end="35" type="uint"/>
- <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
- <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
- <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
- <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
- <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
- <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
- <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
+ <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
+ <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
+ <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
+ <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
+ <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
+ <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
+ <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
<field name="Vertex Element 08 Enables" start="64" end="67" type="uint"/>
- <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
- <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
- <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
- <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
- <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
- <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
- <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
+ <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
+ <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
+ <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
+ <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
+ <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
+ <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
+ <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
<field name="Vertex Element 16 Enables" start="96" end="99" type="uint"/>
- <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
- <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
- <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
- <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
- <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
- <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
- <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
+ <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
+ <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
+ <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
+ <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
+ <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
+ <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
+ <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
<field name="Vertex Element 24 Enables" start="128" end="131" type="uint"/>
+ <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
+ <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
+ <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
+ <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
+ <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
+ <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
+ <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Instancing Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Element Index" start="32" end="37" type="uint"/>
+ <field name="Instancing Enable" start="40" end="40" type="bool"/>
<field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_SGVS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="InstanceID Enable" start="63" end="63" type="bool"/>
- <field name="InstanceID Component Number" start="61" end="62" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="VertexID Component Number" start="45" end="46" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
<field name="VertexID Enable" start="47" end="47" type="bool"/>
- <field name="VertexID Component Number" start="45" end="46" type="uint">
+ <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
+ <field name="InstanceID Component Number" start="61" end="62" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="InstanceID Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_VF_SGVS_2" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="86"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="XP1 Enable" start="63" end="63" type="uint"/>
- <field name="XP1 Component Number" start="61" end="62" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="86"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="XP0 Element Offset" start="32" end="37" type="uint"/>
+ <field name="XP0 Source Select" start="44" end="44" type="uint">
+ <value name="VERTEX_LOCATION" value="1"/>
+ <value name="XP0_PARAMETER" value="0"/>
+ </field>
+ <field name="XP0 Component Number" start="45" end="46" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
+ <field name="XP0 Enable" start="47" end="47" type="uint"/>
+ <field name="XP1 Element Offset" start="48" end="53" type="uint"/>
<field name="XP1 Source Select" start="60" end="60" type="uint">
<value name="Starting Instance Location" value="1"/>
<value name="XP1_PARAMETER" value="0"/>
</field>
- <field name="XP1 Element Offset" start="48" end="53" type="uint"/>
- <field name="XP0 Enable" start="47" end="47" type="uint"/>
- <field name="XP0 Component Number" start="45" end="46" type="uint">
+ <field name="XP1 Component Number" start="61" end="62" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="XP0 Source Select" start="44" end="44" type="uint">
- <value name="VERTEX_LOCATION" value="1"/>
- <value name="XP0_PARAMETER" value="0"/>
- </field>
- <field name="XP0 Element Offset" start="32" end="37" type="uint"/>
- <field name="XP2 Enable" start="79" end="79" type="uint"/>
+ <field name="XP1 Enable" start="63" end="63" type="uint"/>
+ <field name="XP2 Element Offset" start="64" end="69" type="uint"/>
<field name="XP2 Component Number" start="77" end="78" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="XP2 Element Offset" start="64" end="69" type="uint"/>
+ <field name="XP2 Enable" start="79" end="79" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -2776,169 +2782,160 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="246" end="255" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="SIMD8 Single Instance Dispatch Enable" start="233" end="233" type="bool"/>
- <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
- <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
<field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
+ <field name="SIMD8 Single Instance Dispatch Enable" start="233" end="233" type="bool"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="246" end="255" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Statistics Enable" start="63" end="63" type="bool"/>
- <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
- <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="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">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
- <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
- <value name="INTERP_PIXEL" value="0"/>
- <value name="INTERP_CENTROID" value="2"/>
- <value name="INTERP_SAMPLE" value="3"/>
- </field>
- <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 name="Point Rasterization Rule" start="34" end="34" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
+ <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
+ <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
+ <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="Line Antialiasing Region Width" start="38" end="39" type="uint">
+ <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"/>
<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">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <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="Force Kill Pixel Enable" start="32" end="33" type="uint">
+ <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
+ <value name="INTERP_PIXEL" value="0"/>
+ <value name="INTERP_CENTROID" value="2"/>
+ <value name="INTERP_SAMPLE" value="3"/>
+ </field>
+ <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
+ <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
+ </field>
+ <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
+ <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Statistics Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
- <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
- <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
- <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
- <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
- <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
- <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
- <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
- <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
- <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
+ <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
+ <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
+ <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
+ <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
+ <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
+ <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
- <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
+ <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
+ <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
<field name="Backface Stencil Reference Value" start="96" end="103" type="uint"/>
+ <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
- <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
- <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="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
- <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
- <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Multisamples" start="45" end="47" type="uint"/>
- <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
+ <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
+ <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
+ <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
<field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
- <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
+ <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
<field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
+ <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
<field name="Sample Mask" start="128" end="143" type="uint"/>
</instruction>
<instruction name="GPGPU_WALKER" bias="2" length="15" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="13"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
<field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
+ <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
+ <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
+ <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
<field name="SIMD Size" start="158" end="159" type="uint">
<value name="SIMD8" value="0"/>
<value name="SIMD16" value="1"/>
<value name="SIMD32" value="2"/>
</field>
- <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
- <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
- <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
<field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
<field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
<field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
@@ -2950,26 +2947,24 @@
</instruction>
<instruction name="HCP_BSD_OBJECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
</instruction>
<instruction name="HCP_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="FQM DC Value" start="48" end="63" type="uint"/>
- <field name="Color Component" start="35" end="36" type="uint">
- <value name="Luma" value="0"/>
- <value name="Chroma Cb" value="1"/>
- <value name="Chroma Cr" value="2"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Intra/Inter" start="32" end="32" type="uint">
+ <value name="Intra" value="0"/>
+ <value name="Inter" value="1"/>
</field>
<field name="SizeID" start="33" end="34" type="uint">
<value name="4x4" value="0"/>
@@ -2977,21 +2972,23 @@
<value name="16x16" value="2"/>
<value name="32x32" value="3"/>
</field>
- <field name="Intra/Inter" start="32" end="32" type="uint">
- <value name="Intra" value="0"/>
- <value name="Inter" value="1"/>
+ <field name="Color Component" start="35" end="36" type="uint">
+ <value name="Luma" value="0"/>
+ <value name="Chroma Cb" value="1"/>
+ <value name="Chroma Cr" value="2"/>
</field>
+ <field name="FQM DC Value" start="48" end="63" type="uint"/>
<group count="64" start="64" size="8">
<field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="HCP_IND_OBJ_BASE_ADDR_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HCP Indirect Bitstream Object - Base Address" start="32" end="95" type="address"/>
<field name="HCP Indirect Bitstream Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HCP Indirect Bitstream Object - Access Upper Bound" start="128" end="191" type="address"/>
@@ -3013,23 +3010,23 @@
</instruction>
<instruction name="HCP_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="34"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Indirect Payload Enable" start="63" end="63" type="bool"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="34"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
+ <field name="Slice Header Indicator" start="46" end="46" type="bool"/>
<field name="Header Length Excluded From Size" start="47" end="47" type="uint">
<value name="ACCUMULATE" value="0"/>
<value name="NO_ACCUMULATION" value="1"/>
</field>
- <field name="Slice Header Indicator" start="46" end="46" type="bool"/>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
+ <field name="Indirect Payload Enable" start="63" end="63" type="bool"/>
<group count="0" start="64" size="128">
<field name="Indirect Payload" start="0" end="127" type="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD"/>
<field name="Inline PayLoad" start="0" end="31" type="uint"/>
@@ -3037,166 +3034,166 @@
</instruction>
<instruction name="HCP_PAK_OBJECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Last LCU of Slice" start="63" end="63" type="bool"/>
- <field name="Last LCU of Tile" start="62" end="62" type="bool"/>
- <field name="CU Count" start="56" end="61" type="uint"/>
- <field name="Split Level 0" start="52" end="52" type="uint"/>
- <field name="Split Level 1" start="48" end="51" type="uint"/>
- <field name="Split Level 2 Part 3" start="44" end="47" type="uint"/>
- <field name="Split Level 2 Part 2" start="40" end="43" type="uint"/>
- <field name="Split Level 2 Part 1" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Split Level 2 Part 0" start="32" end="35" type="uint"/>
- <field name="Current LCU Y Address" start="80" end="95" type="uint"/>
+ <field name="Split Level 2 Part 1" start="36" end="39" type="uint"/>
+ <field name="Split Level 2 Part 2" start="40" end="43" type="uint"/>
+ <field name="Split Level 2 Part 3" start="44" end="47" type="uint"/>
+ <field name="Split Level 1" start="48" end="51" type="uint"/>
+ <field name="Split Level 0" start="52" end="52" type="uint"/>
+ <field name="CU Count" start="56" end="61" type="uint"/>
+ <field name="Last LCU of Tile" start="62" end="62" type="bool"/>
+ <field name="Last LCU of Slice" start="63" end="63" type="bool"/>
<field name="Current LCU X Address" start="64" end="79" type="uint"/>
+ <field name="Current LCU Y Address" start="80" end="95" type="uint"/>
<field name="Estimated LCU Size" start="96" end="127" type="uint"/>
- <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
- <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
- <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
- <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
<field name="SSE ClassID 32x32_0" start="128" end="131" type="uint"/>
+ <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
+ <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
+ <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
+ <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
</instruction>
<instruction name="HCP_PIC_STATE" bias="2" length="31" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="16"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Frame Height In Minimum Coding Block Size" start="48" end="58" type="uint"/>
- <field name="PAK Transform Skip Enable" start="47" end="47" type="bool"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="16"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width In Minimum Coding Block Size" start="32" end="42" type="uint"/>
- <field name="Max PCM Size" start="74" end="75" type="uint" prefix="PCM">
+ <field name="PAK Transform Skip Enable" start="47" end="47" type="bool"/>
+ <field name="Frame Height In Minimum Coding Block Size" start="48" end="58" type="uint"/>
+ <field name="Min CU Size" start="64" end="65" type="uint" prefix="LCU">
+ <value name="64x64" value="3"/>
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
<value name="8x8" value="0"/>
</field>
- <field name="Min PCM Size" start="72" end="73" type="uint" prefix="PCM">
+ <field name="LCU Size" start="66" end="67" type="uint" prefix="LCU">
+ <value name="64x64" value="3"/>
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
- <value name="8x8" value="0"/>
+ <value name="Illegal/reserved" value="0"/>
</field>
- <field name="Max TU Size" start="70" end="71" type="uint" prefix="TU">
+ <field name="Min TU Size" start="68" end="69" type="uint" prefix="TU">
<value name="32x32" value="3"/>
<value name="16x16" value="2"/>
<value name="8x8" value="1"/>
<value name="4x4" value="0"/>
</field>
- <field name="Min TU Size" start="68" end="69" type="uint" prefix="TU">
+ <field name="Max TU Size" start="70" end="71" type="uint" prefix="TU">
<value name="32x32" value="3"/>
<value name="16x16" value="2"/>
<value name="8x8" value="1"/>
<value name="4x4" value="0"/>
</field>
- <field name="LCU Size" start="66" end="67" type="uint" prefix="LCU">
- <value name="64x64" value="3"/>
+ <field name="Min PCM Size" start="72" end="73" type="uint" prefix="PCM">
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
- <value name="Illegal/reserved" value="0"/>
+ <value name="8x8" value="0"/>
</field>
- <field name="Min CU Size" start="64" end="65" type="uint" prefix="LCU">
- <value name="64x64" value="3"/>
+ <field name="Max PCM Size" start="74" end="75" type="uint" prefix="PCM">
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
<value name="8x8" value="0"/>
</field>
- <field name="CABAC Zero Word Insertion Test Enable" start="98" end="98" type="bool"/>
- <field name="Current Picture Is I Slice" start="97" end="97" type="bool"/>
<field name="Collocated Picture Is I Slice" start="96" end="96" type="bool"/>
+ <field name="Current Picture Is I Slice" start="97" end="97" type="bool"/>
+ <field name="CABAC Zero Word Insertion Test Enable" start="98" end="98" type="bool"/>
+ <field name="Sample Adaptive Offset Enable" start="131" end="131" type="bool"/>
+ <field name="PCM Enable" start="132" end="132" type="bool"/>
+ <field name="CU QP Delta Enable" start="133" end="133" type="bool"/>
+ <field name="Max DQP Depth" start="134" end="135" type="uint"/>
+ <field name="PCM Loop Filter Disable" start="136" end="136" type="bool"/>
+ <field name="Constrained Intra Prediction" start="137" end="137" type="bool"/>
+ <field name="Log2 Parallel Merge Level" start="138" end="140" type="uint"/>
+ <field name="Sign Data Hiding" start="141" end="141" type="bool"/>
+ <field name="Loop Filter Enable" start="143" end="143" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="144" end="144" type="bool"/>
+ <field name="Tiling Enable" start="145" end="145" type="bool"/>
+ <field name="Weighted BiPredication Enable" start="146" end="146" type="bool"/>
+ <field name="Weighted Predication Enable" start="147" end="147" type="bool"/>
+ <field name="Field Pic" start="148" end="148" type="bool"/>
+ <field name="Top Field" start="149" end="149" type="bool"/>
+ <field name="Transform Skip Enable" start="150" end="150" type="bool"/>
+ <field name="AMP Enable" start="151" end="151" type="bool"/>
+ <field name="Transquant Bypass Enable" start="153" end="153" type="bool"/>
+ <field name="Strong Intra Smoothing Enable" start="154" end="154" type="bool"/>
<field name="CU Packet Structure" start="155" end="155" type="uint">
<value name="VME" value="0"/>
<value name="ExtEnc" value="1"/>
</field>
- <field name="Strong Intra Smoothing Enable" start="154" end="154" type="bool"/>
- <field name="Transquant Bypass Enable" start="153" end="153" type="bool"/>
- <field name="AMP Enable" start="151" end="151" type="bool"/>
- <field name="Transform Skip Enable" start="150" end="150" type="bool"/>
- <field name="Top Field" start="149" end="149" type="bool"/>
- <field name="Field Pic" start="148" end="148" type="bool"/>
- <field name="Weighted Predication Enable" start="147" end="147" type="bool"/>
- <field name="Weighted BiPredication Enable" start="146" end="146" type="bool"/>
- <field name="Tiling Enable" start="145" end="145" type="bool"/>
- <field name="Entropy Coding Sync Enable" start="144" end="144" type="bool"/>
- <field name="Loop Filter Enable" start="143" end="143" type="bool"/>
- <field name="Sign Data Hiding" start="141" end="141" type="bool"/>
- <field name="Log2 Parallel Merge Level" start="138" end="140" type="uint"/>
- <field name="Constrained Intra Prediction" start="137" end="137" type="bool"/>
- <field name="PCM Loop Filter Disable" start="136" end="136" type="bool"/>
- <field name="Max DQP Depth" start="134" end="135" type="uint"/>
- <field name="CU QP Delta Enable" start="133" end="133" type="bool"/>
- <field name="PCM Enable" start="132" end="132" type="bool"/>
- <field name="Sample Adaptive Offset Enable" start="131" end="131" type="bool"/>
- <field name="Luma Bit Depth" start="187" end="189" type="uint">
+ <field name="Picture Cb QP Offset" start="160" end="164" type="int"/>
+ <field name="Picture Cr QP Offset" start="165" end="169" type="int"/>
+ <field name="Intra Max Transform Hierarchy Depth" start="170" end="172" type="uint"/>
+ <field name="Inter Max Transform Hierarchy Depth" start="173" end="175" type="uint"/>
+ <field name="Chroma PCM Sample Bit Depth" start="176" end="179" type="uint"/>
+ <field name="Luma PCM Sample Bit Depth" start="180" end="183" type="uint"/>
+ <field name="Chroma Bit Depth" start="184" end="186" type="uint">
<value name="8-bit" value="0"/>
<value name="9-bit" value="1"/>
<value name="10-bit" value="2"/>
<value name="11-bit" value="3"/>
<value name="12-bit" value="4"/>
</field>
- <field name="Chroma Bit Depth" start="184" end="186" type="uint">
+ <field name="Luma Bit Depth" start="187" end="189" type="uint">
<value name="8-bit" value="0"/>
<value name="9-bit" value="1"/>
<value name="10-bit" value="2"/>
<value name="11-bit" value="3"/>
<value name="12-bit" value="4"/>
</field>
- <field name="Luma PCM Sample Bit Depth" start="180" end="183" type="uint"/>
- <field name="Chroma PCM Sample Bit Depth" start="176" end="179" type="uint"/>
- <field name="Inter Max Transform Hierarchy Depth" start="173" end="175" type="uint"/>
- <field name="Intra Max Transform Hierarchy Depth" start="170" end="172" type="uint"/>
- <field name="Picture Cr QP Offset" start="165" end="169" type="int"/>
- <field name="Picture Cb QP Offset" start="160" end="164" type="int"/>
- <field name="Load Bitstream Pointer Per Slice" start="221" end="221" type="bool"/>
- <field name="Frame Bitrate Min Report" start="218" end="218" type="bool"/>
- <field name="Frame Bitrate Max Report" start="217" end="217" type="bool"/>
- <field name="LCU Max Size Report" start="216" end="216" type="bool"/>
- <field name="Non First Pass" start="208" end="208" type="bool"/>
<field name="LCU Max Bit Size Allowed" start="192" end="207" type="uint"/>
- <field name="Frame Bitrate Max Unit" start="255" end="255" type="uint"/>
+ <field name="Non First Pass" start="208" end="208" type="bool"/>
+ <field name="LCU Max Size Report" start="216" end="216" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="217" end="217" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="218" end="218" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="221" end="221" type="bool"/>
<field name="Frame Bitrate Max" start="224" end="237" type="uint"/>
- <field name="Frame Bitrate Min Unit" start="287" end="287" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="255" end="255" type="uint"/>
<field name="Frame Bitrate Min" start="256" end="269" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="304" end="318" type="uint"/>
+ <field name="Frame Bitrate Min Unit" start="287" end="287" type="uint"/>
<field name="Frame Bitrate Min Delta" start="288" end="302" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="304" end="318" type="uint"/>
<field name="Frame Delta QP Max" start="320" end="383" type="FRAMEDELTAQP"/>
<field name="Frame Delta QP Min" start="384" end="447" type="FRAMEDELTAQP"/>
<field name="Frame Delta QP Max Range" start="448" end="511" type="FRAMEDELTAQPRANGE"/>
<field name="Frame Delta QP Min Range" start="512" end="575" type="FRAMEDELTAQPRANGE"/>
+ <field name="Minimum Frame Size" start="576" end="591" type="uint"/>
<field name="Minimum Frame Size Units" start="606" end="607" type="uint" prefix="HCP_MFSU">
<value name="4Kb" value="0"/>
<value name="16Kb" value="1"/>
</field>
- <field name="Minimum Frame Size" start="576" end="591" type="uint"/>
- <field name="Number of LCUs InNormal Slice Size Conformance Mode" start="634" end="635" type="uint"/>
- <field name="RDOQ Enable" start="633" end="633" type="bool"/>
- <field name="SSE Enable" start="632" end="632" type="bool"/>
- <field name="Slice_pic_parameter_set_id" start="626" end="631" type="uint"/>
- <field name="Nal Unit Type" start="625" end="625" type="uint"/>
- <field name="First Slice Segment In Pic" start="624" end="624" type="bool"/>
- <field name="No Output of Prior Pics" start="623" end="623" type="bool"/>
- <field name="PAK Dynamic Slice Mode Enable" start="622" end="622" type="bool"/>
- <field name="Rho Domain Frame Level QP" start="616" end="621" type="uint"/>
- <field name="Fractional QP Adjustment Enable" start="615" end="615" type="bool"/>
- <field name="Rho Domain Rate Control Enable" start="614" end="614" type="bool"/>
- <field name="Fractional QP Offset" start="611" end="613" type="uint"/>
<field name="Fractional QP Input" start="608" end="610" type="uint"/>
+ <field name="Fractional QP Offset" start="611" end="613" type="uint"/>
+ <field name="Rho Domain Rate Control Enable" start="614" end="614" type="bool"/>
+ <field name="Fractional QP Adjustment Enable" start="615" end="615" type="bool"/>
+ <field name="Rho Domain Frame Level QP" start="616" end="621" type="uint"/>
+ <field name="PAK Dynamic Slice Mode Enable" start="622" end="622" type="bool"/>
+ <field name="No Output of Prior Pics" start="623" end="623" type="bool"/>
+ <field name="First Slice Segment In Pic" start="624" end="624" type="bool"/>
+ <field name="Nal Unit Type" start="625" end="625" type="uint"/>
+ <field name="Slice_pic_parameter_set_id" start="626" end="631" type="uint"/>
+ <field name="SSE Enable" start="632" end="632" type="bool"/>
+ <field name="RDOQ Enable" start="633" end="633" type="bool"/>
+ <field name="Number of LCUs InNormal Slice Size Conformance Mode" start="634" end="635" type="uint"/>
<field name="Slice Size Threshold" start="672" end="703" type="uint"/>
<field name="Target Slice Size" start="704" end="735" type="uint"/>
- <field name="Class0_SSE_Threshold1" start="752" end="767" type="uint"/>
<field name="Class0_SSE_Threshold0" start="736" end="751" type="uint"/>
+ <field name="Class0_SSE_Threshold1" start="752" end="767" type="uint"/>
<field name="SSE thresholds for Class1-8" start="768" end="1023" type="uint"/>
</instruction>
<instruction name="HCP_PIPE_BUF_ADDR_STATE" bias="2" length="104" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Decoded Picture - Address" start="32" end="95" type="address"/>
<field name="Decoded Picture - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Deblocking Filter Line Buffer - Address" start="128" end="191" type="address"/>
@@ -3252,45 +3249,43 @@
</instruction>
<instruction name="HCP_PIPE_MODE_SELECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="PAK Frame Level Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="RDOQ Enable" start="43" end="43" type="bool"/>
- <field name="VDEnc Mode" start="42" end="42" type="uint" prefix="VM">
- <value name="MBEnc Mode" value="0"/>
- <value name="VDEnc Mode" value="1"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Codec Select" start="32" end="32" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
</field>
- <field name="Advanced Rate Control Enable" start="41" end="41" type="bool"/>
- <field name="SAO First Pass" start="40" end="40" type="bool"/>
+ <field name="Deblocker Stream-Out Enable" start="33" end="33" type="bool"/>
+ <field name="PAK Pipeline Stream-Out Enable" start="34" end="34" type="bool"/>
+ <field name="Pic Status/Error Report Enable" start="35" end="35" type="bool"/>
<field name="Codec Standard Select" start="37" end="39" type="uint">
<value name="HEVC" value="0"/>
<value name="VP9" value="1"/>
</field>
- <field name="Pic Status/Error Report Enable" start="35" end="35" type="bool"/>
- <field name="PAK Pipeline Stream-Out Enable" start="34" end="34" type="bool"/>
- <field name="Deblocker Stream-Out Enable" start="33" end="33" type="bool"/>
- <field name="Codec Select" start="32" end="32" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
+ <field name="SAO First Pass" start="40" end="40" type="bool"/>
+ <field name="Advanced Rate Control Enable" start="41" end="41" type="bool"/>
+ <field name="VDEnc Mode" start="42" end="42" type="uint" prefix="VM">
+ <value name="MBEnc Mode" value="0"/>
+ <value name="VDEnc Mode" value="1"/>
</field>
+ <field name="RDOQ Enable" start="43" end="43" type="bool"/>
+ <field name="PAK Frame Level Stream-Out Enable" start="44" end="44" type="bool"/>
<field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="HCP_QM_STATE" bias="2" length="18" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="DC Coefficient" start="37" end="44" type="uint"/>
- <field name="Color Component" start="35" end="36" type="uint">
- <value name="Luma" value="0"/>
- <value name="Chroma Cb" value="1"/>
- <value name="Chroma Cr" value="2"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Prediction Type" start="32" end="32" type="uint">
+ <value name="Intra" value="0"/>
+ <value name="Inter" value="1"/>
</field>
<field name="SizeID" start="33" end="34" type="uint">
<value name="4x4" value="0"/>
@@ -3298,21 +3293,23 @@
<value name="16x16" value="2"/>
<value name="32x32" value="3"/>
</field>
- <field name="Prediction Type" start="32" end="32" type="uint">
- <value name="Intra" value="0"/>
- <value name="Inter" value="1"/>
+ <field name="Color Component" start="35" end="36" type="uint">
+ <value name="Luma" value="0"/>
+ <value name="Chroma Cb" value="1"/>
+ <value name="Chroma Cr" value="2"/>
</field>
+ <field name="DC Coefficient" start="37" end="44" type="uint"/>
<field name="Quantizer Matrix" start="64" end="575" type="uint"/>
</instruction>
<instruction name="HCP_RDOQ_STATE" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Inter RDOQ" start="33" end="33" type="bool"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Intra RDOQ" start="32" end="32" type="bool"/>
+ <field name="Inter RDOQ" start="33" end="33" type="bool"/>
<group count="26" start="64" size="16">
<field name="Lambda Intra Luma" start="0" end="15" type="uint"/>
</group>
@@ -3328,31 +3325,39 @@
</instruction>
<instruction name="HCP_REF_IDX_STATE" bias="2" length="18" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="18"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Number of Reference Indexes Active" start="33" end="36" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="18"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
+ <field name="Number of Reference Indexes Active" start="33" end="36" type="uint"/>
<group count="16" start="64" size="32">
<field name="Reference List Entry" start="0" end="31" type="HCP_REF_LIST_ENTRY"/>
</group>
</instruction>
<instruction name="HCP_SLICE_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="20"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Slice Vertical Position" start="48" end="56" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="20"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Horizontal Position" start="32" end="40" type="uint"/>
- <field name="Next Slice Vertical Position" start="80" end="88" type="uint"/>
+ <field name="Slice Vertical Position" start="48" end="56" type="uint"/>
<field name="Next Slice Horizontal Position" start="64" end="72" type="uint"/>
- <field name="Last Slice of Tile" start="120" end="120" type="uint"/>
- <field name="Intra Ref Fetch Disable" start="118" end="118" type="bool"/>
- <field name="Slice Cr QP Offset" start="113" end="117" type="int">
+ <field name="Next Slice Vertical Position" start="80" end="88" type="uint"/>
+ <field name="Slice Type" start="96" end="97" type="uint" prefix="HCP_ST">
+ <value name="B Slice" value="0"/>
+ <value name="P Slice" value="1"/>
+ <value name="I Slice" value="2"/>
+ </field>
+ <field name="Last Slice" start="98" end="98" type="bool"/>
+ <field name="Slice QP Sign" start="99" end="99" type="uint"/>
+ <field name="Dependent Slice" start="100" end="100" type="bool"/>
+ <field name="Slice Temporal MVP Enable" start="101" end="101" type="bool"/>
+ <field name="Slice QP" start="102" end="107" type="uint"/>
+ <field name="Slice Cb QP Offset" start="108" end="112" type="int">
<value name="-12" value="20"/>
<value name="-11" value="21"/>
<value name="-10" value="22"/>
@@ -3366,7 +3371,7 @@
<value name="-2" value="30"/>
<value name="-1" value="31"/>
</field>
- <field name="Slice Cb QP Offset" start="108" end="112" type="int">
+ <field name="Slice Cr QP Offset" start="113" end="117" type="int">
<value name="-12" value="20"/>
<value name="-11" value="21"/>
<value name="-10" value="22"/>
@@ -3380,32 +3385,24 @@
<value name="-2" value="30"/>
<value name="-1" value="31"/>
</field>
- <field name="Slice QP" start="102" end="107" type="uint"/>
- <field name="Slice Temporal MVP Enable" start="101" end="101" type="bool"/>
- <field name="Dependent Slice" start="100" end="100" type="bool"/>
- <field name="Slice QP Sign" start="99" end="99" type="uint"/>
- <field name="Last Slice" start="98" end="98" type="bool"/>
- <field name="Slice Type" start="96" end="97" type="uint" prefix="HCP_ST">
- <value name="B Slice" value="0"/>
- <value name="P Slice" value="1"/>
- <value name="I Slice" value="2"/>
- </field>
- <field name="Collocated MV Temporal Buffer Index" start="154" end="156" type="uint"/>
- <field name="Max Merge Index" start="151" end="153" type="uint"/>
- <field name="CABAC Init" start="150" end="150" type="bool"/>
- <field name="Log2 Weight Denominator Luma" start="147" end="149" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="144" end="146" type="uint"/>
- <field name="Collocated From L0" start="143" end="143" type="bool"/>
- <field name="Low Delay" start="142" end="142" type="bool"/>
- <field name="MVD L1 Zero" start="141" end="141" type="bool"/>
- <field name="Slice SAO Luma" start="140" end="140" type="bool"/>
- <field name="Slice SAO Chroma" start="139" end="139" type="bool"/>
- <field name="Slice Loop Filter Enable" start="138" end="138" type="bool"/>
- <field name="Slice Beta Offset Div2" start="133" end="136" type="int"/>
- <field name="Slice TC Offset Div2" start="129" end="132" type="int"/>
+ <field name="Intra Ref Fetch Disable" start="118" end="118" type="bool"/>
+ <field name="Last Slice of Tile" start="120" end="120" type="uint"/>
<field name="Slice Header Disable Deblocking Filter" start="128" end="128" type="bool"/>
+ <field name="Slice TC Offset Div2" start="129" end="132" type="int"/>
+ <field name="Slice Beta Offset Div2" start="133" end="136" type="int"/>
+ <field name="Slice Loop Filter Enable" start="138" end="138" type="bool"/>
+ <field name="Slice SAO Chroma" start="139" end="139" type="bool"/>
+ <field name="Slice SAO Luma" start="140" end="140" type="bool"/>
+ <field name="MVD L1 Zero" start="141" end="141" type="bool"/>
+ <field name="Low Delay" start="142" end="142" type="bool"/>
+ <field name="Collocated From L0" start="143" end="143" type="bool"/>
+ <field name="Log2 Weight Denominator Chroma" start="144" end="146" type="uint"/>
+ <field name="Log2 Weight Denominator Luma" start="147" end="149" type="uint"/>
+ <field name="CABAC Init" start="150" end="150" type="bool"/>
+ <field name="Max Merge Index" start="151" end="153" type="uint"/>
+ <field name="Collocated MV Temporal Buffer Index" start="154" end="156" type="uint"/>
<field name="Slice Header Length" start="160" end="175" type="uint"/>
- <field name="Round Inter" start="218" end="221" type="uint">
+ <field name="Round Intra" start="212" end="215" type="uint">
<value name="+1/32" value="0"/>
<value name="+2/32" value="1"/>
<value name="+3/32" value="2"/>
@@ -3423,7 +3420,7 @@
<value name="+15/32" value="14"/>
<value name="+16/32" value="15"/>
</field>
- <field name="Round Intra" start="212" end="215" type="uint">
+ <field name="Round Inter" start="218" end="221" type="uint">
<value name="+1/32" value="0"/>
<value name="+2/32" value="1"/>
<value name="+3/32" value="2"/>
@@ -3441,25 +3438,26 @@
<value name="+15/32" value="14"/>
<value name="+16/32" value="15"/>
</field>
- <field name="Header Insertion Present" start="234" end="234" type="bool"/>
- <field name="Slice Data Insertion Present" start="233" end="233" type="bool"/>
- <field name="Tail Insertion Present" start="232" end="232" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="226" end="226" type="bool"/>
<field name="CABAC Zero Word Insertion Enable" start="225" end="225" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="226" end="226" type="bool"/>
+ <field name="Tail Insertion Present" start="232" end="232" type="bool"/>
+ <field name="Slice Data Insertion Present" start="233" end="233" type="bool"/>
+ <field name="Header Insertion Present" start="234" end="234" type="bool"/>
<field name="Indirect PAK-BSE Data Start Offset" start="262" end="284" type="offset"/>
<field name="Transform Skip Lambda" start="288" end="303" type="uint"/>
- <field name="Transform Skip Number of Non-Zero Coeffs Factor1" start="344" end="351" type="uint"/>
- <field name="Transform Skip Number of Zero Coeffs Factor1" start="336" end="343" type="uint"/>
- <field name="Transform Skip Number of Non-Zero Coeffs Factor0" start="328" end="335" type="uint"/>
<field name="Transform Skip Number of Zero Coeffs Factor0" start="320" end="327" type="uint"/>
+ <field name="Transform Skip Number of Non-Zero Coeffs Factor0" start="328" end="335" type="uint"/>
+ <field name="Transform Skip Number of Zero Coeffs Factor1" start="336" end="343" type="uint"/>
+ <field name="Transform Skip Number of Non-Zero Coeffs Factor1" start="344" end="351" type="uint"/>
</instruction>
<instruction name="HCP_SURFACE_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface ID" start="60" end="63" type="uint" prefix="HCP">
<value name="Current Decoded Picture" value="0"/>
<value name="Source Input Picture" value="1"/>
@@ -3467,33 +3465,32 @@
<value name="Golden Reference Picture" value="3"/>
<value name="AltRef Reference Picture" value="4"/>
</field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
<field name="Surface Format" start="92" end="95" type="uint">
<value name="P010Variant" value="3"/>
<value name="PLANAR_420_8" value="4"/>
<value name="P010" value="13"/>
<value name="P016" value="14"/>
</field>
- <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
</instruction>
<instruction name="HCP_TILE_CODING" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SAO Parameter Offset" start="128" end="159" type="uint"/>
</instruction>
<instruction name="HCP_TILE_STATE" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="Media Instruction Command" start="16" end="22" type="uint" default="17"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Number of Tile Columns" start="37" end="41" type="uint"/>
+ <field name="Media Instruction Command" start="16" end="22" type="uint" default="17"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Tile Rows" start="32" end="36" type="uint"/>
+ <field name="Number of Tile Columns" start="37" end="41" type="uint"/>
<group count="5" start="64" size="32">
<field name="Column Position" start="0" end="31" type="HCP_TILE_POSITION_IN_CTB"/>
</group>
@@ -3503,50 +3500,38 @@
</instruction>
<instruction name="HCP_VP9_PAK_OBJECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="53"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Last SB of Tile" start="63" end="63" type="bool"/>
- <field name="CU Count" start="56" end="61" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="53"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Split_coding_unit_flag[x0][y0]" start="32" end="52" type="uint"/>
- <field name="Current SB Y Address" start="80" end="95" type="uint"/>
+ <field name="CU Count" start="56" end="61" type="uint"/>
+ <field name="Last SB of Tile" start="63" end="63" type="bool"/>
<field name="Current SB X Address" start="64" end="79" type="uint"/>
- <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
- <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
- <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
- <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
+ <field name="Current SB Y Address" start="80" end="95" type="uint"/>
<field name="SSE ClassID 32x32_0" start="128" end="131" type="uint"/>
+ <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
+ <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
+ <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
+ <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
</instruction>
<instruction name="HCP_VP9_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="48"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Frame Height" start="48" end="61" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="48"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width" start="32" end="45" type="uint"/>
- <field name="Segment ID Stream-In Enable" start="95" end="95" type="bool"/>
- <field name="Segment ID Stream-Out Enable" start="94" end="94" type="bool"/>
- <field name="Lossless Mode" start="93" end="93" type="bool"/>
- <field name="Segmentation Temporal Update" start="92" end="92" type="bool"/>
- <field name="Segmentation Update Map" start="91" end="91" type="bool"/>
- <field name="Segmentation Enable" start="90" end="90" type="bool"/>
- <field name="Sharpness Level" start="87" end="89" type="uint"/>
- <field name="Filter Level" start="81" end="86" type="uint"/>
- <field name="Frame Parallel Decoding Mode Enable" start="80" end="80" type="bool"/>
- <field name="Error Resilient Mode Enable" start="79" end="79" type="bool"/>
- <field name="Refresh Frame Context Enable" start="78" end="78" type="bool"/>
- <field name="Last Frame Type" start="77" end="77" type="uint" prefix="VP9">
+ <field name="Frame Height" start="48" end="61" type="uint"/>
+ <field name="Frame Type" start="64" end="64" type="uint" prefix="VP9">
<value name="Key Frame" value="0"/>
- <value name="Non Key Frame" value="1"/>
+ <value name="Inter Frame" value="1"/>
</field>
- <field name="Selectable TX Mode" start="76" end="76" type="uint"/>
- <field name="Hybrid Prediction Mode" start="75" end="75" type="uint"/>
- <field name="Use Prev in Find MV References" start="74" end="74" type="bool"/>
- <field name="Reference Frame Sign Bias" start="71" end="73" type="uint"/>
+ <field name="Adapt Probabilities" start="65" end="65" type="bool"/>
+ <field name="Intra Only" start="66" end="66" type="bool"/>
+ <field name="Allow Hi Precision MV" start="67" end="67" type="bool"/>
<field name="Motion Compensation Filter Type" start="68" end="70" type="uint">
<value name="Eight-tap" value="0"/>
<value name="Eight-tap-Smooth" value="1"/>
@@ -3554,31 +3539,25 @@
<value name="Bilinear" value="3"/>
<value name="Switchable" value="4"/>
</field>
- <field name="Allow Hi Precision MV" start="67" end="67" type="bool"/>
- <field name="Intra Only" start="66" end="66" type="bool"/>
- <field name="Adapt Probabilities" start="65" end="65" type="bool"/>
- <field name="Frame Type" start="64" end="64" type="uint" prefix="VP9">
+ <field name="Reference Frame Sign Bias" start="71" end="73" type="uint"/>
+ <field name="Use Prev in Find MV References" start="74" end="74" type="bool"/>
+ <field name="Hybrid Prediction Mode" start="75" end="75" type="uint"/>
+ <field name="Selectable TX Mode" start="76" end="76" type="uint"/>
+ <field name="Last Frame Type" start="77" end="77" type="uint" prefix="VP9">
<value name="Key Frame" value="0"/>
- <value name="Inter Frame" value="1"/>
- </field>
- <field name="Profile Level" start="124" end="127" type="uint">
- <value name="Profile_0" value="0"/>
- <value name="Profile_2" value="2"/>
- </field>
- <field name="Bit Depth" start="120" end="123" type="uint">
- <value name="8-bit" value="0"/>
- <value name="10-bit" value="2"/>
- <value name="12-bit" value="4"/>
- </field>
- <field name="Chroma Sampling Format" start="118" end="119" type="uint">
- <value name="Format_420" value="0"/>
- </field>
- <field name="SSE Enable" start="117" end="117" type="bool"/>
- <field name="Log2 Tile Row" start="104" end="105" type="uint">
- <value name="1 Tile Row" value="0"/>
- <value name="2 Tile Row" value="1"/>
- <value name="4 Tile Row" value="2"/>
+ <value name="Non Key Frame" value="1"/>
</field>
+ <field name="Refresh Frame Context Enable" start="78" end="78" type="bool"/>
+ <field name="Error Resilient Mode Enable" start="79" end="79" type="bool"/>
+ <field name="Frame Parallel Decoding Mode Enable" start="80" end="80" type="bool"/>
+ <field name="Filter Level" start="81" end="86" type="uint"/>
+ <field name="Sharpness Level" start="87" end="89" type="uint"/>
+ <field name="Segmentation Enable" start="90" end="90" type="bool"/>
+ <field name="Segmentation Update Map" start="91" end="91" type="bool"/>
+ <field name="Segmentation Temporal Update" start="92" end="92" type="bool"/>
+ <field name="Lossless Mode" start="93" end="93" type="bool"/>
+ <field name="Segment ID Stream-Out Enable" start="94" end="94" type="bool"/>
+ <field name="Segment ID Stream-In Enable" start="95" end="95" type="bool"/>
<field name="Log2 Tile Column" start="96" end="99" type="uint">
<value name="1 Tile Column" value="0"/>
<value name="2 Tile Column" value="1"/>
@@ -3588,95 +3567,113 @@
<value name="32 Tile Column" value="5"/>
<value name="64 Tile Column" value="6"/>
</field>
- <field name="Horizontal Scale Factor for LAST" start="144" end="159" type="u2.14"/>
+ <field name="Log2 Tile Row" start="104" end="105" type="uint">
+ <value name="1 Tile Row" value="0"/>
+ <value name="2 Tile Row" value="1"/>
+ <value name="4 Tile Row" value="2"/>
+ </field>
+ <field name="SSE Enable" start="117" end="117" type="bool"/>
+ <field name="Chroma Sampling Format" start="118" end="119" type="uint">
+ <value name="Format_420" value="0"/>
+ </field>
+ <field name="Bit Depth" start="120" end="123" type="uint">
+ <value name="8-bit" value="0"/>
+ <value name="10-bit" value="2"/>
+ <value name="12-bit" value="4"/>
+ </field>
+ <field name="Profile Level" start="124" end="127" type="uint">
+ <value name="Profile_0" value="0"/>
+ <value name="Profile_2" value="2"/>
+ </field>
<field name="Vertical Scale Factor for LAST" start="128" end="143" type="u2.14"/>
- <field name="Horizontal Scale Factor for GOLDEN" start="176" end="191" type="u2.14"/>
+ <field name="Horizontal Scale Factor for LAST" start="144" end="159" type="u2.14"/>
<field name="Vertical Scale Factor for GOLDEN" start="160" end="175" type="u2.14"/>
- <field name="Horizontal Scale Factor for ALTREF" start="208" end="223" type="u2.14"/>
+ <field name="Horizontal Scale Factor for GOLDEN" start="176" end="191" type="u2.14"/>
<field name="Vertical Scale Factor for ALTREF" start="192" end="207" type="u2.14"/>
- <field name="Last Frame Height" start="240" end="253" type="uint"/>
+ <field name="Horizontal Scale Factor for ALTREF" start="208" end="223" type="u2.14"/>
<field name="Last Frame Width" start="224" end="237" type="uint"/>
- <field name="Golden Frame Height" start="272" end="285" type="uint"/>
+ <field name="Last Frame Height" start="240" end="253" type="uint"/>
<field name="Golden Frame Width" start="256" end="269" type="uint"/>
- <field name="Altref Frame Height" start="304" end="317" type="uint"/>
+ <field name="Golden Frame Height" start="272" end="285" type="uint"/>
<field name="Altref Frame Width" start="288" end="301" type="uint"/>
- <field name="First Partition Size" start="336" end="351" type="uint"/>
+ <field name="Altref Frame Height" start="304" end="317" type="uint"/>
<field name="Uncompressed Header Length" start="320" end="327" type="uint"/>
+ <field name="First Partition Size" start="336" end="351" type="uint"/>
<field name="Motion Comp Scaling Enable" start="353" end="353" type="bool"/>
- <field name="Header Insertion Enable" start="441" end="441" type="bool"/>
- <field name="Tail Insertion Enable" start="440" end="440" type="bool"/>
- <field name="Luma AC Q Index Delta" start="432" end="439" type="uint"/>
<field name="Compressed Header BIN count" start="416" end="431" type="uint"/>
- <field name="Luma DC Q Index Delta" start="464" end="468" type="int"/>
- <field name="Chroma DC Q Index Delta" start="456" end="460" type="int"/>
+ <field name="Luma AC Q Index Delta" start="432" end="439" type="uint"/>
+ <field name="Tail Insertion Enable" start="440" end="440" type="bool"/>
+ <field name="Header Insertion Enable" start="441" end="441" type="bool"/>
<field name="Chroma AC Q Index Delta" start="448" end="452" type="int"/>
- <field name="LF Ref Delta 3" start="504" end="510" type="int"/>
- <field name="LF Ref Delta 2" start="496" end="502" type="int"/>
- <field name="LF Ref Delta 1" start="488" end="494" type="int"/>
+ <field name="Chroma DC Q Index Delta" start="456" end="460" type="int"/>
+ <field name="Luma DC Q Index Delta" start="464" end="468" type="int"/>
<field name="LF Ref Delta 0" start="480" end="486" type="int"/>
- <field name="LF Mode Delta 1" start="520" end="526" type="int"/>
+ <field name="LF Ref Delta 1" start="488" end="494" type="int"/>
+ <field name="LF Ref Delta 2" start="496" end="502" type="int"/>
+ <field name="LF Ref Delta 3" start="504" end="510" type="int"/>
<field name="LF Mode Delta 0" start="512" end="518" type="int"/>
- <field name="Bit Offset for LF Mode Delta" start="560" end="575" type="uint"/>
+ <field name="LF Mode Delta 1" start="520" end="526" type="int"/>
<field name="Bit Offset for LF Ref Delta" start="544" end="559" type="uint"/>
- <field name="Bit Offset for LF Level" start="592" end="607" type="uint"/>
+ <field name="Bit Offset for LF Mode Delta" start="560" end="575" type="uint"/>
<field name="Bit Offset for QIndex" start="576" end="591" type="uint"/>
- <field name="Frame Bitrate Min Report" start="634" end="634" type="bool"/>
- <field name="Frame Bitrate Max Report" start="633" end="633" type="bool"/>
- <field name="VDENC PAK_ONLY PASS" start="625" end="625" type="bool"/>
+ <field name="Bit Offset for LF Level" start="592" end="607" type="uint"/>
<field name="Non First Pass" start="624" end="624" type="bool"/>
- <field name="Frame Bitrate Max Unit" start="671" end="671" type="uint"/>
+ <field name="VDENC PAK_ONLY PASS" start="625" end="625" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="633" end="633" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="634" end="634" type="bool"/>
<field name="Frame Bitrate Max" start="640" end="653" type="uint"/>
- <field name="Frame Bitrate Min Unit" start="703" end="703" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="671" end="671" type="uint"/>
<field name="Frame Bitrate Min" start="672" end="685" type="uint"/>
+ <field name="Frame Bitrate Min Unit" start="703" end="703" type="uint"/>
<field name="Frame Delta QIndex Max" start="704" end="767" type="uint"/>
<field name="Frame Delta QIndex Min" start="768" end="799" type="uint"/>
<field name="Frame Delta LFMax" start="800" end="863" type="uint"/>
<field name="Frame Delta LFMin" start="864" end="895" type="uint"/>
<field name="Frame Delta QIndex LFMax Range" start="896" end="959" type="uint"/>
<field name="Frame Delta QIndex LFMin Range" start="960" end="991" type="uint"/>
+ <field name="Minimum Frame Size" start="992" end="1007" type="uint"/>
<field name="Minimum Frame Size Units" start="1022" end="1023" type="uint" prefix="VP9_MFSU">
<value name="4Kb" value="0"/>
<value name="16Kb" value="1"/>
</field>
- <field name="Minimum Frame Size" start="992" end="1007" type="uint"/>
<field name="Bit Offset for First Partition Size" start="1024" end="1039" type="uint"/>
- <field name="Class0_SSE_Threshold1" start="1072" end="1087" type="uint"/>
<field name="Class0_SSE_Threshold0" start="1056" end="1071" type="uint"/>
+ <field name="Class0_SSE_Threshold1" start="1072" end="1087" type="uint"/>
<field name="SSE Thresholds for Class1-8" start="1088" end="1343" type="uint"/>
</instruction>
<instruction name="HCP_VP9_SEGMENT_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="50"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="50"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Segment ID" start="32" end="34" type="uint"/>
- <field name="Segment Reference Enable" start="67" end="67" type="bool"/>
- <field name="Segment Reference" start="65" end="66" type="uint"/>
<field name="Segment Skipped" start="64" end="64" type="bool"/>
- <field name="Filter Level Ref1 Mode 1" start="120" end="125" type="uint"/>
- <field name="Filter Level Ref1 Mode 0" start="112" end="117" type="uint"/>
- <field name="Filter Level Ref0 Mode 1" start="104" end="109" type="uint"/>
+ <field name="Segment Reference" start="65" end="66" type="uint"/>
+ <field name="Segment Reference Enable" start="67" end="67" type="bool"/>
<field name="Filter Level Ref0 Mode 0" start="96" end="101" type="uint"/>
- <field name="Filter Level Ref3 Mode 1" start="152" end="157" type="uint"/>
- <field name="Filter Level Ref3 Mode 0" start="144" end="149" type="uint"/>
- <field name="Filter Level Ref2 Mode 1" start="136" end="141" type="uint"/>
+ <field name="Filter Level Ref0 Mode 1" start="104" end="109" type="uint"/>
+ <field name="Filter Level Ref1 Mode 0" start="112" end="117" type="uint"/>
+ <field name="Filter Level Ref1 Mode 1" start="120" end="125" type="uint"/>
<field name="Filter Level Ref2 Mode 0" start="128" end="133" type="uint"/>
- <field name="Luma AC Quant Scale" start="176" end="190" type="uint"/>
+ <field name="Filter Level Ref2 Mode 1" start="136" end="141" type="uint"/>
+ <field name="Filter Level Ref3 Mode 0" start="144" end="149" type="uint"/>
+ <field name="Filter Level Ref3 Mode 1" start="152" end="157" type="uint"/>
<field name="Luma DC Quant Scale" start="160" end="174" type="uint"/>
- <field name="Chroma AC Quant Scale" start="208" end="222" type="uint"/>
+ <field name="Luma AC Quant Scale" start="176" end="190" type="uint"/>
<field name="Chroma DC Quant Scale" start="192" end="206" type="uint"/>
- <field name="Segment LF Level Delta" start="240" end="246" type="int"/>
+ <field name="Chroma AC Quant Scale" start="208" end="222" type="uint"/>
<field name="Segment QIndex Delta" start="224" end="232" type="int"/>
+ <field name="Segment LF Level Delta" start="240" end="246" type="int"/>
</instruction>
<instruction name="HCP_WEIGHTOFFSET_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="19"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="19"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="16" start="64" size="32">
<field name="Luma Offsets" start="0" end="31" type="HCP_WEIGHTOFFSET_LUMA_ENTRY"/>
@@ -3687,14 +3684,14 @@
</instruction>
<instruction name="HEVC_VP9_RDOQ_STATE" bias="2" length="62" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="60"/>
- <field name="HTQ Performance Fix 0 Disable" start="63" end="63" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HTQ Performance Fix 1 Disable" start="62" end="62" type="bool"/>
+ <field name="HTQ Performance Fix 0 Disable" start="63" end="63" type="bool"/>
<group count="32" start="64" size="32">
<field name="Intra Luma Lambda" start="0" end="31" type="HEVC_VP9_RDOQ_LAMBDA_FIELDS"/>
</group>
@@ -3710,11 +3707,11 @@
</instruction>
<instruction name="HUC_CFG_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="P24C" start="32" end="32" type="uint">
<value name="Normal operation" value="0"/>
<value name="Force reset" value="1"/>
@@ -3722,11 +3719,11 @@
</instruction>
<instruction name="HUC_DMEM_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Data Source - Address" start="32" end="95" type="address"/>
<field name="HUC Data Source - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HUC Data Destination - Address" start="134" end="144" type="address"/>
@@ -3734,20 +3731,20 @@
</instruction>
<instruction name="HUC_IMEM_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Firmware Descriptor" start="128" end="135" type="uint"/>
</instruction>
<instruction name="HUC_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Indirect Stream-In Object - Address" start="32" end="95" type="address"/>
<field name="HUC Indirect Stream-In Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HUC Indirect Stream-In Object - Access Upper Bound" start="128" end="191" type="address"/>
@@ -3757,137 +3754,137 @@
</instruction>
<instruction name="HUC_PIPE_MODE_SELECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="HUC Stream Object Enable" start="42" end="42" type="bool"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Stream-Out Enable" start="36" end="36" type="bool"/>
+ <field name="HUC Stream Object Enable" start="42" end="42" type="bool"/>
<field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
</instruction>
<instruction name="HUC_START" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Last Stream Object" start="32" end="32" type="bool"/>
</instruction>
<instruction name="HUC_STREAM_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Stream-In Data Length" start="32" end="63" type="uint"/>
- <field name="HuC Processing" start="95" end="95" type="bool"/>
<field name="Indirect Stream-In - Address" start="64" end="92" type="address"/>
+ <field name="HuC Processing" start="95" end="95" type="bool"/>
<field name="Indirect Stream-Out - Address" start="96" end="124" type="address"/>
- <field name="HUC Bitstream Enable" start="157" end="157" type="bool"/>
+ <field name="Start Code Byte [0]" start="128" end="135" type="uint"/>
+ <field name="Start Code Byte [1]" start="136" end="143" type="uint"/>
+ <field name="Start Code Byte [2]" start="144" end="151" type="uint"/>
+ <field name="Start Code Search Engine" start="152" end="152" type="bool"/>
+ <field name="Emulation Prevention Byte Removal" start="153" end="153" type="bool"/>
+ <field name="Stream-Out" start="154" end="154" type="bool"/>
<field name="DRM Length Mode" start="155" end="156" type="uint">
<value name="Start Code Mode" value="0"/>
<value name="Length Mode" value="1"/>
</field>
- <field name="Stream-Out" start="154" end="154" type="bool"/>
- <field name="Emulation Prevention Byte Removal" start="153" end="153" type="bool"/>
- <field name="Start Code Search Engine" start="152" end="152" type="bool"/>
- <field name="Start Code Byte [2]" start="144" end="151" type="uint"/>
- <field name="Start Code Byte [1]" start="136" end="143" type="uint"/>
- <field name="Start Code Byte [0]" start="128" end="135" type="uint"/>
+ <field name="HUC Bitstream Enable" start="157" end="157" type="bool"/>
</instruction>
<instruction name="HUC_VIRTUAL_ADDR_STATE" bias="2" length="49" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="96">
<field name="HUC Virtual Address Region" start="0" end="95" type="HUC_VIRTUAL_ADDR_REGION"/>
</group>
</instruction>
<instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
<field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
<field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
</instruction>
<instruction name="MEDIA_OBJECT" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="14" type="uint" default="4"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
- <field name="Force Destination" start="86" end="86" type="uint"/>
- <field name="Use Scoreboard" start="85" end="85" type="uint">
- <value name="Not using scoreboard" value="0"/>
- <value name="Using scoreboard" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="SubSlice Destination Select" start="81" end="82" type="uint">
+ <value name="Subslice 3" value="3"/>
+ <value name="SubSlice 2" value="2"/>
+ <value name="SubSlice 1" value="1"/>
+ <value name="SubSlice 0" value="0"/>
</field>
<field name="Slice Destination Select" start="83" end="84" type="uint">
<value name="Slice 0" value="0"/>
<value name="Slice 1" value="1"/>
<value name="Slice 2" value="2"/>
</field>
- <field name="SubSlice Destination Select" start="81" end="82" type="uint">
- <value name="Subslice 3" value="3"/>
- <value name="SubSlice 2" value="2"/>
- <value name="SubSlice 1" value="1"/>
- <value name="SubSlice 0" value="0"/>
+ <field name="Use Scoreboard" start="85" end="85" type="uint">
+ <value name="Not using scoreboard" value="0"/>
+ <value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Force Destination" start="86" end="86" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<group count="0" start="192" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_GRPID" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="15" type="uint" default="5"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="End of Thread Group" start="87" end="87" type="uint"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="End of Thread Group" start="87" end="87" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoreboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoreboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<field name="GroupID" start="192" end="223" type="uint"/>
<group count="0" start="224" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
@@ -3895,41 +3892,42 @@
</instruction>
<instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="14" type="uint" default="14"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
<field name="PRT_FenceType" start="86" end="86" type="uint">
<value name="Root thread queue" value="0"/>
<value name="VFE state flush" value="1"/>
</field>
+ <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<group count="12" start="128" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="14" type="uint" default="15"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
- <field name="Masked Dispatch" start="86" end="87" type="uint"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Masked Dispatch" start="86" end="87" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
<field name="Indirect Data Start Address" start="96" end="127" type="uint"/>
+ <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
<field name="Group ID Loop Select" start="168" end="191" type="uint">
<value name="No_Groups" value="0"/>
<value name="Color_Groups" value="1"/>
@@ -3938,59 +3936,56 @@
<value name="OuterLocal_Groups" value="4"/>
<value name="InnerGlobal_Groups" value="5"/>
</field>
- <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Color Count Minus One" start="216" end="219" type="uint"/>
- <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
- <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
<field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
- <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
+ <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
+ <field name="Color Count Minus One" start="216" end="219" type="uint"/>
<field name="Local Loop Exec Count" start="224" end="235" type="uint"/>
- <field name="Block Resolution Y" start="272" end="282" type="uint"/>
+ <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
<field name="Block Resolution X" start="256" end="266" type="uint"/>
- <field name="Local Start Y" start="304" end="314" type="uint"/>
+ <field name="Block Resolution Y" start="272" end="282" type="uint"/>
<field name="Local Start X" start="288" end="298" type="uint"/>
- <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
+ <field name="Local Start Y" start="304" end="314" type="uint"/>
<field name="Local Outer Loop Stride X" start="352" end="363" type="int"/>
- <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
+ <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
<field name="Local Inner Loop Unit X" start="384" end="395" type="int"/>
- <field name="Global Resolution Y" start="432" end="442" type="uint"/>
+ <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
<field name="Global Resolution X" start="416" end="426" type="uint"/>
- <field name="Global Start Y" start="464" end="475" type="int"/>
+ <field name="Global Resolution Y" start="432" end="442" type="uint"/>
<field name="Global Start X" start="448" end="459" type="int"/>
- <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
+ <field name="Global Start Y" start="464" end="475" type="int"/>
<field name="Global Outer Loop Stride X" start="480" end="491" type="int"/>
- <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
+ <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
<field name="Global Inner Loop Unit X" start="512" end="523" type="int"/>
+ <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
<group count="0" start="544" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="Flush to GO" start="39" end="39" type="bool"/>
- <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="Flush to GO" start="39" end="39" type="bool"/>
</instruction>
<instruction name="MEDIA_VFE_STATE" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="7"/>
- <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
- <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
- <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
- <field name="Number of URB Entries" start="104" end="111" type="uint"/>
- <field name="Reset Gateway Timer" start="103" end="103" type="uint">
- <value name="Maintaining the existing timestamp state" value="0"/>
- <value name="Resetting relative timer and latching the global timestamp" value="1"/>
+ <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
+ <field name="SLM Bank Selection Policy" start="99" end="99" type="uint">
+ <value name="Legacy" value="0"/>
+ <value name="SLM Load Balance" value="1"/>
</field>
<field name="Thread Dispatch Selection Policy" start="100" end="101" type="uint">
<value name="Legacy" value="0"/>
@@ -3998,49 +3993,51 @@
<value name="Prefer 2SS" value="2"/>
<value name="Load Balance" value="3"/>
</field>
- <field name="SLM Bank Selection Policy" start="99" end="99" type="uint">
- <value name="Legacy" value="0"/>
- <value name="SLM Load Balance" value="1"/>
+ <field name="Reset Gateway Timer" start="103" end="103" type="uint">
+ <value name="Maintaining the existing timestamp state" value="0"/>
+ <value name="Resetting relative timer and latching the global timestamp" value="1"/>
</field>
+ <field name="Number of URB Entries" start="104" end="111" type="uint"/>
+ <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
<field name="Slice Disable" start="128" end="129" type="uint">
<value name="All Subslices Enabled" value="0"/>
<value name="Only Slice 0 Enabled" value="1"/>
<value name="Only Slice 0 Subslice 0 Enabled" value="3"/>
</field>
- <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
<field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
- <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
+ <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
+ <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
+ <field name="Number of Media Objects per Pre-Emption Checkpoint" start="200" end="207" type="uint"/>
<field name="Scoreboard Type" start="222" end="222" type="uint">
<value name="Stalling Scoreboard" value="0"/>
<value name="Non-Stalling Scoreboard" value="1"/>
</field>
- <field name="Number of Media Objects per Pre-Emption Checkpoint" start="200" end="207" type="uint"/>
- <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
- <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
- <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
- <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
- <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
- <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
- <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
- <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
<field name="Scoreboard 0 Delta X" start="224" end="227" type="int"/>
- <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
- <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
- <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
- <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
- <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
- <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
- <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
+ <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
+ <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
+ <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
+ <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
+ <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
+ <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
<field name="Scoreboard 4 Delta X" start="256" end="259" type="int"/>
+ <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
+ <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
+ <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
+ <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
+ <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
+ <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
+ <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
</instruction>
<instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="12" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="10"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<group count="8" start="96" size="32">
@@ -4052,164 +4049,164 @@
</instruction>
<instruction name="MFC_JPEG_HUFF_TABLE_STATE" bias="2" length="176" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="174"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huff Table ID" start="32" end="32" type="uint"/>
<field name="DC_TABLE" start="64" end="447" type="uint"/>
<field name="AC_TABLE" start="448" end="5631" type="uint"/>
</instruction>
<instruction name="MFC_JPEG_SCAN_OBJECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MCU Count" start="32" end="57" type="uint"/>
- <field name="Huffman AC Table" start="86" end="88" type="uint"/>
- <field name="Huffman DC Table" start="82" end="84" type="uint"/>
- <field name="Head Present" start="81" end="81" type="bool"/>
- <field name="Last Scan" start="80" end="80" type="bool"/>
<field name="Restart Interval" start="64" end="79" type="uint"/>
+ <field name="Last Scan" start="80" end="80" type="bool"/>
+ <field name="Head Present" start="81" end="81" type="bool"/>
+ <field name="Huffman DC Table" start="82" end="84" type="uint"/>
+ <field name="Huffman AC Table" start="86" end="88" type="uint"/>
</instruction>
<instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="7"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="8" start="32" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
- <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
- <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Stream ID" start="32" end="33" type="uint"/>
+ <field name="Slice ID" start="36" end="39" type="uint"/>
+ <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
+ <field name="Intra Slice" start="45" end="45" type="bool"/>
+ <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
+ <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
+ <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
+ <field name="Header Insertion Present" start="49" end="49" type="bool"/>
+ <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
+ <field name="Last Slice" start="51" end="51" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
+ <field name="Rate Control Panic Type" start="54" end="54" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
<field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
- <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
- <field name="Rate Control Panic Type" start="54" end="54" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
- <field name="Last Slice" start="51" end="51" type="bool"/>
- <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
- <field name="Header Insertion Present" start="49" end="49" type="bool"/>
- <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
- <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
- <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
- <field name="Intra Slice" start="45" end="45" type="bool"/>
- <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
- <field name="Slice ID" start="36" end="39" type="uint"/>
- <field name="Stream ID" start="32" end="33" type="uint"/>
- <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
- <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
- <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
<field name="First MB X Count" start="64" end="71" type="uint"/>
- <field name="Slice Group Skip" start="104" end="104" type="bool"/>
+ <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
+ <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
<field name="Slice Group QP" start="96" end="101" type="uint"/>
+ <field name="Slice Group Skip" start="104" end="104" type="bool"/>
<field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
- <field name="Shrink Resistance" start="172" end="175" type="uint"/>
- <field name="Shrink Init" start="168" end="171" type="uint"/>
- <field name="Grow Resistance" start="164" end="167" type="uint"/>
<field name="Grow Init" start="160" end="163" type="uint"/>
- <field name="Correct 6" start="212" end="215" type="uint"/>
- <field name="Correct 5" start="208" end="211" type="uint"/>
- <field name="Correct 4" start="204" end="207" type="uint"/>
- <field name="Correct 3" start="200" end="203" type="uint"/>
- <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Grow Resistance" start="164" end="167" type="uint"/>
+ <field name="Shrink Init" start="168" end="171" type="uint"/>
+ <field name="Shrink Resistance" start="172" end="175" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
<field name="Correct 1" start="192" end="195" type="uint"/>
- <field name="CV7" start="252" end="255" type="uint"/>
- <field name="CV6" start="248" end="251" type="uint"/>
- <field name="CV5" start="244" end="247" type="uint"/>
- <field name="CV4" start="240" end="243" type="uint"/>
- <field name="CV3" start="236" end="239" type="uint"/>
- <field name="CV2" start="232" end="235" type="uint"/>
- <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Correct 3" start="200" end="203" type="uint"/>
+ <field name="Correct 4" start="204" end="207" type="uint"/>
+ <field name="Correct 5" start="208" end="211" type="uint"/>
+ <field name="Correct 6" start="212" end="215" type="uint"/>
<field name="CV0" start="224" end="227" type="uint"/>
+ <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="CV2" start="232" end="235" type="uint"/>
+ <field name="CV3" start="236" end="239" type="uint"/>
+ <field name="CV4" start="240" end="243" type="uint"/>
+ <field name="CV5" start="244" end="247" type="uint"/>
+ <field name="CV6" start="248" end="251" type="uint"/>
+ <field name="CV7" start="252" end="255" type="uint"/>
</instruction>
<instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
<field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
</instruction>
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <group count="16" start="48" size="1">
- <field name="Long Term Frame" start="0" end="0" type="uint"/>
- </group>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="1">
- <field name="Non-Existing Frame" start="0" end="0" type="uint">
- <value name="INVALID" value="1"/>
- <value name="VALID" value="0"/>
- </field>
+ <field name="Non-Existing Frame" start="0" end="0" type="uint">
+ <value name="INVALID" value="1"/>
+ <value name="VALID" value="0"/>
+ </field>
+ </group>
+ <group count="16" start="48" size="1">
+ <field name="Long Term Frame" start="0" end="0" type="uint"/>
</group>
<group count="16" start="64" size="2">
- <field name="Used for Reference" start="0" end="1" type="uint">
- <value name="NOT_REFERENCE" value="0"/>
- <value name="TOP_FIELD" value="1"/>
- <value name="BOTTOM_FIELD" value="2"/>
- <value name="FRAME" value="3"/>
- </field>
+ <field name="Used for Reference" start="0" end="1" type="uint">
+ <value name="NOT_REFERENCE" value="0"/>
+ <value name="TOP_FIELD" value="1"/>
+ <value name="BOTTOM_FIELD" value="2"/>
+ <value name="FRAME" value="3"/>
+ </field>
</group>
<group count="16" start="96" size="16">
- <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
- <value name="Long Term Frame" value="1"/>
- <value name="Short Term Frame" value="0"/>
- </field>
+ <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
+ <value name="Long Term Frame" value="1"/>
+ <value name="Short Term Frame" value="0"/>
+ </field>
</group>
<group count="16" start="352" size="16">
- <field name="View ID" start="0" end="15" type="uint"/>
+ <field name="View ID" start="0" end="15" type="uint"/>
</group>
<group count="16" start="608" size="8">
- <field name="L0 View Order" start="0" end="7" type="uint"/>
+ <field name="L0 View Order" start="0" end="7" type="uint"/>
</group>
<group count="16" start="736" size="8">
- <field name="L1 View Order" start="0" end="7" type="uint"/>
+ <field name="L1 View Order" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFD_AVC_PICID_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="PictureID Remapping Disable" start="32" end="32" type="uint">
<value name="Use 16 bits Picture ID" value="0"/>
<value name="Use 4 bits FrameStoreID" value="1"/>
@@ -4220,28 +4217,28 @@
</instruction>
<instruction name="MFD_AVC_SLICEADDR" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
+ <field name="Driver Provided NAL Type Value" start="96" end="103" type="uint"/>
<field name="AVC NAL Type First Byte Override" start="104" end="104" type="uint">
<value name="Use Bitstream Decoded NAL Type" value="0"/>
<value name="Use Driver Programmed NAL Type" value="1"/>
</field>
- <field name="Driver Provided NAL Type Value" start="96" end="103" type="uint"/>
</instruction>
<instruction name="MFD_IT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
@@ -4254,204 +4251,204 @@
</instruction>
<instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="63" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
- <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="Scan Vertical Position" start="96" end="108" type="uint"/>
- <field name="Interleaved" start="158" end="158" type="bool"/>
- <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="MCU Count" start="128" end="153" type="uint"/>
+ <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Interleaved" start="158" end="158" type="bool"/>
<field name="Restart Interval" start="160" end="175" type="uint"/>
</instruction>
<instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
</instruction>
<instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
- <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
- <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="First MB Bit Offset" start="128" end="130" type="uint"/>
+ <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
</instruction>
<instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width In MBs" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
- <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
- <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
- <field name="Sync Marker" start="76" end="76" type="bool"/>
- <field name="MV Mode" start="72" end="75" type="uint"/>
- <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
- <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
- <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
- <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
<field name="VC1 Profile" start="64" end="64" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="CONDOVER" start="125" end="126" type="uint"/>
- <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
+ <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
+ <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
+ <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
+ <field name="MV Mode" start="72" end="75" type="uint"/>
+ <field name="Sync Marker" start="76" end="76" type="bool"/>
+ <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
+ <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="B Scale Factor" start="96" end="103" type="uint"/>
+ <field name="PQ Value" start="104" end="108" type="uint"/>
+ <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
<field name="Frame Coding Mode" start="120" end="121" type="uint">
<value name="Progressive Frame Picture" value="0"/>
<value name="Interlaced Frame Picture" value="1"/>
<value name="Field Picture with Top Field First" value="2"/>
<value name="Field Picture with Bottom Field First" value="3"/>
</field>
- <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
- <field name="PQ Value" start="104" end="108" type="uint"/>
- <field name="B Scale Factor" start="96" end="103" type="uint"/>
- <field name="Unified MV Mode" start="156" end="157" type="uint">
- <value name="1-MV half-pel bilinear" value="3"/>
- <value name="1-MV" value="1"/>
- <value name="1-MV half-pel" value="2"/>
- <value name="Mixed MV" value="0"/>
+ <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="CONDOVER" start="125" end="126" type="uint"/>
+ <field name="PQ Uniform" start="128" end="128" type="bool"/>
+ <field name="Half QP" start="129" end="129" type="bool"/>
+ <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
+ <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
+ <field name="Extended MV Range" start="136" end="137" type="uint"/>
+ <field name="Extended DMV Range" start="138" end="139" type="uint"/>
+ <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
+ <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
+ <field name="Number of References" start="152" end="152" type="uint">
+ <value name="One field referenced" value="0"/>
+ <value name="Two fields referenced" value="1"/>
</field>
- <field name="Four MV Switch" start="155" end="155" type="uint">
- <value name="Only 1-MV" value="0"/>
- <value name="1, 2, or 4 MVs" value="1"/>
+ <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
+ <value name="Top (even) Field" value="0"/>
+ <value name="Bottom (odd) Field" value="1"/>
</field>
<field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
- <value name="Top (even) Field" value="0"/>
- <value name="Bottom (odd) Field" value="1"/>
+ <field name="Four MV Switch" start="155" end="155" type="uint">
+ <value name="Only 1-MV" value="0"/>
+ <value name="1, 2, or 4 MVs" value="1"/>
</field>
- <field name="Number of References" start="152" end="152" type="uint">
- <value name="One field referenced" value="0"/>
- <value name="Two fields referenced" value="1"/>
+ <field name="Unified MV Mode" start="156" end="157" type="uint">
+ <value name="1-MV half-pel bilinear" value="3"/>
+ <value name="1-MV" value="1"/>
+ <value name="1-MV half-pel" value="2"/>
+ <value name="Mixed MV" value="0"/>
</field>
- <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
- <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
- <field name="Extended DMV Range" start="138" end="139" type="uint"/>
- <field name="Extended MV Range" start="136" end="137" type="uint"/>
- <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
- <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
- <field name="Half QP" start="129" end="129" type="bool"/>
- <field name="PQ Uniform" start="128" end="128" type="bool"/>
- <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
- <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
- <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
- <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
- <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
- <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
- <field name="ACPRED Raw" start="185" end="185" type="bool"/>
- <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
- <field name="MV Table" start="180" end="182" type="uint"/>
- <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
- <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
+ <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
+ <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
+ <field name="MB Mode Table" start="168" end="170" type="uint"/>
+ <field name="MB Transform Type" start="171" end="171" type="bool"/>
<field name="Picture-level Transform Type" start="172" end="173" type="uint">
<value name="8x8 Transform" value="0"/>
<value name="8x4 Transform" value="1"/>
<value name="4x8 Transform" value="2"/>
<value name="4x4 Transform" value="3"/>
</field>
- <field name="MB Transform Type" start="171" end="171" type="bool"/>
- <field name="MB Mode Table" start="168" end="170" type="uint"/>
- <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
- <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
- <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
- <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
+ <field name="MV Table" start="180" end="182" type="uint"/>
+ <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
+ <field name="ACPRED Raw" start="185" end="185" type="bool"/>
+ <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
+ <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
+ <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
+ <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
+ <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
+ <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
</instruction>
<instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
- <field name="MV Mode" start="80" end="83" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="Picture Structure" start="64" end="65" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Intra Picture" start="68" end="68" type="bool"/>
+ <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
<field name="VC1 Profile" start="75" end="75" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
- <field name="Intra Picture" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
- <field name="Picture Structure" start="64" end="65" type="uint"/>
- <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
- <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
- <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
- <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
- <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
- <field name="QUANTIZER" start="110" end="111" type="uint"/>
- <field name="MULTIRES Present" start="109" end="109" type="bool"/>
- <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
- <field name="RANGERED Present" start="107" end="107" type="bool"/>
- <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
- <field name="PANSCAN Present" start="103" end="103" type="bool"/>
- <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
- <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="MV Mode" start="80" end="83" type="uint"/>
+ <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
+ <field name="DQUANT" start="97" end="98" type="uint"/>
+ <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
<field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
- <field name="DQUANT" start="97" end="98" type="uint"/>
- <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
- <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
- <field name="4-MV Allowed" start="136" end="136" type="bool"/>
- <field name="POSTPROC" start="135" end="135" type="bool"/>
- <field name="PULLDOWN" start="134" end="134" type="bool"/>
- <field name="INTERLACE" start="133" end="133" type="bool"/>
- <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
- <field name="FINTERFLAG" start="131" end="131" type="bool"/>
- <field name="REFPIC" start="130" end="130" type="bool"/>
- <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
+ <field name="PANSCAN Present" start="103" end="103" type="bool"/>
+ <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
+ <field name="RANGERED Present" start="107" end="107" type="bool"/>
+ <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
+ <field name="MULTIRES Present" start="109" end="109" type="bool"/>
+ <field name="QUANTIZER" start="110" end="111" type="uint"/>
+ <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
+ <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
+ <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
+ <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
+ <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
<field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
+ <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="REFPIC" start="130" end="130" type="bool"/>
+ <field name="FINTERFLAG" start="131" end="131" type="bool"/>
+ <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
+ <field name="INTERLACE" start="133" end="133" type="bool"/>
+ <field name="PULLDOWN" start="134" end="134" type="bool"/>
+ <field name="POSTPROC" start="135" end="135" type="bool"/>
+ <field name="4-MV Allowed" start="136" end="136" type="bool"/>
+ <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
</instruction>
<instruction name="MFD_VP8_BSD_OBJECT" bias="2" length="22" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="20"/>
- <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
- <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
- <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Partition0 First MB Bit Offset from Frame Header" start="32" end="34" type="uint"/>
+ <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
<field name="Partition0 CPBAC Entropy Value" start="88" end="95" type="uint"/>
<field name="Indirect Partition0 Data Length" start="96" end="119" type="uint"/>
<field name="Indirect Partition0 Data Start Offset" start="128" end="159" type="uint"/>
@@ -4471,24 +4468,24 @@
<field name="Indirect Partition7 Data Start Offset" start="576" end="607" type="uint"/>
<field name="Indirect Partition8 Data Length" start="608" end="631" type="uint"/>
<field name="Indirect Partition8 Data Start Offset" start="640" end="671" type="uint"/>
+ <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
+ <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
+ <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
+ <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
+ <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
<field name="Concealment Method" start="703" end="703" type="uint">
<value name="Intra 16x16 Prediction" value="0"/>
<value name="Inter P Copy" value="1"/>
</field>
- <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
- <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
- <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
- <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
</instruction>
<instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="71" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="69"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="64">
<field name="Direct MV Buffer - Address" start="0" end="63" type="address"/>
</group>
@@ -4501,128 +4498,128 @@
</instruction>
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="12"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Size" start="32" end="47" type="uint"/>
- <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Frame Width" start="64" end="71" type="uint"/>
- <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
- <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
- <field name="Rho Domain Rate Control Enable" start="109" end="109" type="bool"/>
- <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
- <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
- <value name="DEFAULT" value="0"/>
- <value name="EXPLICIT" value="1"/>
- <value name="IMPLICIT" value="2"/>
- </field>
+ <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Image Structure" start="104" end="105" type="uint">
<value name="Frame Picture" value="0"/>
<value name="Top Field Picture" value="1"/>
<value name="Bottom Field Picture" value="3"/>
<value name="Invalid, not allowed." value="2"/>
</field>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="MB Status Read" start="143" end="143" type="bool"/>
- <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
- <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
+ <value name="DEFAULT" value="0"/>
+ <value name="EXPLICIT" value="1"/>
+ <value name="IMPLICIT" value="2"/>
+ </field>
+ <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
+ <field name="Rho Domain Rate Control Enable" start="109" end="109" type="bool"/>
+ <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
+ <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
+ <field name="Field Picure" start="128" end="128" type="bool"/>
+ <field name="MBAFF Mode" start="129" end="129" type="bool"/>
+ <field name="Frame MB Only" start="130" end="130" type="bool"/>
+ <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
+ <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
+ <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
+ <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
+ <field name="MB MV Format" start="136" end="136" type="uint">
+ <value name="IGNORE" value="0"/>
+ <value name="FOLLOW" value="1"/>
+ </field>
<field name="Chroma Format IDC" start="138" end="139" type="uint">
<value name="Monochrome picture" value="0"/>
<value name="4:2:0 picture" value="1"/>
<value name="4:2:2 picture (not supported)" value="2"/>
<value name="4:4:4 picture (not supported)" value="3"/>
</field>
- <field name="MB MV Format" start="136" end="136" type="uint">
- <value name="IGNORE" value="0"/>
- <value name="FOLLOW" value="1"/>
- </field>
- <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
- <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
- <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
- <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
- <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
- <field name="Frame MB Only" start="130" end="130" type="bool"/>
- <field name="MBAFF Mode" start="129" end="129" type="bool"/>
- <field name="Field Picure" start="128" end="128" type="bool"/>
- <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
- <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
- <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
- <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
+ <field name="MB Status Read" start="143" end="143" type="bool"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
+ <field name="Force IPCM Control" start="167" end="167" type="bool"/>
+ <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="AVC_MFSU">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
- <field name="Force IPCM Control" start="167" end="167" type="bool"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
+ <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
+ <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
- <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
- <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
- <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
- <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
<field name="Initial QP Value" start="416" end="423" type="int"/>
- <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
- <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
- <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
- <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
- <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
- <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
- <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
- <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
+ <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
+ <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
<field name="Pic Order Present" start="448" end="448" type="bool"/>
- <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
+ <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
+ <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
+ <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
+ <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
+ <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
+ <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
+ <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
<field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
- <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
- <field name="Max View IDXL1" start="530" end="533" type="uint"/>
- <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
<field name="Current Frame View ID" start="512" end="521" type="uint"/>
- <field name="Rho Domain Average MB QP" start="560" end="565" type="uint"/>
- <field name="Extended Rho Domain Statistics Enable" start="552" end="552" type="bool"/>
- <field name="Fractional QP Offset" start="547" end="549" type="uint"/>
+ <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Max View IDXL1" start="530" end="533" type="uint"/>
+ <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
<field name="Fractional QP Input" start="544" end="546" type="uint"/>
+ <field name="Fractional QP Offset" start="547" end="549" type="uint"/>
+ <field name="Extended Rho Domain Statistics Enable" start="552" end="552" type="bool"/>
+ <field name="Rho Domain Average MB QP" start="560" end="565" type="uint"/>
<field name="Threshold Size" start="608" end="639" type="uint"/>
<field name="Target Slice Size" start="640" end="671" type="uint"/>
</instruction>
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="32" start="64" size="8">
<field name="Reference List Entry" start="0" end="7" type="uint"/>
@@ -4630,68 +4627,73 @@
</instruction>
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Type" start="32" end="35" type="uint" prefix="AVC_ST">
<value name="P Slice" value="0"/>
<value name="B Slice" value="1"/>
<value name="I Slice" value="2"/>
</field>
- <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
- <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
- <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
+ <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
+ <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
+ <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
+ <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
+ <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
+ <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
<field name="Direct Prediction Type" start="125" end="125" type="uint">
<value name="Temporal" value="0"/>
<value name="Spatial" value="1"/>
</field>
- <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
- <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
- <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
- <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
- <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
- <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
- <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
<field name="Slice Start MB Number" start="128" end="142" type="uint"/>
- <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
<field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
- <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
- <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Slice ID" start="196" end="199" type="uint"/>
+ <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
+ <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
+ <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
+ <field name="Header Insertion Present" start="209" end="209" type="bool"/>
+ <field name="Last Slice Group" start="211" end="211" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
+ <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
+ <field name="Rate Control Panic Type" start="214" end="214" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
<field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
- <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
- <field name="Rate Control Panic Type" start="214" end="214" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
- <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
- <field name="Last Slice Group" start="211" end="211" type="bool"/>
- <field name="Header Insertion Present" start="209" end="209" type="bool"/>
- <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
- <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
- <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
- <field name="Slice ID" start="196" end="199" type="uint"/>
- <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
<field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
- <field name="Shrink Resistance" start="268" end="271" type="uint"/>
- <field name="Shrink Init" start="264" end="267" type="uint"/>
- <field name="Grow Resistance" start="260" end="263" type="uint"/>
<field name="Grow Init" start="256" end="259" type="uint"/>
- <field name="Round Inter Enable" start="319" end="319" type="bool"/>
- <field name="Round Inter" start="316" end="318" type="uint">
+ <field name="Grow Resistance" start="260" end="263" type="uint"/>
+ <field name="Shrink Init" start="264" end="267" type="uint"/>
+ <field name="Shrink Resistance" start="268" end="271" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
+ <field name="Correct 1" start="288" end="291" type="uint"/>
+ <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Correct 3" start="296" end="299" type="uint"/>
+ <field name="Correct 4" start="300" end="303" type="uint"/>
+ <field name="Correct 5" start="304" end="307" type="uint"/>
+ <field name="Correct 6" start="308" end="311" type="uint"/>
+ <field name="Round Intra" start="312" end="314" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -4702,7 +4704,7 @@
<value name="+8/16" value="7"/>
</field>
<field name="Round Intra Enable" start="315" end="315" type="bool"/>
- <field name="Round Intra" start="312" end="314" type="uint">
+ <field name="Round Inter" start="316" end="318" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -4712,29 +4714,24 @@
<value name="+7/16" value="6"/>
<value name="+8/16" value="7"/>
</field>
- <field name="Correct 6" start="308" end="311" type="uint"/>
- <field name="Correct 5" start="304" end="307" type="uint"/>
- <field name="Correct 4" start="300" end="303" type="uint"/>
- <field name="Correct 3" start="296" end="299" type="uint"/>
- <field name="Correct 2" start="292" end="295" type="uint"/>
- <field name="Correct 1" start="288" end="291" type="uint"/>
- <field name="CV7" start="348" end="351" type="uint"/>
- <field name="CV6" start="344" end="347" type="uint"/>
- <field name="CV5" start="340" end="343" type="uint"/>
- <field name="CV4" start="336" end="339" type="uint"/>
- <field name="CV3" start="332" end="335" type="uint"/>
- <field name="CV2" start="328" end="331" type="uint"/>
- <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="Round Inter Enable" start="319" end="319" type="bool"/>
<field name="CV0" start="320" end="323" type="uint"/>
+ <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="CV2" start="328" end="331" type="uint"/>
+ <field name="CV3" start="332" end="335" type="uint"/>
+ <field name="CV4" start="336" end="339" type="uint"/>
+ <field name="CV5" start="340" end="343" type="uint"/>
+ <field name="CV6" start="344" end="347" type="uint"/>
+ <field name="CV7" start="348" end="351" type="uint"/>
</instruction>
<instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="96"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weight and Offset Select" start="32" end="32" type="uint">
<value name="L0 table" value="0"/>
<value name="L1 table" value="1"/>
@@ -4745,12 +4742,12 @@
</instruction>
<instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="79" type="address"/>
<field name="BSD/MPC Row Store Scratch Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="MPR Row Store Scratch Buffer - Address" start="134" end="175" type="address"/>
@@ -4760,81 +4757,81 @@
</instruction>
<instruction name="MFX_DBK_OBJECT" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="11"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Source - Address" start="38" end="79" type="address"/>
- <field name="Pre Deblocking Source - Tiled Resource Mode" start="109" end="110" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Pre Deblocking Source - Memory Compression Mode" start="106" end="106" type="uint"/>
- <field name="Pre Deblocking Source - Memory Compression Enable" start="105" end="105" type="bool"/>
+ <field name="Pre Deblocking Source - MOCS" start="97" end="102" type="uint"/>
<field name="Pre Deblocking Source - Arbitration Priority Control" start="103" end="104" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Pre Deblocking Source - MOCS" start="97" end="102" type="uint"/>
- <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
- <field name="Deblocking Control - Tiled Resource Mode" start="205" end="206" type="uint">
+ <field name="Pre Deblocking Source - Memory Compression Enable" start="105" end="105" type="bool"/>
+ <field name="Pre Deblocking Source - Memory Compression Mode" start="106" end="106" type="uint"/>
+ <field name="Pre Deblocking Source - Tiled Resource Mode" start="109" end="110" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblocking Control - Memory Compression Mode" start="202" end="202" type="uint"/>
- <field name="Deblocking Control - Memory Compression Enable" start="201" end="201" type="bool"/>
+ <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
+ <field name="Deblocking Control - MOCS" start="193" end="198" type="uint"/>
<field name="Deblocking Control - Arbitration Priority Control" start="199" end="200" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Control - MOCS" start="193" end="198" type="uint"/>
- <field name="Deblocking Destination - Address High" start="230" end="271" type="address"/>
- <field name="Deblocking Destination - Tiled Resource Mode" start="301" end="302" type="uint">
+ <field name="Deblocking Control - Memory Compression Enable" start="201" end="201" type="bool"/>
+ <field name="Deblocking Control - Memory Compression Mode" start="202" end="202" type="uint"/>
+ <field name="Deblocking Control - Tiled Resource Mode" start="205" end="206" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblocking Destination - Memory Compression Mode" start="298" end="298" type="uint"/>
- <field name="Deblocking Destination - Memory Compression Enable" start="297" end="297" type="bool"/>
+ <field name="Deblocking Destination - Address High" start="230" end="271" type="address"/>
+ <field name="Deblocking Destination - MOCS" start="289" end="294" type="uint"/>
<field name="Deblocking Destination - Arbitration Priority Control" start="295" end="296" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Destination - MOCS" start="289" end="294" type="uint"/>
- <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
- <field name="Deblock Row Store - Tiled Resource Mode" start="397" end="398" type="uint">
+ <field name="Deblocking Destination - Memory Compression Enable" start="297" end="297" type="bool"/>
+ <field name="Deblocking Destination - Memory Compression Mode" start="298" end="298" type="uint"/>
+ <field name="Deblocking Destination - Tiled Resource Mode" start="301" end="302" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblock Row Store - Memory Compression Mode" start="394" end="394" type="uint"/>
- <field name="Deblock Row Store - Memory Compression Enable" start="393" end="393" type="bool"/>
+ <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
+ <field name="CoeffProbability Stream-In - MOCS" start="385" end="390" type="uint"/>
<field name="Deblock Row Store - Arbitration Priority Control" start="391" end="392" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - MOCS" start="385" end="390" type="uint"/>
+ <field name="Deblock Row Store - Memory Compression Enable" start="393" end="393" type="bool"/>
+ <field name="Deblock Row Store - Memory Compression Mode" start="394" end="394" type="uint"/>
+ <field name="Deblock Row Store - Tiled Resource Mode" start="397" end="398" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</instruction>
<instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -4856,12 +4853,12 @@
</instruction>
<instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="26" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="24"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MFX Indirect Bitstream Object - Address" start="32" end="95" type="address"/>
<field name="MFX Indirect Bitstream Object - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="MFX Indirect Bitstream Object - Upper Bound" start="128" end="191" type="address"/>
@@ -4880,46 +4877,46 @@
</instruction>
<instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="829"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huffman Table ID" start="32" end="32" type="uint"/>
<group count="12" start="64" size="8">
- <field name="DC_BITS" start="0" end="7" type="uint"/>
+ <field name="DC_BITS" start="0" end="7" type="uint"/>
</group>
<group count="12" start="160" size="8">
- <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="16" start="256" size="8">
- <field name="AC_BITS" start="0" end="15" type="uint"/>
+ <field name="AC_BITS" start="0" end="15" type="uint"/>
</group>
<group count="160" start="384" size="8">
- <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="2" start="1664" size="8">
- <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
- <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
- <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
- <field name="Average Down Sampling" start="48" end="48" type="uint"/>
- <field name="Output Format YUV" start="40" end="43" type="uint"/>
- <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Format YUV" start="32" end="34" type="uint"/>
- <field name="Pixels In Horizontal Last MCU" start="58" end="62" type="uint"/>
- <field name="Pixels In Vertical Last MCU" start="53" end="57" type="uint"/>
+ <field name="Output MCU Structure" start="32" end="34" type="uint" prefix="MCU">
+ <value name="YUV400" value="0"/>
+ <value name="YUV420" value="1"/>
+ <value name="YUV422H_2Y" value="2"/>
+ <value name="RGB" value="3"/>
+ </field>
+ <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="Output Format YUV" start="40" end="43" type="uint"/>
<field name="Input Surface Format YUV" start="40" end="43" type="uint" prefix="IS">
<value name="NV12" value="1"/>
<value name="UYVY" value="2"/>
@@ -4927,56 +4924,58 @@
<value name="Y8" value="4"/>
<value name="RGB" value="5"/>
</field>
- <field name="Output MCU Structure" start="32" end="34" type="uint" prefix="MCU">
- <value name="YUV400" value="0"/>
- <value name="YUV420" value="1"/>
- <value name="YUV422H_2Y" value="2"/>
- <value name="RGB" value="3"/>
- </field>
- <field name="Output Pixel Normalize" start="93" end="93" type="uint"/>
- <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Average Down Sampling" start="48" end="48" type="uint"/>
+ <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
+ <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
+ <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
+ <field name="Pixels In Vertical Last MCU" start="53" end="57" type="uint"/>
+ <field name="Pixels In Horizontal Last MCU" start="58" end="62" type="uint"/>
<field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
<field name="Rounding Quant" start="77" end="79" type="uint"/>
+ <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Output Pixel Normalize" start="93" end="93" type="uint"/>
</instruction>
<instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="F_code[1][1]" start="60" end="63" type="uint"/>
- <field name="F_code[1][0]" start="56" end="59" type="uint"/>
- <field name="F_code[0][1]" start="52" end="55" type="uint"/>
- <field name="F_code[0][0]" start="48" end="51" type="uint"/>
- <field name="Intra DC Precision" start="46" end="47" type="uint"/>
- <field name="Picture Structure" start="44" end="45" type="uint">
- <value name="MPEG_TOP_FIELD" value="1"/>
- <value name="MPEG_BOTTOM_FIELD" value="2"/>
- <value name="MPEG_FRAME" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Scan Order" start="38" end="38" type="uint">
+ <value name="MPEG_ZIGZAG_SCAN" value="0"/>
+ <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
</field>
- <field name="Top Field First" start="43" end="43" type="bool"/>
- <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
- <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Intra VLC Format" start="39" end="39" type="uint"/>
<field name="Quantizer Scale Type" start="40" end="40" type="uint">
<value name="MPEG_QSCALE_LINEAR" value="0"/>
<value name="MPEG_QSCALE_NONLINEAR" value="1"/>
</field>
- <field name="Intra VLC Format" start="39" end="39" type="uint"/>
- <field name="Scan Order" start="38" end="38" type="uint">
- <value name="MPEG_ZIGZAG_SCAN" value="0"/>
- <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
+ <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
+ <field name="Top Field First" start="43" end="43" type="bool"/>
+ <field name="Picture Structure" start="44" end="45" type="uint">
+ <value name="MPEG_TOP_FIELD" value="1"/>
+ <value name="MPEG_BOTTOM_FIELD" value="2"/>
+ <value name="MPEG_FRAME" value="3"/>
</field>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
- <value name="Intra Concealment" value="0"/>
- <value name="Inter Concealment" value="1"/>
+ <field name="Intra DC Precision" start="46" end="47" type="uint"/>
+ <field name="F_code[0][0]" start="48" end="51" type="uint"/>
+ <field name="F_code[0][1]" start="52" end="55" type="uint"/>
+ <field name="F_code[1][0]" start="56" end="59" type="uint"/>
+ <field name="F_code[1][1]" start="60" end="63" type="uint"/>
+ <field name="Disable Mismatch" start="64" end="64" type="bool"/>
+ <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
+ <field name="Picture Coding Type" start="73" end="74" type="uint">
+ <value name="MPEG_I_PICTURE" value="1"/>
+ <value name="MPEG_P_PICTURE" value="2"/>
+ <value name="MPEG_B_PICTURE" value="3"/>
</field>
- <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
- <value name="INTER" value="0"/>
- <value name="LEFT" value="1"/>
- <value name="ZERO" value="2"/>
- <value name="INTRA" value="3"/>
+ <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
+ <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
+ <value name="Predicted" value="0"/>
+ <value name="ZERO" value="1"/>
</field>
<field name="P/B Slice Predicted Bi-direction MV Type Override" start="89" end="90" type="uint" prefix="MPEG2_MVTO">
<value name="BID" value="0"/>
@@ -4984,99 +4983,97 @@
<value name="FWD" value="2"/>
<value name="BWD" value="3"/>
</field>
- <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
- <value name="Predicted" value="0"/>
- <value name="ZERO" value="1"/>
+ <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
+ <value name="INTER" value="0"/>
+ <value name="LEFT" value="1"/>
+ <value name="ZERO" value="2"/>
+ <value name="INTRA" value="3"/>
</field>
- <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
- <field name="Picture Coding Type" start="73" end="74" type="uint">
- <value name="MPEG_I_PICTURE" value="1"/>
- <value name="MPEG_P_PICTURE" value="2"/>
- <value name="MPEG_B_PICTURE" value="3"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
+ <value name="Intra Concealment" value="0"/>
+ <value name="Inter Concealment" value="1"/>
</field>
- <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
- <field name="Disable Mismatch" start="64" end="64" type="bool"/>
- <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
- <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
<field name="Frame Width In MBs" start="96" end="103" type="uint"/>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="Round Inter AC," start="140" end="142" type="uint"/>
- <field name="Round Intra AC" start="136" end="138" type="uint"/>
- <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
+ <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
<field name="Round Intra DC" start="129" end="130" type="uint"/>
- <field name="Frame Size Control" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Round Intra AC" start="136" end="138" type="uint"/>
+ <field name="Round Inter AC," start="140" end="142" type="uint"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
+ <field name="MBRateControlMask" start="169" end="169" type="uint"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="MPEG2_MFSU">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MBRateControlMask" start="169" end="169" type="uint"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Frame Size Control" start="176" end="176" type="uint"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
</instruction>
<instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
- <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
- <value name="NO_ACCUMULATION" value="1"/>
- <value name="ACCUMULATE" value="0"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
<field name="Slice Header Indicator" start="46" end="46" type="uint">
<value name="SLICE_HEADER" value="1"/>
<value name="LEGACY" value="0"/>
</field>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
- <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
+ <value name="NO_ACCUMULATION" value="1"/>
+ <value name="ACCUMULATE" value="0"/>
+ </field>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
<group count="0" start="64" size="32">
<field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="65" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="63"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Destination - Address" start="38" end="79" type="address"/>
<field name="Pre Deblocking Destination - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Post Deblocking Destination - Address" start="134" end="175" type="address"/>
@@ -5104,43 +5101,16 @@
<field name="Reference Picture - Memory Compression Enable" start="0" end="0" type="bool"/>
</group>
<field name="Scaled Reference Surface - Address" start="1990" end="2031" type="address"/>
- <field name="Scaled Reference Surface - Attributes" start="2048" end="2079" type="MEMORYADDRESSATTRIBUTES"/> </instruction>
+ <field name="Scaled Reference Surface - Attributes" start="2048" end="2079" type="MEMORYADDRESSATTRIBUTES"/>
+ </instruction>
<instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
- <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
- <value name="Short Format Driver Interface" value="0"/>
- <value name="Long Format Driver Interface" value="1"/>
- </field>
- <field name="Decoder Mode select" start="47" end="48" type="uint">
- <value name="VLD Mode" value="0"/>
- <value name="IT Mode" value="1"/>
- <value name="Deblocker Mode" value="2"/>
- <value name="Interlayer Mode" value="3"/>
- </field>
- <field name="Standalone VDEnc Mode Enable" start="46" end="46" type="bool"/>
- <field name="VDEnc Mode" start="45" end="45" type="uint" prefix="VM">
- <value name="MBEnc Mode" value="0"/>
- <value name="VDEnc Mode" value="1"/>
- </field>
- <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
- <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
- <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
- <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
- <field name="Scaled Surface Enable" start="39" end="39" type="bool"/>
- <field name="Frame Statistics Stream-Out Enable" start="38" end="38" type="bool"/>
- <field name="Stitch Mode" start="37" end="37" type="bool"/>
- <field name="Codec Select" start="36" end="36" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
<value name="MPEG2" value="0"/>
<value name="VC1" value="1"/>
@@ -5149,16 +5119,44 @@
<value name="VP8" value="5"/>
<value name="UVLD" value="15"/>
</field>
+ <field name="Codec Select" start="36" end="36" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
+ </field>
+ <field name="Stitch Mode" start="37" end="37" type="bool"/>
+ <field name="Frame Statistics Stream-Out Enable" start="38" end="38" type="bool"/>
+ <field name="Scaled Surface Enable" start="39" end="39" type="bool"/>
+ <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
+ <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
+ <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
+ <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
+ <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
+ <field name="VDEnc Mode" start="45" end="45" type="uint" prefix="VM">
+ <value name="MBEnc Mode" value="0"/>
+ <value name="VDEnc Mode" value="1"/>
+ </field>
+ <field name="Standalone VDEnc Mode Enable" start="46" end="46" type="bool"/>
+ <field name="Decoder Mode select" start="47" end="48" type="uint">
+ <value name="VLD Mode" value="0"/>
+ <value name="IT Mode" value="1"/>
+ <value name="Deblocker Mode" value="2"/>
+ <value name="Interlayer Mode" value="3"/>
+ </field>
+ <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
+ <value name="Short Format Driver Interface" value="0"/>
+ <value name="Long Format Driver Interface" value="1"/>
+ </field>
+ <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -5180,27 +5178,27 @@
</instruction>
<instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="State Pointer" start="37" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="State Pointer Index" start="32" end="33" type="uint"/>
+ <field name="State Pointer" start="37" end="63" type="uint"/>
</instruction>
<instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
- <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
+ <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
<field name="Indirect Data Length" start="64" end="82" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<group count="0" start="128" size="32">
@@ -5209,19 +5207,27 @@
</instruction>
<instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface ID" start="32" end="35" type="uint" prefix="MFX">
<value name="Source Input Picture" value="4"/>
<value name="Reconstructed Scaled Reference Picture" value="5"/>
</field>
- <field name="Height" start="82" end="95" type="uint"/>
- <field name="Width" start="68" end="81" type="uint"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="u0.2"/>
+ <field name="Width" start="68" end="81" type="uint"/>
+ <field name="Height" start="82" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Interleave Chroma" start="123" end="123" type="bool"/>
<field name="Surface Format" start="124" end="127" type="uint" prefix="MFX">
<value name="YCRCB_NORMAL" value="0"/>
<value name="YCRCB_SWAPUVY" value="1"/>
@@ -5237,27 +5243,19 @@
<value name="R8_UNORM (Cr/Cb)" value="11"/>
<value name="Y8_UNORM" value="12"/>
</field>
- <field name="Interleave Chroma" start="123" end="123" type="bool"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
- <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
- <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
+ <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
+ <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
</instruction>
<instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Direct MV Write Buffer - Address" start="32" end="95" type="address"/>
<field name="Direct MV Write Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Direct MV Read Buffer - Address" start="128" end="191" type="address"/>
@@ -5265,42 +5263,42 @@
</instruction>
<instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
- <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
- <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
- <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
- <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
- <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
- <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
+ <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
+ <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
<field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
- <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
- <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
- <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
+ <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
<field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
- <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
- <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
- <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
+ <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
<field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
- <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
- <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
- <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
+ <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
<field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
+ <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
+ <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
</instruction>
<instruction name="MFX_VP8_BSP_BUF_BASE_ADDR_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Header - Address" start="32" end="95" type="address"/>
<field name="Frame Header - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Intermediate Buffer - Address" start="128" end="191" type="address"/>
@@ -5321,307 +5319,307 @@
</instruction>
<instruction name="MFX_VP8_ENCODER_CFG" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="VBSP Unit Power Clock Gating Disable" start="42" end="42" type="bool"/>
- <field name="Compressed Bitstream Output Disable" start="41" end="41" type="bool"/>
- <field name="Finer BRC Enable" start="40" end="40" type="bool"/>
- <field name="Per Segment Delta Qindex / LoopFilter Disable" start="39" end="39" type="bool"/>
- <field name="Rate Control Initial Pass" start="38" end="38" type="bool"/>
- <field name="Skip Final Bitstream when Over/Underflow" start="37" end="37" type="bool"/>
- <field name="Update Segment Feature Data Flag" start="36" end="36" type="bool"/>
- <field name="Bitstream Statistics Output Enable" start="35" end="35" type="bool"/>
- <field name="Token Statistics Output Enable" start="34" end="34" type="bool"/>
- <field name="Final Bitstream Output Disable" start="33" end="33" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Performance Counter Enable" start="32" end="32" type="bool"/>
- <field name="QIndex Clamp High for Overflow" start="71" end="71" type="bool"/>
- <field name="QIndex Clamp High for Underflow" start="70" end="70" type="bool"/>
- <field name="Final Bistream Buffer Overrun Enable" start="69" end="69" type="bool"/>
- <field name="Intermediate Bit Buffer Overrun Enable" start="68" end="68" type="bool"/>
- <field name="Max Intra MB Bit Count Check Enable" start="67" end="67" type="bool"/>
- <field name="Max Inter MB Bit Count Check Enable" start="66" end="66" type="bool"/>
- <field name="Min Frame Bit Count Rate Control Enable" start="65" end="65" type="bool"/>
+ <field name="Final Bitstream Output Disable" start="33" end="33" type="bool"/>
+ <field name="Token Statistics Output Enable" start="34" end="34" type="bool"/>
+ <field name="Bitstream Statistics Output Enable" start="35" end="35" type="bool"/>
+ <field name="Update Segment Feature Data Flag" start="36" end="36" type="bool"/>
+ <field name="Skip Final Bitstream when Over/Underflow" start="37" end="37" type="bool"/>
+ <field name="Rate Control Initial Pass" start="38" end="38" type="bool"/>
+ <field name="Per Segment Delta Qindex / LoopFilter Disable" start="39" end="39" type="bool"/>
+ <field name="Finer BRC Enable" start="40" end="40" type="bool"/>
+ <field name="Compressed Bitstream Output Disable" start="41" end="41" type="bool"/>
+ <field name="VBSP Unit Power Clock Gating Disable" start="42" end="42" type="bool"/>
<field name="Max Frame Bit count Rate Control Enable" start="64" end="64" type="bool"/>
- <field name="Max Intra MB Bit Count Limit" start="112" end="123" type="uint"/>
+ <field name="Min Frame Bit Count Rate Control Enable" start="65" end="65" type="bool"/>
+ <field name="Max Inter MB Bit Count Check Enable" start="66" end="66" type="bool"/>
+ <field name="Max Intra MB Bit Count Check Enable" start="67" end="67" type="bool"/>
+ <field name="Intermediate Bit Buffer Overrun Enable" start="68" end="68" type="bool"/>
+ <field name="Final Bistream Buffer Overrun Enable" start="69" end="69" type="bool"/>
+ <field name="QIndex Clamp High for Underflow" start="70" end="70" type="bool"/>
+ <field name="QIndex Clamp High for Overflow" start="71" end="71" type="bool"/>
<field name="Max Inter MB Bit Count" start="96" end="107" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="159" end="159" type="uint">
+ <field name="Max Intra MB Bit Count Limit" start="112" end="123" type="uint"/>
+ <field name="Frame Bitrate Max" start="128" end="141" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="142" end="142" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="143" end="143" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min Unit" start="158" end="158" type="uint"/>
<field name="Frame Bitrate Min" start="144" end="157" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="143" end="143" type="uint">
+ <field name="Frame Bitrate Min Unit" start="158" end="158" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="159" end="159" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max Unit" start="142" end="142" type="uint"/>
- <field name="Frame Bitrate Max" start="128" end="141" type="uint"/>
- <field name="Frame Delta QIndex Max[3]" start="184" end="191" type="uint"/>
- <field name="Frame Delta QIndex Max[2]" start="176" end="183" type="uint"/>
- <field name="Frame Delta QIndex Max[1]" start="168" end="175" type="uint"/>
<field name="Frame Delta QIndex Max[0]" start="160" end="167" type="uint"/>
- <field name="Frame Delta QIndex Min[3]" start="216" end="223" type="uint"/>
- <field name="Frame Delta QIndex Min[2]" start="208" end="215" type="uint"/>
- <field name="Frame Delta QIndex Min[1]" start="200" end="207" type="uint"/>
+ <field name="Frame Delta QIndex Max[1]" start="168" end="175" type="uint"/>
+ <field name="Frame Delta QIndex Max[2]" start="176" end="183" type="uint"/>
+ <field name="Frame Delta QIndex Max[3]" start="184" end="191" type="uint"/>
<field name="Frame Delta QIndex Min[0]" start="192" end="199" type="uint"/>
+ <field name="Frame Delta QIndex Min[1]" start="200" end="207" type="uint"/>
+ <field name="Frame Delta QIndex Min[2]" start="208" end="215" type="uint"/>
+ <field name="Frame Delta QIndex Min[3]" start="216" end="223" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[1]" start="224" end="255" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[1]" start="256" end="287" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[2]" start="288" end="319" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[2]" start="320" end="351" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[3]" start="352" end="383" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[3]" start="384" end="415" type="uint"/>
- <field name="Frame Delta Loop Filter Max[3]" start="440" end="447" type="uint"/>
- <field name="Frame Delta Loop Filter Max[2]" start="432" end="439" type="uint"/>
- <field name="Frame Delta Loop Filter Max[1]" start="424" end="431" type="uint"/>
<field name="Frame Delta Loop Filter Max[0]" start="416" end="423" type="uint"/>
- <field name="Frame Delta Loop Filter Min[3]" start="472" end="479" type="uint"/>
- <field name="Frame Delta Loop Filter Min[2]" start="464" end="471" type="uint"/>
- <field name="Frame Delta Loop Filter Min[1]" start="456" end="463" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[1]" start="424" end="431" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[2]" start="432" end="439" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[3]" start="440" end="447" type="uint"/>
<field name="Frame Delta Loop Filter Min[0]" start="448" end="455" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[1]" start="456" end="463" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[2]" start="464" end="471" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[3]" start="472" end="479" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[1]" start="480" end="511" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[1]" start="512" end="543" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[2]" start="544" end="575" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[2]" start="576" end="607" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[3]" start="608" end="639" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[3]" start="640" end="671" type="uint"/>
- <field name="Frame Bitrate Min Delta" start="688" end="702" type="uint"/>
<field name="Frame Bitrate Max Delta" start="672" end="686" type="uint"/>
- <field name="Show Frame" start="727" end="727" type="uint"/>
- <field name="Bitstream Format Version" start="724" end="726" type="uint"/>
+ <field name="Frame Bitrate Min Delta" start="688" end="702" type="uint"/>
+ <field name="Minimum Frame Size" start="704" end="719" type="uint"/>
<field name="Minimum Frame Size Unit" start="720" end="721" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Minimum Frame Size" start="704" end="719" type="uint"/>
- <field name="Vertical_Size_Code" start="752" end="767" type="uint"/>
+ <field name="Bitstream Format Version" start="724" end="726" type="uint"/>
+ <field name="Show Frame" start="727" end="727" type="uint"/>
<field name="Horizontal_Size_Code" start="736" end="751" type="uint"/>
+ <field name="Vertical_Size_Code" start="752" end="767" type="uint"/>
<field name="Frame Header Bit Count" start="768" end="799" type="uint"/>
<field name="Frame Header Bin Buffer QIndex Update Pointer" start="800" end="831" type="uint"/>
<field name="Frame Header Bin Buffer Loop Filter Update Pointer" start="832" end="863" type="uint"/>
<field name="Frame Header Bin Buffer Token Update Pointer" start="864" end="895" type="uint"/>
<field name="Frame Header Bin Buffer MV Update Pointer" start="896" end="927" type="uint"/>
- <field name="CV7" start="956" end="959" type="uint"/>
- <field name="CV6" start="952" end="955" type="uint"/>
- <field name="CV5" start="948" end="951" type="uint"/>
- <field name="CV4" start="944" end="947" type="uint"/>
- <field name="CV3" start="940" end="943" type="uint"/>
- <field name="CV2" start="936" end="939" type="uint"/>
- <field name="CV1" start="932" end="935" type="uint"/>
<field name="CV0" start="928" end="931" type="uint"/>
+ <field name="CV1" start="932" end="935" type="uint"/>
+ <field name="CV2" start="936" end="939" type="uint"/>
+ <field name="CV3" start="940" end="943" type="uint"/>
+ <field name="CV4" start="944" end="947" type="uint"/>
+ <field name="CV5" start="948" end="951" type="uint"/>
+ <field name="CV6" start="952" end="955" type="uint"/>
+ <field name="CV7" start="956" end="959" type="uint"/>
</instruction>
- <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
- <field name="Enable Inline MV data" start="61" end="61" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
+ <field name="Enable Inline MV data" start="61" end="61" type="bool"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="223" type="uint"/>
</instruction>
<instruction name="MFX_VP8_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width" start="32" end="39" type="uint"/>
+ <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="MC Filter Select" start="64" end="64" type="uint"/>
+ <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
+ <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
+ <field name="Key Frame" start="69" end="69" type="bool"/>
+ <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
+ <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
+ <field name="Segment Enable" start="72" end="72" type="bool"/>
+ <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
+ <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
+ <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
+ <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
+ <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
+ <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
<field name="Log2 Num of Partition" start="88" end="89" type="uint">
<value name="1 Token partition" value="0"/>
<value name="2 Token partition" value="1"/>
<value name="4 Token partition" value="2"/>
<value name="8 Token partition" value="3"/>
</field>
- <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
- <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
- <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
- <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
- <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
- <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
- <field name="Segment Enable" start="72" end="72" type="bool"/>
- <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
- <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
- <field name="Key Frame" start="69" end="69" type="bool"/>
- <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
- <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
- <field name="MC Filter Select" start="64" end="64" type="uint"/>
- <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
- <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
- <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
<field name="DBLK Filter Level for Segment0" start="96" end="101" type="uint"/>
- <field name="Segment3 QIndex" start="152" end="158" type="uint"/>
- <field name="Segment2 QIndex" start="144" end="150" type="uint"/>
- <field name="Segment1 QIndex" start="136" end="142" type="uint"/>
+ <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
+ <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
+ <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
<field name="Segment0 QIndex" start="128" end="134" type="uint"/>
- <field name="UVAC QIndex Delta Sign" start="188" end="188" type="uint"/>
- <field name="UVAC QIndex Delta" start="184" end="187" type="uint"/>
- <field name="UVDC QIndex Delta Sign" start="180" end="180" type="uint"/>
- <field name="UVDC QIndex Delta" start="176" end="179" type="uint"/>
- <field name="Y2AC QIndex Sign" start="172" end="172" type="uint"/>
- <field name="Y2AC QIndex Delta" start="168" end="171" type="uint"/>
- <field name="Y2AC QIndex Delta Sign" start="164" end="164" type="uint"/>
+ <field name="Segment1 QIndex" start="136" end="142" type="uint"/>
+ <field name="Segment2 QIndex" start="144" end="150" type="uint"/>
+ <field name="Segment3 QIndex" start="152" end="158" type="uint"/>
<field name="Y2DC QIndex Delta" start="160" end="163" type="uint"/>
- <field name="Y1DC QIndex Delta Sign" start="196" end="196" type="uint"/>
+ <field name="Y2AC QIndex Delta Sign" start="164" end="164" type="uint"/>
+ <field name="Y2AC QIndex Delta" start="168" end="171" type="uint"/>
+ <field name="Y2AC QIndex Sign" start="172" end="172" type="uint"/>
+ <field name="UVDC QIndex Delta" start="176" end="179" type="uint"/>
+ <field name="UVDC QIndex Delta Sign" start="180" end="180" type="uint"/>
+ <field name="UVAC QIndex Delta" start="184" end="187" type="uint"/>
+ <field name="UVAC QIndex Delta Sign" start="188" end="188" type="uint"/>
<field name="Y1DC QIndex Delta" start="192" end="195" type="uint"/>
- <field name="Clamp QIndex High" start="232" end="238" type="uint"/>
+ <field name="Y1DC QIndex Delta Sign" start="196" end="196" type="uint"/>
<field name="Clamp QIndex Low" start="224" end="230" type="uint"/>
- <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
+ <field name="Clamp QIndex High" start="232" end="238" type="uint"/>
<field name="Quantizer Value [1][UVDC]" start="256" end="264" type="uint"/>
- <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
+ <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
<field name="Quantizer Value [1][Y2DC]" start="288" end="296" type="uint"/>
- <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
+ <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
<field name="Quantizer Value [2][Y1DC]" start="320" end="328" type="uint"/>
- <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
+ <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
<field name="Quantizer Value [2][UVDC]" start="352" end="360" type="uint"/>
- <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
+ <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
<field name="Quantizer Value [2][Y2DC]" start="384" end="392" type="uint"/>
- <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
+ <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
<field name="Quantizer Value [3][Y1DC]" start="416" end="424" type="uint"/>
- <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
+ <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
<field name="Quantizer Value [3][UVDC]" start="448" end="456" type="uint"/>
- <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
+ <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
<field name="Quantizer Value [3][Y2DC]" start="480" end="488" type="uint"/>
+ <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
<field name="CoeffProbability Stream-In - Address" start="518" end="559" type="uint"/>
<field name="CoeffProbability Stream-In - MOCS (Encoder Only)" start="577" end="582" type="uint"/>
- <field name="CoeffProbability Stream-In - Tiled Resource Mode" start="589" end="590" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="CoeffProbability Stream-In - Memory Compression Mode" start="586" end="586" type="uint"/>
- <field name="CoeffProbability Stream-In - Memory Compression Enable" start="585" end="585" type="bool"/>
<field name="CoeffProbability Stream-In - Arbitration Priority Control" start="583" end="584" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
- <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
+ <field name="CoeffProbability Stream-In - Memory Compression Enable" start="585" end="585" type="bool"/>
+ <field name="CoeffProbability Stream-In - Memory Compression Mode" start="586" end="586" type="uint"/>
+ <field name="CoeffProbability Stream-In - Tiled Resource Mode" start="589" end="590" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
<field name="MBSegmentIDTreeProbs[0]" start="608" end="615" type="uint"/>
- <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
- <field name="IntraMBProb" start="656" end="663" type="uint"/>
- <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
<field name="InterPredFromGRefRefProb" start="640" end="647" type="uint"/>
- <field name="YModeProb[3]" start="696" end="703" type="uint"/>
- <field name="YModeProb[2]" start="688" end="695" type="uint"/>
- <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="IntraMBProb" start="656" end="663" type="uint"/>
+ <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
<field name="YModeProb[0]" start="672" end="679" type="uint"/>
- <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
- <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="YModeProb[2]" start="688" end="695" type="uint"/>
+ <field name="YModeProb[3]" start="696" end="703" type="uint"/>
<field name="UVModeProb[0]" start="704" end="711" type="uint"/>
- <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
- <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
- <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
<field name="MVUpdateProbs[0][0]" start="736" end="743" type="uint"/>
- <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
- <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
- <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
+ <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
<field name="MVUpdateProbs[0][4]" start="768" end="775" type="uint"/>
- <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
- <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
- <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
+ <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
<field name="MVUpdateProbs[0][8]" start="800" end="807" type="uint"/>
- <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
- <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
- <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
+ <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
<field name="MVUpdateProbs[0][12]" start="832" end="839" type="uint"/>
- <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
- <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
+ <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
<field name="MVUpdateProbs[0][16]" start="864" end="871" type="uint"/>
- <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
- <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
- <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
<field name="MVUpdateProbs[1][0]" start="896" end="903" type="uint"/>
- <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
- <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
- <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
+ <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
<field name="MVUpdateProbs[1][4]" start="928" end="935" type="uint"/>
- <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
- <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
- <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
+ <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
<field name="MVUpdateProbs[1][8]" start="960" end="967" type="uint"/>
- <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
- <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
- <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
+ <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
<field name="MVUpdateProbs[1][12]" start="992" end="999" type="uint"/>
- <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
- <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
+ <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
<field name="MVUpdateProbs[1][16]" start="1024" end="1031" type="uint"/>
- <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
- <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
- <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
<field name="RefLFDelta0" start="1056" end="1062" type="int"/>
- <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
- <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
- <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
+ <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
<field name="ModeLFDelta0" start="1088" end="1094" type="int"/>
+ <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
+ <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
<field name="Segmentation ID Stream - Address" start="1120" end="1167" type="uint"/>
- <field name="Segmentation ID Stream - Tiled Resource Mode" start="1197" end="1198" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Segmentation ID Stream - Memory Compression Mode" start="1194" end="1194" type="uint"/>
- <field name="Segmentation ID Stream - Memory Compression Enable" start="1193" end="1193" type="bool"/>
+ <field name="CoeffProbability Stream-In - MOCS" start="1185" end="1190" type="uint"/>
<field name="Segmentation ID Stream - Arbitration Priority Control" start="1191" end="1192" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - MOCS" start="1185" end="1190" type="uint"/>
+ <field name="Segmentation ID Stream - Memory Compression Enable" start="1193" end="1193" type="bool"/>
+ <field name="Segmentation ID Stream - Memory Compression Mode" start="1194" end="1194" type="uint"/>
+ <field name="Segmentation ID Stream - Tiled Resource Mode" start="1197" end="1198" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</instruction>
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
- <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
+ <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
+ <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="MI_ARB_CHECK" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ARB_ON_OFF" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
- <field name="Allow Lite Restore" start="1" end="1" type="bool"/>
<field name="Arbitration Enable" start="0" end="0" type="bool" default="1"/>
+ <field name="Allow Lite Restore" start="1" end="1" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ATOMIC" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
+ <field name="Return Data Control" start="16" end="16" type="uint"/>
+ <field name="CS STALL" start="17" end="17" type="uint"/>
+ <field name="Inline Data" start="18" end="18" type="uint"/>
<field name="Data Size" start="19" end="20" type="uint">
<value name="DWORD" value="0"/>
<value name="QWORD" value="1"/>
<value name="OCTWORD" value="2"/>
<value name="RESERVED" value="3"/>
</field>
- <field name="Inline Data" start="18" end="18" type="uint"/>
- <field name="CS STALL" start="17" end="17" type="uint"/>
- <field name="Return Data Control" start="16" end="16" type="uint"/>
- <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Memory Address" start="34" end="79" type="address"/>
<field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
<field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
@@ -5634,69 +5632,67 @@
</instruction>
<instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
<field name="End Context" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
- <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
- <value name="First level batch" value="0"/>
- <value name="Second level batch" value="1"/>
- </field>
- <field name="Add Offset Enable" start="16" end="16" type="bool"/>
- <field name="Predication Enable" start="15" end="15" type="bool"/>
- <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
<value name="GGTT" value="0"/>
<value name="PPGTT" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="Predication Enable" start="15" end="15" type="bool"/>
+ <field name="Add Offset Enable" start="16" end="16" type="bool"/>
+ <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
+ <value name="First level batch" value="0"/>
+ <value name="Second level batch" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Batch Buffer Start Address" start="34" end="95" type="address"/>
</instruction>
<instruction name="MI_CLFLUSH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="9" type="uint" default="1"/>
- <field name="Page Base Address" start="44" end="79" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
+ <field name="Page Base Address" start="44" end="79" type="address"/>
<group count="0" start="96" size="32">
<field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Compare Mask Mode" start="19" end="19" type="uint">
<value name="Compare Mask Mode Disabled" value="0"/>
<value name="Compare Mask Mode Enabled" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Compare Data Dword" start="32" end="63" type="uint"/>
<field name="Compare Address" start="67" end="127" type="address"/>
</instruction>
<instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
- <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
- <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Memory Address" start="34" end="95" type="address"/>
<field name="Source Memory Address" start="98" end="159" type="address"/>
</instruction>
<instruction name="MI_DISPLAY_FLIP" bias="2" length="3" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
- <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Display Plane Select" start="8" end="12" type="uint">
<value name="Display Plane 1" value="0"/>
<value name="Display Plane 2" value="1"/>
@@ -5711,52 +5707,54 @@
<value name="Display Plane 11" value="11"/>
<value name="Display Plane 12" value="12"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
- <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
+ <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Tile Parameter" start="32" end="34" type="uint"/>
- <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
- <field name="VRR Master Flip" start="75" end="75" type="uint"/>
+ <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
+ <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
<field name="Flip Type" start="64" end="65" type="uint">
<value name="Sync Flip" value="0"/>
<value name="Async Flip" value="1"/>
<value name="Stereo 3D Flip" value="2"/>
</field>
+ <field name="VRR Master Flip" start="75" end="75" type="uint"/>
+ <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
<field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
</instruction>
<instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
- <field name="Store Data Index" start="21" end="21" type="uint"/>
- <field name="TLB Invalidate" start="18" end="18" type="bool"/>
- <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
- <field name="Flush LLC" start="9" end="9" type="bool"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint"/>
- <field name="Address" start="35" end="79" type="address"/>
+ <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Flush LLC" start="9" end="9" type="bool"/>
+ <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
+ <field name="TLB Invalidate" start="18" end="18" type="bool"/>
+ <field name="Store Data Index" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_FORCE_WAKEUP" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Mask Bits" start="48" end="63" type="uint"/>
- <field name="Force Render Awake" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Force Media Awake" start="32" end="32" type="uint"/>
+ <field name="Force Render Awake" start="33" end="33" type="uint"/>
+ <field name="Mask Bits" start="48" end="63" type="uint"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="54" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -5766,73 +5764,72 @@
</instruction>
<instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Async Mode Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Async Mode Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Source Register Address" start="34" end="54" type="offset"/>
<field name="Destination Register Address" start="66" end="86" type="offset"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
</field>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane 1 A" value="0"/>
<value name="Display Plane 1 B" value="1"/>
<value name="Display Plane 1 C" value="4"/>
</field>
- <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_MATH" bias="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<group count="0" start="32" size="32">
<field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
</group>
</instruction>
<instruction name="MI_NOOP" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
- <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
<field name="Identification Number" start="0" end="21" type="uint"/>
+ <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
- <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
- <value name="KEEP" value="0"/>
- <value name="LOAD" value="2"/>
- <value name="LOADINV" value="3"/>
+ <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
+ <value name="TRUE" value="0"/>
+ <value name="FALSE" value="1"/>
+ <value name="SRCS_EQUAL" value="2"/>
+ <value name="DELTAS_EQUAL" value="3"/>
</field>
<field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
<value name="SET" value="0"/>
@@ -5840,60 +5837,59 @@
<value name="OR" value="2"/>
<value name="XOR" value="3"/>
</field>
- <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
- <value name="TRUE" value="0"/>
- <value name="FALSE" value="1"/>
- <value name="SRCS_EQUAL" value="2"/>
- <value name="DELTAS_EQUAL" value="3"/>
+ <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
+ <value name="KEEP" value="0"/>
+ <value name="LOAD" value="2"/>
+ <value name="LOADINV" value="3"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_HEAD" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
- <field name="Memory Address" start="38" end="95" type="address"/>
- <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Use Global GTT" start="32" end="32" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="Memory Address" start="38" end="95" type="address"/>
<field name="Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_RS_CONTEXT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
<field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
<value name="Restore" value="0"/>
<value name="Save" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_CONTROL" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
<field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
<value name="Stop" value="0"/>
<value name="Start" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Destination Address" start="34" end="95" type="address"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Destination Address" start="34" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Target Engine Select" start="15" end="17" type="uint">
<value name="RCS" value="0"/>
<value name="VCS0" value="1"/>
@@ -5901,22 +5897,14 @@
<value name="VECS" value="3"/>
<value name="VCS1" value="4"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Target Context ID" start="32" end="63" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Register Poll Mode" start="16" end="16" type="bool"/>
- <field name="Wait Mode" start="15" end="15" type="uint">
- <value name="Polling Mode" value="1"/>
- <value name="Signal Mode" value="0"/>
- </field>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
<value name="SAD_GREATER_THAN_SDD" value="0"/>
<value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
@@ -5925,27 +5913,35 @@
<value name="SAD_EQUAL_SDD" value="4"/>
<value name="SAD_NOT_EQUAL_SDD" value="5"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Wait Mode" start="15" end="15" type="uint">
+ <value name="Polling Mode" value="1"/>
+ <value name="Signal Mode" value="0"/>
+ </field>
+ <field name="Register Poll Mode" start="16" end="16" type="bool"/>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
<field name="Semaphore Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_SET_CONTEXT" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Logical Context Address" start="44" end="63" type="address"/>
- <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
- <field name="Core Mode Enable" start="36" end="36" type="bool"/>
- <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
- <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
- <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Restore Inhibit" start="32" end="32" type="uint"/>
+ <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
+ <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="bool"/>
+ <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
+ <field name="Logical Context Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="MI_SET_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
<field name="PREDICATE ENABLE" start="0" end="3" type="uint">
<value name="NOOP Never" value="0"/>
<value name="NOOP on Result2 clear" value="1"/>
@@ -5954,55 +5950,57 @@
<value name="NOOP on Result set" value="4"/>
<value name="NOOP Always" value="15"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Store Qword" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="9" type="uint" default="2"/>
- <field name="Address" start="34" end="79" type="address"/>
+ <field name="Store Qword" start="21" end="21" type="uint"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Address" start="34" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
- <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Offset" start="34" end="43" type="uint"/>
<field name="Data DWord 0" start="64" end="95" type="uint"/>
<field name="Data DWord 1" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Predicate Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Predicate Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
<field name="Suspend Flush" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
<field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_UPDATE_GTT" bias="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="35"/>
<field name="DWord Length" start="0" end="9" type="uint" default="0"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="35"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Entry Address" start="44" end="63" type="address"/>
<group count="0" start="64" size="64">
<field name="Entry Data" start="0" end="63" type="uint"/>
@@ -6010,322 +6008,322 @@
</instruction>
<instruction name="MI_USER_INTERRUPT" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
- <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
- <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
- <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
- <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
- <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
- <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
- <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
- <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
- <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
- <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
- <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
- <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
- <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
- <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
- <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
- <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
- <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
<field name="Display Plnae 1 A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
+ <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
+ <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
+ <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
+ <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
+ <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
+ <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
+ <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
+ <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
+ <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
+ <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
+ <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
+ <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
+ <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
+ <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
+ <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
- <field name="Mask Bits" start="8" end="15" type="uint"/>
- <field name="Force Media Awake" start="5" end="5" type="bool"/>
- <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
<field name="Pipeline Selection" start="0" end="1" type="uint">
<value name="3D" value="0"/>
<value name="Media" value="1"/>
<value name="GPGPU" value="2"/>
</field>
+ <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
+ <field name="Force Media Awake" start="5" end="5" type="bool"/>
+ <field name="Mask Bits" start="8" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Flush LLC" start="58" end="58" type="bool"/>
- <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
- <value name="No LRI Operation" value="0"/>
- <value name="MMIO Write Immediate Data" value="1"/>
- </field>
- <field name="Store Data Index" start="53" end="53" type="uint"/>
- <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
- <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
- <field name="TLB Invalidate" start="50" end="50" type="bool"/>
- <field name="PSD Sync Enable" start="49" end="49" type="bool"/>
- <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
+ <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
+ <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
+ <field name="DC Flush Enable" start="37" end="37" type="bool"/>
+ <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
+ <field name="Notify Enable" start="40" end="40" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
+ <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
+ <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
+ <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
<field name="Post Sync Operation" start="46" end="47" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
- <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
- <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
- <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
- <field name="Notify Enable" start="40" end="40" type="bool"/>
- <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
- <field name="DC Flush Enable" start="37" end="37" type="bool"/>
- <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
- <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
- <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
- <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="PSD Sync Enable" start="49" end="49" type="bool"/>
+ <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+ <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+ <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
+ <field name="Store Data Index" start="53" end="53" type="uint"/>
+ <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
+ <value name="No LRI Operation" value="0"/>
+ <value name="MMIO Write Immediate Data" value="1"/>
+ </field>
+ <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Flush LLC" start="58" end="58" type="bool"/>
<field name="Address" start="66" end="111" type="address"/>
<field name="Immediate Data" start="128" end="191" type="uint"/>
</instruction>
<instruction name="SFC_AVS_CHROMA_COEFF_TABLE" bias="2" length="65" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="63"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS CHROMA Coefficient Table Body" start="32" end="2079" type="SFC_AVS_CHROMA_COEFF_TABLE_BODY"/>
</instruction>
<instruction name="SFC_AVS_LUMA_COEFF_TABLE" bias="2" length="129" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="127"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS LUMA Coefficient Table Body" start="32" end="4255" type="SFC_AVS_LUMA_COEFF_TABLE_BODY"/>
</instruction>
<instruction name="SFC_AVS_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS State Body" start="32" end="1567" type="SFC_AVS_STATE_BODY"/>
</instruction>
<instruction name="SFC_FRAME_START" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Start Body" start="32" end="63" type="uint"/>
</instruction>
<instruction name="SFC_IEF_STATE" bias="2" length="24" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="22"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SFC IEF State Body" start="32" end="767" type="SFC_IEF_STATE_BODY"/>
</instruction>
<instruction name="SFC_LOCK" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SFC Lock Body" start="32" end="63" type="SFC_LOCK_BODY"/>
</instruction>
<instruction name="SFC_STATE" bias="2" length="32" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="30"/>
- <field name="VD/VE Input Ordering Mode" start="40" end="42" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="SFC Pipe Mode" start="32" end="35" type="uint"/>
<field name="SFC Input Chroma Sub-Sampling" start="36" end="39" type="uint">
<value name="4:0:0" value="0"/>
<value name="4:2:0" value="1"/>
<value name="4:2:2 Horizonatal" value="2"/>
<value name="4:4:4 Progressive/Interleaved" value="4"/>
</field>
- <field name="SFC Pipe Mode" start="32" end="35" type="uint"/>
- <field name="Input Frame Resolution Height" start="80" end="91" type="uint"/>
+ <field name="VD/VE Input Ordering Mode" start="40" end="42" type="uint"/>
<field name="Input Frame Resolution Width" start="64" end="75" type="uint"/>
- <field name="Pre-AVS Chroma Downsampling Co-siting Position Horizontal Direction" start="108" end="110" type="uint"/>
- <field name="Pre-AVS Chroma Downsampling Co-siting Position Vertical Direction" start="104" end="106" type="uint"/>
- <field name="Pre-AVS Chroma Downsampling Enable" start="102" end="103" type="uint"/>
- <field name="RGBA Channel Swap Enable" start="101" end="101" type="bool"/>
+ <field name="Input Frame Resolution Height" start="80" end="91" type="uint"/>
<field name="Output Surface Format Type" start="96" end="99" type="uint"/>
- <field name="CSC Enable" start="147" end="147" type="bool"/>
- <field name="Color Fill Enable" start="146" end="146" type="bool"/>
+ <field name="RGBA Channel Swap Enable" start="101" end="101" type="bool"/>
+ <field name="Pre-AVS Chroma Downsampling Enable" start="102" end="103" type="uint"/>
+ <field name="Pre-AVS Chroma Downsampling Co-siting Position Vertical Direction" start="104" end="106" type="uint"/>
+ <field name="Pre-AVS Chroma Downsampling Co-siting Position Horizontal Direction" start="108" end="110" type="uint"/>
+ <field name="IEF Enable" start="128" end="128" type="bool"/>
+ <field name="Skin Tone Tuned IEF_Enable" start="129" end="129" type="bool"/>
+ <field name="IEF4 Smooth Enable" start="130" end="130" type="bool"/>
+ <field name="AVS Filter Mode" start="132" end="133" type="uint">
+ <value name="5x5 Poly-phase filter + Bilinear" value="0"/>
+ <value name="8x8 poly-phase filter + Bilinear" value="1"/>
+ <value name="Bilinear filter only" value="2"/>
+ </field>
+ <field name="Adaptive Filter for all Channels" start="134" end="134" type="bool"/>
+ <field name="AVS Scaling Enable" start="135" end="135" type="bool"/>
+ <field name="Bypass Y Adaptive Filtering" start="136" end="136" type="bool"/>
+ <field name="Bypass X Adaptive Filtering" start="137" end="137" type="bool"/>
+ <field name="Chroma Upsampling Enable" start="140" end="140" type="bool"/>
<field name="Rotation Mode" start="144" end="145" type="uint">
<value name="0" value="0"/>
<value name="90 CW" value="1"/>
<value name="180 CW" value="2"/>
<value name="270 CW" value="3"/>
</field>
- <field name="Chroma Upsampling Enable" start="140" end="140" type="bool"/>
- <field name="Bypass X Adaptive Filtering" start="137" end="137" type="bool"/>
- <field name="Bypass Y Adaptive Filtering" start="136" end="136" type="bool"/>
- <field name="AVS Scaling Enable" start="135" end="135" type="bool"/>
- <field name="Adaptive Filter for all Channels" start="134" end="134" type="bool"/>
- <field name="AVS Filter Mode" start="132" end="133" type="uint">
- <value name="5x5 Poly-phase filter + Bilinear" value="0"/>
- <value name="8x8 poly-phase filter + Bilinear" value="1"/>
- <value name="Bilinear filter only" value="2"/>
- </field>
- <field name="IEF4 Smooth Enable" start="130" end="130" type="bool"/>
- <field name="Skin Tone Tuned IEF_Enable" start="129" end="129" type="bool"/>
- <field name="IEF Enable" start="128" end="128" type="bool"/>
- <field name="Source Region Height" start="176" end="187" type="uint"/>
+ <field name="Color Fill Enable" start="146" end="146" type="bool"/>
+ <field name="CSC Enable" start="147" end="147" type="bool"/>
<field name="Source Region Width" start="160" end="171" type="uint"/>
- <field name="Source Region Vertical Offset" start="208" end="219" type="uint"/>
+ <field name="Source Region Height" start="176" end="187" type="uint"/>
<field name="Source Region Horizontal Offset" start="192" end="203" type="uint"/>
- <field name="Output Frame Height" start="240" end="251" type="uint"/>
+ <field name="Source Region Vertical Offset" start="208" end="219" type="uint"/>
<field name="Output Frame Width" start="224" end="235" type="uint"/>
- <field name="Scaled Region Size Height" start="272" end="283" type="uint"/>
+ <field name="Output Frame Height" start="240" end="251" type="uint"/>
<field name="Scaled Region Size Width" start="256" end="267" type="uint"/>
- <field name="Scaled Region Vertical Offset" start="304" end="316" type="int"/>
+ <field name="Scaled Region Size Height" start="272" end="283" type="uint"/>
<field name="Scaled Region Horizontal Offset" start="288" end="300" type="int"/>
- <field name="Gray Bar Pixel - Y/R" start="336" end="345" type="uint"/>
+ <field name="Scaled Region Vertical Offset" start="304" end="316" type="int"/>
<field name="Gray Bar Pixel - U/G" start="320" end="329" type="uint"/>
- <field name="Gray Bar Pixel - V/B" start="368" end="377" type="uint"/>
+ <field name="Gray Bar Pixel - Y/R" start="336" end="345" type="uint"/>
<field name="Gray Bar Pixel - A" start="352" end="361" type="uint"/>
- <field name="UV Default value for V channel" start="400" end="409" type="uint"/>
+ <field name="Gray Bar Pixel - V/B" start="368" end="377" type="uint"/>
<field name="UV Default value for U channel" start="384" end="393" type="uint"/>
+ <field name="UV Default value for V channel" start="400" end="409" type="uint"/>
<field name="Alpha Default Value" start="416" end="425" type="uint"/>
<field name="Scaling Factor Height" start="448" end="468" type="u4.17"/>
<field name="Scaling Factor Width" start="480" end="500" type="u4.17"/>
<field name="Output Frame - Address" start="556" end="591" type="uint"/>
+ <field name="Output Frame - MOCS" start="609" end="614" type="uint"/>
+ <field name="Output Frame - Arbitration Priority Control" start="615" end="616" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="Output Frame - Memory Compression Enable" start="617" end="617" type="bool"/>
+ <field name="Output Frame - Memory Compression Mode" start="618" end="618" type="uint"/>
+ <field name="Output Frame - Cache Select" start="620" end="620" type="bool"/>
<field name="Output Frame - Tiled Mode" start="621" end="622" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Output Frame - Cache Select" start="620" end="620" type="bool"/>
- <field name="Output Frame - Memory Compression Mode" start="618" end="618" type="uint"/>
- <field name="Output Frame - Memory Compression Enable" start="617" end="617" type="bool"/>
- <field name="Output Frame - Arbitration Priority Control" start="615" end="616" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="Output Frame - MOCS" start="609" end="614" type="uint"/>
<field name="AVS Line Buffer - Address" start="652" end="687" type="uint"/>
- <field name="AVS Line Buffer - Tiled Mode" start="717" end="718" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
+ <field name="AVS Line Buffer - MOCS" start="705" end="710" type="uint"/>
+ <field name="AVS Line Buffer - Arbitration Priority Control" start="711" end="712" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="AVS Line Buffer - Memory Compression Enable" start="713" end="713" type="bool"/>
+ <field name="AVS Line Buffer - Memory Compression Mode" start="714" end="714" type="uint">
+ <value name="Horizontal Compression Mode" value="0"/>
</field>
<field name="AVS Line Buffer - Cache Select" start="716" end="716" type="uint">
<value name="LLC" value="0"/>
</field>
- <field name="AVS Line Buffer - Memory Compression Mode" start="714" end="714" type="uint">
- <value name="Horizontal Compression Mode" value="0"/>
+ <field name="AVS Line Buffer - Tiled Mode" start="717" end="718" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="AVS Line Buffer - Memory Compression Enable" start="713" end="713" type="bool"/>
- <field name="AVS Line Buffer - Arbitration Priority Control" start="711" end="712" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="AVS Line Buffer - MOCS" start="705" end="710" type="uint"/>
<field name="IEF Line Buffer - Address" start="748" end="783" type="uint"/>
+ <field name="IEF Line Buffer - MOCS" start="801" end="806" type="uint"/>
+ <field name="IEF Line Buffer - Arbitration Priority Control" start="807" end="808" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="IEF Line Buffer - Memory Compression Enable" start="809" end="809" type="bool"/>
+ <field name="IEF Line Buffer - Memory Compression Mode" start="810" end="810" type="uint"/>
+ <field name="IEF Line Buffer - Cache Select" start="812" end="812" type="uint"/>
<field name="IEF Line Buffer - Tiled Mode" start="813" end="814" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="IEF Line Buffer - Cache Select" start="812" end="812" type="uint"/>
- <field name="IEF Line Buffer - Memory Compression Mode" start="810" end="810" type="uint"/>
- <field name="IEF Line Buffer - Memory Compression Enable" start="809" end="809" type="bool"/>
- <field name="IEF Line Buffer - Arbitration Priority Control" start="807" end="808" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="IEF Line Buffer - MOCS" start="801" end="806" type="uint"/>
- <field name="Output Surface Format" start="956" end="959" type="uint"/>
- <field name="Output Surface Interleave Chroma Enable" start="955" end="955" type="bool"/>
- <field name="Output Surface Pitch" start="931" end="947" type="uint"/>
- <field name="Output Surface Half Pitch for Chroma" start="930" end="930" type="bool"/>
- <field name="Output Surface Tiled" start="929" end="929" type="bool"/>
<field name="Output Surface Tile Walk" start="928" end="928" type="uint" prefix="TW">
<value name="XMAJOR" value="0"/>
<value name="YMAJOR" value="1"/>
</field>
- <field name="Output Surface X Offset for U" start="976" end="989" type="uint"/>
+ <field name="Output Surface Tiled" start="929" end="929" type="bool"/>
+ <field name="Output Surface Half Pitch for Chroma" start="930" end="930" type="bool"/>
+ <field name="Output Surface Pitch" start="931" end="947" type="uint"/>
+ <field name="Output Surface Interleave Chroma Enable" start="955" end="955" type="bool"/>
+ <field name="Output Surface Format" start="956" end="959" type="uint"/>
<field name="Output Surface Y Offset for U" start="960" end="973" type="uint"/>
- <field name="Output Surface X Offset for V" start="1008" end="1021" type="uint"/>
+ <field name="Output Surface X Offset for U" start="976" end="989" type="uint"/>
<field name="Output Surface Y Offset for V" start="992" end="1005" type="uint"/>
+ <field name="Output Surface X Offset for V" start="1008" end="1021" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="22" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="20"/>
- <field name="General State Base Address" start="44" end="95" type="address"/>
- <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
+ <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="General State Base Address" start="44" end="95" type="address"/>
<field name="Stateless Data Port Access MOCS" start="112" end="118" type="uint"/>
- <field name="Surface State Base Address" start="140" end="191" type="address"/>
- <field name="Surface State MOCS" start="132" end="138" type="uint"/>
<field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
- <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Surface State MOCS" start="132" end="138" type="uint"/>
+ <field name="Surface State Base Address" start="140" end="191" type="address"/>
<field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
- <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
- <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
- <field name="Instruction Base Address" start="332" end="383" type="address"/>
- <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
<field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
- <field name="General State Buffer Size" start="396" end="415" type="uint"/>
+ <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Instruction Base Address" start="332" end="383" type="address"/>
<field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
- <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
+ <field name="General State Buffer Size" start="396" end="415" type="uint"/>
<field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
- <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
+ <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
<field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
- <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
+ <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
<field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
- <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
- <field name="Bindless Surface State MOCS" start="516" end="522" type="uint"/>
+ <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
<field name="Bindless Surface State Base Address Modify Enable" start="512" end="512" type="bool"/>
+ <field name="Bindless Surface State MOCS" start="516" end="522" type="uint"/>
+ <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
<field name="Bindless Surface State Size" start="588" end="607" type="uint"/>
- <field name="Bindless Sampler State Base Address" start="620" end="671" type="address"/>
- <field name="Bindless Sampler State MOCS" start="612" end="618" type="uint"/>
<field name="Bindless Sampler State Base Address Modify Enable" start="608" end="608" type="bool"/>
+ <field name="Bindless Sampler State MOCS" start="612" end="618" type="uint"/>
+ <field name="Bindless Sampler State Base Address" start="620" end="671" type="address"/>
<field name="Bindless Sampler State Buffer Size" start="684" end="703" type="uint"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="95" type="offset"/>
</instruction>
<instruction name="VDENC_CONST_QPT_STATE" bias="2" length="62" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="60"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="QP Lambda Array Index[n]" start="32" end="39" type="uint"/>
<field name="Skip Threshold Array Index[n]" start="384" end="399" type="uint"/>
<field name="SIC Forward Transform Coeff Threshold Matrix0 Array Index[n]" start="832" end="847" type="uint"/>
@@ -6335,153 +6333,152 @@
</instruction>
<instruction name="VDENC_DS_REF_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="8X Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
<field name="4X Surface State" start="192" end="319" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_IMG_STATE" bias="2" length="36" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="34"/>
- <field name="Lambda Value for Trellis" start="48" end="63" type="uint"/>
- <field name="VDEnc L1 Cache Priority" start="40" end="41" type="uint"/>
- <field name="Transform 8x8" start="39" end="39" type="bool"/>
- <field name="VDEnc Extended PAK_OBJ_CMD Enable" start="38" end="38" type="bool"/>
- <field name="Time Budget Overflow Check" start="36" end="36" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bidirectional Mix Disable" start="34" end="34" type="bool"/>
<field name="VDENC PerfMode" start="35" end="35" type="uint">
<value name="Speed" value="1"/>
</field>
- <field name="Bidirectional Mix Disable" start="34" end="34" type="bool"/>
+ <field name="Time Budget Overflow Check" start="36" end="36" type="bool"/>
+ <field name="VDEnc Extended PAK_OBJ_CMD Enable" start="38" end="38" type="bool"/>
+ <field name="Transform 8x8" start="39" end="39" type="bool"/>
+ <field name="VDEnc L1 Cache Priority" start="40" end="41" type="uint"/>
+ <field name="Lambda Value for Trellis" start="48" end="63" type="uint"/>
<field name="Unidirectional Mix Disable" start="92" end="92" type="bool"/>
<field name="Picture Width" start="112" end="127" type="uint"/>
- <field name="Block-Based Skip Type" start="159" end="159" type="uint"/>
- <field name="Sub-MB Sub-Partition Mask" start="152" end="158" type="uint"/>
- <field name="Intra SAD Measure Adjustment" start="150" end="151" type="uint">
+ <field name="Sub-Pel Mode" start="140" end="141" type="uint"/>
+ <field name="Forward Transform Skip Check Enable" start="145" end="145" type="bool"/>
+ <field name="Block-Based Skip Enable" start="147" end="147" type="bool"/>
+ <field name="Inter SAD Measure Adjustment" start="148" end="149" type="uint">
<value name="None" value="0"/>
<value name="Haar Transform Adjusted" value="2"/>
</field>
- <field name="Inter SAD Measure Adjustment" start="148" end="149" type="uint">
+ <field name="Intra SAD Measure Adjustment" start="150" end="151" type="uint">
<value name="None" value="0"/>
<value name="Haar Transform Adjusted" value="2"/>
</field>
- <field name="Block-Based Skip Enable" start="147" end="147" type="bool"/>
- <field name="Forward Transform Skip Check Enable" start="145" end="145" type="bool"/>
- <field name="Sub-Pel Mode" start="140" end="141" type="uint"/>
+ <field name="Sub-MB Sub-Partition Mask" start="152" end="158" type="uint"/>
+ <field name="Block-Based Skip Type" start="159" end="159" type="uint"/>
+ <field name="Picture Height" start="160" end="175" type="uint"/>
+ <field name="CRE Prefetch Enable" start="176" end="176" type="bool"/>
+ <field name="HME Ref1 Disable" start="177" end="177" type="bool"/>
+ <field name="MB Slice Threshold Value" start="178" end="181" type="uint"/>
+ <field name="Constrained Intra Prediction" start="186" end="186" type="bool"/>
<field name="Picture Type" start="189" end="190" type="uint">
<value name="I" value="0"/>
<value name="P" value="1"/>
</field>
- <field name="Constrained Intra Prediction" start="186" end="186" type="bool"/>
- <field name="MB Slice Threshold Value" start="178" end="181" type="uint"/>
- <field name="HME Ref1 Disable" start="177" end="177" type="bool"/>
- <field name="CRE Prefetch Enable" start="176" end="176" type="bool"/>
- <field name="Picture Height" start="160" end="175" type="uint"/>
<field name="Slice MB Height" start="192" end="207" type="uint"/>
- <field name="HME1 Y Offset" start="248" end="255" type="int"/>
- <field name="HME1 X Offset" start="240" end="247" type="int"/>
- <field name="HME0 Y Offset" start="232" end="239" type="int"/>
<field name="HME0 X Offset" start="224" end="231" type="int"/>
- <field name="RefID Cost Mode Select" start="278" end="278" type="uint"/>
- <field name="BiLinear Filter Enable" start="274" end="274" type="bool"/>
+ <field name="HME0 Y Offset" start="232" end="239" type="int"/>
+ <field name="HME1 X Offset" start="240" end="247" type="int"/>
+ <field name="HME1 Y Offset" start="248" end="255" type="int"/>
+ <field name="Luma Intra Partition Mask" start="256" end="260" type="uint"/>
+ <field name="Non Skip Zero MV Cost Added" start="261" end="261" type="uint"/>
+ <field name="Non Skip MB Mode Cost Added" start="262" end="262" type="uint"/>
<field name="MV Cost Scaling Factor" start="272" end="273" type="uint">
<value name="Qpel" value="0"/>
<value name="Hpel" value="1"/>
<value name="Pel" value="2"/>
<value name="2pel" value="3"/>
</field>
- <field name="Non Skip MB Mode Cost Added" start="262" end="262" type="uint"/>
- <field name="Non Skip Zero MV Cost Added" start="261" end="261" type="uint"/>
- <field name="Luma Intra Partition Mask" start="256" end="260" type="uint"/>
- <field name="Mode 3 Cost" start="312" end="319" type="uint"/>
- <field name="Mode 2 Cost" start="304" end="311" type="uint"/>
- <field name="Mode 1 Cost" start="296" end="303" type="uint"/>
+ <field name="BiLinear Filter Enable" start="274" end="274" type="bool"/>
+ <field name="RefID Cost Mode Select" start="278" end="278" type="uint"/>
<field name="Mode 0 Cost" start="288" end="295" type="uint"/>
- <field name="Mode 7 Cost" start="344" end="351" type="uint"/>
- <field name="Mode 6 Cost" start="336" end="343" type="uint"/>
- <field name="Mode 5 Cost" start="328" end="335" type="uint"/>
+ <field name="Mode 1 Cost" start="296" end="303" type="uint"/>
+ <field name="Mode 2 Cost" start="304" end="311" type="uint"/>
+ <field name="Mode 3 Cost" start="312" end="319" type="uint"/>
<field name="Mode 4 Cost" start="320" end="327" type="uint"/>
- <field name="Chroma Intra Mode Cost" start="376" end="383" type="uint"/>
- <field name="RefID Cost" start="368" end="375" type="uint"/>
- <field name="Mode 9 Cost" start="360" end="367" type="uint"/>
+ <field name="Mode 5 Cost" start="328" end="335" type="uint"/>
+ <field name="Mode 6 Cost" start="336" end="343" type="uint"/>
+ <field name="Mode 7 Cost" start="344" end="351" type="uint"/>
<field name="Mode 8 Cost" start="352" end="359" type="uint"/>
+ <field name="Mode 9 Cost" start="360" end="367" type="uint"/>
+ <field name="RefID Cost" start="368" end="375" type="uint"/>
+ <field name="Chroma Intra Mode Cost" start="376" end="383" type="uint"/>
<field name="MV Cost" start="384" end="447" type="IMAGE_STATE_COST"/>
- <field name="TargetSizeInWord" start="472" end="479" type="uint"/>
<field name="QpPrimeY" start="448" end="455" type="uint"/>
- <field name="AVC Intra 8x8 Mode Mask" start="560" end="568" type="uint"/>
+ <field name="TargetSizeInWord" start="472" end="479" type="uint"/>
<field name="AVC Intra 4x4 Mode Mask" start="544" end="552" type="uint"/>
- <field name="Intra Compute Type" start="584" end="585" type="uint"/>
- <field name="AVC Intra Chroma Mode Mask" start="580" end="583" type="uint"/>
+ <field name="AVC Intra 8x8 Mode Mask" start="560" end="568" type="uint"/>
<field name="AVC Intra 16x16 Mode Mask" start="576" end="579" type="uint"/>
- <field name="Penalty for Intra 4x4 Non-DC Prediction" start="656" end="663" type="uint"/>
- <field name="Penalty for Intra 8x8 Non-DC Prediction" start="648" end="655" type="uint"/>
+ <field name="AVC Intra Chroma Mode Mask" start="580" end="583" type="uint"/>
+ <field name="Intra Compute Type" start="584" end="585" type="uint"/>
<field name="Penalty for Intra 16x16 Non-DC Prediction" start="640" end="647" type="uint"/>
- <field name="QP Adjustment for Rolling-I" start="696" end="703" type="int"/>
+ <field name="Penalty for Intra 8x8 Non-DC Prediction" start="648" end="655" type="uint"/>
+ <field name="Penalty for Intra 4x4 Non-DC Prediction" start="656" end="663" type="uint"/>
+ <field name="Intra Refresh MB Position" start="672" end="679" type="uint"/>
+ <field name="Intra Refresh MB Size" start="680" end="687" type="uint"/>
+ <field name="Intra Refresh Enable (Rolling-I Enable)" start="688" end="688" type="bool"/>
<field name="Intra Refresh Mode" start="689" end="689" type="uint">
<value name="Row Based" value="0"/>
<value name="Column Based" value="1"/>
</field>
- <field name="Intra Refresh Enable (Rolling-I Enable)" start="688" end="688" type="bool"/>
- <field name="Intra Refresh MB Size" start="680" end="687" type="uint"/>
- <field name="Intra Refresh MB Position" start="672" end="679" type="uint"/>
- <field name="LargeMbSizeInWord" start="728" end="735" type="uint"/>
- <field name="SmallMbSizeInWord" start="720" end="727" type="uint"/>
+ <field name="QP Adjustment for Rolling-I" start="696" end="703" type="int"/>
<field name="PanicModeMBThreshold" start="704" end="719" type="uint"/>
- <field name="L1 Number of References" start="752" end="759" type="int"/>
+ <field name="SmallMbSizeInWord" start="720" end="727" type="uint"/>
+ <field name="LargeMbSizeInWord" start="728" end="735" type="uint"/>
<field name="L0 Number of References" start="736" end="743" type="int"/>
- <field name="Initial Time" start="784" end="799" type="uint"/>
+ <field name="L1 Number of References" start="752" end="759" type="int"/>
<field name="Macroblock Budget" start="768" end="783" type="uint"/>
+ <field name="Initial Time" start="784" end="799" type="uint"/>
<field name="HME Ref Windows Combining Threshold" start="840" end="847" type="uint"/>
- <field name="Max Vertical MV Range" start="880" end="895" type="uint"/>
<field name="Max Horizontal MV Range" start="864" end="879" type="uint"/>
+ <field name="Max Vertical MV Range" start="880" end="895" type="uint"/>
<field name="HME MV Cost" start="896" end="959" type="IMAGE_STATE_COST"/>
- <field name="QP Adjustment for Shape Best Intra 16x16 Winner" start="984" end="987" type="int"/>
- <field name="QP Adjustment for Shape Best Intra 8x8 Winner" start="980" end="983" type="int"/>
- <field name="QP Adjustment for Shape Best Intra 4x4 Winner" start="976" end="979" type="int"/>
- <field name="ROI QP Adjustment for Zone3" start="972" end="975" type="int"/>
- <field name="ROI QP Adjustment for Zone2" start="968" end="971" type="int"/>
- <field name="ROI QP Adjustment for Zone1" start="964" end="967" type="int"/>
<field name="ROI QP Adjustment for Zone0" start="960" end="963" type="int"/>
- <field name="Sad/Haar Threshold 0" start="1008" end="1023" type="uint"/>
- <field name="Best Distortion QP Adjustment for Zone3" start="1004" end="1007" type="int"/>
- <field name="Best Distortion QP Adjustment for Zone2" start="1000" end="1003" type="int"/>
- <field name="Best Distortion QP Adjustment for Zone1" start="996" end="999" type="int"/>
+ <field name="ROI QP Adjustment for Zone1" start="964" end="967" type="int"/>
+ <field name="ROI QP Adjustment for Zone2" start="968" end="971" type="int"/>
+ <field name="ROI QP Adjustment for Zone3" start="972" end="975" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 4x4 Winner" start="976" end="979" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 8x8 Winner" start="980" end="983" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 16x16 Winner" start="984" end="987" type="int"/>
<field name="Best Distortion QP Adjustment for Zone0" start="992" end="995" type="int"/>
- <field name="Sad/Haar Threshold 2" start="1040" end="1055" type="uint"/>
+ <field name="Best Distortion QP Adjustment for Zone1" start="996" end="999" type="int"/>
+ <field name="Best Distortion QP Adjustment for Zone2" start="1000" end="1003" type="int"/>
+ <field name="Best Distortion QP Adjustment for Zone3" start="1004" end="1007" type="int"/>
+ <field name="Sad/Haar Threshold 0" start="1008" end="1023" type="uint"/>
<field name="Sad/Haar Threshold 1" start="1024" end="1039" type="uint"/>
- <field name="Max Delta QP" start="1080" end="1083" type="uint"/>
- <field name="Max QP" start="1064" end="1071" type="uint"/>
+ <field name="Sad/Haar Threshold 2" start="1040" end="1055" type="uint"/>
<field name="Min QP" start="1056" end="1063" type="uint"/>
- <field name="Midpoint Sad/Haar" start="1104" end="1119" type="uint"/>
- <field name="Long Term Reference Frame Fwd Ref0 Indicator" start="1101" end="1101" type="bool"/>
- <field name="Long Term Reference Frame Fwd Ref1 Indicator" start="1100" end="1100" type="bool"/>
- <field name="Long Term Reference Frame Fwd Ref2 Indicator" start="1099" end="1099" type="bool"/>
- <field name="Long Term Reference Frame Bwd Ref0 Indicator" start="1098" end="1098" type="bool"/>
- <field name="Coefficient Clamp Enable" start="1097" end="1097" type="bool"/>
- <field name="PPMV Disable" start="1096" end="1096" type="bool"/>
- <field name="TargetSizeinWordsMB/MaxSizeinWordsMB Enable" start="1092" end="1092" type="bool"/>
- <field name="MB Level QP Enable" start="1091" end="1091" type="bool"/>
- <field name="Bwd/Predictor1 MV Enable" start="1090" end="1090" type="bool"/>
- <field name="Fwd/Predictor0 MV Enable" start="1089" end="1089" type="bool"/>
+ <field name="Max QP" start="1064" end="1071" type="uint"/>
+ <field name="Max Delta QP" start="1080" end="1083" type="uint"/>
<field name="ROI Enable" start="1088" end="1088" type="bool"/>
+ <field name="Fwd/Predictor0 MV Enable" start="1089" end="1089" type="bool"/>
+ <field name="Bwd/Predictor1 MV Enable" start="1090" end="1090" type="bool"/>
+ <field name="MB Level QP Enable" start="1091" end="1091" type="bool"/>
+ <field name="TargetSizeinWordsMB/MaxSizeinWordsMB Enable" start="1092" end="1092" type="bool"/>
+ <field name="PPMV Disable" start="1096" end="1096" type="bool"/>
+ <field name="Coefficient Clamp Enable" start="1097" end="1097" type="bool"/>
+ <field name="Long Term Reference Frame Bwd Ref0 Indicator" start="1098" end="1098" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref2 Indicator" start="1099" end="1099" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref1 Indicator" start="1100" end="1100" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref0 Indicator" start="1101" end="1101" type="bool"/>
+ <field name="Midpoint Sad/Haar" start="1104" end="1119" type="uint"/>
</instruction>
<instruction name="VDENC_PIPE_BUF_ADDR_STATE" bias="2" length="38" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="36"/>
-
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS FWD REF0" start="32" end="127" type="VDENC_PICTURE"/>
<field name="DS FWD REF1" start="128" end="223" type="VDENC_PICTURE"/>
<field name="Original Uncompressed Picture" start="320" end="415" type="VDENC_PICTURE"/>
@@ -6504,130 +6501,205 @@
</instruction>
<instruction name="VDENC_PIPE_MODE_SELECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Disable Speed Mode Fetch Optimization" start="63" end="63" type="bool"/>
- <field name="Output Range Control After Color Space Conversion" start="49" end="49" type="bool"/>
- <field name="PAK Chroma Sub-Sampling Type" start="47" end="48" type="uint">
- <value name="4:2:0" value="1"/>
- <value name="4:4:4" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Standard Select" start="32" end="35" type="uint">
+ <value name="HEVC" value="0"/>
+ <value name="VP9" value="1"/>
+ <value name="AVC" value="2"/>
</field>
+ <field name="Frame Statistics Stream-Out Enable" start="37" end="37" type="bool"/>
+ <field name="VDEnc PAK_OBJ_CMD Stream-Out Enable" start="38" end="38" type="bool"/>
+ <field name="TLB Prefetch Enable" start="39" end="39" type="bool"/>
+ <field name="PAK Threshold Check Enable" start="40" end="40" type="bool"/>
+ <field name="VDEnc Stream-In Enable" start="41" end="41" type="bool"/>
+ <field name="DownScaled 8x Write Disable" start="42" end="42" type="bool"/>
+ <field name="DownScaled 4x Write Disable" start="43" end="43" type="bool"/>
<field name="Bit Depth" start="44" end="46" type="uint">
<value name="8-bit" value="0"/>
<value name="10-bit" value="2"/>
</field>
- <field name="DownScaled 4x Write Disable" start="43" end="43" type="bool"/>
- <field name="DownScaled 8x Write Disable" start="42" end="42" type="bool"/>
- <field name="VDEnc Stream-In Enable" start="41" end="41" type="bool"/>
- <field name="PAK Threshold Check Enable" start="40" end="40" type="bool"/>
- <field name="TLB Prefetch Enable" start="39" end="39" type="bool"/>
- <field name="VDEnc PAK_OBJ_CMD Stream-Out Enable" start="38" end="38" type="bool"/>
- <field name="Frame Statistics Stream-Out Enable" start="37" end="37" type="bool"/>
- <field name="Standard Select" start="32" end="35" type="uint">
- <value name="HEVC" value="0"/>
- <value name="VP9" value="1"/>
- <value name="AVC" value="2"/>
+ <field name="PAK Chroma Sub-Sampling Type" start="47" end="48" type="uint">
+ <value name="4:2:0" value="1"/>
+ <value name="4:4:4" value="3"/>
</field>
+ <field name="Output Range Control After Color Space Conversion" start="49" end="49" type="bool"/>
+ <field name="Disable Speed Mode Fetch Optimization" start="63" end="63" type="bool"/>
</instruction>
<instruction name="VDENC_REF_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_SRC_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_WALKER_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="First Super Slice" start="60" end="60" type="bool"/>
- <field name="MB/LCU Start X Position" start="48" end="56" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MB/LCU Start Y Position" start="32" end="40" type="uint"/>
- <field name="Next Slice MB/LCU Start X Position" start="80" end="89" type="uint"/>
+ <field name="MB/LCU Start X Position" start="48" end="56" type="uint"/>
+ <field name="First Super Slice" start="60" end="60" type="bool"/>
<field name="Next Slice MB Start Y Position" start="64" end="73" type="uint"/>
- <field name="HEVC/VP9 Log2 Weight Denominator Luma" start="100" end="102" type="uint"/>
+ <field name="Next Slice MB/LCU Start X Position" start="80" end="89" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="96" end="98" type="uint"/>
- <field name="Tile Start CTB-X" start="144" end="159" type="uint"/>
+ <field name="HEVC/VP9 Log2 Weight Denominator Luma" start="100" end="102" type="uint"/>
<field name="Tile Start CTB-Y" start="128" end="143" type="uint"/>
+ <field name="Tile Start CTB-X" start="144" end="159" type="uint"/>
<field name="Tile Width" start="160" end="175" type="uint"/>
- <field name="Tile Stream-In Offset" start="198" end="223" type="uint"/>
<field name="Tile Stream-In Offset Enable" start="192" end="192" type="bool"/>
- <field name="Tile Row Store Offset" start="230" end="255" type="uint"/>
+ <field name="Tile Stream-In Offset" start="198" end="223" type="uint"/>
<field name="Tile Row Store Offset Enable" start="224" end="224" type="bool"/>
- <field name="Tile Stream-Out Offset" start="262" end="287" type="uint"/>
+ <field name="Tile Row Store Offset" start="230" end="255" type="uint"/>
<field name="Tile Stream-Out Offset Enable" start="256" end="256" type="bool"/>
- <field name="Tile LCU Stream-Out Offset" start="294" end="319" type="uint"/>
+ <field name="Tile Stream-Out Offset" start="262" end="287" type="uint"/>
<field name="Tile LCU Stream-Out Offset Enable" start="288" end="288" type="bool"/>
+ <field name="Tile LCU Stream-Out Offset" start="294" end="319" type="uint"/>
</instruction>
<instruction name="VDENC_WEIGHTSOFFSETS_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Offset Forward Reference 1" start="56" end="63" type="int"/>
- <field name="Weights Forward Reference 1" start="48" end="55" type="int"/>
- <field name="Offset Forward Reference 0" start="40" end="47" type="int"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command OpCode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weights Forward Reference 0" start="32" end="39" type="int"/>
- <field name="HEVC/VP9 Offset Backward Reference 0" start="88" end="95" type="int"/>
- <field name="HEVC/VP9 Weights Backward Reference 0" start="80" end="87" type="int"/>
- <field name="Offset Forward Reference 2" start="72" end="79" type="int"/>
+ <field name="Offset Forward Reference 0" start="40" end="47" type="int"/>
+ <field name="Weights Forward Reference 1" start="48" end="55" type="int"/>
+ <field name="Offset Forward Reference 1" start="56" end="63" type="int"/>
<field name="Weights Forward Reference 2" start="64" end="71" type="int"/>
+ <field name="Offset Forward Reference 2" start="72" end="79" type="int"/>
+ <field name="HEVC/VP9 Weights Backward Reference 0" start="80" end="87" type="int"/>
+ <field name="HEVC/VP9 Offset Backward Reference 0" start="88" end="95" type="int"/>
</instruction>
<instruction name="VD_PIPELINE_FLUSH" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="15"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="MFX Pipeline Command Flush" start="51" end="51" type="bool"/>
- <field name="VD-ENC Pipeline Command Flush" start="49" end="49" type="bool"/>
- <field name="HEVC Pipeline Command Flush" start="48" end="48" type="bool"/>
- <field name="VD Command/Message Parser Done" start="36" end="36" type="bool"/>
- <field name="MFX Pipeline Done" start="35" end="35" type="bool"/>
- <field name="VD-ENC Pipeline Done" start="33" end="33" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="15"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HEVC Pipeline Done" start="32" end="32" type="bool"/>
+ <field name="VD-ENC Pipeline Done" start="33" end="33" type="bool"/>
+ <field name="MFX Pipeline Done" start="35" end="35" type="bool"/>
+ <field name="VD Command/Message Parser Done" start="36" end="36" type="bool"/>
+ <field name="HEVC Pipeline Command Flush" start="48" end="48" type="bool"/>
+ <field name="VD-ENC Pipeline Command Flush" start="49" end="49" type="bool"/>
+ <field name="MFX Pipeline Command Flush" start="51" end="51" type="bool"/>
</instruction>
- <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
- <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_INSTDONE" length="1" num="0x2206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
+ <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
+ <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
</register>
- <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
- <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_0" length="1" num="0x7000">
+ <field name="Null tile fix disable" start="0" end="0" type="bool"/>
+ <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
+ <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
+ <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
+ <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
+ <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
+ <value name="Round Robin" value="0"/>
+ <value name="Fetch are Highest Priority" value="1"/>
+ <value name="Constants are Highest Priority" value="2"/>
+ </field>
+ <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
+ <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
+ <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
+ <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
+ <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
+ <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
+ <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
+ <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
+ <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
+ <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
+ <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
+ <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
+ <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
+ <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
</register>
- <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
- <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_1" length="1" num="0x7004">
+ <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
+ <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable" start="3" end="3" type="bool"/>
+ <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
+ <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
+ <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
+ <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
+ <field name="Color Compression Disable" start="15" end="15" type="bool"/>
+ <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
+ <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable Mask" start="19" end="19" type="bool"/>
+ <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
+ <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
+ <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
+ <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
+ <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
</register>
- <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
- <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_SS" length="1" num="0x0e420">
+ <field name="Instruction Level 1 Cache Disable" start="0" end="0" type="bool"/>
+ <field name="Instruction Level 1 Cache and In-Flight Queue Disable " start="1" end="1" type="bool"/>
+ <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
+ <field name="Per Sample Blend Opt Disable" start="11" end="11" type="bool"/>
+ <field name="Instruction Level 1 Cache Disable Mask" start="16" end="16" type="bool"/>
+ <field name="Instruction Level 1 Cache and In-Flight Queue Disable Mask" start="17" end="17" type="bool"/>
+ <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
+ <field name="Per Sample Blend Opt Disable Mask" start="27" end="27" type="bool"/>
+ </register>
+
+ <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
+ <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
+ <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CS_CHICKEN1" length="1" num="0x2580">
+ <field name="Replay Mode" start="0" end="0" type="uint">
+ <value name="Mid-cmdbuffer Preemption" value="0"/>
+ <value name="Object Level Preemption" value="1"/>
+ </field>
+ <field name="Replay Mode Mask" start="16" end="16" type="bool"/>
+ </register>
+
+ <register name="CS_DEBUG_MODE2" length="1" num="0x20d8">
+ <field name="3D Rendering Instruction Disable" start="0" end="0" type="bool"/>
+ <field name="Media Instruction Disable" start="1" end="1" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable" start="4" end="4" type="bool"/>
+ <field name="3D Rendering Instruction Disable Mask" start="16" end="16" type="bool"/>
+ <field name="Media Instruction Disable Mask" start="17" end="17" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="20" end="20" type="bool"/>
+ </register>
+
+ <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
+ <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
<register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
@@ -6642,27 +6714,16 @@
<field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
- <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
- </register>
-
- <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
- <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
- </register>
-
- <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
- <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
+ <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
- <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
+ <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="BCS_INSTDONE" length="1" num="0x2206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
- <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
- <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
+ <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
+ <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
</register>
<register name="INSTDONE_1" length="1" num="0x206c">
@@ -6690,72 +6751,16 @@
<field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
</register>
- <register name="VCS_INSTDONE" length="1" num="0x1206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="USB Done" start="1" end="1" type="bool"/>
- <field name="QRC Done" start="2" end="2" type="bool"/>
- <field name="SEC Done" start="3" end="3" type="bool"/>
- <field name="MPC Done" start="4" end="4" type="bool"/>
- <field name="VFT Done" start="5" end="5" type="bool"/>
- <field name="BSP Done" start="6" end="6" type="bool"/>
- <field name="VLF Done" start="7" end="7" type="bool"/>
- <field name="VOP Done" start="8" end="8" type="bool"/>
- <field name="VMC Done" start="9" end="9" type="bool"/>
- <field name="VIP Done" start="10" end="10" type="bool"/>
- <field name="VIT Done" start="11" end="11" type="bool"/>
- <field name="VDS Done" start="12" end="12" type="bool"/>
- <field name="VMX Done" start="13" end="13" type="bool"/>
- <field name="VCP Done" start="14" end="14" type="bool"/>
- <field name="VCD Done" start="15" end="15" type="bool"/>
- <field name="VAD Done" start="16" end="16" type="bool"/>
- <field name="VMD Done" start="17" end="17" type="bool"/>
- <field name="VIS Done" start="18" end="18" type="bool"/>
- <field name="VAC Done" start="19" end="19" type="bool"/>
- <field name="VAM Done" start="20" end="20" type="bool"/>
- <field name="JPG Done" start="21" end="21" type="bool"/>
- <field name="VBP Done" start="22" end="22" type="bool"/>
- <field name="VHR Done" start="23" end="23" type="bool"/>
- <field name="VCI Done" start="24" end="24" type="bool"/>
- <field name="VCR Done" start="25" end="25" type="bool"/>
- <field name="VIN Done" start="26" end="26" type="bool"/>
- <field name="VPR Done" start="27" end="27" type="bool"/>
- <field name="VTQ Done" start="28" end="28" type="bool"/>
- <field name="Reserved" start="29" end="29" type="bool"/>
- <field name="VCS Done" start="30" end="30" type="bool"/>
- <field name="GAC Done" start="31" end="31" type="bool"/>
- </register>
-
- <register name="VECS_INSTDONE" length="1" num="0x1a06c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="VECS Done" start="30" end="30" type="bool"/>
- <field name="GAM Done" start="31" end="31" type="bool"/>
+ <register name="L3CNTLREG" length="1" num="0x7034">
+ <field name="SLM Enable" start="0" end="0" type="bool"/>
+ <field name="URB Allocation" start="1" end="7" type="uint"/>
+ <field name="RO Allocation" start="11" end="17" type="uint"/>
+ <field name="DC Allocation" start="18" end="24" type="uint"/>
+ <field name="All Allocation" start="25" end="31" type="uint"/>
</register>
- <register name="SC_INSTDONE" length="1" num="0x7100">
- <field name="SVL Done" start="0" end="0" type="bool"/>
- <field name="WMFE Done" start="1" end="1" type="bool"/>
- <field name="WMBE Done" start="2" end="2" type="bool"/>
- <field name="HIZ Done" start="3" end="3" type="bool"/>
- <field name="STC Done" start="4" end="4" type="bool"/>
- <field name="IZ Done" start="5" end="5" type="bool"/>
- <field name="SBE Done" start="6" end="6" type="bool"/>
- <field name="RCZ Done" start="8" end="8" type="bool"/>
- <field name="RCC Done" start="9" end="9" type="bool"/>
- <field name="RCPBE Done" start="10" end="10" type="bool"/>
- <field name="RCPFE Done" start="11" end="11" type="bool"/>
- <field name="DAPB Done" start="12" end="12" type="bool"/>
- <field name="DAPRBE Done" start="13" end="13" type="bool"/>
- <field name="SARB Done" start="15" end="15" type="bool"/>
- <field name="DC0 Done" start="16" end="16" type="bool"/>
- <field name="DC1 Done" start="17" end="17" type="bool"/>
- <field name="DC2 Done" start="18" end="18" type="bool"/>
- <field name="DC3 Done" start="19" end="19" type="bool"/>
- <field name="GW0 Done" start="20" end="20" type="bool"/>
- <field name="GW1 Done" start="21" end="21" type="bool"/>
- <field name="GW2 Done" start="22" end="22" type="bool"/>
- <field name="GW3 Done" start="23" end="23" type="bool"/>
- <field name="TDC Done" start="24" end="24" type="bool"/>
- <field name="SFBE Done" start="25" end="25" type="bool"/>
+ <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
+ <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
<register name="ROW_INSTDONE" length="1" num="0xe164">
@@ -6799,20 +6804,31 @@
<field name="BDM Done" start="19" end="19" type="bool"/>
</register>
- <register name="L3CNTLREG" length="1" num="0x7034">
- <field name="SLM Enable" start="0" end="0" type="bool"/>
- <field name="URB Allocation" start="1" end="7" type="uint"/>
- <field name="RO Allocation" start="11" end="17" type="uint"/>
- <field name="DC Allocation" start="18" end="24" type="uint"/>
- <field name="All Allocation" start="25" end="31" type="uint"/>
- </register>
-
- <register name="CS_CHICKEN1" length="1" num="0x2580">
- <field name="Replay Mode" start="0" end="0" type="uint">
- <value name="Mid-cmdbuffer Preemption" value="0"/>
- <value name="Object Level Preemption" value="1"/>
- </field>
- <field name="Replay Mode Mask" start="16" end="16" type="bool"/>
+ <register name="SC_INSTDONE" length="1" num="0x7100">
+ <field name="SVL Done" start="0" end="0" type="bool"/>
+ <field name="WMFE Done" start="1" end="1" type="bool"/>
+ <field name="WMBE Done" start="2" end="2" type="bool"/>
+ <field name="HIZ Done" start="3" end="3" type="bool"/>
+ <field name="STC Done" start="4" end="4" type="bool"/>
+ <field name="IZ Done" start="5" end="5" type="bool"/>
+ <field name="SBE Done" start="6" end="6" type="bool"/>
+ <field name="RCZ Done" start="8" end="8" type="bool"/>
+ <field name="RCC Done" start="9" end="9" type="bool"/>
+ <field name="RCPBE Done" start="10" end="10" type="bool"/>
+ <field name="RCPFE Done" start="11" end="11" type="bool"/>
+ <field name="DAPB Done" start="12" end="12" type="bool"/>
+ <field name="DAPRBE Done" start="13" end="13" type="bool"/>
+ <field name="SARB Done" start="15" end="15" type="bool"/>
+ <field name="DC0 Done" start="16" end="16" type="bool"/>
+ <field name="DC1 Done" start="17" end="17" type="bool"/>
+ <field name="DC2 Done" start="18" end="18" type="bool"/>
+ <field name="DC3 Done" start="19" end="19" type="bool"/>
+ <field name="GW0 Done" start="20" end="20" type="bool"/>
+ <field name="GW1 Done" start="21" end="21" type="bool"/>
+ <field name="GW2 Done" start="22" end="22" type="bool"/>
+ <field name="GW3 Done" start="23" end="23" type="bool"/>
+ <field name="TDC Done" start="24" end="24" type="bool"/>
+ <field name="SFBE Done" start="25" end="25" type="bool"/>
</register>
<register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
@@ -6863,72 +6879,48 @@
<field name="Write Offset" start="2" end="31" type="offset"/>
</register>
- <register name="CACHE_MODE_0" length="1" num="0x7000">
- <field name="Null tile fix disable" start="0" end="0" type="bool"/>
- <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
- <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
- <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
- <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
- <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
- <value name="Round Robin" value="0"/>
- <value name="Fetch are Highest Priority" value="1"/>
- <value name="Constants are Highest Priority" value="2"/>
- </field>
- <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
- <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
- <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
- <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
-
- <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
- <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
- <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
- <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
- <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
- <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
- <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
- <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
- <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
- <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
- </register>
-
- <register name="CACHE_MODE_1" length="1" num="0x7004">
- <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
- <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable" start="3" end="3" type="bool"/>
- <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
- <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
- <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
- <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
- <field name="Color Compression Disable" start="15" end="15" type="bool"/>
-
- <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
- <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable Mask" start="19" end="19" type="bool"/>
- <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
- <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
- <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
- <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
- <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
+ <register name="VCS_INSTDONE" length="1" num="0x1206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="USB Done" start="1" end="1" type="bool"/>
+ <field name="QRC Done" start="2" end="2" type="bool"/>
+ <field name="SEC Done" start="3" end="3" type="bool"/>
+ <field name="MPC Done" start="4" end="4" type="bool"/>
+ <field name="VFT Done" start="5" end="5" type="bool"/>
+ <field name="BSP Done" start="6" end="6" type="bool"/>
+ <field name="VLF Done" start="7" end="7" type="bool"/>
+ <field name="VOP Done" start="8" end="8" type="bool"/>
+ <field name="VMC Done" start="9" end="9" type="bool"/>
+ <field name="VIP Done" start="10" end="10" type="bool"/>
+ <field name="VIT Done" start="11" end="11" type="bool"/>
+ <field name="VDS Done" start="12" end="12" type="bool"/>
+ <field name="VMX Done" start="13" end="13" type="bool"/>
+ <field name="VCP Done" start="14" end="14" type="bool"/>
+ <field name="VCD Done" start="15" end="15" type="bool"/>
+ <field name="VAD Done" start="16" end="16" type="bool"/>
+ <field name="VMD Done" start="17" end="17" type="bool"/>
+ <field name="VIS Done" start="18" end="18" type="bool"/>
+ <field name="VAC Done" start="19" end="19" type="bool"/>
+ <field name="VAM Done" start="20" end="20" type="bool"/>
+ <field name="JPG Done" start="21" end="21" type="bool"/>
+ <field name="VBP Done" start="22" end="22" type="bool"/>
+ <field name="VHR Done" start="23" end="23" type="bool"/>
+ <field name="VCI Done" start="24" end="24" type="bool"/>
+ <field name="VCR Done" start="25" end="25" type="bool"/>
+ <field name="VIN Done" start="26" end="26" type="bool"/>
+ <field name="VPR Done" start="27" end="27" type="bool"/>
+ <field name="VTQ Done" start="28" end="28" type="bool"/>
+ <field name="Reserved" start="29" end="29" type="bool"/>
+ <field name="VCS Done" start="30" end="30" type="bool"/>
+ <field name="GAC Done" start="31" end="31" type="bool"/>
</register>
- <register name="CACHE_MODE_SS" length="1" num="0x0e420">
- <field name="Instruction Level 1 Cache Disable" start="0" end="0" type="bool"/>
- <field name="Instruction Level 1 Cache and In-Flight Queue Disable " start="1" end="1" type="bool"/>
- <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
- <field name="Per Sample Blend Opt Disable" start="11" end="11" type="bool"/>
-
- <field name="Instruction Level 1 Cache Disable Mask" start="16" end="16" type="bool"/>
- <field name="Instruction Level 1 Cache and In-Flight Queue Disable Mask" start="17" end="17" type="bool"/>
- <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
- <field name="Per Sample Blend Opt Disable Mask" start="27" end="27" type="bool"/>
+ <register name="VECS_INSTDONE" length="1" num="0x1a06c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="VECS Done" start="30" end="30" type="bool"/>
+ <field name="GAM Done" start="31" end="31" type="bool"/>
</register>
- <register name="CS_DEBUG_MODE2" length="1" num="0x20d8">
- <field name="3D Rendering Instruction Disable" start="0" end="0" type="bool"/>
- <field name="Media Instruction Disable" start="1" end="1" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable" start="4" end="4" type="bool"/>
-
- <field name="3D Rendering Instruction Disable Mask" start="16" end="16" type="bool"/>
- <field name="Media Instruction Disable Mask" start="17" end="17" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="20" end="20" type="bool"/>
+ <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
+ <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
-
</genxml>
diff --git a/src/intel/genxml/gen11.xml b/src/intel/genxml/gen11.xml
index 8951db39969..83e03f6f7f0 100644
--- a/src/intel/genxml/gen11.xml
+++ b/src/intel/genxml/gen11.xml
@@ -1,5 +1,66 @@
<?xml version="1.0" ?>
<genxml name="ICL" gen="11">
+
+ <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"/>
+ <value name="LESS" value="2"/>
+ <value name="EQUAL" value="3"/>
+ <value name="LEQUAL" value="4"/>
+ <value name="GREATER" value="5"/>
+ <value name="NOTEQUAL" value="6"/>
+ <value name="GEQUAL" value="7"/>
+ </enum>
+
+ <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
+ <value name="CLEAR" value="0"/>
+ <value name="NOR" value="1"/>
+ <value name="AND_INVERTED" value="2"/>
+ <value name="COPY_INVERTED" value="3"/>
+ <value name="AND_REVERSE" value="4"/>
+ <value name="INVERT" value="5"/>
+ <value name="XOR" value="6"/>
+ <value name="NAND" value="7"/>
+ <value name="AND" value="8"/>
+ <value name="EQUIV" value="9"/>
+ <value name="NOOP" value="10"/>
+ <value name="OR_INVERTED" value="11"/>
+ <value name="COPY" value="12"/>
+ <value name="OR_REVERSE" value="13"/>
+ <value name="OR" value="14"/>
+ <value name="SET" value="15"/>
+ </enum>
+
<enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
<value name="POINTLIST" value="1"/>
<value name="LINELIST" value="2"/>
@@ -56,6 +117,17 @@
<value name="PATCHLIST_32" value="63"/>
</enum>
+ <enum name="3D_Stencil_Operation" prefix="STENCILOP">
+ <value name="KEEP" value="0"/>
+ <value name="ZERO" value="1"/>
+ <value name="REPLACE" value="2"/>
+ <value name="INCRSAT" value="3"/>
+ <value name="DECRSAT" value="4"/>
+ <value name="INCR" value="5"/>
+ <value name="DECR" value="6"/>
+ <value name="INVERT" value="7"/>
+ </enum>
+
<enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
<value name="NOSTORE" value="0"/>
<value name="STORE_SRC" value="1"/>
@@ -65,25 +137,6 @@
<value name="STORE_PID" value="7"/>
</enum>
- <enum name="COMPONENT_ENABLES" prefix="CE">
- <value name="NONE" value="0"/>
- <value name="X" value="1"/>
- <value name="Y" value="2"/>
- <value name="XY" value="3"/>
- <value name="Z" value="4"/>
- <value name="XZ" value="5"/>
- <value name="YZ" value="6"/>
- <value name="XYZ" value="7"/>
- <value name="W" value="8"/>
- <value name="XW" value="9"/>
- <value name="YW" value="10"/>
- <value name="XYW" value="11"/>
- <value name="ZW" value="12"/>
- <value name="XZW" value="13"/>
- <value name="YZW" value="14"/>
- <value name="XYZW" value="15"/>
- </enum>
-
<enum name="Attribute_Component_Format" prefix="ACF">
<value name="disabled" value="0"/>
<value name=".xy" value="1"/>
@@ -91,7 +144,8 @@
<value name=".xyzw" value="3"/>
</enum>
- <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
+ <enum name="COMPONENT_ENABLES" prefix="CE">
+ <value name="NONE" value="0"/>
<value name="X" value="1"/>
<value name="Y" value="2"/>
<value name="XY" value="3"/>
@@ -109,77 +163,6 @@
<value name="XYZW" value="15"/>
</enum>
- <enum name="3D_Stencil_Operation" prefix="STENCILOP">
- <value name="KEEP" value="0"/>
- <value name="ZERO" value="1"/>
- <value name="REPLACE" value="2"/>
- <value name="INCRSAT" value="3"/>
- <value name="DECRSAT" value="4"/>
- <value name="INCR" value="5"/>
- <value name="DECR" value="6"/>
- <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"/>
- <value name="LESS" value="2"/>
- <value name="EQUAL" value="3"/>
- <value name="LEQUAL" value="4"/>
- <value name="GREATER" value="5"/>
- <value name="NOTEQUAL" value="6"/>
- <value name="GEQUAL" value="7"/>
- </enum>
-
- <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
- <value name="CLEAR" value="0"/>
- <value name="NOR" value="1"/>
- <value name="AND_INVERTED" value="2"/>
- <value name="COPY_INVERTED" value="3"/>
- <value name="AND_REVERSE" value="4"/>
- <value name="INVERT" value="5"/>
- <value name="XOR" value="6"/>
- <value name="NAND" value="7"/>
- <value name="AND" value="8"/>
- <value name="EQUIV" value="9"/>
- <value name="NOOP" value="10"/>
- <value name="OR_INVERTED" value="11"/>
- <value name="COPY" value="12"/>
- <value name="OR_REVERSE" value="13"/>
- <value name="OR" value="14"/>
- <value name="SET" value="15"/>
- </enum>
-
<enum name="Shader Channel Select" prefix="SCS">
<value name="ZERO" value="0"/>
<value name="ONE" value="1"/>
@@ -200,6 +183,24 @@
<value name="MIRROR_101" value="7"/>
</enum>
+ <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
+ <value name="X" value="1"/>
+ <value name="Y" value="2"/>
+ <value name="XY" value="3"/>
+ <value name="Z" value="4"/>
+ <value name="XZ" value="5"/>
+ <value name="YZ" value="6"/>
+ <value name="XYZ" value="7"/>
+ <value name="W" value="8"/>
+ <value name="XW" value="9"/>
+ <value name="YW" value="10"/>
+ <value name="XYW" value="11"/>
+ <value name="ZW" value="12"/>
+ <value name="XZW" value="13"/>
+ <value name="YZW" value="14"/>
+ <value name="XYZW" value="15"/>
+ </enum>
+
<struct name="3DSTATE_CONSTANT_BODY" length="10">
<group count="4" start="0" size="16">
<field name="Read Length" start="0" end="15" type="uint"/>
@@ -210,132 +211,48 @@
</struct>
<struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
- <field name="Binding Table Index" start="16" end="23" type="uint"/>
<field name="Surface State Pointer" start="0" end="15" type="offset"/>
+ <field name="Binding Table Index" start="16" end="23" type="uint"/>
</struct>
- <struct name="GATHER_CONSTANT_ENTRY" length="1">
- <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
- <field name="Channel Mask" start="4" end="7" type="uint"/>
- <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
- </struct>
-
- <struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="MOCS" start="16" end="22" type="uint"/>
- <field name="Address Modify Enable" start="14" end="14" type="bool"/>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
- <field name="Buffer Starting Address" start="32" end="95" type="address"/>
- <field name="Buffer Size" start="96" end="127" type="uint"/>
- </struct>
-
- <struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Valid" start="25" end="25" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
- <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
- <field name="Source Element Offset" start="0" end="11" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
- <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
- </struct>
-
- <struct name="SO_DECL" length="1">
- <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
- <field name="Hole Flag" start="11" end="11" type="uint"/>
- <field name="Register Index" start="4" end="9" type="uint"/>
- <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
- </struct>
-
- <struct name="SO_DECL_ENTRY" length="2">
- <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
- <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
- <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
- <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
- </struct>
-
- <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
- <field name="Component Override W" start="15" end="15" type="bool"/>
- <field name="Component Override Z" start="14" end="14" type="bool"/>
- <field name="Component Override Y" start="13" end="13" type="bool"/>
- <field name="Component Override X" start="12" end="12" type="bool"/>
- <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
- <field name="Constant Source" start="9" end="10" type="uint">
- <value name="CONST_0000" value="0"/>
- <value name="CONST_0001_FLOAT" value="1"/>
- <value name="CONST_1111_FLOAT" value="2"/>
- <value name="PRIM_ID" value="3"/>
- </field>
- <field name="Swizzle Select" start="6" end="7" type="uint">
- <value name="INPUTATTR" value="0"/>
- <value name="INPUTATTR_FACING" value="1"/>
- <value name="INPUTATTR_W" value="2"/>
- <value name="INPUTATTR_FACING_W" value="3"/>
- </field>
- <field name="Source Attribute" start="0" end="4" type="uint"/>
- </struct>
-
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
- <struct name="SF_CLIP_VIEWPORT" length="16">
- <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
- <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
- <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
- <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
- <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
- <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
- <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
- <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
- <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
- <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
- <field name="X Min ViewPort" start="384" end="415" type="float"/>
- <field name="X Max ViewPort" start="416" end="447" type="float"/>
- <field name="Y Min ViewPort" start="448" end="479" type="float"/>
- <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ <struct name="BINDING_TABLE_STATE" length="1">
+ <field name="Surface State Pointer" start="6" end="31" type="offset"/>
</struct>
<struct name="BLEND_STATE_ENTRY" length="2">
- <field name="Logic Op Enable" start="63" end="63" type="bool"/>
- <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
- <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Write Disable Green" start="1" end="1" type="bool"/>
+ <field name="Write Disable Red" start="2" end="2" type="bool"/>
+ <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
+ <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
<field name="Color Clamp Range" start="34" end="35" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
- <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
- <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
-
- <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
- <field name="Write Disable Red" start="2" end="2" type="bool"/>
- <field name="Write Disable Green" start="1" end="1" type="bool"/>
- <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
+ <field name="Logic Op Enable" start="63" end="63" type="bool"/>
</struct>
<struct name="BLEND_STATE" length="1">
- <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
- <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
- <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
- <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
- <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
- <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
- <field name="Color Dither Enable" start="23" end="23" type="bool"/>
- <field name="X Dither Offset" start="21" end="22" type="uint"/>
<field name="Y Dither Offset" start="19" end="20" type="uint"/>
+ <field name="X Dither Offset" start="21" end="22" type="uint"/>
+ <field name="Color Dither Enable" start="23" end="23" type="bool"/>
+ <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
+ <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
+ <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
+ <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
<group count="0" start="32" size="64">
<field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
</group>
@@ -346,12 +263,31 @@
<field name="Maximum Depth" start="32" end="63" type="float"/>
</struct>
+ <struct name="CHROMA_FILTER_COEFFICIENTS_ARRAY" length="2">
+ <field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
+ </struct>
+
+ <struct name="CLEAR_COLOR" length="8">
+ <field name="Raw Clear Color Red" start="0" end="31" type="int"/>
+ <field name="Raw Clear Color Green" start="32" end="63" type="int"/>
+ <field name="Raw Clear Color Blue" start="64" end="95" type="int"/>
+ <field name="Raw Clear Color Alpha" start="96" end="127" type="int"/>
+ <field name="Converted Clear Value Hi/Low" start="128" end="191" type="uint"/>
+ </struct>
+
<struct name="COLOR_CALC_STATE" length="6">
- <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Test Format" start="0" end="0" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
+ <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
<field name="Blend Constant Color Red" start="64" end="95" type="float"/>
@@ -361,33 +297,195 @@
</struct>
<struct name="EXECUTION_UNIT_EXTENDED_MESSAGE_DESCRIPTOR" length="1">
- <field name="Extended Message Length" start="6" end="9" type="uint"/>
+ <field name="Target Function ID" start="0" end="3" type="uint"/>
<field name="End Of Thread" start="5" end="5" type="uint">
<value name="No Termination" value="0"/>
<value name="EOT" value="1"/>
</field>
- <field name="Target Function ID" start="0" end="3" type="uint"/>
+ <field name="Extended Message Length" start="6" end="9" type="uint"/>
+ </struct>
+
+ <struct name="FILTER_COEFFICIENT" length="1">
+ <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
+ </struct>
+
+ <struct name="FRAMEDELTAQP" length="2">
+ <group count="8" start="0" size="8">
+ <field name="Frame Delta QP" start="0" end="7" type="int"/>
+ </group>
+ </struct>
+
+ <struct name="FRAMEDELTAQPRANGE" length="2">
+ <group count="8" start="0" size="8">
+ <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
+ </group>
+ </struct>
+
+ <struct name="GATHER_CONSTANT_ENTRY" length="1">
+ <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
+ <field name="Channel Mask" start="4" end="7" type="uint"/>
+ <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
+ </struct>
+
+ <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
+ <field name="Priority" start="0" end="1" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ </struct>
+
+ <struct name="MEMORYADDRESSATTRIBUTES" length="1">
+ <field name="MOCS" start="1" end="6" type="uint"/>
+ <field name="Arbitration Priority Control" start="7" end="8" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
+ <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint"/>
+ <field name="Tiled Resource Mode" start="13" end="14" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
+ </struct>
+
+ <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
+ <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
+ <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
+ <field name="Indirect Payload Base Address2" start="96" end="128" type="MEMORYADDRESSATTRIBUTES"/>
+ </struct>
+
+ <struct name="HCP_REF_LIST_ENTRY" length="1">
+ <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
+ <field name="List Entry" start="8" end="10" type="uint"/>
+ <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
+ <value name="Default" value="0"/>
+ <value name="Explicit" value="1"/>
+ </field>
+ <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
+ <value name="Default" value="0"/>
+ <value name="Explicit" value="1"/>
+ </field>
+ <field name="Long Term Reference" start="13" end="13" type="bool"/>
+ <field name="Field Pic" start="14" end="14" type="bool"/>
+ <field name="Top Field" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
+ <field name="CtbPos0+i" start="0" end="7" type="uint"/>
+ <field name="CtbPos1+i" start="8" end="15" type="uint"/>
+ <field name="CtbPos2+i" start="16" end="23" type="uint"/>
+ <field name="CtbPos3+i" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HCP_TILE_POSITION_IN_CTB_MSB" length="2">
+ <group count="22" start="0" size="2">
+ <field name="Ctb Row Position of Tile Column" start="0" end="1" type="uint"/>
+ </group>
+ </struct>
+
+ <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
+ <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
+ <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
+ <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
+ <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HCP_WEIGHTOFFSET_CHROMA_EXT_ENTRY" length="1">
+ <field name="Chroma Offset LX[0] MSByte [i]" start="0" end="7" type="uint"/>
+ <field name="Chroma Offset LX[0] MSByte [i+1]" start="8" end="15" type="uint"/>
+ <field name="Chroma Offset LX[1] MSByte [i]" start="16" end="23" type="uint"/>
+ <field name="Chroma Offset LX[1] MSByte [i+1]" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
+ <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
+ <field name="Luma Offset LX" start="8" end="15" type="uint"/>
+ <field name="Luma Offset LX MSByte" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
+ <field name="Lambda Value 0" start="0" end="15" type="uint"/>
+ <field name="Lambda Value 1" start="16" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
+ <field name="Address" start="0" end="63" type="address"/>
+ <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
+ </struct>
+
+ <struct name="IMAGE_STATE_COST" length="2">
+ <field name="MV 0 Cost" start="0" end="7" type="uint"/>
+ <field name="MV 1 Cost" start="8" end="15" type="uint"/>
+ <field name="MV 2 Cost" start="16" end="23" type="uint"/>
+ <field name="MV 3 Cost" start="24" end="31" type="uint"/>
+ <field name="MV 4 Cost" start="32" end="39" type="uint"/>
+ <field name="MV 5 Cost" start="40" end="47" type="uint"/>
+ <field name="MV 6 Cost" start="48" end="55" type="uint"/>
+ <field name="MV 7 Cost" start="56" end="63" type="uint"/>
+ </struct>
+
+ <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
+ <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
+ <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
+ <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
+ <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
+ <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
+ <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
+ <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
+ <field name="MPR Error Handling" start="12" end="12" type="bool"/>
+ <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
+ <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
+ <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
+ <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
+ <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
+ <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
+ <field name="Init Current MB Number" start="30" end="30" type="bool"/>
+ <field name="Concealment Method" start="31" end="31" type="uint"/>
+ <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
+ <field name="Last Slice" start="35" end="35" type="bool"/>
+ <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
+ <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
+ <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
+ <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
+ <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
+ <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
+ <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
+ <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
+ <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
</struct>
<struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
<field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
- <field name="Denorm Mode" start="83" end="83" type="uint">
- <value name="Ftz" value="0"/>
- <value name="SetByKernel" value="1"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Single Program Flow" start="82" end="82" type="bool"/>
<field name="Thread Priority" start="81" end="81" type="uint">
<value name="Normal Priority" value="0"/>
<value name="High Priority" value="1"/>
</field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Single Program Flow" start="82" end="82" type="bool"/>
+ <field name="Denorm Mode" start="83" end="83" type="uint">
+ <value name="Ftz" value="0"/>
+ <value name="SetByKernel" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
<field name="Sampler Count" start="98" end="100" type="uint">
<value name="No samplers used" value="0"/>
<value name="Between 1 and 4 samplers used" value="1"/>
@@ -395,17 +493,13 @@
<value name="Between 9 and 12 samplers used" value="3"/>
<value name="Between 13 and 16 samplers used" value="4"/>
</field>
- <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
+ <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
<field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
- <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
<field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
- <field name="Rounding Mode" start="214" end="215" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
- </field>
- <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
+ <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
<field name="Shared Local Memory Size" start="208" end="212" type="uint">
<value name="Encodes 0K" value="0"/>
<value name="Encodes 1K" value="1"/>
@@ -416,105 +510,177 @@
<value name="Encodes 32K" value="6"/>
<value name="Encodes 64K" value="7"/>
</field>
- <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
- <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
+ <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Rounding Mode" start="214" end="215" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
+ </field>
<field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
</struct>
- <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
- <field name="Rounding Precision" start="0" end="2" type="uint">
- <value name="+1/16" value="0"/>
- <value name="+2/16" value="1"/>
- <value name="+3/16" value="2"/>
- <value name="+4/16" value="3"/>
- <value name="+5/16" value="4"/>
- <value name="+6/16" value="5"/>
- <value name="+7/16" value="6"/>
- <value name="+8/16" value="7"/>
+ <struct name="LUMA_FILTER_COEFFICIENTS_ARRAY" length="4">
+ <field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
+ </struct>
+
+ <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
+ <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
+ <field name="Last MB" start="3" end="3" type="bool"/>
+ <field name="Last Pic Slice" start="5" end="5" type="bool"/>
+ <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
+ <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
+ <field name="MB Count" start="8" end="15" type="uint"/>
+ <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
+ <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
+ <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
+ <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
+ </struct>
+
+ <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
+ <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
+ <value name="NOOP" value="0x000"/>
+ <value name="LOAD" value="0x080"/>
+ <value name="LOADINV" value="0x480"/>
+ <value name="LOAD0" value="0x081"/>
+ <value name="LOAD1" value="0x481"/>
+ <value name="ADD" value="0x100"/>
+ <value name="SUB" value="0x101"/>
+ <value name="AND" value="0x102"/>
+ <value name="OR" value="0x103"/>
+ <value name="XOR" value="0x104"/>
+ <value name="STORE" value="0x180"/>
+ <value name="STOREINV" value="0x580"/>
</field>
</struct>
<struct name="PALETTE_ENTRY" length="1">
- <field name="Alpha" start="24" end="31" type="uint"/>
- <field name="Red" start="16" end="23" type="uint"/>
- <field name="Green" start="8" end="15" type="uint"/>
<field name="Blue" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="BINDING_TABLE_STATE" length="1">
- <field name="Surface State Pointer" start="6" end="31" type="offset"/>
+ <field name="Green" start="8" end="15" type="uint"/>
+ <field name="Red" start="16" end="23" type="uint"/>
+ <field name="Alpha" start="24" end="31" type="uint"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="16">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_STRBUF" value="5"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Surface Array" start="28" end="28" type="bool"/>
- <field name="Surface Format" start="18" end="27" type="uint"/>
- <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
- <value name="VALIGN 4" value="1"/>
- <value name="VALIGN 8" value="2"/>
- <value name="VALIGN 16" value="3"/>
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
</field>
- <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
- <value name="HALIGN 4" value="1"/>
- <value name="HALIGN 8" value="2"/>
- <value name="HALIGN 16" value="3"/>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="Write-Only Cache" value="0"/>
+ <value name="Read-Write Cache" value="1"/>
</field>
+ <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
+ <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
+ <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
<field name="Tile Mode" start="12" end="13" type="uint">
<value name="LINEAR" value="0"/>
<value name="WMAJOR" value="1"/>
<value name="XMAJOR" value="2"/>
<value name="YMAJOR" value="3"/>
</field>
- <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
- <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
- <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="Write-Only Cache" value="0"/>
- <value name="Read-Write Cache" value="1"/>
+ <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
+ <value name="HALIGN 4" value="1"/>
+ <value name="HALIGN 8" value="2"/>
+ <value name="HALIGN 16" value="3"/>
</field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
+ <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
+ <value name="VALIGN 4" value="1"/>
+ <value name="VALIGN 8" value="2"/>
+ <value name="VALIGN 16" value="3"/>
+ </field>
+ <field name="Surface Format" start="18" end="27" type="uint"/>
+ <field name="Surface Array" start="28" end="28" type="bool"/>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_STRBUF" value="5"/>
+ <value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
- <field name="MOCS" start="56" end="62" type="uint"/>
- <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
<field name="Surface QPitch" start="32" end="46" type="uint"/>
- <field name="Height" start="80" end="93" type="uint"/>
+ <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
+ <field name="MOCS" start="56" end="62" type="uint"/>
<field name="Width" start="64" end="77" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Height" start="80" end="93" type="uint"/>
+ <field name="Surface Pitch" start="96" end="113" type="uint"/>
<field name="Tile Address Mapping Mode" start="116" end="116" type="uint">
<value name="Gen9" value="0"/>
<value name="Gen10+" value="1"/>
</field>
- <field name="Surface Pitch" start="96" end="113" type="uint"/>
- <field name="Force Non-Comparison Reduction Type" start="159" end="159" type="bool"/>
- <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
- <value name="0DEG" value="0"/>
- <value name="90DEG" value="1"/>
- <value name="180DEG" value="2"/>
- <value name="270DEG" value="3"/>
- </field>
- <field name="Minimum Array Element" start="146" end="156" type="uint"/>
- <field name="Render Target View Extent" start="135" end="145" type="uint"/>
- <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
- <value name="MSFMT_MSS" value="0"/>
- <value name="MSFMT_DEPTH_STENCIL" value="1"/>
- </field>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
<field name="Number of Multisamples" start="131" end="133" type="uint">
<value name="MULTISAMPLECOUNT_1" value="0"/>
<value name="MULTISAMPLECOUNT_2" value="1"/>
@@ -522,10 +688,26 @@
<value name="MULTISAMPLECOUNT_8" value="3"/>
<value name="MULTISAMPLECOUNT_16" value="4"/>
</field>
- <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
- <field name="Y Offset" start="181" end="183" type="uint"/>
- <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
+ <value name="MSFMT_MSS" value="0"/>
+ <value name="MSFMT_DEPTH_STENCIL" value="1"/>
+ </field>
+ <field name="Render Target View Extent" start="135" end="145" type="uint"/>
+ <field name="Minimum Array Element" start="146" end="156" type="uint"/>
+ <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
+ <value name="0DEG" value="0"/>
+ <value name="90DEG" value="1"/>
+ <value name="180DEG" value="2"/>
+ <value name="270DEG" value="3"/>
+ </field>
+ <field name="Force Non-Comparison Reduction Type" start="159" end="159" type="bool"/>
+ <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
+ <field name="Surface Min LOD" start="164" end="167" type="uint"/>
+ <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
+ <field name="Coherency Type" start="174" end="174" type="uint">
+ <value name="GPU coherent" value="0"/>
+ <value name="IA coherent" value="1"/>
+ </field>
<field name="Tiled Resource Mode" start="178" end="179" type="uint">
<value name="NONE" value="0"/>
<value name="4KB" value="1"/>
@@ -533,15 +715,9 @@
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
- <field name="Coherency Type" start="174" end="174" type="uint">
- <value name="GPU coherent" value="0"/>
- <value name="IA coherent" value="1"/>
- </field>
- <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
- <field name="Surface Min LOD" start="164" end="167" type="uint"/>
- <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
- <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
- <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Y Offset" start="181" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
<field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
<value name="AUX_NONE" value="0"/>
<value name="AUX_CCS_D" value="1"/>
@@ -549,55 +725,69 @@
<value name="AUX_HIZ" value="3"/>
<value name="AUX_CCS_E" value="5"/>
</field>
- <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
- <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
<field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
+ <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
+ <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
+ <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
+ <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
+ <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
+ <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
<field name="Memory Compression Mode" start="255" end="255" type="uint">
<value name="Horizontal" value="0"/>
<value name="Vertical" value="1"/>
</field>
- <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
- <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
- <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
- <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
- <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
- <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
<field name="Surface Base Address" start="256" end="319" type="address"/>
- <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
- <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
- <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
- <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
- <field name="Clear Value Address Enable" start="330" end="330" type="bool"/>
- <field name="Quilt Height" start="325" end="329" type="uint"/>
<field name="Quilt Width" start="320" end="324" type="uint"/>
- <!-- This address points to the address of a Clear Color in the case of
- CCS_D and CCS_E surfaces, and Depth Color for HiZ surfaces -->
- <field name="Clear Value Address" start="390" end="431" type="address"/>
+ <field name="Quilt Height" start="325" end="329" type="uint"/>
+ <field name="Clear Value Address Enable" start="330" end="330" type="bool"/>
+ <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
+ <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
+ <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
+ <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
<field name="Red Clear Color" start="384" end="415" type="int"/>
<field name="Clear Color Conversion Enable" start="389" end="389" type="uint"/>
+ <field name="Clear Value Address" start="390" end="431" type="address"/>
<field name="Green Clear Color" start="416" end="447" type="int"/>
<field name="Blue Clear Color" start="448" end="479" type="int"/>
<field name="Alpha Clear Color" start="480" end="511" type="int"/>
</struct>
- <struct name="CLEAR_COLOR" length="8">
- <field name="Raw Clear Color Red" start="0" end="31" type="int"/>
- <field name="Raw Clear Color Green" start="32" end="63" type="int"/>
- <field name="Raw Clear Color Blue" start="64" end="95" type="int"/>
- <field name="Raw Clear Color Alpha" start="96" end="127" type="int"/>
- <!-- This field is used only by the hardware -->
- <field name="Converted Clear Value Hi/Low" start="128" end="191" type="uint"/>
- <!-- Reserved - MBZ -->
+ <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
+ <field name="Rounding Precision" start="0" end="2" type="uint">
+ <value name="+1/16" value="0"/>
+ <value name="+2/16" value="1"/>
+ <value name="+3/16" value="2"/>
+ <value name="+4/16" value="3"/>
+ <value name="+5/16" value="4"/>
+ <value name="+6/16" value="5"/>
+ <value name="+7/16" value="6"/>
+ <value name="+8/16" value="7"/>
+ </field>
+ </struct>
+
+ <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
+ <field name="Border Color Float Red" start="0" end="31" type="float"/>
+ <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
+ <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
+ <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
+ <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
</struct>
<struct name="SAMPLER_INDIRECT_STATE_BORDER_COLOR" length="4">
<field name="Border Color Red As S31" start="0" end="31" type="int"/>
<field name="Border Color Red As U32" start="0" end="31" type="uint"/>
<field name="Border Color Red As Float" start="0" end="31" type="float"/>
- <field name="Border Color Alpha As U8" start="24" end="31" type="uint"/>
- <field name="Border Color Blue As U8" start="16" end="23" type="uint"/>
- <field name="Border Color Green As U8" start="8" end="15" type="uint"/>
<field name="Border Color Red As U8" start="0" end="7" type="uint"/>
+ <field name="Border Color Green As U8" start="8" end="15" type="uint"/>
+ <field name="Border Color Blue As U8" start="16" end="23" type="uint"/>
+ <field name="Border Color Alpha As U8" start="24" end="31" type="uint"/>
<field name="Border Color Green As S31" start="32" end="63" type="int"/>
<field name="Border Color Green As U32" start="32" end="63" type="uint"/>
<field name="Border Color Green As Float" start="32" end="63" type="float"/>
@@ -609,62 +799,42 @@
<field name="Border Color Alpha As Float" start="96" end="127" type="float"/>
</struct>
- <struct name="FILTER_COEFFICIENT" length="1">
- <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
- </struct>
-
- <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
- <field name="Border Color Float Red" start="0" end="31" type="float"/>
- <field name="Border Color Float Green" start="32" end="63" type="float"/>
- <field name="Border Color Float Blue" start="64" end="95" type="float"/>
- <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
-
- <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
- <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
- <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
- <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
- </struct>
-
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="Texture Border Color Mode" start="29" end="29" type="uint">
- <value name="DX10/OGL" value="0"/>
- <value name="DX9" value="1"/>
- </field>
- <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
- <value name="NONE" value="0"/>
- <value name="OGL" value="2"/>
- </field>
- <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
+ <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
+ <value name="LEGACY" value="0"/>
+ <value name="EWA Approximation" value="1"/>
</field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
- <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
- <value name="LEGACY" value="0"/>
- <value name="EWA Approximation" value="1"/>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
</field>
- <field name="Min LOD" start="52" end="63" type="u4.8"/>
- <field name="Max LOD" start="40" end="51" type="u4.8"/>
- <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
- <field name="ChromaKey Index" start="37" end="38" type="uint"/>
- <field name="ChromaKey Mode" start="36" end="36" type="uint">
- <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
- <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
+ <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
+ <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
+ <value name="NONE" value="0"/>
+ <value name="OGL" value="2"/>
+ </field>
+ <field name="Texture Border Color Mode" start="29" end="29" type="uint">
+ <value name="DX10/OGL" value="0"/>
+ <value name="DX9" value="1"/>
+ </field>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
+ <value name="PROGRAMMED" value="0"/>
+ <value name="OVERRIDE" value="1"/>
</field>
<field name="Shadow Function" start="33" end="35" type="uint">
<value name="PREFILTEROP ALWAYS" value="0"/>
@@ -676,28 +846,43 @@
<value name="PREFILTEROP NOTEQUAL" value="6"/>
<value name="PREFILTEROP GEQUAL" value="7"/>
</field>
- <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
- <value name="PROGRAMMED" value="0"/>
- <value name="OVERRIDE" value="1"/>
- </field>
- <field name="Border Color Pointer" start="70" end="87" type="offset"/>
- <field name="Force gather4 Behavior" start="69" end="69" type="bool"/>
- <field name="Return Filter Weight for Border Texels" start="67" end="67" type="uint"/>
- <field name="Return Filter Weight for Null Texels" start="66" end="66" type="uint"/>
- <field name="SRGB DECODE" start="65" end="65" type="uint">
- <value name="DECODE_EXT" value="0"/>
- <value name="SKIP_DECODE_EXT" value="1"/>
+ <field name="ChromaKey Mode" start="36" end="36" type="uint">
+ <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
+ <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
</field>
+ <field name="ChromaKey Index" start="37" end="38" type="uint"/>
+ <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
+ <field name="Max LOD" start="40" end="51" type="u4.8"/>
+ <field name="Min LOD" start="52" end="63" type="u4.8"/>
<field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
<value name="MIPNONE" value="0"/>
<value name="MIPFILTER" value="1"/>
</field>
- <field name="Reduction Type" start="118" end="119" type="uint">
- <value name="STD_FILTER" value="0"/>
- <value name="COMPARISON" value="1"/>
- <value name="MINIMUM" value="2"/>
- <value name="MAXIMUM" value="3"/>
+ <field name="SRGB DECODE" start="65" end="65" type="uint">
+ <value name="DECODE_EXT" value="0"/>
+ <value name="SKIP_DECODE_EXT" value="1"/>
</field>
+ <field name="Return Filter Weight for Null Texels" start="66" end="66" type="uint"/>
+ <field name="Return Filter Weight for Border Texels" start="67" end="67" type="uint"/>
+ <field name="Force gather4 Behavior" start="69" end="69" type="bool"/>
+ <field name="Border Color Pointer" start="70" end="87" type="offset"/>
+ <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
+ <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
+ <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
+ <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
+ <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
+ <value name="FULL" value="0"/>
+ <value name="HIGH" value="1"/>
+ <value name="MED" value="2"/>
+ <value name="LOW" value="3"/>
+ </field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -708,23 +893,12 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
- <value name="FULL" value="0"/>
- <value name="HIGH" value="1"/>
- <value name="MED" value="2"/>
- <value name="LOW" value="3"/>
+ <field name="Reduction Type" start="118" end="119" type="uint">
+ <value name="STD_FILTER" value="0"/>
+ <value name="COMPARISON" value="1"/>
+ <value name="MINIMUM" value="2"/>
+ <value name="MAXIMUM" value="3"/>
</field>
- <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
- <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
- <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
- <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
- <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
</struct>
<struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
@@ -737,302 +911,55 @@
</group>
</struct>
- <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
- <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
- <value name="NOOP" value="0x000"/>
- <value name="LOAD" value="0x080"/>
- <value name="LOADINV" value="0x480"/>
- <value name="LOAD0" value="0x081"/>
- <value name="LOAD1" value="0x481"/>
- <value name="ADD" value="0x100"/>
- <value name="SUB" value="0x101"/>
- <value name="AND" value="0x102"/>
- <value name="OR" value="0x103"/>
- <value name="XOR" value="0x104"/>
- <value name="STORE" value="0x180"/>
- <value name="STOREINV" value="0x580"/>
- </field>
- <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- </struct>
-
- <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
- <field name="Priority" start="0" end="1" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- </struct>
-
- <struct name="MEMORYADDRESSATTRIBUTES" length="1">
- <field name="Tiled Resource Mode" start="13" end="14" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint"/>
- <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
- <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
- <field name="Arbitration Priority Control" start="7" end="8" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="MOCS" start="1" end="6" type="uint"/>
- </struct>
-
- <struct name="CHROMA_FILTER_COEFFICIENTS_ARRAY" length="2">
- <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
- </struct>
-
- <struct name="FRAMEDELTAQP" length="2">
- <group count="8" start="0" size="8">
- <field name="Frame Delta QP" start="0" end="7" type="int"/>
- </group>
- </struct>
-
- <struct name="FRAMEDELTAQPRANGE" length="2">
- <group count="8" start="0" size="8">
- <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
- </group>
- </struct>
-
- <struct name="HCP_REF_LIST_ENTRY" length="1">
- <field name="Top Field" start="15" end="15" type="bool"/>
- <field name="Field Pic" start="14" end="14" type="bool"/>
- <field name="Long Term Reference" start="13" end="13" type="bool"/>
- <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
- <value name="Default" value="0"/>
- <value name="Explicit" value="1"/>
- </field>
- <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
- <value name="Default" value="0"/>
- <value name="Explicit" value="1"/>
- </field>
- <field name="List Entry" start="8" end="10" type="uint"/>
- <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
- <field name="CtbPos3+i" start="24" end="31" type="uint"/>
- <field name="CtbPos2+i" start="16" end="23" type="uint"/>
- <field name="CtbPos1+i" start="8" end="15" type="uint"/>
- <field name="CtbPos0+i" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="HCP_TILE_POSITION_IN_CTB_MSB" length="2">
- <group count="22" start="0" size="2">
- <field name="Ctb Row Position of Tile Column" start="0" end="1" type="uint"/>
- </group>
- </struct>
-
- <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
- <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
- <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
- <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
- <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
- </struct>
-
- <struct name="HCP_WEIGHTOFFSET_CHROMA_EXT_ENTRY" length="1">
- <field name="Chroma Offset LX[1] MSByte [i+1]" start="24" end="31" type="uint"/>
- <field name="Chroma Offset LX[1] MSByte [i]" start="16" end="23" type="uint"/>
- <field name="Chroma Offset LX[0] MSByte [i+1]" start="8" end="15" type="uint"/>
- <field name="Chroma Offset LX[0] MSByte [i]" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
- <field name="Luma Offset LX MSByte" start="24" end="31" type="uint"/>
- <field name="Luma Offset LX" start="8" end="15" type="uint"/>
- <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
- </struct>
-
- <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
- <field name="Lambda Value 1" start="16" end="31" type="uint"/>
- <field name="Lambda Value 0" start="0" end="15" type="uint"/>
- </struct>
-
- <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
- <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
- <field name="Address" start="0" end="63" type="address"/>
- </struct>
-
- <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
- <field name="Concealment Method" start="31" end="31" type="uint"/>
- <field name="Init Current MB Number" start="30" end="30" type="bool"/>
- <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
- <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
- <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
- <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
- <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
- <field name="MPR Error Handling" start="12" end="12" type="bool"/>
- <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
- <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
- <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
- <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
- <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
- <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
- <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
- <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
- <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
- <field name="Last Slice" start="35" end="35" type="bool"/>
- <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
- <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
- <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
- <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
- <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
- <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
- <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
- </struct>
-
- <struct name="IMAGE_STATE_COST" length="2">
- <field name="MV 3 Cost" start="24" end="31" type="uint"/>
- <field name="MV 2 Cost" start="16" end="23" type="uint"/>
- <field name="MV 1 Cost" start="8" end="15" type="uint"/>
- <field name="MV 0 Cost" start="0" end="7" type="uint"/>
- <field name="MV 7 Cost" start="56" end="63" type="uint"/>
- <field name="MV 6 Cost" start="48" end="55" type="uint"/>
- <field name="MV 5 Cost" start="40" end="47" type="uint"/>
- <field name="MV 4 Cost" start="32" end="39" type="uint"/>
- </struct>
-
- <struct name="LUMA_FILTER_COEFFICIENTS_ARRAY" length="4">
- <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
- </struct>
-
- <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
- <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
- <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
- <field name="MB Count" start="8" end="15" type="uint"/>
- <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
- <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
- <field name="Last Pic Slice" start="5" end="5" type="bool"/>
- <field name="Last MB" start="3" end="3" type="bool"/>
- <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
- <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
- <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
- <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
<struct name="SFC_AVS_CHROMA_COEFF_TABLE_BODY" length="64">
- <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
<field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
<group count="31" start="64" size="64">
<field name="Filter Coefficients" start="0" end="63" type="CHROMA_FILTER_COEFFICIENTS_ARRAY"/>
</group>
</struct>
<struct name="SFC_AVS_LUMA_COEFF_TABLE_BODY" length="128">
- <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
<field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
<group count="31" start="128" size="128">
<field name="Filter Coefficients" start="0" end="127" type="LUMA_FILTER_COEFFICIENTS_ARRAY"/>
</group>
</struct>
<struct name="SFC_AVS_STATE_BODY" length="3">
- <field name="Sharpness Level" start="24" end="31" type="uint"/>
- <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
<field name="Transition Area with 8 Pixels" start="0" end="2" type="uint"/>
- <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
+ <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
+ <field name="Sharpness Level" start="24" end="31" type="uint"/>
<field name="Max Derivative 8 Pixels" start="32" end="39" type="uint"/>
+ <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
<field name="Input Vertical Siting" start="64" end="67" type="uint">
<value name="1/8" value="1"/>
<value name="2/8" value="2"/>
@@ -1046,107 +973,159 @@
</struct>
<struct name="SFC_IEF_STATE_BODY" length="23">
- <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
- <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
- <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
- <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
<field name="Gain Factor" start="0" end="5" type="uint" default="44"/>
- <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
- <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
- <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
- <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
- <field name="Regular Weight" start="43" end="45" type="uint"/>
- <field name="Non Edge Weight" start="40" end="42" type="uint"/>
+ <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
+ <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
+ <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
+ <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
<field name="Global Noise Estimation" start="32" end="39" type="uint"/>
- <field name="Hue_Max" start="86" end="91" type="uint"/>
- <field name="Sat_Max" start="80" end="85" type="uint"/>
- <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
+ <field name="Non Edge Weight" start="40" end="42" type="uint"/>
+ <field name="Regular Weight" start="43" end="45" type="uint"/>
+ <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
+ <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
+ <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
+ <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
<field name="STD Sin(alpha)" start="64" end="71" type="s0.7"/>
- <field name="V_Mid" start="120" end="127" type="uint"/>
- <field name="U_Mid" start="112" end="119" type="uint"/>
- <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
- <field name="Diamond Margin" start="108" end="110" type="uint"/>
+ <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
+ <field name="Sat_Max" start="80" end="85" type="uint"/>
+ <field name="Hue_Max" start="86" end="91" type="uint"/>
<field name="S3U" start="96" end="106" type="s2.8"/>
+ <field name="Diamond Margin" start="108" end="110" type="uint"/>
+ <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
+ <field name="U_Mid" start="112" end="119" type="uint"/>
+ <field name="V_Mid" start="120" end="127" type="uint"/>
+ <field name="Diamond_dv" start="128" end="134" type="int"/>
+ <field name="Diamond_Th" start="135" end="140" type="uint"/>
+ <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
+ <field name="HS_margin" start="149" end="151" type="uint"/>
+ <field name="Diamond_du" start="152" end="158" type="int"/>
<field name="Skin Detail Factor" start="159" end="159" type="uint">
<value name="Detail Revealed" value="0"/>
<value name="Not Detail Revealed" value="1"/>
</field>
- <field name="Diamond_du" start="152" end="158" type="int"/>
- <field name="HS_margin" start="149" end="151" type="uint"/>
- <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
- <field name="Diamond_Th" start="135" end="140" type="uint"/>
- <field name="Diamond_dv" start="128" end="134" type="int"/>
- <field name="Y_point_4" start="184" end="191" type="uint"/>
- <field name="Y_point_3" start="176" end="183" type="uint"/>
- <field name="Y_point_2" start="168" end="175" type="uint"/>
<field name="Y_point_1" start="160" end="167" type="uint"/>
+ <field name="Y_point_2" start="168" end="175" type="uint"/>
+ <field name="Y_point_3" start="176" end="183" type="uint"/>
+ <field name="Y_point_4" start="184" end="191" type="uint"/>
<field name="INV_Margin_VYL" start="192" end="207" type="u0.16"/>
- <field name="P1L" start="248" end="255" type="uint"/>
- <field name="P0L" start="240" end="247" type="uint"/>
<field name="INV_Margin_VYU" start="224" end="239" type="u0.16"/>
- <field name="B1L" start="280" end="287" type="uint"/>
- <field name="B0L" start="272" end="279" type="uint"/>
- <field name="P3L" start="264" end="271" type="uint"/>
+ <field name="P0L" start="240" end="247" type="uint"/>
+ <field name="P1L" start="248" end="255" type="uint"/>
<field name="P2L" start="256" end="263" type="uint"/>
- <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
- <field name="S0L" start="304" end="314" type="s2.8"/>
- <field name="B3L" start="296" end="303" type="uint"/>
+ <field name="P3L" start="264" end="271" type="uint"/>
+ <field name="B0L" start="272" end="279" type="uint"/>
+ <field name="B1L" start="280" end="287" type="uint"/>
<field name="B2L" start="288" end="295" type="uint"/>
- <field name="S2L" start="331" end="341" type="s2.8"/>
+ <field name="B3L" start="296" end="303" type="uint"/>
+ <field name="S0L" start="304" end="314" type="s2.8"/>
+ <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
<field name="S1L" start="320" end="330" type="s2.8"/>
- <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
- <field name="P1U" start="371" end="378" type="uint"/>
- <field name="P0U" start="363" end="370" type="uint"/>
+ <field name="S2L" start="331" end="341" type="s2.8"/>
<field name="S3L" start="352" end="362" type="s2.8"/>
- <field name="B1U" start="408" end="415" type="uint"/>
- <field name="B0U" start="400" end="407" type="uint"/>
- <field name="P3U" start="392" end="399" type="uint"/>
+ <field name="P0U" start="363" end="370" type="uint"/>
+ <field name="P1U" start="371" end="378" type="uint"/>
+ <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
<field name="P2U" start="384" end="391" type="uint"/>
- <field name="S0U" start="432" end="442" type="s2.8"/>
- <field name="B3U" start="424" end="431" type="uint"/>
+ <field name="P3U" start="392" end="399" type="uint"/>
+ <field name="B0U" start="400" end="407" type="uint"/>
+ <field name="B1U" start="408" end="415" type="uint"/>
<field name="B2U" start="416" end="423" type="uint"/>
- <field name="S2U" start="459" end="469" type="s2.8"/>
+ <field name="B3U" start="424" end="431" type="uint"/>
+ <field name="S0U" start="432" end="442" type="s2.8"/>
<field name="S1U" start="448" end="458" type="s2.8"/>
- <field name="C1" start="496" end="508" type="s2.10"/>
- <field name="C0" start="483" end="495" type="s2.10"/>
- <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
+ <field name="S2U" start="459" end="469" type="s2.8"/>
<field name="Transform Enable" start="480" end="480" type="bool"/>
- <field name="C3" start="525" end="537" type="s2.10"/>
+ <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
+ <field name="C0" start="483" end="495" type="s2.10"/>
+ <field name="C1" start="496" end="508" type="s2.10"/>
<field name="C2" start="512" end="524" type="s2.10"/>
- <field name="C5" start="557" end="569" type="s2.10"/>
+ <field name="C3" start="525" end="537" type="s2.10"/>
<field name="C4" start="544" end="556" type="s2.10"/>
- <field name="C7" start="589" end="601" type="s2.10"/>
+ <field name="C5" start="557" end="569" type="s2.10"/>
<field name="C6" start="576" end="588" type="s2.10"/>
+ <field name="C7" start="589" end="601" type="s2.10"/>
<field name="C8" start="608" end="620" type="s2.10"/>
- <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
<field name="Offset In 1" start="640" end="650" type="s2.8"/>
- <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
+ <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
<field name="Offset In 2" start="672" end="682" type="s2.8"/>
- <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
+ <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
<field name="Offset In 3" start="704" end="714" type="s2.8"/>
+ <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
</struct>
<struct name="SFC_LOCK_BODY" length="1">
- <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
<field name="VE-SFC Pipe Select" start="0" end="0" type="uint"/>
+ <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
</struct>
- <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
- <field name="Tiled Resource Mode" start="13" end="14" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
+ <struct name="SF_CLIP_VIEWPORT" length="16">
+ <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
+ <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
+ <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
+ <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
+ <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
+ <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
+ <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
+ <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
+ <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ <field name="X Min ViewPort" start="384" end="415" type="float"/>
+ <field name="X Max ViewPort" start="416" end="447" type="float"/>
+ <field name="Y Min ViewPort" start="448" end="479" type="float"/>
+ <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ </struct>
+
+ <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
+ <field name="Source Attribute" start="0" end="4" type="uint"/>
+ <field name="Swizzle Select" start="6" end="7" type="uint">
+ <value name="INPUTATTR" value="0"/>
+ <value name="INPUTATTR_FACING" value="1"/>
+ <value name="INPUTATTR_W" value="2"/>
+ <value name="INPUTATTR_FACING_W" value="3"/>
</field>
- <field name="Cache Select" start="12" end="12" type="uint"/>
- <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
- <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Constant Source" start="9" end="10" type="uint">
+ <value name="CONST_0000" value="0"/>
+ <value name="CONST_0001_FLOAT" value="1"/>
+ <value name="CONST_1111_FLOAT" value="2"/>
+ <value name="PRIM_ID" value="3"/>
+ </field>
+ <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
+ <field name="Component Override X" start="12" end="12" type="bool"/>
+ <field name="Component Override Y" start="13" end="13" type="bool"/>
+ <field name="Component Override Z" start="14" end="14" type="bool"/>
+ <field name="Component Override W" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="SO_DECL" length="1">
+ <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
+ <field name="Register Index" start="4" end="9" type="uint"/>
+ <field name="Hole Flag" start="11" end="11" type="uint"/>
+ <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
+ </struct>
+
+ <struct name="SO_DECL_ENTRY" length="2">
+ <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
+ <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
+ <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
+ <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
+ </struct>
+
+ <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
+ <field name="MOCS" start="1" end="6" type="uint"/>
<field name="Arbitration Priority Control" start="7" end="8" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MOCS" start="1" end="6" type="uint"/>
+ <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
+ <field name="Cache Select" start="12" end="12" type="uint"/>
+ <field name="Tiled Resource Mode" start="13" end="14" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</struct>
<struct name="VDENC_PICTURE" length="3">
@@ -1155,11 +1134,20 @@
</struct>
<struct name="VDENC_SURFACE_STATE_FIELDS" length="4">
- <field name="Height" start="18" end="31" type="uint"/>
- <field name="Width" start="4" end="17" type="uint"/>
- <field name="Color space selection" start="3" end="3" type="uint"/>
- <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="0" end="1" type="u0.2"/>
+ <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
+ <field name="Color space selection" start="3" end="3" type="uint"/>
+ <field name="Width" start="4" end="17" type="uint"/>
+ <field name="Height" start="18" end="31" type="uint"/>
+ <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="33" end="33" type="uint"/>
+ <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
+ <field name="Surface Pitch" start="35" end="51" type="uint"/>
+ <field name="Chroma Downsample Filter Control" start="52" end="54" type="uint"/>
+ <field name="Format" start="59" end="63" type="uint"/>
<field name="Surface Format" start="60" end="63" type="uint" prefix="VDENC">
<value name="YUV 4:2:2" value="0"/>
<value name="RGBA 4:4:4:4" value="1"/>
@@ -1167,43 +1155,50 @@
<value name="Y8_UNORM" value="3"/>
<value name="PLANAR_420_8" value="4"/>
</field>
- <field name="Format" start="59" end="63" type="uint"/>
- <field name="Chroma Downsample Filter Control" start="52" end="54" type="uint"/>
- <field name="Surface Pitch" start="35" end="51" type="uint"/>
- <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
- <field name="Tiled Surface" start="33" end="33" type="uint"/>
- <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
<field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
- <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
+ <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
<field name="Y Offset for V(Cr)" start="96" end="111" type="uint"/>
+ <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
</struct>
- <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
- <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
- <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
- <field name="Indirect Payload Base Address2" start="96" end="128" type="MEMORYADDRESSATTRIBUTES"/>
+ <struct name="VERTEX_BUFFER_STATE" length="4">
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
+ <field name="Address Modify Enable" start="14" end="14" type="bool"/>
+ <field name="MOCS" start="16" end="22" type="uint"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Buffer Starting Address" start="32" end="95" type="address"/>
+ <field name="Buffer Size" start="96" end="127" type="uint"/>
+ </struct>
+
+ <struct name="VERTEX_ELEMENT_STATE" length="2">
+ <field name="Source Element Offset" start="0" end="11" type="uint"/>
+ <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="25" end="25" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
- <field name="Extended Parameters Present" start="11" end="11" type="uint"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="End Offset Enable" start="41" end="41" type="bool"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="Extended Parameters Present" start="11" end="11" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="40" end="40" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
+ <field name="End Offset Enable" start="41" end="41" type="bool"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -1215,370 +1210,380 @@
</instruction>
<instruction name="3DSTATE_3D_MODE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Mask Bits" start="48" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
- <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
- <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
- <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
<field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
<value name="No Valid Data" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Blend State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Blend State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
<field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
<field name="ChromaKey High Value" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="float"/>
<field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
</instruction>
<instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Force Clip Mode" start="48" end="48" type="bool"/>
+ <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
+ <field name="Early Cull Enable" start="50" end="50" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Early Cull Enable" start="50" end="50" type="bool"/>
- <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
- <field name="Force Clip Mode" start="48" end="48" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
- <field name="Clip Enable" start="95" end="95" type="bool"/>
- <field name="API Mode" start="94" end="94" type="uint">
- <value name="APIMODE_OGL" value="0"/>
- <value name="APIMODE_D3D" value="1"/>
- </field>
- <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
- <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
+ <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
+ <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
<field name="Clip Mode" start="77" end="79" type="uint">
<value name="CLIPMODE_NORMAL" value="0"/>
<value name="CLIPMODE_REJECT_ALL" value="3"/>
<value name="CLIPMODE_ACCEPT_ALL" value="4"/>
</field>
- <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
- <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
- <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
- <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
- <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
+ <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
+ <field name="API Mode" start="94" end="94" type="uint">
+ <value name="APIMODE_OGL" value="0"/>
+ <value name="APIMODE_D3D" value="1"/>
+ </field>
+ <field name="Clip Enable" start="95" end="95" type="bool"/>
<field name="Maximum VP Index" start="96" end="99" type="uint"/>
+ <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
+ <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
- <field name="Disable Gather at Set Shader Hint" start="15" end="15" type="uint"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="Disable Gather at Set Shader Hint" start="15" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="Surface Type" start="61" end="63" type="uint">
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Depth Write Enable" start="60" end="60" type="bool"/>
- <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="49" type="uint"/>
<field name="Surface Format" start="50" end="52" type="uint">
<value name="D32_FLOAT" value="1"/>
<value name="D24_UNORM_X8_UINT" value="3"/>
<value name="D16_UNORM" value="5"/>
</field>
- <field name="Surface Pitch" start="32" end="49" type="uint"/>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Write Enable" start="60" end="60" type="bool"/>
+ <field name="Surface Type" start="61" end="63" type="uint">
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
<field name="Surface Base Address" start="64" end="127" type="address"/>
- <field name="Height" start="146" end="159" type="uint"/>
- <field name="Width" start="132" end="145" type="uint"/>
<field name="LOD" start="128" end="131" type="uint"/>
- <field name="Depth" start="181" end="191" type="uint"/>
- <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Width" start="132" end="145" type="uint"/>
+ <field name="Height" start="146" end="159" type="uint"/>
<field name="MOCS" start="160" end="166" type="uint"/>
+ <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Depth" start="181" end="191" type="uint"/>
+ <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
<field name="Tiled Resource Mode" start="222" end="223" type="uint">
<value name="NONE" value="0"/>
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
- <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
- <field name="Render Target View Extent" start="245" end="255" type="uint"/>
<field name="Surface QPitch" start="224" end="238" type="uint"/>
+ <field name="Render Target View Extent" start="245" end="255" type="uint"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Core Mode Select" start="14" end="15" type="uint">
<value name="Legacy" value="0"/>
<value name="Core 0 Enabled" value="1"/>
<value name="Core 1 Enabled" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_DS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Accesses UAV" start="110" end="110" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1586,56 +1591,46 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Accesses UAV" start="110" end="110" type="bool"/>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="245" end="254" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
<field name="Dispatch Mode" start="227" end="228" type="uint" prefix="DISPATCH_MODE">
<value name="SIMD8_SINGLE_PATCH" value="1"/>
<value name="SIMD8_SINGLE_OR_DUAL_PATCH" value="2"/>
</field>
- <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
- <field name="Cache Disable" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="245" end="254" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
<field name="DUAL_PATCH Kernel Start Pointer" start="294" end="351" type="offset"/>
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1643,23 +1638,23 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1667,23 +1662,23 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1691,25 +1686,25 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
- <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1717,25 +1712,25 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
- <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1743,26 +1738,37 @@
</instruction>
<instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
- <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
<field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_GS" bias="2" length="10" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1770,80 +1776,79 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
- <field name="Output Vertex Size" start="215" end="220" type="uint"/>
- <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
- <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
- <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
- <field name="Control Data Header Size" start="244" end="247" type="uint"/>
- <field name="Instance Control" start="239" end="243" type="uint"/>
- <field name="Default Stream Id" start="237" end="238" type="uint"/>
- <field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
- <value name="SIMD8" value="3"/>
- </field>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
- <field name="Include Primitive ID" start="228" end="228" type="bool"/>
- <field name="Hint" start="227" end="227" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
+ <field name="Output Vertex Size" start="215" end="220" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Discard Adjacency" start="225" end="225" type="bool"/>
<field name="Reorder Mode" start="226" end="226" type="uint">
<value name="LEADING" value="0"/>
<value name="TRAILING" value="1"/>
</field>
- <field name="Discard Adjacency" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Hint" start="227" end="227" type="uint"/>
+ <field name="Include Primitive ID" start="228" end="228" type="bool"/>
+ <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
+ <value name="SIMD8" value="3"/>
+ </field>
+ <field name="Default Stream Id" start="237" end="238" type="uint"/>
+ <field name="Instance Control" start="239" end="243" type="uint"/>
+ <field name="Control Data Header Size" start="244" end="247" type="uint"/>
+ <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
+ <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
+ <field name="Static Output" start="286" end="286" type="bool"/>
<field name="Control Data Format" start="287" end="287" type="uint">
<value name="CUT" value="0"/>
<value name="SID" value="1"/>
</field>
- <field name="Static Output" start="286" end="286" type="bool"/>
- <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
- <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
- <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="MOCS" start="57" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Tiled Resource Mode" start="55" end="56" type="uint">
<value name="NONE" value="0"/>
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="63" type="uint"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_HS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Software Exception Enable" start="44" end="44" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
+ <field name="Floating Point Mode" start="48" end="48" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
<field name="Sampler Count" start="59" end="61" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1851,377 +1856,367 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="48" end="48" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Software Exception Enable" start="44" end="44" type="bool"/>
- <field name="Enable" start="95" end="95" type="bool"/>
- <field name="Statistics Enable" start="93" end="93" type="bool"/>
- <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
<field name="Instance Count" start="64" end="67" type="uint"/>
+ <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
+ <field name="Statistics Enable" start="93" end="93" type="bool"/>
+ <field name="Enable" start="95" end="95" type="bool"/>
<field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
- <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
<field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
- <field name="Single Program Flow" start="251" end="251" type="bool"/>
- <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
- <field name="Accesses UAV" start="249" end="249" type="bool"/>
- <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
- <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
+ <field name="Include Primitive ID" start="224" end="224" type="bool"/>
+ <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
<field name="Dispatch Mode" start="241" end="242" type="uint" prefix="DISPATCH_MODE">
<value name="SINGLE_PATCH" value="0"/>
<value name="8_PATCH" value="2"/>
</field>
- <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
- <field name="Include Primitive ID" start="224" end="224" type="bool"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
+ <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
+ <field name="Accesses UAV" start="249" end="249" type="bool"/>
+ <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
+ <field name="Single Program Flow" start="251" end="251" type="bool"/>
+ <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Buffer Starting Address" start="64" end="127" type="address"/>
<field name="Buffer Size" start="128" end="159" type="uint"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
</instruction>
<instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
+ <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
</instruction>
<instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Number of Multisamples" start="33" end="35" type="uint"/>
<field name="Pixel Location" start="36" end="36" type="uint">
<value name="CENTER" value="0"/>
<value name="UL_CORNER" value="1"/>
</field>
- <field name="Number of Multisamples" start="33" end="35" type="uint"/>
+ <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_PS" bias="2" length="12" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
<field name="DWord Length" start="0" end="7" type="uint" default="10"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
- <field name="Sampler Count" start="123" end="125" type="uint">
- <value name="No Samplers" value="0"/>
- <value name="1-4 Samplers" value="1"/>
- <value name="5-8 Samplers" value="2"/>
- <value name="9-12 Samplers" value="3"/>
- <value name="13-16 Samplers" value="4"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Rounding Mode" start="110" end="111" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
</field>
- <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
- <value name="Flushed to Zero" value="0"/>
- <value name="Retained" value="1"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Thread Dispatch Priority" start="113" end="113" type="uint">
<value name="High" value="1"/>
</field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
+ <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
+ <value name="Flushed to Zero" value="0"/>
+ <value name="Retained" value="1"/>
</field>
- <field name="Rounding Mode" start="110" end="111" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
+ <field name="Sampler Count" start="123" end="125" type="uint">
+ <value name="No Samplers" value="0"/>
+ <value name="1-4 Samplers" value="1"/>
+ <value name="5-8 Samplers" value="2"/>
+ <value name="9-12 Samplers" value="3"/>
+ <value name="13-16 Samplers" value="4"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
- <field name="Push Constant Enable" start="203" end="203" type="bool"/>
- <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
+ <field name="Position XY Offset Select" start="195" end="196" type="uint">
+ <value name="POSOFFSET_NONE" value="0"/>
+ <value name="POSOFFSET_CENTROID" value="2"/>
+ <value name="POSOFFSET_SAMPLE" value="3"/>
+ </field>
<field name="Render Target Resolve Type" start="198" end="199" type="uint">
<value name="RESOLVE_DISABLED" value="0"/>
<value name="RESOLVE_PARTIAL" value="1"/>
<value name="FAST_CLEAR_0" value="2"/>
<value name="RESOLVE_FULL" value="3"/>
</field>
- <field name="Position XY Offset Select" start="195" end="196" type="uint">
- <value name="POSOFFSET_NONE" value="0"/>
- <value name="POSOFFSET_CENTROID" value="2"/>
- <value name="POSOFFSET_SAMPLE" value="3"/>
- </field>
- <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
+ <field name="Push Constant Enable" start="203" end="203" type="bool"/>
+ <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
<field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
<field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
</instruction>
<instruction name="3DSTATE_PS_BLEND" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
- <field name="Has Writeable RT" start="62" end="62" type="bool"/>
- <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
- <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
+ <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
+ <field name="Has Writeable RT" start="62" end="62" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
- <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
- <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
- <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
- <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
- <value name="PSCDEPTH_OFF" value="0"/>
- <value name="PSCDEPTH_ON" value="1"/>
- <value name="PSCDEPTH_ON_GE" value="2"/>
- <value name="PSCDEPTH_ON_LE" value="3"/>
- </field>
- <field name="Force Computed Depth" start="57" end="57" type="bool"/>
- <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
- <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
- <field name="Pixel Shader Requires Source Depth and/or W Plane Coefficients" start="53" end="53" type="bool"/>
- <field name="Pixel Shader Requires Perspective Bary Plane Coefficients" start="52" end="52" type="bool"/>
- <field name="Pixel Shader Requires Non-Perspective Bary Plane Coefficients" start="51" end="51" type="bool"/>
- <field name="Pixel Shader Requires Subpixel Sample Offsets" start="50" end="50" type="bool"/>
- <field name="Simple PS Hint" start="41" end="41" type="bool"/>
- <field name="Attribute Enable" start="40" end="40" type="bool"/>
- <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
- <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
- <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
- <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
- <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Coverage Mask State" start="32" end="33" type="uint" prefix="ICMS">
<value name="NONE" value="0"/>
<value name="NORMAL" value="1"/>
<value name="INNER_CONSERVATIVE" value="2"/>
<value name="DEPTH_COVERAGE" value="3"/>
</field>
+ <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
+ <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
+ <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
+ <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
+ <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
+ <field name="Attribute Enable" start="40" end="40" type="bool"/>
+ <field name="Simple PS Hint" start="41" end="41" type="bool"/>
+ <field name="Pixel Shader Requires Subpixel Sample Offsets" start="50" end="50" type="bool"/>
+ <field name="Pixel Shader Requires Non-Perspective Bary Plane Coefficients" start="51" end="51" type="bool"/>
+ <field name="Pixel Shader Requires Perspective Bary Plane Coefficients" start="52" end="52" type="bool"/>
+ <field name="Pixel Shader Requires Source Depth and/or W Plane Coefficients" start="53" end="53" type="bool"/>
+ <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
+ <field name="Force Computed Depth" start="57" end="57" type="bool"/>
+ <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
+ <value name="PSCDEPTH_OFF" value="0"/>
+ <value name="PSCDEPTH_ON" value="1"/>
+ <value name="PSCDEPTH_ON_GE" value="2"/>
+ <value name="PSCDEPTH_ON_LE" value="3"/>
+ </field>
+ <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
+ <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
+ <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
+ <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_RASTER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
- <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
- <field name="API Mode" start="54" end="55" type="uint">
- <value name="DX9/OGL" value="0"/>
- <value name="DX10.0" value="1"/>
- <value name="DX10.1+" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
+ <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
+ <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Front Winding" start="53" end="53" type="uint">
- <value name="Clockwise" value="0"/>
- <value name="Counter Clockwise" value="1"/>
+ <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
- <value name="NUMRASTSAMPLES_0" value="0"/>
- <value name="NUMRASTSAMPLES_1" value="1"/>
- <value name="NUMRASTSAMPLES_2" value="2"/>
- <value name="NUMRASTSAMPLES_4" value="3"/>
- <value name="NUMRASTSAMPLES_8" value="4"/>
- <value name="NUMRASTSAMPLES_16" value="5"/>
+ <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
+ <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
+ <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
+ <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
+ <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
</field>
+ <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
+ <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
+ <field name="Force Multisampling" start="46" end="46" type="uint"/>
<field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<value name="BACK" value="3"/>
</field>
- <field name="Force Multisampling" start="46" end="46" type="uint"/>
- <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
- <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
- <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
- <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
+ <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
+ <value name="NUMRASTSAMPLES_0" value="0"/>
+ <value name="NUMRASTSAMPLES_1" value="1"/>
+ <value name="NUMRASTSAMPLES_2" value="2"/>
+ <value name="NUMRASTSAMPLES_4" value="3"/>
+ <value name="NUMRASTSAMPLES_8" value="4"/>
+ <value name="NUMRASTSAMPLES_16" value="5"/>
</field>
- <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
- <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
- <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
- <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="Front Winding" start="53" end="53" type="uint">
+ <value name="Clockwise" value="0"/>
+ <value name="Counter Clockwise" value="1"/>
</field>
- <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="API Mode" start="54" end="55" type="uint">
+ <value name="DX9/OGL" value="0"/>
+ <value name="DX10.0" value="1"/>
+ <value name="DX10.1+" value="2"/>
</field>
- <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
- <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
- <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
+ <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
+ <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
<field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
<field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
<field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
</instruction>
<instruction name="3DSTATE_RS_CONSTANT_POINTER" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Shader Select" start="60" end="62" type="uint">
- <value name="VS" value="0"/>
- <value name="PS" value="4"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Operation Load or Store" start="44" end="44" type="uint" prefix="RS">
<value name="Store" value="0"/>
<value name="Load" value="1"/>
</field>
+ <field name="Shader Select" start="60" end="62" type="uint">
+ <value name="VS" value="0"/>
+ <value name="PS" value="4"/>
+ </field>
<field name="Global Constant Buffer Address" start="70" end="95" type="address"/>
<field name="Global Constant Buffer Address High" start="96" end="127" type="address"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
<field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
@@ -2231,168 +2226,168 @@
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Sample Mask" start="32" end="47" type="uint"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
- <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
- <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
- <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
- <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
- <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
- <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
- <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="16x Sample0 Y Offset" start="32" end="35" type="u0.4"/>
- <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
- <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
- <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
- <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
- <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
- <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
- <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
+ <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
+ <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
+ <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
+ <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
+ <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
+ <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
<field name="16x Sample4 Y Offset" start="64" end="67" type="u0.4"/>
- <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
- <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
- <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
- <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
- <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
- <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
- <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
+ <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
+ <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
+ <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
+ <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
+ <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
<field name="16x Sample8 Y Offset" start="96" end="99" type="u0.4"/>
- <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
- <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
- <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
- <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
- <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
- <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
- <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
+ <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
+ <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
+ <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
+ <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
+ <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
<field name="16x Sample12 Y Offset" start="128" end="131" type="u0.4"/>
- <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
- <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
- <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
- <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
- <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
- <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
- <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
+ <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
+ <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
+ <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
+ <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
+ <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
<field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
- <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
- <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
- <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
- <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
- <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
- <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
- <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
+ <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
+ <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
+ <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
+ <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
+ <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
<field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
- <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
- <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
- <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
- <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
- <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
- <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
- <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
+ <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
+ <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
+ <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
+ <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
+ <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
<field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
- <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
- <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
- <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
- <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
- <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
+ <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
+ <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
+ <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
+ <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
+ <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
<field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
+ <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
+ <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
+ <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
+ <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_SBE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
- <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
- <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
- <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
+ <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
+ <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
+ <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
+ <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
<field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
<value name="UPPERLEFT" value="0"/>
<value name="LOWERLEFT" value="1"/>
</field>
- <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
- <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
- <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
- <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
- <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
- <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
+ <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
+ <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
<field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
<field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
<group count="32" start="128" size="2">
<field name="Attribute Active Component Format" start="0" end="1" type="uint" prefix="ACTIVE_COMPONENT">
- <value name="DISABLED" value="0"/>
- <value name="XY" value="1"/>
- <value name="XYZ" value="2"/>
- <value name="XYZW" value="3"/>
+ <value name="DISABLED" value="0"/>
+ <value name="XY" value="1"/>
+ <value name="XYZ" value="2"/>
+ <value name="XYZW" value="3"/>
</field>
</group>
</instruction>
<instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="16">
<field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
</group>
@@ -2402,60 +2397,60 @@
</instruction>
<instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SF" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Line Width" start="44" end="61" type="u11.7"/>
- <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
+ <field name="Line Width" start="44" end="61" type="u11.7"/>
<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="Last Pixel Enable" start="127" end="127" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
- <field name="AA Line Distance Mode" start="110" end="110" type="uint">
- <value name="AALINEDISTANCE_TRUE" value="1"/>
+ <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Point Width Source" start="107" end="107" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
</field>
- <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Point Width Source" start="107" end="107" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
+ <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
+ <field name="AA Line Distance Mode" start="110" end="110" type="uint">
+ <value name="AALINEDISTANCE_TRUE" value="1"/>
</field>
- <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
+ <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
</instruction>
<instruction name="3DSTATE_SO_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
- <field name="SO Buffer Index" start="61" end="62" type="uint"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
- <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
+ <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="SO Buffer Index" start="61" end="62" type="uint"/>
+ <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="66" end="111" type="address"/>
<field name="Surface Size" start="128" end="157" type="uint"/>
<field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
@@ -2463,80 +2458,84 @@
</instruction>
<instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="8" type="uint"/>
- <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
- <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
- <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
- <field name="Num Entries [3]" start="88" end="95" type="uint"/>
- <field name="Num Entries [2]" start="80" end="87" type="uint"/>
- <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
+ <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
<field name="Num Entries [0]" start="64" end="71" type="uint"/>
+ <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Num Entries [2]" start="80" end="87" type="uint"/>
+ <field name="Num Entries [3]" start="88" end="95" type="uint"/>
<group count="0" start="96" size="64">
<field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_STREAMOUT" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="SO Function Enable" start="63" end="63" type="bool"/>
- <field name="Rendering Disable" start="62" end="62" type="bool"/>
- <field name="Render Stream Select" start="59" end="60" type="uint"/>
- <field name="Reorder Mode" start="58" end="58" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Force Rendering" start="55" end="56" type="uint">
<value name="Resreved" value="1"/>
<value name="Force_Off" value="2"/>
<value name="Force_on" value="3"/>
</field>
- <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
- <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
- <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
- <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
- <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
- <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
- <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="Reorder Mode" start="58" end="58" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="Rendering Disable" start="62" end="62" type="bool"/>
+ <field name="SO Function Enable" start="63" end="63" type="bool"/>
<field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
- <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
+ <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
+ <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
+ <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
+ <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
+ <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
+ <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
<field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
- <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
+ <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
<field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
+ <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
</instruction>
<instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Partitioning" start="44" end="45" type="uint">
- <value name="INTEGER" value="0"/>
- <value name="ODD_FRACTIONAL" value="1"/>
- <value name="EVEN_FRACTIONAL" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="TE Enable" start="32" end="32" type="bool"/>
+ <field name="TE Mode" start="33" end="34" type="uint">
+ <value name="HW_TESS" value="0"/>
+ </field>
+ <field name="TE Domain" start="36" end="37" type="uint">
+ <value name="QUAD" value="0"/>
+ <value name="TRI" value="1"/>
+ <value name="ISOLINE" value="2"/>
</field>
<field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
<value name="POINT" value="0"/>
@@ -2544,266 +2543,272 @@
<value name="TRI_CW" value="2"/>
<value name="TRI_CCW" value="3"/>
</field>
- <field name="TE Domain" start="36" end="37" type="uint">
- <value name="QUAD" value="0"/>
- <value name="TRI" value="1"/>
- <value name="ISOLINE" value="2"/>
- </field>
- <field name="TE Mode" start="33" end="34" type="uint">
- <value name="HW_TESS" value="0"/>
+ <field name="Partitioning" start="44" end="45" type="uint">
+ <value name="INTEGER" value="0"/>
+ <value name="ODD_FRACTIONAL" value="1"/>
+ <value name="EVEN_FRACTIONAL" value="2"/>
</field>
- <field name="TE Enable" start="32" end="32" type="bool"/>
<field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
<field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
</instruction>
<instruction name="3DSTATE_URB_CLEAR" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Clear Length" start="48" end="61" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="URB Address" start="32" end="46" type="offset"/>
+ <field name="URB Clear Length" start="48" end="61" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
- <field name="VertexID Offset Enable" start="11" end="11" type="bool"/>
- <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
- <field name="Component Packing Enable" start="9" end="9" type="bool"/>
- <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
+ <field name="Component Packing Enable" start="9" end="9" type="bool"/>
+ <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="VertexID Offset Enable" start="11" end="11" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cut Index" start="32" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_COMPONENT_PACKING" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
- <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
- <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
- <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
- <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
- <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
- <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Element 00 Enables" start="32" end="35" type="uint"/>
- <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
- <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
- <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
- <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
- <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
- <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
- <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
+ <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
+ <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
+ <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
+ <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
+ <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
+ <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
+ <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
<field name="Vertex Element 08 Enables" start="64" end="67" type="uint"/>
- <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
- <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
- <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
- <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
- <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
- <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
- <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
+ <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
+ <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
+ <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
+ <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
+ <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
+ <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
+ <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
<field name="Vertex Element 16 Enables" start="96" end="99" type="uint"/>
- <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
- <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
- <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
- <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
- <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
- <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
- <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
+ <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
+ <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
+ <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
+ <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
+ <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
+ <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
+ <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
<field name="Vertex Element 24 Enables" start="128" end="131" type="uint"/>
+ <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
+ <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
+ <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
+ <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
+ <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
+ <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
+ <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Instancing Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Element Index" start="32" end="37" type="uint"/>
+ <field name="Instancing Enable" start="40" end="40" type="bool"/>
<field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_SGVS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="InstanceID Enable" start="63" end="63" type="bool"/>
- <field name="InstanceID Component Number" start="61" end="62" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="VertexID Component Number" start="45" end="46" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
<field name="VertexID Enable" start="47" end="47" type="bool"/>
- <field name="VertexID Component Number" start="45" end="46" type="uint">
+ <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
+ <field name="InstanceID Component Number" start="61" end="62" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="InstanceID Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_VF_SGVS_2" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="86"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="XP1 Enable" start="63" end="63" type="uint"/>
- <field name="XP1 Component Number" start="61" end="62" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="86"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="XP0 Element Offset" start="32" end="37" type="uint"/>
+ <field name="XP0 Source Select" start="44" end="44" type="uint">
+ <value name="VERTEX_LOCATION" value="1"/>
+ <value name="XP0_PARAMETER" value="0"/>
+ </field>
+ <field name="XP0 Component Number" start="45" end="46" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
+ <field name="XP0 Enable" start="47" end="47" type="uint"/>
+ <field name="XP1 Element Offset" start="48" end="53" type="uint"/>
<field name="XP1 Source Select" start="60" end="60" type="uint">
<value name="Starting Instance Location" value="1"/>
<value name="XP1_PARAMETER" value="0"/>
</field>
- <field name="XP1 Element Offset" start="48" end="53" type="uint"/>
- <field name="XP0 Enable" start="47" end="47" type="uint"/>
- <field name="XP0 Component Number" start="45" end="46" type="uint">
+ <field name="XP1 Component Number" start="61" end="62" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="XP0 Source Select" start="44" end="44" type="uint">
- <value name="VERTEX_LOCATION" value="1"/>
- <value name="XP0_PARAMETER" value="0"/>
- </field>
- <field name="XP0 Element Offset" start="32" end="37" type="uint"/>
- <field name="XP2 Enable" start="79" end="79" type="uint"/>
+ <field name="XP1 Enable" start="63" end="63" type="uint"/>
+ <field name="XP2 Element Offset" start="64" end="69" type="uint"/>
<field name="XP2 Component Number" start="77" end="78" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="XP2 Element Offset" start="64" end="69" type="uint"/>
+ <field name="XP2 Enable" start="79" end="79" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -2811,169 +2816,159 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="246" end="255" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="SIMD8 Single Instance Dispatch Enable" start="233" end="233" type="bool"/>
- <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
- <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
<field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
+ <field name="SIMD8 Single Instance Dispatch Enable" start="233" end="233" type="bool"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="246" end="255" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Statistics Enable" start="63" end="63" type="bool"/>
- <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
- <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="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">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
- <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
- <value name="INTERP_PIXEL" value="0"/>
- <value name="INTERP_CENTROID" value="2"/>
- <value name="INTERP_SAMPLE" value="3"/>
- </field>
- <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 name="Point Rasterization Rule" start="34" end="34" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
+ <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
+ <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
+ <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="Line Antialiasing Region Width" start="38" end="39" type="uint">
+ <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"/>
<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">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <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="Force Kill Pixel Enable" start="32" end="33" type="uint">
+ <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
+ <value name="INTERP_PIXEL" value="0"/>
+ <value name="INTERP_CENTROID" value="2"/>
+ <value name="INTERP_SAMPLE" value="3"/>
+ </field>
+ <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
+ <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
+ </field>
+ <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
+ <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Statistics Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
- <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
- <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
- <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
- <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
- <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
- <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
- <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
- <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
- <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
+ <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
+ <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
+ <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
+ <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
+ <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
+ <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
- <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
+ <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
+ <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
<field name="Backface Stencil Reference Value" start="96" end="103" type="uint"/>
+ <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
- <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
- <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="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
- <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
- <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Multisamples" start="45" end="47" type="uint"/>
- <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
+ <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
+ <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
+ <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
<field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
- <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
+ <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
<field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
+ <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
<field name="Sample Mask" start="128" end="143" type="uint"/>
</instruction>
<instruction name="GPGPU_WALKER" bias="2" length="15" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="13"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
<field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
+ <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
+ <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
+ <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
<field name="SIMD Size" start="158" end="159" type="uint">
<value name="SIMD8" value="0"/>
<value name="SIMD16" value="1"/>
<value name="SIMD32" value="2"/>
</field>
- <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
- <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
- <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
<field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
<field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
<field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
@@ -2985,26 +2980,24 @@
</instruction>
<instruction name="HCP_BSD_OBJECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
</instruction>
<instruction name="HCP_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="FQM DC Value" start="48" end="63" type="uint"/>
- <field name="Color Component" start="35" end="36" type="uint">
- <value name="Luma" value="0"/>
- <value name="Chroma Cb" value="1"/>
- <value name="Chroma Cr" value="2"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Intra/Inter" start="32" end="32" type="uint">
+ <value name="Intra" value="0"/>
+ <value name="Inter" value="1"/>
</field>
<field name="SizeID" start="33" end="34" type="uint">
<value name="4x4" value="0"/>
@@ -3012,21 +3005,23 @@
<value name="16x16" value="2"/>
<value name="32x32" value="3"/>
</field>
- <field name="Intra/Inter" start="32" end="32" type="uint">
- <value name="Intra" value="0"/>
- <value name="Inter" value="1"/>
+ <field name="Color Component" start="35" end="36" type="uint">
+ <value name="Luma" value="0"/>
+ <value name="Chroma Cb" value="1"/>
+ <value name="Chroma Cr" value="2"/>
</field>
+ <field name="FQM DC Value" start="48" end="63" type="uint"/>
<group count="64" start="64" size="8">
<field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="HCP_IND_OBJ_BASE_ADDR_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HCP Indirect Bitstream Object - Base Address" start="32" end="95" type="address"/>
<field name="HCP Indirect Bitstream Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HCP Indirect Bitstream Object - Access Upper Bound" start="128" end="191" type="address"/>
@@ -3048,23 +3043,23 @@
</instruction>
<instruction name="HCP_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="34"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Indirect Payload Enable" start="63" end="63" type="bool"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="34"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
+ <field name="Slice Header Indicator" start="46" end="46" type="bool"/>
<field name="Header Length Excluded From Size" start="47" end="47" type="uint">
<value name="ACCUMULATE" value="0"/>
<value name="NO_ACCUMULATION" value="1"/>
</field>
- <field name="Slice Header Indicator" start="46" end="46" type="bool"/>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
+ <field name="Indirect Payload Enable" start="63" end="63" type="bool"/>
<group count="0" start="64" size="128">
<field name="Indirect Payload" start="0" end="127" type="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD"/>
<field name="Inline PayLoad" start="0" end="31" type="uint"/>
@@ -3072,203 +3067,203 @@
</instruction>
<instruction name="HCP_PAK_OBJECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Last LCU of Slice" start="63" end="63" type="bool"/>
- <field name="Last LCU of Tile" start="62" end="62" type="bool"/>
- <field name="CU Count" start="56" end="61" type="uint"/>
- <field name="Split Level 0" start="52" end="52" type="uint"/>
- <field name="Split Level 1" start="48" end="51" type="uint"/>
- <field name="Split Level 2 Part 3" start="44" end="47" type="uint"/>
- <field name="Split Level 2 Part 2" start="40" end="43" type="uint"/>
- <field name="Split Level 2 Part 1" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Split Level 2 Part 0" start="32" end="35" type="uint"/>
- <field name="Current LCU Y Address" start="80" end="95" type="uint"/>
+ <field name="Split Level 2 Part 1" start="36" end="39" type="uint"/>
+ <field name="Split Level 2 Part 2" start="40" end="43" type="uint"/>
+ <field name="Split Level 2 Part 3" start="44" end="47" type="uint"/>
+ <field name="Split Level 1" start="48" end="51" type="uint"/>
+ <field name="Split Level 0" start="52" end="52" type="uint"/>
+ <field name="CU Count" start="56" end="61" type="uint"/>
+ <field name="Last LCU of Tile" start="62" end="62" type="bool"/>
+ <field name="Last LCU of Slice" start="63" end="63" type="bool"/>
<field name="Current LCU X Address" start="64" end="79" type="uint"/>
+ <field name="Current LCU Y Address" start="80" end="95" type="uint"/>
<field name="Estimated LCU Size" start="96" end="127" type="uint"/>
- <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
- <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
- <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
- <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
<field name="SSE ClassID 32x32_0" start="128" end="131" type="uint"/>
+ <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
+ <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
+ <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
+ <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
</instruction>
<instruction name="HCP_PIC_STATE" bias="2" length="31" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="16"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Frame Height In Minimum Coding Block Size" start="48" end="58" type="uint"/>
- <field name="PAK Transform Skip Enable" start="47" end="47" type="bool"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="16"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width In Minimum Coding Block Size" start="32" end="42" type="uint"/>
- <field name="Chroma Subsampling" start="93" end="95" type="uint">
- <value name="4:2:0" value="1"/>
- <value name="4:2:2" value="2"/>
- <value name="4:4:4" value="3"/>
- </field>
- <field name="Chroma QP Offset List Enable" start="92" end="92" type="bool"/>
- <field name="Diff CU Chroma QP Offset Depth" start="88" end="91" type="uint"/>
- <field name="Chroma QP Offset List Length" start="84" end="86" type="uint"/>
- <field name="Log2 SAO Offset Scale Chroma" start="80" end="82" type="uint"/>
- <field name="Log2 SAO Offset Scale Luma" start="76" end="78" type="uint"/>
- <field name="Max PCM Size" start="74" end="75" type="uint" prefix="PCM">
+ <field name="PAK Transform Skip Enable" start="47" end="47" type="bool"/>
+ <field name="Frame Height In Minimum Coding Block Size" start="48" end="58" type="uint"/>
+ <field name="Min CU Size" start="64" end="65" type="uint" prefix="LCU">
+ <value name="64x64" value="3"/>
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
<value name="8x8" value="0"/>
</field>
- <field name="Min PCM Size" start="72" end="73" type="uint" prefix="PCM">
+ <field name="LCU Size" start="66" end="67" type="uint" prefix="LCU">
+ <value name="64x64" value="3"/>
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
- <value name="8x8" value="0"/>
+ <value name="Illegal/reserved" value="0"/>
</field>
- <field name="Max TU Size" start="70" end="71" type="uint" prefix="TU">
+ <field name="Min TU Size" start="68" end="69" type="uint" prefix="TU">
<value name="32x32" value="3"/>
<value name="16x16" value="2"/>
<value name="8x8" value="1"/>
<value name="4x4" value="0"/>
</field>
- <field name="Min TU Size" start="68" end="69" type="uint" prefix="TU">
+ <field name="Max TU Size" start="70" end="71" type="uint" prefix="TU">
<value name="32x32" value="3"/>
<value name="16x16" value="2"/>
<value name="8x8" value="1"/>
<value name="4x4" value="0"/>
</field>
- <field name="LCU Size" start="66" end="67" type="uint" prefix="LCU">
- <value name="64x64" value="3"/>
+ <field name="Min PCM Size" start="72" end="73" type="uint" prefix="PCM">
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
- <value name="Illegal/reserved" value="0"/>
+ <value name="8x8" value="0"/>
</field>
- <field name="Min CU Size" start="64" end="65" type="uint" prefix="LCU">
- <value name="64x64" value="3"/>
+ <field name="Max PCM Size" start="74" end="75" type="uint" prefix="PCM">
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
<value name="8x8" value="0"/>
</field>
- <field name="SPS Range Extension Enable" start="127" end="127" type="bool"/>
- <field name="Transform Skip Rotation Enable" start="126" end="126" type="bool"/>
- <field name="Transform Skip Context Enable" start="125" end="125" type="bool"/>
- <field name="Implicit RDPCM Enable" start="124" end="124" type="bool"/>
- <field name="Explicit RDPCM Enable" start="123" end="123" type="bool"/>
- <field name="Intra Smoothing Disable" start="122" end="122" type="bool"/>
- <field name="Persistent Rice Adaptation Enable" start="121" end="121" type="bool"/>
- <field name="CABAC Bypass Alignment Enable" start="120" end="120" type="bool"/>
- <field name="Cross Component Prediction Enable" start="119" end="119" type="bool"/>
- <field name="Log2 Max Transform Skip Size" start="116" end="118" type="uint"/>
- <field name="High Precision Offsets Enable" start="115" end="115" type="bool"/>
- <field name="CABAC Zero Word Insertion Test Enable" start="98" end="98" type="bool"/>
- <field name="Current Picture Is I Slice" start="97" end="97" type="bool"/>
+ <field name="Log2 SAO Offset Scale Luma" start="76" end="78" type="uint"/>
+ <field name="Log2 SAO Offset Scale Chroma" start="80" end="82" type="uint"/>
+ <field name="Chroma QP Offset List Length" start="84" end="86" type="uint"/>
+ <field name="Diff CU Chroma QP Offset Depth" start="88" end="91" type="uint"/>
+ <field name="Chroma QP Offset List Enable" start="92" end="92" type="bool"/>
+ <field name="Chroma Subsampling" start="93" end="95" type="uint">
+ <value name="4:2:0" value="1"/>
+ <value name="4:2:2" value="2"/>
+ <value name="4:4:4" value="3"/>
+ </field>
<field name="Collocated Picture Is I Slice" start="96" end="96" type="bool"/>
+ <field name="Current Picture Is I Slice" start="97" end="97" type="bool"/>
+ <field name="CABAC Zero Word Insertion Test Enable" start="98" end="98" type="bool"/>
+ <field name="High Precision Offsets Enable" start="115" end="115" type="bool"/>
+ <field name="Log2 Max Transform Skip Size" start="116" end="118" type="uint"/>
+ <field name="Cross Component Prediction Enable" start="119" end="119" type="bool"/>
+ <field name="CABAC Bypass Alignment Enable" start="120" end="120" type="bool"/>
+ <field name="Persistent Rice Adaptation Enable" start="121" end="121" type="bool"/>
+ <field name="Intra Smoothing Disable" start="122" end="122" type="bool"/>
+ <field name="Explicit RDPCM Enable" start="123" end="123" type="bool"/>
+ <field name="Implicit RDPCM Enable" start="124" end="124" type="bool"/>
+ <field name="Transform Skip Context Enable" start="125" end="125" type="bool"/>
+ <field name="Transform Skip Rotation Enable" start="126" end="126" type="bool"/>
+ <field name="SPS Range Extension Enable" start="127" end="127" type="bool"/>
+ <field name="Sample Adaptive Offset Enable" start="131" end="131" type="bool"/>
+ <field name="PCM Enable" start="132" end="132" type="bool"/>
+ <field name="CU QP Delta Enable" start="133" end="133" type="bool"/>
+ <field name="Max DQP Depth" start="134" end="135" type="uint"/>
+ <field name="PCM Loop Filter Disable" start="136" end="136" type="bool"/>
+ <field name="Constrained Intra Prediction" start="137" end="137" type="bool"/>
+ <field name="Log2 Parallel Merge Level" start="138" end="140" type="uint"/>
+ <field name="Sign Data Hiding" start="141" end="141" type="bool"/>
+ <field name="Loop Filter Enable" start="143" end="143" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="144" end="144" type="bool"/>
+ <field name="Tiling Enable" start="145" end="145" type="bool"/>
+ <field name="Weighted BiPredication Enable" start="146" end="146" type="bool"/>
+ <field name="Weighted Predication Enable" start="147" end="147" type="bool"/>
+ <field name="Field Pic" start="148" end="148" type="bool"/>
+ <field name="Top Field" start="149" end="149" type="bool"/>
+ <field name="Transform Skip Enable" start="150" end="150" type="bool"/>
+ <field name="AMP Enable" start="151" end="151" type="bool"/>
+ <field name="Transquant Bypass Enable" start="153" end="153" type="bool"/>
+ <field name="Strong Intra Smoothing Enable" start="154" end="154" type="bool"/>
<field name="CU Packet Structure" start="155" end="155" type="uint">
<value name="VME" value="0"/>
<value name="ExtEnc" value="1"/>
</field>
- <field name="Strong Intra Smoothing Enable" start="154" end="154" type="bool"/>
- <field name="Transquant Bypass Enable" start="153" end="153" type="bool"/>
- <field name="AMP Enable" start="151" end="151" type="bool"/>
- <field name="Transform Skip Enable" start="150" end="150" type="bool"/>
- <field name="Top Field" start="149" end="149" type="bool"/>
- <field name="Field Pic" start="148" end="148" type="bool"/>
- <field name="Weighted Predication Enable" start="147" end="147" type="bool"/>
- <field name="Weighted BiPredication Enable" start="146" end="146" type="bool"/>
- <field name="Tiling Enable" start="145" end="145" type="bool"/>
- <field name="Entropy Coding Sync Enable" start="144" end="144" type="bool"/>
- <field name="Loop Filter Enable" start="143" end="143" type="bool"/>
- <field name="Sign Data Hiding" start="141" end="141" type="bool"/>
- <field name="Log2 Parallel Merge Level" start="138" end="140" type="uint"/>
- <field name="Constrained Intra Prediction" start="137" end="137" type="bool"/>
- <field name="PCM Loop Filter Disable" start="136" end="136" type="bool"/>
- <field name="Max DQP Depth" start="134" end="135" type="uint"/>
- <field name="CU QP Delta Enable" start="133" end="133" type="bool"/>
- <field name="PCM Enable" start="132" end="132" type="bool"/>
- <field name="Sample Adaptive Offset Enable" start="131" end="131" type="bool"/>
- <field name="Luma Bit Depth" start="187" end="189" type="uint">
+ <field name="Picture Cb QP Offset" start="160" end="164" type="int"/>
+ <field name="Picture Cr QP Offset" start="165" end="169" type="int"/>
+ <field name="Intra Max Transform Hierarchy Depth" start="170" end="172" type="uint"/>
+ <field name="Inter Max Transform Hierarchy Depth" start="173" end="175" type="uint"/>
+ <field name="Chroma PCM Sample Bit Depth" start="176" end="179" type="uint"/>
+ <field name="Luma PCM Sample Bit Depth" start="180" end="183" type="uint"/>
+ <field name="Chroma Bit Depth" start="184" end="186" type="uint">
<value name="8-bit" value="0"/>
<value name="9-bit" value="1"/>
<value name="10-bit" value="2"/>
<value name="11-bit" value="3"/>
<value name="12-bit" value="4"/>
</field>
- <field name="Chroma Bit Depth" start="184" end="186" type="uint">
+ <field name="Luma Bit Depth" start="187" end="189" type="uint">
<value name="8-bit" value="0"/>
<value name="9-bit" value="1"/>
<value name="10-bit" value="2"/>
<value name="11-bit" value="3"/>
<value name="12-bit" value="4"/>
</field>
- <field name="Luma PCM Sample Bit Depth" start="180" end="183" type="uint"/>
- <field name="Chroma PCM Sample Bit Depth" start="176" end="179" type="uint"/>
- <field name="Inter Max Transform Hierarchy Depth" start="173" end="175" type="uint"/>
- <field name="Intra Max Transform Hierarchy Depth" start="170" end="172" type="uint"/>
- <field name="Picture Cr QP Offset" start="165" end="169" type="int"/>
- <field name="Picture Cb QP Offset" start="160" end="164" type="int"/>
- <field name="Load Bitstream Pointer Per Slice" start="221" end="221" type="bool"/>
- <field name="Frame Bitrate Min Report" start="218" end="218" type="bool"/>
- <field name="Frame Bitrate Max Report" start="217" end="217" type="bool"/>
- <field name="LCU Max Size Report" start="216" end="216" type="bool"/>
- <field name="Non First Pass" start="208" end="208" type="bool"/>
<field name="LCU Max Bit Size Allowed" start="192" end="207" type="uint"/>
- <field name="Frame Bitrate Max Unit" start="255" end="255" type="uint"/>
+ <field name="Non First Pass" start="208" end="208" type="bool"/>
+ <field name="LCU Max Size Report" start="216" end="216" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="217" end="217" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="218" end="218" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="221" end="221" type="bool"/>
<field name="Frame Bitrate Max" start="224" end="237" type="uint"/>
- <field name="Frame Bitrate Min Unit" start="287" end="287" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="255" end="255" type="uint"/>
<field name="Frame Bitrate Min" start="256" end="269" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="304" end="318" type="uint"/>
+ <field name="Frame Bitrate Min Unit" start="287" end="287" type="uint"/>
<field name="Frame Bitrate Min Delta" start="288" end="302" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="304" end="318" type="uint"/>
<field name="Frame Delta QP Max" start="320" end="383" type="FRAMEDELTAQP"/>
<field name="Frame Delta QP Min" start="384" end="447" type="FRAMEDELTAQP"/>
<field name="Frame Delta QP Max Range" start="448" end="511" type="FRAMEDELTAQPRANGE"/>
<field name="Frame Delta QP Min Range" start="512" end="575" type="FRAMEDELTAQPRANGE"/>
+ <field name="Minimum Frame Size" start="576" end="591" type="uint"/>
<field name="Minimum Frame Size Units" start="606" end="607" type="uint" prefix="HCP_MFSU">
<value name="4Kb" value="0"/>
<value name="16Kb" value="1"/>
<value name="Compatibility mode" value="2"/>
<value name="16 bytes" value="3"/>
</field>
- <field name="Minimum Frame Size" start="576" end="591" type="uint"/>
- <field name="Number of LCUs InNormal Slice Size Conformance Mode" start="634" end="635" type="uint"/>
- <field name="RDOQ Enable" start="633" end="633" type="bool"/>
- <field name="SSE Enable" start="632" end="632" type="bool"/>
- <field name="Slice_pic_parameter_set_id" start="626" end="631" type="uint"/>
- <field name="Nal Unit Type" start="625" end="625" type="uint"/>
- <field name="First Slice Segment In Pic" start="624" end="624" type="bool"/>
- <field name="No Output of Prior Pics" start="623" end="623" type="bool"/>
- <field name="PAK Dynamic Slice Mode Enable" start="622" end="622" type="bool"/>
- <field name="Rho Domain Frame Level QP" start="616" end="621" type="uint"/>
- <field name="Fractional QP Adjustment Enable" start="615" end="615" type="bool"/>
- <field name="Rho Domain Rate Control Enable" start="614" end="614" type="bool"/>
- <field name="Fractional QP Offset" start="611" end="613" type="uint"/>
<field name="Fractional QP Input" start="608" end="610" type="uint"/>
+ <field name="Fractional QP Offset" start="611" end="613" type="uint"/>
+ <field name="Rho Domain Rate Control Enable" start="614" end="614" type="bool"/>
+ <field name="Fractional QP Adjustment Enable" start="615" end="615" type="bool"/>
+ <field name="Rho Domain Frame Level QP" start="616" end="621" type="uint"/>
+ <field name="PAK Dynamic Slice Mode Enable" start="622" end="622" type="bool"/>
+ <field name="No Output of Prior Pics" start="623" end="623" type="bool"/>
+ <field name="First Slice Segment In Pic" start="624" end="624" type="bool"/>
+ <field name="Nal Unit Type" start="625" end="625" type="uint"/>
+ <field name="Slice_pic_parameter_set_id" start="626" end="631" type="uint"/>
+ <field name="SSE Enable" start="632" end="632" type="bool"/>
+ <field name="RDOQ Enable" start="633" end="633" type="bool"/>
+ <field name="Number of LCUs InNormal Slice Size Conformance Mode" start="634" end="635" type="uint"/>
<field name="Intra TU Count Based RDOQ Disable" start="646" end="646" type="bool"/>
<field name="Slice Size Threshold" start="672" end="703" type="uint"/>
<field name="Target Slice Size" start="704" end="735" type="uint"/>
- <field name="Class0_SSE_Threshold1" start="752" end="767" type="uint"/>
<field name="Class0_SSE_Threshold0" start="736" end="751" type="uint"/>
+ <field name="Class0_SSE_Threshold1" start="752" end="767" type="uint"/>
<field name="SSE Thresholds for Class1-8" start="768" end="1023" type="uint"/>
- <field name="Cb QP Offset List[5]" start="1049" end="1053" type="int"/>
- <field name="Cb QP Offset List[4]" start="1044" end="1048" type="int"/>
- <field name="Cb QP Offset List[3]" start="1039" end="1043" type="int"/>
- <field name="Cb QP Offset List[2]" start="1034" end="1038" type="int"/>
- <field name="Cb QP Offset List[1]" start="1029" end="1033" type="int"/>
<field name="Cb QP Offset List[0]" start="1024" end="1028" type="int"/>
- <field name="Cr QP Offset List[5]" start="1081" end="1085" type="int"/>
- <field name="Cr QP Offset List[4]" start="1076" end="1080" type="int"/>
- <field name="Cr QP Offset List[3]" start="1071" end="1075" type="int"/>
- <field name="Cr QP Offset List[2]" start="1066" end="1070" type="int"/>
- <field name="Cr QP Offset List[1]" start="1061" end="1065" type="int"/>
+ <field name="Cb QP Offset List[1]" start="1029" end="1033" type="int"/>
+ <field name="Cb QP Offset List[2]" start="1034" end="1038" type="int"/>
+ <field name="Cb QP Offset List[3]" start="1039" end="1043" type="int"/>
+ <field name="Cb QP Offset List[4]" start="1044" end="1048" type="int"/>
+ <field name="Cb QP Offset List[5]" start="1049" end="1053" type="int"/>
<field name="Cr QP Offset List[0]" start="1056" end="1060" type="int"/>
+ <field name="Cr QP Offset List[1]" start="1061" end="1065" type="int"/>
+ <field name="Cr QP Offset List[2]" start="1066" end="1070" type="int"/>
+ <field name="Cr QP Offset List[3]" start="1071" end="1075" type="int"/>
+ <field name="Cr QP Offset List[4]" start="1076" end="1080" type="int"/>
+ <field name="Cr QP Offset List[5]" start="1081" end="1085" type="int"/>
<field name="RDOQ Intra TU Threshold" start="1184" end="1199" type="uint"/>
</instruction>
<instruction name="HCP_PIPE_BUF_ADDR_STATE" bias="2" length="104" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Decoded Picture - Address" start="32" end="95" type="address"/>
<field name="Decoded Picture - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Deblocking Filter Line Buffer - Address" start="128" end="191" type="address"/>
@@ -3332,54 +3327,51 @@
<field name="Intra Prediction Left Recon Column Store Buffer - Base Address" start="3712" end="3775" type="address"/>
<field name="Intra Prediction Left Recon Column Store Buffer - Memory Address Attributes" start="3776" end="3807" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HCP Scalability CABAC Decoded Syntax Elements Buffer Max Address" start="3808" end="3871" type="address"/>
-
</instruction>
<instruction name="HCP_PIPE_MODE_SELECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Pipe Working Mode" start="47" end="48" type="uint">
- <value name="Legacy Decoder/Encoder Mode" value="0"/>
- <value name="CABAC FE Only Decode Mode" value="1"/>
- <value name="Decoder BE Only or Encoder Mode" value="2"/>
- </field>
- <field name="Multi-Engine Mode" start="45" end="46" type="uint"/>
- <field name="PAK Frame Level Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="RDOQ Enable" start="43" end="43" type="bool"/>
- <field name="VDEnc Mode" start="42" end="42" type="uint" prefix="VM">
- <value name="MBEnc Mode" value="0"/>
- <value name="VDEnc Mode" value="1"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Codec Select" start="32" end="32" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
</field>
- <field name="Advanced Rate Control Enable" start="41" end="41" type="bool"/>
+ <field name="Deblocker Stream-Out Enable" start="33" end="33" type="bool"/>
+ <field name="PAK Pipeline Stream-Out Enable" start="34" end="34" type="bool"/>
+ <field name="Pic Status/Error Report Enable" start="35" end="35" type="bool"/>
<field name="Codec Standard Select" start="37" end="39" type="uint">
<value name="HEVC" value="0"/>
<value name="VP9" value="1"/>
</field>
- <field name="Pic Status/Error Report Enable" start="35" end="35" type="bool"/>
- <field name="PAK Pipeline Stream-Out Enable" start="34" end="34" type="bool"/>
- <field name="Deblocker Stream-Out Enable" start="33" end="33" type="bool"/>
- <field name="Codec Select" start="32" end="32" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
+ <field name="Advanced Rate Control Enable" start="41" end="41" type="bool"/>
+ <field name="VDEnc Mode" start="42" end="42" type="uint" prefix="VM">
+ <value name="MBEnc Mode" value="0"/>
+ <value name="VDEnc Mode" value="1"/>
+ </field>
+ <field name="RDOQ Enable" start="43" end="43" type="bool"/>
+ <field name="PAK Frame Level Stream-Out Enable" start="44" end="44" type="bool"/>
+ <field name="Multi-Engine Mode" start="45" end="46" type="uint"/>
+ <field name="Pipe Working Mode" start="47" end="48" type="uint">
+ <value name="Legacy Decoder/Encoder Mode" value="0"/>
+ <value name="CABAC FE Only Decode Mode" value="1"/>
+ <value name="Decoder BE Only or Encoder Mode" value="2"/>
</field>
<field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="HCP_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="DC Coefficient" start="37" end="44" type="uint"/>
- <field name="Color Component" start="35" end="36" type="uint">
- <value name="Luma" value="0"/>
- <value name="Chroma Cb" value="1"/>
- <value name="Chroma Cr" value="2"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Prediction Type" start="32" end="32" type="uint">
+ <value name="Intra" value="0"/>
+ <value name="Inter" value="1"/>
</field>
<field name="SizeID" start="33" end="34" type="uint">
<value name="4x4" value="0"/>
@@ -3387,23 +3379,25 @@
<value name="16x16" value="2"/>
<value name="32x32" value="3"/>
</field>
- <field name="Prediction Type" start="32" end="32" type="uint">
- <value name="Intra" value="0"/>
- <value name="Inter" value="1"/>
+ <field name="Color Component" start="35" end="36" type="uint">
+ <value name="Luma" value="0"/>
+ <value name="Chroma Cb" value="1"/>
+ <value name="Chroma Cr" value="2"/>
</field>
+ <field name="DC Coefficient" start="37" end="44" type="uint"/>
<group count="64" start="64" size="8">
<field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="HCP_RDOQ_STATE" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Inter RDOQ" start="33" end="33" type="bool"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Intra RDOQ" start="32" end="32" type="bool"/>
+ <field name="Inter RDOQ" start="33" end="33" type="bool"/>
<group count="26" start="64" size="16">
<field name="Lambda Intra Luma" start="0" end="15" type="uint"/>
</group>
@@ -3419,32 +3413,39 @@
</instruction>
<instruction name="HCP_REF_IDX_STATE" bias="2" length="18" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="18"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Number of Reference Indexes Active" start="33" end="36" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="18"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
+ <field name="Number of Reference Indexes Active" start="33" end="36" type="uint"/>
<group count="16" start="64" size="32">
<field name="Reference List Entry" start="0" end="31" type="HCP_REF_LIST_ENTRY"/>
</group>
</instruction>
<instruction name="HCP_SLICE_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="20"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Slice Vertical Position" start="48" end="57" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="20"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Horizontal Position" start="32" end="41" type="uint"/>
- <field name="Next Slice Vertical Position" start="80" end="90" type="uint"/>
+ <field name="Slice Vertical Position" start="48" end="57" type="uint"/>
<field name="Next Slice Horizontal Position" start="64" end="73" type="uint"/>
- <field name="Last Slice of Tile" start="120" end="120" type="uint"/>
- <field name="CU Chroma QP Offset Enable" start="119" end="119" type="bool"/>
- <field name="Intra Ref Fetch Disable" start="118" end="118" type="bool"/>
- <field name="Slice Cr QP Offset" start="113" end="117" type="int">
+ <field name="Next Slice Vertical Position" start="80" end="90" type="uint"/>
+ <field name="Slice Type" start="96" end="97" type="uint" prefix="HCP_ST">
+ <value name="B Slice" value="0"/>
+ <value name="P Slice" value="1"/>
+ <value name="I Slice" value="2"/>
+ </field>
+ <field name="Last Slice" start="98" end="98" type="bool"/>
+ <field name="Slice QP Sign" start="99" end="99" type="uint"/>
+ <field name="Dependent Slice" start="100" end="100" type="bool"/>
+ <field name="Slice Temporal MVP Enable" start="101" end="101" type="bool"/>
+ <field name="Slice QP" start="102" end="107" type="uint"/>
+ <field name="Slice Cb QP Offset" start="108" end="112" type="int">
<value name="-12" value="20"/>
<value name="-11" value="21"/>
<value name="-10" value="22"/>
@@ -3458,7 +3459,7 @@
<value name="-2" value="30"/>
<value name="-1" value="31"/>
</field>
- <field name="Slice Cb QP Offset" start="108" end="112" type="int">
+ <field name="Slice Cr QP Offset" start="113" end="117" type="int">
<value name="-12" value="20"/>
<value name="-11" value="21"/>
<value name="-10" value="22"/>
@@ -3472,32 +3473,25 @@
<value name="-2" value="30"/>
<value name="-1" value="31"/>
</field>
- <field name="Slice QP" start="102" end="107" type="uint"/>
- <field name="Slice Temporal MVP Enable" start="101" end="101" type="bool"/>
- <field name="Dependent Slice" start="100" end="100" type="bool"/>
- <field name="Slice QP Sign" start="99" end="99" type="uint"/>
- <field name="Last Slice" start="98" end="98" type="bool"/>
- <field name="Slice Type" start="96" end="97" type="uint" prefix="HCP_ST">
- <value name="B Slice" value="0"/>
- <value name="P Slice" value="1"/>
- <value name="I Slice" value="2"/>
- </field>
- <field name="Collocated MV Temporal Buffer Index" start="154" end="156" type="uint"/>
- <field name="Max Merge Index" start="151" end="153" type="uint"/>
- <field name="CABAC Init" start="150" end="150" type="bool"/>
- <field name="Log2 Weight Denominator Luma" start="147" end="149" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="144" end="146" type="uint"/>
- <field name="Collocated From L0" start="143" end="143" type="bool"/>
- <field name="Low Delay" start="142" end="142" type="bool"/>
- <field name="MVD L1 Zero" start="141" end="141" type="bool"/>
- <field name="Slice SAO Luma" start="140" end="140" type="bool"/>
- <field name="Slice SAO Chroma" start="139" end="139" type="bool"/>
- <field name="Slice Loop Filter Enable" start="138" end="138" type="bool"/>
- <field name="Slice Beta Offset Div2" start="133" end="136" type="int"/>
- <field name="Slice TC Offset Div2" start="129" end="132" type="int"/>
+ <field name="Intra Ref Fetch Disable" start="118" end="118" type="bool"/>
+ <field name="CU Chroma QP Offset Enable" start="119" end="119" type="bool"/>
+ <field name="Last Slice of Tile" start="120" end="120" type="uint"/>
<field name="Slice Header Disable Deblocking Filter" start="128" end="128" type="bool"/>
+ <field name="Slice TC Offset Div2" start="129" end="132" type="int"/>
+ <field name="Slice Beta Offset Div2" start="133" end="136" type="int"/>
+ <field name="Slice Loop Filter Enable" start="138" end="138" type="bool"/>
+ <field name="Slice SAO Chroma" start="139" end="139" type="bool"/>
+ <field name="Slice SAO Luma" start="140" end="140" type="bool"/>
+ <field name="MVD L1 Zero" start="141" end="141" type="bool"/>
+ <field name="Low Delay" start="142" end="142" type="bool"/>
+ <field name="Collocated From L0" start="143" end="143" type="bool"/>
+ <field name="Log2 Weight Denominator Chroma" start="144" end="146" type="uint"/>
+ <field name="Log2 Weight Denominator Luma" start="147" end="149" type="uint"/>
+ <field name="CABAC Init" start="150" end="150" type="bool"/>
+ <field name="Max Merge Index" start="151" end="153" type="uint"/>
+ <field name="Collocated MV Temporal Buffer Index" start="154" end="156" type="uint"/>
<field name="Slice Header Length" start="160" end="175" type="uint"/>
- <field name="Round Inter" start="218" end="221" type="uint">
+ <field name="Round Intra" start="212" end="215" type="uint">
<value name="+1/32" value="0"/>
<value name="+2/32" value="1"/>
<value name="+3/32" value="2"/>
@@ -3515,7 +3509,7 @@
<value name="+15/32" value="14"/>
<value name="+16/32" value="15"/>
</field>
- <field name="Round Intra" start="212" end="215" type="uint">
+ <field name="Round Inter" start="218" end="221" type="uint">
<value name="+1/32" value="0"/>
<value name="+2/32" value="1"/>
<value name="+3/32" value="2"/>
@@ -3533,26 +3527,27 @@
<value name="+15/32" value="14"/>
<value name="+16/32" value="15"/>
</field>
- <field name="Header Insertion Present" start="234" end="234" type="bool"/>
- <field name="Slice Data Insertion Present" start="233" end="233" type="bool"/>
- <field name="Tail Insertion Present" start="232" end="232" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="226" end="226" type="bool"/>
<field name="CABAC Zero Word Insertion Enable" start="225" end="225" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="226" end="226" type="bool"/>
+ <field name="Tail Insertion Present" start="232" end="232" type="bool"/>
+ <field name="Slice Data Insertion Present" start="233" end="233" type="bool"/>
+ <field name="Header Insertion Present" start="234" end="234" type="bool"/>
<field name="Indirect PAK-BSE Data Start Offset" start="262" end="284" type="offset"/>
- <field name="Force SAO Parameters To Zero" start="319" end="319" type="bool"/>
<field name="Transform Skip Lambda" start="288" end="303" type="uint"/>
- <field name="Transform Skip Number of Non-Zero Coeffs Factor1" start="344" end="351" type="uint"/>
- <field name="Transform Skip Number of Zero Coeffs Factor1" start="336" end="343" type="uint"/>
- <field name="Transform Skip Number of Non-Zero Coeffs Factor0" start="328" end="335" type="uint"/>
+ <field name="Force SAO Parameters To Zero" start="319" end="319" type="bool"/>
<field name="Transform Skip Number of Zero Coeffs Factor0" start="320" end="327" type="uint"/>
+ <field name="Transform Skip Number of Non-Zero Coeffs Factor0" start="328" end="335" type="uint"/>
+ <field name="Transform Skip Number of Zero Coeffs Factor1" start="336" end="343" type="uint"/>
+ <field name="Transform Skip Number of Non-Zero Coeffs Factor1" start="344" end="351" type="uint"/>
</instruction>
<instruction name="HCP_SURFACE_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface ID" start="60" end="63" type="uint" prefix="HCP">
<value name="Current Decoded Picture" value="0"/>
<value name="Source Input Picture" value="1"/>
@@ -3560,7 +3555,7 @@
<value name="Golden Reference Picture" value="3"/>
<value name="AltRef Reference Picture" value="4"/>
</field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
<field name="Surface Format" start="91" end="95" type="uint">
<value name="YUY2" value="0"/>
<value name="RGB_8" value="1"/>
@@ -3582,24 +3577,23 @@
<value name="YUY2Variant" value="19"/>
<value name="AYUV4444Variant" value="20"/>
</field>
- <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
- <field name="Y Offset for V(Cr)" start="112" end="127" type="uint"/>
<field name="Default Alpha Value" start="96" end="111" type="uint"/>
+ <field name="Y Offset for V(Cr)" start="112" end="127" type="uint"/>
</instruction>
<instruction name="HCP_TILE_CODING" bias="1" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
<field name="DWord Length" start="0" end="11" type="uint" default="13"/>
- <field name="Last Tile of Column" start="95" end="95" type="bool"/>
- <field name="Tile Row Position" start="80" end="89" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Tile Column Position" start="64" end="73" type="uint"/>
- <field name="Tile Width In Minimum Coding Block Size" start="112" end="122" type="uint"/>
+ <field name="Tile Row Position" start="80" end="89" type="uint"/>
+ <field name="Last Tile of Column" start="95" end="95" type="bool"/>
<field name="Tile Height In Minimum Coding Block Size" start="96" end="106" type="uint"/>
- <field name="Bitstream Byte Offset" start="134" end="159" type="uint"/>
+ <field name="Tile Width In Minimum Coding Block Size" start="112" end="122" type="uint"/>
<field name="SAO Parameter Offset" start="128" end="159" type="uint"/>
+ <field name="Bitstream Byte Offset" start="134" end="159" type="uint"/>
<field name="PAK Frame Statistics Offset" start="166" end="191" type="uint"/>
<field name="CU Level Stream-Out Offset" start="198" end="223" type="uint"/>
<field name="Slice Size Stream-Out Offset" start="230" end="255" type="uint"/>
@@ -3613,13 +3607,13 @@
</instruction>
<instruction name="HCP_TILE_STATE" bias="2" length="17" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="Media Instruction Command" start="16" end="22" type="uint" default="17"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Number of Tile Columns" start="37" end="41" type="uint"/>
+ <field name="Media Instruction Command" start="16" end="22" type="uint" default="17"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Tile Rows" start="32" end="36" type="uint"/>
+ <field name="Number of Tile Columns" start="37" end="41" type="uint"/>
<group count="5" start="64" size="32">
<field name="Column Position" start="0" end="31" type="HCP_TILE_POSITION_IN_CTB"/>
</group>
@@ -3631,50 +3625,38 @@
</instruction>
<instruction name="HCP_VP9_PAK_OBJECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="53"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Last SB of Tile" start="63" end="63" type="bool"/>
- <field name="CU Count" start="56" end="61" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="53"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Split_coding_unit_flag[x0][y0]" start="32" end="52" type="uint"/>
- <field name="Current SB Y Address" start="80" end="95" type="uint"/>
+ <field name="CU Count" start="56" end="61" type="uint"/>
+ <field name="Last SB of Tile" start="63" end="63" type="bool"/>
<field name="Current SB X Address" start="64" end="79" type="uint"/>
- <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
- <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
- <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
- <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
+ <field name="Current SB Y Address" start="80" end="95" type="uint"/>
<field name="SSE ClassID 32x32_0" start="128" end="131" type="uint"/>
+ <field name="SSE ClassID 32x32_1" start="132" end="135" type="uint"/>
+ <field name="SSE ClassID 32x32_2" start="136" end="139" type="uint"/>
+ <field name="SSE ClassID 32x32_3" start="140" end="143" type="uint"/>
+ <field name="LCU Force Zero Coeff" start="144" end="144" type="bool"/>
</instruction>
<instruction name="HCP_VP9_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="48"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Frame Height" start="48" end="61" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="48"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width" start="32" end="45" type="uint"/>
- <field name="Segment ID Stream-In Enable" start="95" end="95" type="bool"/>
- <field name="Segment ID Stream-Out Enable" start="94" end="94" type="bool"/>
- <field name="Lossless Mode" start="93" end="93" type="bool"/>
- <field name="Segmentation Temporal Update" start="92" end="92" type="bool"/>
- <field name="Segmentation Update Map" start="91" end="91" type="bool"/>
- <field name="Segmentation Enable" start="90" end="90" type="bool"/>
- <field name="Sharpness Level" start="87" end="89" type="uint"/>
- <field name="Filter Level" start="81" end="86" type="uint"/>
- <field name="Frame Parallel Decoding Mode Enable" start="80" end="80" type="bool"/>
- <field name="Error Resilient Mode Enable" start="79" end="79" type="bool"/>
- <field name="Refresh Frame Context Enable" start="78" end="78" type="bool"/>
- <field name="Last Frame Type" start="77" end="77" type="uint" prefix="VP9">
+ <field name="Frame Height" start="48" end="61" type="uint"/>
+ <field name="Frame Type" start="64" end="64" type="uint" prefix="VP9">
<value name="Key Frame" value="0"/>
- <value name="Non Key Frame" value="1"/>
+ <value name="Inter Frame" value="1"/>
</field>
- <field name="Selectable TX Mode" start="76" end="76" type="uint"/>
- <field name="Hybrid Prediction Mode" start="75" end="75" type="uint"/>
- <field name="Use Prev in Find MV References" start="74" end="74" type="bool"/>
- <field name="Reference Frame Sign Bias" start="71" end="73" type="uint"/>
+ <field name="Adapt Probabilities" start="65" end="65" type="bool"/>
+ <field name="Intra Only" start="66" end="66" type="bool"/>
+ <field name="Allow Hi Precision MV" start="67" end="67" type="bool"/>
<field name="Motion Compensation Filter Type" start="68" end="70" type="uint">
<value name="Eight-tap" value="0"/>
<value name="Eight-tap-Smooth" value="1"/>
@@ -3682,34 +3664,25 @@
<value name="Bilinear" value="3"/>
<value name="Switchable" value="4"/>
</field>
- <field name="Allow Hi Precision MV" start="67" end="67" type="bool"/>
- <field name="Intra Only" start="66" end="66" type="bool"/>
- <field name="Adapt Probabilities" start="65" end="65" type="bool"/>
- <field name="Frame Type" start="64" end="64" type="uint" prefix="VP9">
+ <field name="Reference Frame Sign Bias" start="71" end="73" type="uint"/>
+ <field name="Use Prev in Find MV References" start="74" end="74" type="bool"/>
+ <field name="Hybrid Prediction Mode" start="75" end="75" type="uint"/>
+ <field name="Selectable TX Mode" start="76" end="76" type="uint"/>
+ <field name="Last Frame Type" start="77" end="77" type="uint" prefix="VP9">
<value name="Key Frame" value="0"/>
- <value name="Inter Frame" value="1"/>
- </field>
- <field name="Profile Level" start="124" end="127" type="uint">
- <value name="Profile_0" value="0"/>
- <value name="Profile_1" value="1"/>
- <value name="Profile_2" value="2"/>
- <value name="Profile_3" value="3"/>
- </field>
- <field name="Bit Depth" start="120" end="123" type="uint">
- <value name="8-bit" value="0"/>
- <value name="10-bit" value="2"/>
- <value name="12-bit" value="4"/>
- </field>
- <field name="Chroma Sampling Format" start="118" end="119" type="uint">
- <value name="Format_420" value="0"/>
- <value name="Format_444" value="2"/>
- </field>
- <field name="SSE Enable" start="117" end="117" type="bool"/>
- <field name="Log2 Tile Row" start="104" end="105" type="uint">
- <value name="1 Tile Row" value="0"/>
- <value name="2 Tile Row" value="1"/>
- <value name="4 Tile Row" value="2"/>
+ <value name="Non Key Frame" value="1"/>
</field>
+ <field name="Refresh Frame Context Enable" start="78" end="78" type="bool"/>
+ <field name="Error Resilient Mode Enable" start="79" end="79" type="bool"/>
+ <field name="Frame Parallel Decoding Mode Enable" start="80" end="80" type="bool"/>
+ <field name="Filter Level" start="81" end="86" type="uint"/>
+ <field name="Sharpness Level" start="87" end="89" type="uint"/>
+ <field name="Segmentation Enable" start="90" end="90" type="bool"/>
+ <field name="Segmentation Update Map" start="91" end="91" type="bool"/>
+ <field name="Segmentation Temporal Update" start="92" end="92" type="bool"/>
+ <field name="Lossless Mode" start="93" end="93" type="bool"/>
+ <field name="Segment ID Stream-Out Enable" start="94" end="94" type="bool"/>
+ <field name="Segment ID Stream-In Enable" start="95" end="95" type="bool"/>
<field name="Log2 Tile Column" start="96" end="99" type="uint">
<value name="1 Tile Column" value="0"/>
<value name="2 Tile Column" value="1"/>
@@ -3719,97 +3692,118 @@
<value name="32 Tile Column" value="5"/>
<value name="64 Tile Column" value="6"/>
</field>
- <field name="Horizontal Scale Factor for LAST" start="144" end="159" type="u2.14"/>
+ <field name="Log2 Tile Row" start="104" end="105" type="uint">
+ <value name="1 Tile Row" value="0"/>
+ <value name="2 Tile Row" value="1"/>
+ <value name="4 Tile Row" value="2"/>
+ </field>
+ <field name="SSE Enable" start="117" end="117" type="bool"/>
+ <field name="Chroma Sampling Format" start="118" end="119" type="uint">
+ <value name="Format_420" value="0"/>
+ <value name="Format_444" value="2"/>
+ </field>
+ <field name="Bit Depth" start="120" end="123" type="uint">
+ <value name="8-bit" value="0"/>
+ <value name="10-bit" value="2"/>
+ <value name="12-bit" value="4"/>
+ </field>
+ <field name="Profile Level" start="124" end="127" type="uint">
+ <value name="Profile_0" value="0"/>
+ <value name="Profile_1" value="1"/>
+ <value name="Profile_2" value="2"/>
+ <value name="Profile_3" value="3"/>
+ </field>
<field name="Vertical Scale Factor for LAST" start="128" end="143" type="u2.14"/>
- <field name="Horizontal Scale Factor for GOLDEN" start="176" end="191" type="u2.14"/>
+ <field name="Horizontal Scale Factor for LAST" start="144" end="159" type="u2.14"/>
<field name="Vertical Scale Factor for GOLDEN" start="160" end="175" type="u2.14"/>
- <field name="Horizontal Scale Factor for ALTREF" start="208" end="223" type="u2.14"/>
+ <field name="Horizontal Scale Factor for GOLDEN" start="176" end="191" type="u2.14"/>
<field name="Vertical Scale Factor for ALTREF" start="192" end="207" type="u2.14"/>
- <field name="Last Frame Height" start="240" end="253" type="uint"/>
+ <field name="Horizontal Scale Factor for ALTREF" start="208" end="223" type="u2.14"/>
<field name="Last Frame Width" start="224" end="237" type="uint"/>
- <field name="Golden Frame Height" start="272" end="285" type="uint"/>
+ <field name="Last Frame Height" start="240" end="253" type="uint"/>
<field name="Golden Frame Width" start="256" end="269" type="uint"/>
- <field name="Altref Frame Height" start="304" end="317" type="uint"/>
+ <field name="Golden Frame Height" start="272" end="285" type="uint"/>
<field name="Altref Frame Width" start="288" end="301" type="uint"/>
- <field name="First Partition Size" start="336" end="351" type="uint"/>
+ <field name="Altref Frame Height" start="304" end="317" type="uint"/>
<field name="Uncompressed Header Length" start="320" end="327" type="uint"/>
+ <field name="First Partition Size" start="336" end="351" type="uint"/>
<field name="Motion Comp Scaling Enable" start="353" end="353" type="bool"/>
- <field name="Header Insertion Enable" start="441" end="441" type="bool"/>
- <field name="Tail Insertion Enable" start="440" end="440" type="bool"/>
- <field name="Luma AC Q Index Delta" start="432" end="439" type="uint"/>
<field name="Compressed Header BIN count" start="416" end="431" type="uint"/>
- <field name="Luma DC Q Index Delta" start="464" end="468" type="int"/>
- <field name="Chroma DC Q Index Delta" start="456" end="460" type="int"/>
+ <field name="Luma AC Q Index Delta" start="432" end="439" type="uint"/>
+ <field name="Tail Insertion Enable" start="440" end="440" type="bool"/>
+ <field name="Header Insertion Enable" start="441" end="441" type="bool"/>
<field name="Chroma AC Q Index Delta" start="448" end="452" type="int"/>
- <field name="LF Ref Delta 3" start="504" end="510" type="int"/>
- <field name="LF Ref Delta 2" start="496" end="502" type="int"/>
- <field name="LF Ref Delta 1" start="488" end="494" type="int"/>
+ <field name="Chroma DC Q Index Delta" start="456" end="460" type="int"/>
+ <field name="Luma DC Q Index Delta" start="464" end="468" type="int"/>
<field name="LF Ref Delta 0" start="480" end="486" type="int"/>
- <field name="LF Mode Delta 1" start="520" end="526" type="int"/>
+ <field name="LF Ref Delta 1" start="488" end="494" type="int"/>
+ <field name="LF Ref Delta 2" start="496" end="502" type="int"/>
+ <field name="LF Ref Delta 3" start="504" end="510" type="int"/>
<field name="LF Mode Delta 0" start="512" end="518" type="int"/>
- <field name="Bit Offset for LF Mode Delta" start="560" end="575" type="uint"/>
+ <field name="LF Mode Delta 1" start="520" end="526" type="int"/>
<field name="Bit Offset for LF Ref Delta" start="544" end="559" type="uint"/>
- <field name="Bit Offset for LF Level" start="592" end="607" type="uint"/>
+ <field name="Bit Offset for LF Mode Delta" start="560" end="575" type="uint"/>
<field name="Bit Offset for QIndex" start="576" end="591" type="uint"/>
- <field name="Frame Bitrate Min Report" start="634" end="634" type="bool"/>
- <field name="Frame Bitrate Max Report" start="633" end="633" type="bool"/>
- <field name="VDENC PAK_ONLY PASS" start="625" end="625" type="bool"/>
+ <field name="Bit Offset for LF Level" start="592" end="607" type="uint"/>
<field name="Non First Pass" start="624" end="624" type="bool"/>
- <field name="Frame Bitrate Max Unit" start="671" end="671" type="uint"/>
+ <field name="VDENC PAK_ONLY PASS" start="625" end="625" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="633" end="633" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="634" end="634" type="bool"/>
<field name="Frame Bitrate Max" start="640" end="653" type="uint"/>
- <field name="Frame Bitrate Min Unit" start="703" end="703" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="671" end="671" type="uint"/>
<field name="Frame Bitrate Min" start="672" end="685" type="uint"/>
+ <field name="Frame Bitrate Min Unit" start="703" end="703" type="uint"/>
<field name="Frame Delta QIndex Max" start="704" end="767" type="uint"/>
<field name="Frame Delta QIndex Min" start="768" end="799" type="uint"/>
<field name="Frame Delta LFMax" start="800" end="863" type="uint"/>
<field name="Frame Delta LFMin" start="864" end="895" type="uint"/>
<field name="Frame Delta QIndex LFMax Range" start="896" end="959" type="uint"/>
<field name="Frame Delta QIndex LFMin Range" start="960" end="991" type="uint"/>
+ <field name="Minimum Frame Size" start="992" end="1007" type="uint"/>
<field name="Minimum Frame Size Units" start="1022" end="1023" type="uint" prefix="VP9_MFSU">
<value name="4Kb" value="0"/>
<value name="16Kb" value="1"/>
<value name="Comaptibility mode" value="2"/>
<value name="16 bytes" value="3"/>
</field>
- <field name="Minimum Frame Size" start="992" end="1007" type="uint"/>
<field name="Bit Offset for First Partition Size" start="1024" end="1039" type="uint"/>
- <field name="Class0_SSE_Threshold1" start="1072" end="1087" type="uint"/>
<field name="Class0_SSE_Threshold0" start="1056" end="1071" type="uint"/>
+ <field name="Class0_SSE_Threshold1" start="1072" end="1087" type="uint"/>
<field name="SSE Thresholds for Class1-8" start="1088" end="1343" type="uint"/>
</instruction>
<instruction name="HCP_VP9_SEGMENT_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="50"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="50"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Segment ID" start="32" end="34" type="uint"/>
- <field name="Segment Reference Enable" start="67" end="67" type="bool"/>
- <field name="Segment Reference" start="65" end="66" type="uint"/>
<field name="Segment Skipped" start="64" end="64" type="bool"/>
- <field name="Filter Level Ref1 Mode 1" start="120" end="125" type="uint"/>
- <field name="Filter Level Ref1 Mode 0" start="112" end="117" type="uint"/>
- <field name="Filter Level Ref0 Mode 1" start="104" end="109" type="uint"/>
+ <field name="Segment Reference" start="65" end="66" type="uint"/>
+ <field name="Segment Reference Enable" start="67" end="67" type="bool"/>
<field name="Filter Level Ref0 Mode 0" start="96" end="101" type="uint"/>
- <field name="Filter Level Ref3 Mode 1" start="152" end="157" type="uint"/>
- <field name="Filter Level Ref3 Mode 0" start="144" end="149" type="uint"/>
- <field name="Filter Level Ref2 Mode 1" start="136" end="141" type="uint"/>
+ <field name="Filter Level Ref0 Mode 1" start="104" end="109" type="uint"/>
+ <field name="Filter Level Ref1 Mode 0" start="112" end="117" type="uint"/>
+ <field name="Filter Level Ref1 Mode 1" start="120" end="125" type="uint"/>
<field name="Filter Level Ref2 Mode 0" start="128" end="133" type="uint"/>
- <field name="Luma AC Quant Scale" start="176" end="190" type="uint"/>
+ <field name="Filter Level Ref2 Mode 1" start="136" end="141" type="uint"/>
+ <field name="Filter Level Ref3 Mode 0" start="144" end="149" type="uint"/>
+ <field name="Filter Level Ref3 Mode 1" start="152" end="157" type="uint"/>
<field name="Luma DC Quant Scale" start="160" end="174" type="uint"/>
- <field name="Chroma AC Quant Scale" start="208" end="222" type="uint"/>
+ <field name="Luma AC Quant Scale" start="176" end="190" type="uint"/>
<field name="Chroma DC Quant Scale" start="192" end="206" type="uint"/>
- <field name="Segment LF Level Delta" start="240" end="246" type="int"/>
+ <field name="Chroma AC Quant Scale" start="208" end="222" type="uint"/>
<field name="Segment QIndex Delta" start="224" end="232" type="int"/>
+ <field name="Segment LF Level Delta" start="240" end="246" type="int"/>
</instruction>
<instruction name="HCP_WEIGHTOFFSET_STATE" bias="2" length="42" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="19"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="19"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="16" start="64" size="32">
<field name="Luma Offsets" start="0" end="31" type="HCP_WEIGHTOFFSET_LUMA_ENTRY"/>
@@ -3823,14 +3817,14 @@
</instruction>
<instruction name="HEVC_VP9_RDOQ_STATE" bias="2" length="62" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="60"/>
- <field name="HTQ Performance Fix 0 Disable" start="63" end="63" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HTQ Performance Fix 1 Disable" start="62" end="62" type="bool"/>
+ <field name="HTQ Performance Fix 0 Disable" start="63" end="63" type="bool"/>
<group count="32" start="64" size="32">
<field name="Intra Luma Lambda" start="0" end="31" type="HEVC_VP9_RDOQ_LAMBDA_FIELDS"/>
</group>
@@ -3846,11 +3840,11 @@
</instruction>
<instruction name="HUC_CFG_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="P24C" start="32" end="32" type="uint">
<value name="Normal operation" value="0"/>
<value name="Force reset" value="1"/>
@@ -3858,11 +3852,11 @@
</instruction>
<instruction name="HUC_DMEM_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Data Source - Address" start="32" end="95" type="address"/>
<field name="HUC Data Source - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HUC Data Destination - Address" start="134" end="144" type="address"/>
@@ -3870,20 +3864,20 @@
</instruction>
<instruction name="HUC_IMEM_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Firmware Descriptor" start="128" end="135" type="uint"/>
</instruction>
<instruction name="HUC_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Indirect Stream-In Object - Address" start="32" end="95" type="address"/>
<field name="HUC Indirect Stream-In Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HUC Indirect Stream-In Object - Access Upper Bound" start="128" end="191" type="address"/>
@@ -3893,107 +3887,107 @@
</instruction>
<instruction name="HUC_PIPE_MODE_SELECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Stream-Out Enable" start="36" end="36" type="bool"/>
<field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
</instruction>
<instruction name="HUC_START" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Last Stream Object" start="32" end="32" type="bool"/>
</instruction>
<instruction name="HUC_STREAM_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Stream-In Data Length" start="32" end="63" type="uint"/>
- <field name="HuC Processing" start="95" end="95" type="bool"/>
<field name="Indirect Stream-In - Address" start="64" end="92" type="address"/>
+ <field name="HuC Processing" start="95" end="95" type="bool"/>
<field name="Indirect Stream-Out - Address" start="96" end="124" type="address"/>
- <field name="HUC Bitstream Enable" start="157" end="157" type="bool"/>
+ <field name="Start Code Byte [0]" start="128" end="135" type="uint"/>
+ <field name="Start Code Byte [1]" start="136" end="143" type="uint"/>
+ <field name="Start Code Byte [2]" start="144" end="151" type="uint"/>
+ <field name="Start Code Search Engine" start="152" end="152" type="bool"/>
+ <field name="Emulation Prevention Byte Removal" start="153" end="153" type="bool"/>
+ <field name="Stream-Out" start="154" end="154" type="bool"/>
<field name="DRM Length Mode" start="155" end="156" type="uint">
<value name="Start Code Mode" value="0"/>
<value name="Length Mode" value="1"/>
</field>
- <field name="Stream-Out" start="154" end="154" type="bool"/>
- <field name="Emulation Prevention Byte Removal" start="153" end="153" type="bool"/>
- <field name="Start Code Search Engine" start="152" end="152" type="bool"/>
- <field name="Start Code Byte [2]" start="144" end="151" type="uint"/>
- <field name="Start Code Byte [1]" start="136" end="143" type="uint"/>
- <field name="Start Code Byte [0]" start="128" end="135" type="uint"/>
+ <field name="HUC Bitstream Enable" start="157" end="157" type="bool"/>
</instruction>
<instruction name="HUC_VIRTUAL_ADDR_STATE" bias="2" length="49" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="96">
<field name="HUC Virtual Address Region" start="0" end="95" type="HUC_VIRTUAL_ADDR_REGION"/>
</group>
</instruction>
<instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
<field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
<field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
</instruction>
<instruction name="MEDIA_OBJECT" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="14" type="uint" default="4"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="SubSlice Destination Select" start="81" end="82" type="uint">
+ <value name="Subslice 3" value="3"/>
+ <value name="SubSlice 2" value="2"/>
+ <value name="SubSlice 1" value="1"/>
+ <value name="SubSlice 0" value="0"/>
</field>
- <field name="Force Destination" start="86" end="86" type="uint"/>
<field name="Slice Destination Select" start="83" end="84" type="uint">
<value name="Slice 0" value="0"/>
<value name="Slice 1" value="1"/>
<value name="Slice 2" value="2"/>
</field>
- <field name="SubSlice Destination Select" start="81" end="82" type="uint">
- <value name="Subslice 3" value="3"/>
- <value name="SubSlice 2" value="2"/>
- <value name="SubSlice 1" value="1"/>
- <value name="SubSlice 0" value="0"/>
+ <field name="Force Destination" start="86" end="86" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Y Position" start="144" end="152" type="uint"/>
<field name="X Position" start="128" end="136" type="uint"/>
+ <field name="Y Position" start="144" end="152" type="uint"/>
<field name="Block Color" start="176" end="183" type="uint"/>
<group count="0" start="192" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
@@ -4001,17 +3995,17 @@
</instruction>
<instruction name="MEDIA_OBJECT_GRPID" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="15" type="uint" default="5"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="End of Thread Group" start="87" end="87" type="uint"/>
<field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="End of Thread Group" start="87" end="87" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Y Position" start="144" end="152" type="uint"/>
<field name="X Position" start="128" end="136" type="uint"/>
+ <field name="Y Position" start="144" end="152" type="uint"/>
<field name="Block Color" start="176" end="183" type="uint"/>
<field name="GroupID" start="192" end="223" type="uint"/>
<group count="0" start="224" size="32">
@@ -4020,36 +4014,36 @@
</instruction>
<instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="14" type="uint" default="14"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
<field name="PRT_FenceType" start="86" end="86" type="uint">
<value name="Root thread queue" value="0"/>
<value name="VFE state flush" value="1"/>
</field>
+ <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<group count="12" start="128" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="14" type="uint" default="15"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Masked Dispatch" start="86" end="87" type="uint"/>
<field name="Thread Synchronization" start="88" end="88" type="uint">
<value name="No thread synchronization" value="0"/>
<value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
</field>
- <field name="Masked Dispatch" start="86" end="87" type="uint"/>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="uint"/>
<field name="Group ID Loop Select" start="168" end="191" type="uint">
<value name="No_Groups" value="0"/>
@@ -4059,70 +4053,70 @@
<value name="OuterLocal_Groups" value="4"/>
<value name="InnerGlobal_Groups" value="5"/>
</field>
- <field name="Color Count Minus One" start="216" end="223" type="uint"/>
- <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
- <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
<field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
- <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
+ <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
+ <field name="Color Count Minus One" start="216" end="223" type="uint"/>
<field name="Local Loop Exec Count" start="224" end="235" type="uint"/>
- <field name="Block Resolution Y" start="272" end="282" type="uint"/>
+ <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
<field name="Block Resolution X" start="256" end="266" type="uint"/>
- <field name="Local Start Y" start="304" end="314" type="uint"/>
+ <field name="Block Resolution Y" start="272" end="282" type="uint"/>
<field name="Local Start X" start="288" end="298" type="uint"/>
- <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
+ <field name="Local Start Y" start="304" end="314" type="uint"/>
<field name="Local Outer Loop Stride X" start="352" end="363" type="int"/>
- <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
+ <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
<field name="Local Inner Loop Unit X" start="384" end="395" type="int"/>
- <field name="Global Resolution Y" start="432" end="442" type="uint"/>
+ <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
<field name="Global Resolution X" start="416" end="426" type="uint"/>
- <field name="Global Start Y" start="464" end="475" type="int"/>
+ <field name="Global Resolution Y" start="432" end="442" type="uint"/>
<field name="Global Start X" start="448" end="459" type="int"/>
- <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
+ <field name="Global Start Y" start="464" end="475" type="int"/>
<field name="Global Outer Loop Stride X" start="480" end="491" type="int"/>
- <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
+ <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
<field name="Global Inner Loop Unit X" start="512" end="523" type="int"/>
+ <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
<group count="0" start="544" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="Flush to GO" start="39" end="39" type="bool"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Flush to GO" start="39" end="39" type="bool"/>
</instruction>
<instruction name="MEDIA_VFE_STATE" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="7"/>
- <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
- <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
- <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
- <field name="Number of URB Entries" start="104" end="111" type="uint"/>
+ <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
<field name="Dispatch Load Balance" start="98" end="98" type="uint">
<value name="Color LSB" value="1"/>
<value name="Least Loaded" value="0"/>
</field>
+ <field name="Number of URB Entries" start="104" end="111" type="uint"/>
+ <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
<field name="Maximum Number of Dual-Subslices" start="128" end="135" type="uint"/>
- <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
<field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
+ <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
</instruction>
<instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="12" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="10"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<group count="8" start="96" size="32">
@@ -4134,164 +4128,164 @@
</instruction>
<instruction name="MFC_JPEG_HUFF_TABLE_STATE" bias="2" length="176" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="174"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huff Table ID" start="32" end="32" type="uint"/>
<field name="DC_TABLE" start="64" end="447" type="uint"/>
<field name="AC_TABLE" start="448" end="5631" type="uint"/>
</instruction>
<instruction name="MFC_JPEG_SCAN_OBJECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MCU Count" start="32" end="57" type="uint"/>
- <field name="Huffman AC Table" start="86" end="88" type="uint"/>
- <field name="Huffman DC Table" start="82" end="84" type="uint"/>
- <field name="Head Present" start="81" end="81" type="bool"/>
- <field name="Last Scan" start="80" end="80" type="bool"/>
<field name="Restart Interval" start="64" end="79" type="uint"/>
+ <field name="Last Scan" start="80" end="80" type="bool"/>
+ <field name="Head Present" start="81" end="81" type="bool"/>
+ <field name="Huffman DC Table" start="82" end="84" type="uint"/>
+ <field name="Huffman AC Table" start="86" end="88" type="uint"/>
</instruction>
<instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="7"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="8" start="32" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
- <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
- <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Stream ID" start="32" end="33" type="uint"/>
+ <field name="Slice ID" start="36" end="39" type="uint"/>
+ <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
+ <field name="Intra Slice" start="45" end="45" type="bool"/>
+ <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
+ <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
+ <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
+ <field name="Header Insertion Present" start="49" end="49" type="bool"/>
+ <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
+ <field name="Last Slice" start="51" end="51" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
+ <field name="Rate Control Panic Type" start="54" end="54" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
<field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
- <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
- <field name="Rate Control Panic Type" start="54" end="54" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
- <field name="Last Slice" start="51" end="51" type="bool"/>
- <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
- <field name="Header Insertion Present" start="49" end="49" type="bool"/>
- <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
- <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
- <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
- <field name="Intra Slice" start="45" end="45" type="bool"/>
- <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
- <field name="Slice ID" start="36" end="39" type="uint"/>
- <field name="Stream ID" start="32" end="33" type="uint"/>
- <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
- <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
- <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
<field name="First MB X Count" start="64" end="71" type="uint"/>
- <field name="Slice Group Skip" start="104" end="104" type="bool"/>
+ <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
+ <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
<field name="Slice Group QP" start="96" end="101" type="uint"/>
+ <field name="Slice Group Skip" start="104" end="104" type="bool"/>
<field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
- <field name="Shrink Resistance" start="172" end="175" type="uint"/>
- <field name="Shrink Init" start="168" end="171" type="uint"/>
- <field name="Grow Resistance" start="164" end="167" type="uint"/>
<field name="Grow Init" start="160" end="163" type="uint"/>
- <field name="Correct 6" start="212" end="215" type="uint"/>
- <field name="Correct 5" start="208" end="211" type="uint"/>
- <field name="Correct 4" start="204" end="207" type="uint"/>
- <field name="Correct 3" start="200" end="203" type="uint"/>
- <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Grow Resistance" start="164" end="167" type="uint"/>
+ <field name="Shrink Init" start="168" end="171" type="uint"/>
+ <field name="Shrink Resistance" start="172" end="175" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
<field name="Correct 1" start="192" end="195" type="uint"/>
- <field name="CV7" start="252" end="255" type="uint"/>
- <field name="CV6" start="248" end="251" type="uint"/>
- <field name="CV5" start="244" end="247" type="uint"/>
- <field name="CV4" start="240" end="243" type="uint"/>
- <field name="CV3" start="236" end="239" type="uint"/>
- <field name="CV2" start="232" end="235" type="uint"/>
- <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Correct 3" start="200" end="203" type="uint"/>
+ <field name="Correct 4" start="204" end="207" type="uint"/>
+ <field name="Correct 5" start="208" end="211" type="uint"/>
+ <field name="Correct 6" start="212" end="215" type="uint"/>
<field name="CV0" start="224" end="227" type="uint"/>
+ <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="CV2" start="232" end="235" type="uint"/>
+ <field name="CV3" start="236" end="239" type="uint"/>
+ <field name="CV4" start="240" end="243" type="uint"/>
+ <field name="CV5" start="244" end="247" type="uint"/>
+ <field name="CV6" start="248" end="251" type="uint"/>
+ <field name="CV7" start="252" end="255" type="uint"/>
</instruction>
<instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
<field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
</instruction>
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <group count="16" start="48" size="1">
- <field name="Long Term Frame" start="0" end="0" type="uint"/>
- </group>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="1">
- <field name="Non-Existing Frame" start="0" end="0" type="uint">
- <value name="INVALID" value="1"/>
- <value name="VALID" value="0"/>
- </field>
+ <field name="Non-Existing Frame" start="0" end="0" type="uint">
+ <value name="INVALID" value="1"/>
+ <value name="VALID" value="0"/>
+ </field>
+ </group>
+ <group count="16" start="48" size="1">
+ <field name="Long Term Frame" start="0" end="0" type="uint"/>
</group>
<group count="16" start="64" size="2">
- <field name="Used for Reference" start="0" end="1" type="uint">
- <value name="NOT_REFERENCE" value="0"/>
- <value name="TOP_FIELD" value="1"/>
- <value name="BOTTOM_FIELD" value="2"/>
- <value name="FRAME" value="3"/>
- </field>
+ <field name="Used for Reference" start="0" end="1" type="uint">
+ <value name="NOT_REFERENCE" value="0"/>
+ <value name="TOP_FIELD" value="1"/>
+ <value name="BOTTOM_FIELD" value="2"/>
+ <value name="FRAME" value="3"/>
+ </field>
</group>
<group count="16" start="96" size="16">
- <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
- <value name="Long Term Frame" value="1"/>
- <value name="Short Term Frame" value="0"/>
- </field>
+ <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
+ <value name="Long Term Frame" value="1"/>
+ <value name="Short Term Frame" value="0"/>
+ </field>
</group>
<group count="16" start="352" size="16">
- <field name="View ID" start="0" end="15" type="uint"/>
+ <field name="View ID" start="0" end="15" type="uint"/>
</group>
<group count="16" start="608" size="8">
- <field name="L0 View Order" start="0" end="7" type="uint"/>
+ <field name="L0 View Order" start="0" end="7" type="uint"/>
</group>
<group count="16" start="736" size="8">
- <field name="L1 View Order" start="0" end="7" type="uint"/>
+ <field name="L1 View Order" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFD_AVC_PICID_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="PictureID Remapping Disable" start="32" end="32" type="uint">
<value name="Use 16 bits Picture ID" value="0"/>
<value name="Use 4 bits FrameStoreID" value="1"/>
@@ -4302,28 +4296,28 @@
</instruction>
<instruction name="MFD_AVC_SLICEADDR" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
+ <field name="Driver Provided NAL Type Value" start="96" end="103" type="uint"/>
<field name="AVC NAL Type First Byte Override" start="104" end="104" type="uint">
<value name="Use Bitstream Decoded NAL Type" value="0"/>
<value name="Use Driver Programmed NAL Type" value="1"/>
</field>
- <field name="Driver Provided NAL Type Value" start="96" end="103" type="uint"/>
</instruction>
<instruction name="MFD_IT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
@@ -4336,204 +4330,204 @@
</instruction>
<instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="63" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
- <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="Scan Vertical Position" start="96" end="108" type="uint"/>
- <field name="Interleaved" start="158" end="158" type="bool"/>
- <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="MCU Count" start="128" end="153" type="uint"/>
+ <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Interleaved" start="158" end="158" type="bool"/>
<field name="Restart Interval" start="160" end="175" type="uint"/>
</instruction>
<instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
</instruction>
<instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
- <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
- <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="First MB Bit Offset" start="128" end="130" type="uint"/>
+ <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
</instruction>
<instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width In MBs" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
- <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
- <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
- <field name="Sync Marker" start="76" end="76" type="bool"/>
- <field name="MV Mode" start="72" end="75" type="uint"/>
- <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
- <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
- <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
- <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
<field name="VC1 Profile" start="64" end="64" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="CONDOVER" start="125" end="126" type="uint"/>
- <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
+ <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
+ <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
+ <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
+ <field name="MV Mode" start="72" end="75" type="uint"/>
+ <field name="Sync Marker" start="76" end="76" type="bool"/>
+ <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
+ <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="B Scale Factor" start="96" end="103" type="uint"/>
+ <field name="PQ Value" start="104" end="108" type="uint"/>
+ <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
<field name="Frame Coding Mode" start="120" end="121" type="uint">
<value name="Progressive Frame Picture" value="0"/>
<value name="Interlaced Frame Picture" value="1"/>
<value name="Field Picture with Top Field First" value="2"/>
<value name="Field Picture with Bottom Field First" value="3"/>
</field>
- <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
- <field name="PQ Value" start="104" end="108" type="uint"/>
- <field name="B Scale Factor" start="96" end="103" type="uint"/>
- <field name="Unified MV Mode" start="156" end="157" type="uint">
- <value name="1-MV half-pel bilinear" value="3"/>
- <value name="1-MV" value="1"/>
- <value name="1-MV half-pel" value="2"/>
- <value name="Mixed MV" value="0"/>
+ <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="CONDOVER" start="125" end="126" type="uint"/>
+ <field name="PQ Uniform" start="128" end="128" type="bool"/>
+ <field name="Half QP" start="129" end="129" type="bool"/>
+ <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
+ <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
+ <field name="Extended MV Range" start="136" end="137" type="uint"/>
+ <field name="Extended DMV Range" start="138" end="139" type="uint"/>
+ <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
+ <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
+ <field name="Number of References" start="152" end="152" type="uint">
+ <value name="One field referenced" value="0"/>
+ <value name="Two fields referenced" value="1"/>
</field>
- <field name="Four MV Switch" start="155" end="155" type="uint">
- <value name="Only 1-MV" value="0"/>
- <value name="1, 2, or 4 MVs" value="1"/>
+ <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
+ <value name="Top (even) Field" value="0"/>
+ <value name="Bottom (odd) Field" value="1"/>
</field>
<field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
- <value name="Top (even) Field" value="0"/>
- <value name="Bottom (odd) Field" value="1"/>
+ <field name="Four MV Switch" start="155" end="155" type="uint">
+ <value name="Only 1-MV" value="0"/>
+ <value name="1, 2, or 4 MVs" value="1"/>
</field>
- <field name="Number of References" start="152" end="152" type="uint">
- <value name="One field referenced" value="0"/>
- <value name="Two fields referenced" value="1"/>
+ <field name="Unified MV Mode" start="156" end="157" type="uint">
+ <value name="1-MV half-pel bilinear" value="3"/>
+ <value name="1-MV" value="1"/>
+ <value name="1-MV half-pel" value="2"/>
+ <value name="Mixed MV" value="0"/>
</field>
- <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
- <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
- <field name="Extended DMV Range" start="138" end="139" type="uint"/>
- <field name="Extended MV Range" start="136" end="137" type="uint"/>
- <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
- <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
- <field name="Half QP" start="129" end="129" type="bool"/>
- <field name="PQ Uniform" start="128" end="128" type="bool"/>
- <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
- <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
- <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
- <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
- <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
- <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
- <field name="ACPRED Raw" start="185" end="185" type="bool"/>
- <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
- <field name="MV Table" start="180" end="182" type="uint"/>
- <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
- <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
+ <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
+ <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
+ <field name="MB Mode Table" start="168" end="170" type="uint"/>
+ <field name="MB Transform Type" start="171" end="171" type="bool"/>
<field name="Picture-level Transform Type" start="172" end="173" type="uint">
<value name="8x8 Transform" value="0"/>
<value name="8x4 Transform" value="1"/>
<value name="4x8 Transform" value="2"/>
<value name="4x4 Transform" value="3"/>
</field>
- <field name="MB Transform Type" start="171" end="171" type="bool"/>
- <field name="MB Mode Table" start="168" end="170" type="uint"/>
- <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
- <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
- <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
- <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
+ <field name="MV Table" start="180" end="182" type="uint"/>
+ <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
+ <field name="ACPRED Raw" start="185" end="185" type="bool"/>
+ <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
+ <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
+ <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
+ <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
+ <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
+ <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
</instruction>
<instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
- <field name="MV Mode" start="80" end="83" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="Picture Structure" start="64" end="65" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Intra Picture" start="68" end="68" type="bool"/>
+ <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
<field name="VC1 Profile" start="75" end="75" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
- <field name="Intra Picture" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
- <field name="Picture Structure" start="64" end="65" type="uint"/>
- <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
- <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
- <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
- <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
- <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
- <field name="QUANTIZER" start="110" end="111" type="uint"/>
- <field name="MULTIRES Present" start="109" end="109" type="bool"/>
- <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
- <field name="RANGERED Present" start="107" end="107" type="bool"/>
- <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
- <field name="PANSCAN Present" start="103" end="103" type="bool"/>
- <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
- <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="MV Mode" start="80" end="83" type="uint"/>
+ <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
+ <field name="DQUANT" start="97" end="98" type="uint"/>
+ <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
<field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
- <field name="DQUANT" start="97" end="98" type="uint"/>
- <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
- <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
- <field name="4-MV Allowed" start="136" end="136" type="bool"/>
- <field name="POSTPROC" start="135" end="135" type="bool"/>
- <field name="PULLDOWN" start="134" end="134" type="bool"/>
- <field name="INTERLACE" start="133" end="133" type="bool"/>
- <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
- <field name="FINTERFLAG" start="131" end="131" type="bool"/>
- <field name="REFPIC" start="130" end="130" type="bool"/>
- <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
+ <field name="PANSCAN Present" start="103" end="103" type="bool"/>
+ <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
+ <field name="RANGERED Present" start="107" end="107" type="bool"/>
+ <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
+ <field name="MULTIRES Present" start="109" end="109" type="bool"/>
+ <field name="QUANTIZER" start="110" end="111" type="uint"/>
+ <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
+ <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
+ <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
+ <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
+ <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
<field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
+ <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="REFPIC" start="130" end="130" type="bool"/>
+ <field name="FINTERFLAG" start="131" end="131" type="bool"/>
+ <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
+ <field name="INTERLACE" start="133" end="133" type="bool"/>
+ <field name="PULLDOWN" start="134" end="134" type="bool"/>
+ <field name="POSTPROC" start="135" end="135" type="bool"/>
+ <field name="4-MV Allowed" start="136" end="136" type="bool"/>
+ <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
</instruction>
<instruction name="MFD_VP8_BSD_OBJECT" bias="2" length="22" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="20"/>
- <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
- <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
- <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Partition0 First MB Bit Offset from Frame Header" start="32" end="34" type="uint"/>
+ <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
<field name="Partition0 CPBAC Entropy Value" start="88" end="95" type="uint"/>
<field name="Indirect Partition0 Data Length" start="96" end="119" type="uint"/>
<field name="Indirect Partition0 Data Start Offset" start="128" end="159" type="uint"/>
@@ -4553,24 +4547,24 @@
<field name="Indirect Partition7 Data Start Offset" start="576" end="607" type="uint"/>
<field name="Indirect Partition8 Data Length" start="608" end="631" type="uint"/>
<field name="Indirect Partition8 Data Start Offset" start="640" end="671" type="uint"/>
+ <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
+ <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
+ <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
+ <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
+ <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
<field name="Concealment Method" start="703" end="703" type="uint">
<value name="Intra 16x16 Prediction" value="0"/>
<value name="Inter P Copy" value="1"/>
</field>
- <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
- <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
- <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
- <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
</instruction>
<instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="71" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="69"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="64">
<field name="Direct MV Buffer - Address" start="0" end="63" type="address"/>
</group>
@@ -4583,128 +4577,128 @@
</instruction>
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="12"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Size" start="32" end="47" type="uint"/>
- <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Frame Width" start="64" end="71" type="uint"/>
- <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
- <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
- <field name="Rho Domain Rate Control Enable" start="109" end="109" type="bool"/>
- <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
- <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
- <value name="DEFAULT" value="0"/>
- <value name="EXPLICIT" value="1"/>
- <value name="IMPLICIT" value="2"/>
- </field>
+ <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Image Structure" start="104" end="105" type="uint">
<value name="Frame Picture" value="0"/>
<value name="Top Field Picture" value="1"/>
<value name="Bottom Field Picture" value="3"/>
<value name="Invalid, not allowed." value="2"/>
</field>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="MB Status Read" start="143" end="143" type="bool"/>
- <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
- <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
+ <value name="DEFAULT" value="0"/>
+ <value name="EXPLICIT" value="1"/>
+ <value name="IMPLICIT" value="2"/>
+ </field>
+ <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
+ <field name="Rho Domain Rate Control Enable" start="109" end="109" type="bool"/>
+ <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
+ <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
+ <field name="Field Picure" start="128" end="128" type="bool"/>
+ <field name="MBAFF Mode" start="129" end="129" type="bool"/>
+ <field name="Frame MB Only" start="130" end="130" type="bool"/>
+ <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
+ <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
+ <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
+ <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
+ <field name="MB MV Format" start="136" end="136" type="uint">
+ <value name="IGNORE" value="0"/>
+ <value name="FOLLOW" value="1"/>
+ </field>
<field name="Chroma Format IDC" start="138" end="139" type="uint">
<value name="Monochrome picture" value="0"/>
<value name="4:2:0 picture" value="1"/>
<value name="4:2:2 picture (not supported)" value="2"/>
<value name="4:4:4 picture (not supported)" value="3"/>
</field>
- <field name="MB MV Format" start="136" end="136" type="uint">
- <value name="IGNORE" value="0"/>
- <value name="FOLLOW" value="1"/>
- </field>
- <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
- <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
- <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
- <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
- <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
- <field name="Frame MB Only" start="130" end="130" type="bool"/>
- <field name="MBAFF Mode" start="129" end="129" type="bool"/>
- <field name="Field Picure" start="128" end="128" type="bool"/>
- <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
- <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
- <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
- <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
+ <field name="MB Status Read" start="143" end="143" type="bool"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
+ <field name="Force IPCM Control" start="167" end="167" type="bool"/>
+ <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="AVC_MFSU">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
- <field name="Force IPCM Control" start="167" end="167" type="bool"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
+ <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
+ <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
- <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
- <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
- <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
- <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
<field name="Initial QP Value" start="416" end="423" type="int"/>
- <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
- <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
- <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
- <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
- <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
- <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
- <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
- <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
+ <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
+ <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
<field name="Pic Order Present" start="448" end="448" type="bool"/>
- <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
+ <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
+ <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
+ <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
+ <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
+ <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
+ <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
+ <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
<field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
- <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
- <field name="Max View IDXL1" start="530" end="533" type="uint"/>
- <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
<field name="Current Frame View ID" start="512" end="521" type="uint"/>
- <field name="Rho Domain Average MB QP" start="560" end="565" type="uint"/>
- <field name="Extended Rho Domain Statistics Enable" start="552" end="552" type="bool"/>
- <field name="Fractional QP Offset" start="547" end="549" type="uint"/>
+ <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Max View IDXL1" start="530" end="533" type="uint"/>
+ <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
<field name="Fractional QP Input" start="544" end="546" type="uint"/>
+ <field name="Fractional QP Offset" start="547" end="549" type="uint"/>
+ <field name="Extended Rho Domain Statistics Enable" start="552" end="552" type="bool"/>
+ <field name="Rho Domain Average MB QP" start="560" end="565" type="uint"/>
<field name="Threshold Size" start="608" end="639" type="uint"/>
<field name="Target Slice Size" start="640" end="671" type="uint"/>
</instruction>
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="32" start="64" size="8">
<field name="Reference List Entry" start="0" end="7" type="uint"/>
@@ -4712,68 +4706,73 @@
</instruction>
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Type" start="32" end="35" type="uint" prefix="AVC_ST">
<value name="P Slice" value="0"/>
<value name="B Slice" value="1"/>
<value name="I Slice" value="2"/>
</field>
- <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
- <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
- <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
+ <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
+ <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
+ <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
+ <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
+ <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
+ <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
<field name="Direct Prediction Type" start="125" end="125" type="uint">
<value name="Temporal" value="0"/>
<value name="Spatial" value="1"/>
</field>
- <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
- <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
- <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
- <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
- <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
- <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
- <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
<field name="Slice Start MB Number" start="128" end="142" type="uint"/>
- <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
<field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
- <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
- <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Slice ID" start="196" end="199" type="uint"/>
+ <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
+ <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
+ <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
+ <field name="Header Insertion Present" start="209" end="209" type="bool"/>
+ <field name="Last Slice Group" start="211" end="211" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
+ <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
+ <field name="Rate Control Panic Type" start="214" end="214" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
<field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
- <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
- <field name="Rate Control Panic Type" start="214" end="214" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
- <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
- <field name="Last Slice Group" start="211" end="211" type="bool"/>
- <field name="Header Insertion Present" start="209" end="209" type="bool"/>
- <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
- <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
- <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
- <field name="Slice ID" start="196" end="199" type="uint"/>
- <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
<field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
- <field name="Shrink Resistance" start="268" end="271" type="uint"/>
- <field name="Shrink Init" start="264" end="267" type="uint"/>
- <field name="Grow Resistance" start="260" end="263" type="uint"/>
<field name="Grow Init" start="256" end="259" type="uint"/>
- <field name="Round Inter Enable" start="319" end="319" type="bool"/>
- <field name="Round Inter" start="316" end="318" type="uint">
+ <field name="Grow Resistance" start="260" end="263" type="uint"/>
+ <field name="Shrink Init" start="264" end="267" type="uint"/>
+ <field name="Shrink Resistance" start="268" end="271" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
+ <field name="Correct 1" start="288" end="291" type="uint"/>
+ <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Correct 3" start="296" end="299" type="uint"/>
+ <field name="Correct 4" start="300" end="303" type="uint"/>
+ <field name="Correct 5" start="304" end="307" type="uint"/>
+ <field name="Correct 6" start="308" end="311" type="uint"/>
+ <field name="Round Intra" start="312" end="314" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -4784,7 +4783,7 @@
<value name="+8/16" value="7"/>
</field>
<field name="Round Intra Enable" start="315" end="315" type="bool"/>
- <field name="Round Intra" start="312" end="314" type="uint">
+ <field name="Round Inter" start="316" end="318" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -4794,29 +4793,24 @@
<value name="+7/16" value="6"/>
<value name="+8/16" value="7"/>
</field>
- <field name="Correct 6" start="308" end="311" type="uint"/>
- <field name="Correct 5" start="304" end="307" type="uint"/>
- <field name="Correct 4" start="300" end="303" type="uint"/>
- <field name="Correct 3" start="296" end="299" type="uint"/>
- <field name="Correct 2" start="292" end="295" type="uint"/>
- <field name="Correct 1" start="288" end="291" type="uint"/>
- <field name="CV7" start="348" end="351" type="uint"/>
- <field name="CV6" start="344" end="347" type="uint"/>
- <field name="CV5" start="340" end="343" type="uint"/>
- <field name="CV4" start="336" end="339" type="uint"/>
- <field name="CV3" start="332" end="335" type="uint"/>
- <field name="CV2" start="328" end="331" type="uint"/>
- <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="Round Inter Enable" start="319" end="319" type="bool"/>
<field name="CV0" start="320" end="323" type="uint"/>
+ <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="CV2" start="328" end="331" type="uint"/>
+ <field name="CV3" start="332" end="335" type="uint"/>
+ <field name="CV4" start="336" end="339" type="uint"/>
+ <field name="CV5" start="340" end="343" type="uint"/>
+ <field name="CV6" start="344" end="347" type="uint"/>
+ <field name="CV7" start="348" end="351" type="uint"/>
</instruction>
<instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="96"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weight and Offset Select" start="32" end="32" type="uint">
<value name="L0 table" value="0"/>
<value name="L1 table" value="1"/>
@@ -4827,12 +4821,12 @@
</instruction>
<instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="79" type="address"/>
<field name="BSD/MPC Row Store Scratch Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="MPR Row Store Scratch Buffer - Address" start="134" end="175" type="address"/>
@@ -4842,81 +4836,81 @@
</instruction>
<instruction name="MFX_DBK_OBJECT" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="11"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Source - Address" start="38" end="79" type="address"/>
- <field name="Pre Deblocking Source - Tiled Resource Mode" start="109" end="110" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Pre Deblocking Source - Memory Compression Mode" start="106" end="106" type="uint"/>
- <field name="Pre Deblocking Source - Memory Compression Enable" start="105" end="105" type="bool"/>
+ <field name="Pre Deblocking Source - MOCS" start="97" end="102" type="uint"/>
<field name="Pre Deblocking Source - Arbitration Priority Control" start="103" end="104" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Pre Deblocking Source - MOCS" start="97" end="102" type="uint"/>
- <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
- <field name="Deblocking Control - Tiled Resource Mode" start="205" end="206" type="uint">
+ <field name="Pre Deblocking Source - Memory Compression Enable" start="105" end="105" type="bool"/>
+ <field name="Pre Deblocking Source - Memory Compression Mode" start="106" end="106" type="uint"/>
+ <field name="Pre Deblocking Source - Tiled Resource Mode" start="109" end="110" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblocking Control - Memory Compression Mode" start="202" end="202" type="uint"/>
- <field name="Deblocking Control - Memory Compression Enable" start="201" end="201" type="bool"/>
+ <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
+ <field name="Deblocking Control - MOCS" start="193" end="198" type="uint"/>
<field name="Deblocking Control - Arbitration Priority Control" start="199" end="200" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Control - MOCS" start="193" end="198" type="uint"/>
- <field name="Deblocking Destination - Address High" start="230" end="271" type="address"/>
- <field name="Deblocking Destination - Tiled Resource Mode" start="301" end="302" type="uint">
+ <field name="Deblocking Control - Memory Compression Enable" start="201" end="201" type="bool"/>
+ <field name="Deblocking Control - Memory Compression Mode" start="202" end="202" type="uint"/>
+ <field name="Deblocking Control - Tiled Resource Mode" start="205" end="206" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblocking Destination - Memory Compression Mode" start="298" end="298" type="uint"/>
- <field name="Deblocking Destination - Memory Compression Enable" start="297" end="297" type="bool"/>
+ <field name="Deblocking Destination - Address High" start="230" end="271" type="address"/>
+ <field name="Deblocking Destination - MOCS" start="289" end="294" type="uint"/>
<field name="Deblocking Destination - Arbitration Priority Control" start="295" end="296" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Destination - MOCS" start="289" end="294" type="uint"/>
- <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
- <field name="Deblock Row Store - Tiled Resource Mode" start="397" end="398" type="uint">
+ <field name="Deblocking Destination - Memory Compression Enable" start="297" end="297" type="bool"/>
+ <field name="Deblocking Destination - Memory Compression Mode" start="298" end="298" type="uint"/>
+ <field name="Deblocking Destination - Tiled Resource Mode" start="301" end="302" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblock Row Store - Memory Compression Mode" start="394" end="394" type="uint"/>
- <field name="Deblock Row Store - Memory Compression Enable" start="393" end="393" type="bool"/>
+ <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
+ <field name="CoeffProbability Stream-In - MOCS" start="385" end="390" type="uint"/>
<field name="Deblock Row Store - Arbitration Priority Control" start="391" end="392" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - MOCS" start="385" end="390" type="uint"/>
+ <field name="Deblock Row Store - Memory Compression Enable" start="393" end="393" type="bool"/>
+ <field name="Deblock Row Store - Memory Compression Mode" start="394" end="394" type="uint"/>
+ <field name="Deblock Row Store - Tiled Resource Mode" start="397" end="398" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</instruction>
<instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -4938,12 +4932,12 @@
</instruction>
<instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="26" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="24"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MFX Indirect Bitstream Object - Address" start="32" end="95" type="address"/>
<field name="MFX Indirect Bitstream Object - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="MFX Indirect Bitstream Object - Upper Bound" start="128" end="191" type="address"/>
@@ -4962,46 +4956,46 @@
</instruction>
<instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="829"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huffman Table ID" start="32" end="32" type="uint"/>
<group count="12" start="64" size="8">
- <field name="DC_BITS" start="0" end="7" type="uint"/>
+ <field name="DC_BITS" start="0" end="7" type="uint"/>
</group>
<group count="12" start="160" size="8">
- <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="16" start="256" size="8">
- <field name="AC_BITS" start="0" end="15" type="uint"/>
+ <field name="AC_BITS" start="0" end="15" type="uint"/>
</group>
<group count="160" start="384" size="8">
- <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="2" start="1664" size="8">
- <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
- <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
- <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
- <field name="Average Down Sampling" start="48" end="48" type="uint"/>
- <field name="Output Format YUV" start="40" end="43" type="uint"/>
- <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Format YUV" start="32" end="34" type="uint"/>
- <field name="Pixels In Horizontal Last MCU" start="58" end="62" type="uint"/>
- <field name="Pixels In Vertical Last MCU" start="53" end="57" type="uint"/>
+ <field name="Output MCU Structure" start="32" end="34" type="uint" prefix="MCU">
+ <value name="YUV400" value="0"/>
+ <value name="YUV420" value="1"/>
+ <value name="YUV422H_2Y" value="2"/>
+ <value name="RGB" value="3"/>
+ </field>
+ <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="Output Format YUV" start="40" end="43" type="uint"/>
<field name="Input Surface Format YUV" start="40" end="43" type="uint" prefix="IS">
<value name="NV12" value="1"/>
<value name="UYVY" value="2"/>
@@ -5009,56 +5003,58 @@
<value name="Y8" value="4"/>
<value name="RGB" value="5"/>
</field>
- <field name="Output MCU Structure" start="32" end="34" type="uint" prefix="MCU">
- <value name="YUV400" value="0"/>
- <value name="YUV420" value="1"/>
- <value name="YUV422H_2Y" value="2"/>
- <value name="RGB" value="3"/>
- </field>
- <field name="Output Pixel Normalize" start="93" end="93" type="uint"/>
- <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Average Down Sampling" start="48" end="48" type="uint"/>
+ <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
+ <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
+ <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
+ <field name="Pixels In Vertical Last MCU" start="53" end="57" type="uint"/>
+ <field name="Pixels In Horizontal Last MCU" start="58" end="62" type="uint"/>
<field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
<field name="Rounding Quant" start="77" end="79" type="uint"/>
+ <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Output Pixel Normalize" start="93" end="93" type="uint"/>
</instruction>
<instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="F_code[1][1]" start="60" end="63" type="uint"/>
- <field name="F_code[1][0]" start="56" end="59" type="uint"/>
- <field name="F_code[0][1]" start="52" end="55" type="uint"/>
- <field name="F_code[0][0]" start="48" end="51" type="uint"/>
- <field name="Intra DC Precision" start="46" end="47" type="uint"/>
- <field name="Picture Structure" start="44" end="45" type="uint">
- <value name="MPEG_TOP_FIELD" value="1"/>
- <value name="MPEG_BOTTOM_FIELD" value="2"/>
- <value name="MPEG_FRAME" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Scan Order" start="38" end="38" type="uint">
+ <value name="MPEG_ZIGZAG_SCAN" value="0"/>
+ <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
</field>
- <field name="Top Field First" start="43" end="43" type="bool"/>
- <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
- <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Intra VLC Format" start="39" end="39" type="uint"/>
<field name="Quantizer Scale Type" start="40" end="40" type="uint">
<value name="MPEG_QSCALE_LINEAR" value="0"/>
<value name="MPEG_QSCALE_NONLINEAR" value="1"/>
</field>
- <field name="Intra VLC Format" start="39" end="39" type="uint"/>
- <field name="Scan Order" start="38" end="38" type="uint">
- <value name="MPEG_ZIGZAG_SCAN" value="0"/>
- <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
+ <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
+ <field name="Top Field First" start="43" end="43" type="bool"/>
+ <field name="Picture Structure" start="44" end="45" type="uint">
+ <value name="MPEG_TOP_FIELD" value="1"/>
+ <value name="MPEG_BOTTOM_FIELD" value="2"/>
+ <value name="MPEG_FRAME" value="3"/>
</field>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
- <value name="Intra Concealment" value="0"/>
- <value name="Inter Concealment" value="1"/>
+ <field name="Intra DC Precision" start="46" end="47" type="uint"/>
+ <field name="F_code[0][0]" start="48" end="51" type="uint"/>
+ <field name="F_code[0][1]" start="52" end="55" type="uint"/>
+ <field name="F_code[1][0]" start="56" end="59" type="uint"/>
+ <field name="F_code[1][1]" start="60" end="63" type="uint"/>
+ <field name="Disable Mismatch" start="64" end="64" type="bool"/>
+ <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
+ <field name="Picture Coding Type" start="73" end="74" type="uint">
+ <value name="MPEG_I_PICTURE" value="1"/>
+ <value name="MPEG_P_PICTURE" value="2"/>
+ <value name="MPEG_B_PICTURE" value="3"/>
</field>
- <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
- <value name="INTER" value="0"/>
- <value name="LEFT" value="1"/>
- <value name="ZERO" value="2"/>
- <value name="INTRA" value="3"/>
+ <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
+ <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
+ <value name="Predicted" value="0"/>
+ <value name="ZERO" value="1"/>
</field>
<field name="P/B Slice Predicted Bi-direction MV Type Override" start="89" end="90" type="uint" prefix="MPEG2_MVTO">
<value name="BID" value="0"/>
@@ -5066,99 +5062,97 @@
<value name="FWD" value="2"/>
<value name="BWD" value="3"/>
</field>
- <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
- <value name="Predicted" value="0"/>
- <value name="ZERO" value="1"/>
+ <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
+ <value name="INTER" value="0"/>
+ <value name="LEFT" value="1"/>
+ <value name="ZERO" value="2"/>
+ <value name="INTRA" value="3"/>
</field>
- <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
- <field name="Picture Coding Type" start="73" end="74" type="uint">
- <value name="MPEG_I_PICTURE" value="1"/>
- <value name="MPEG_P_PICTURE" value="2"/>
- <value name="MPEG_B_PICTURE" value="3"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
+ <value name="Intra Concealment" value="0"/>
+ <value name="Inter Concealment" value="1"/>
</field>
- <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
- <field name="Disable Mismatch" start="64" end="64" type="bool"/>
- <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
- <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
<field name="Frame Width In MBs" start="96" end="103" type="uint"/>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="Round Inter AC," start="140" end="142" type="uint"/>
- <field name="Round Intra AC" start="136" end="138" type="uint"/>
- <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
+ <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
<field name="Round Intra DC" start="129" end="130" type="uint"/>
- <field name="Frame Size Control" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Round Intra AC" start="136" end="138" type="uint"/>
+ <field name="Round Inter AC," start="140" end="142" type="uint"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
+ <field name="MBRateControlMask" start="169" end="169" type="uint"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="MPEG2_MFSU">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MBRateControlMask" start="169" end="169" type="uint"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Frame Size Control" start="176" end="176" type="uint"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
</instruction>
<instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
- <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
- <value name="NO_ACCUMULATION" value="1"/>
- <value name="ACCUMULATE" value="0"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
<field name="Slice Header Indicator" start="46" end="46" type="uint">
<value name="SLICE_HEADER" value="1"/>
<value name="LEGACY" value="0"/>
</field>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
- <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
+ <value name="NO_ACCUMULATION" value="1"/>
+ <value name="ACCUMULATE" value="0"/>
+ </field>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
<group count="0" start="64" size="32">
<field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="65" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="63"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Destination - Address" start="38" end="79" type="address"/>
<field name="Pre Deblocking Destination - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Post Deblocking Destination - Address" start="134" end="175" type="address"/>
@@ -5186,44 +5180,16 @@
<field name="Reference Picture - Memory Compression Enable" start="0" end="0" type="bool"/>
</group>
<field name="Scaled Reference Surface - Address" start="1990" end="2031" type="address"/>
- <field name="Scaled Reference Surface - Attributes" start="2048" end="2079" type="MEMORYADDRESSATTRIBUTES"/> </instruction>
+ <field name="Scaled Reference Surface - Attributes" start="2048" end="2079" type="MEMORYADDRESSATTRIBUTES"/>
+ </instruction>
<instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="AES Control" start="56" end="63" type="uint"/>
- <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
- <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
- <value name="Short Format Driver Interface" value="0"/>
- <value name="Long Format Driver Interface" value="1"/>
- </field>
- <field name="Decoder Mode select" start="47" end="48" type="uint">
- <value name="VLD Mode" value="0"/>
- <value name="IT Mode" value="1"/>
- <value name="Deblocker Mode" value="2"/>
- <value name="Interlayer Mode" value="3"/>
- </field>
- <field name="Standalone VDEnc Mode Enable" start="46" end="46" type="bool"/>
- <field name="VDEnc Mode" start="45" end="45" type="uint" prefix="VM">
- <value name="MBEnc Mode" value="0"/>
- <value name="VDEnc Mode" value="1"/>
- </field>
- <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
- <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
- <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
- <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
- <field name="Scaled Surface Enable" start="39" end="39" type="bool"/>
- <field name="Frame Statistics Stream-Out Enable" start="38" end="38" type="bool"/>
- <field name="Stitch Mode" start="37" end="37" type="bool"/>
- <field name="Codec Select" start="36" end="36" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
<value name="MPEG2" value="0"/>
<value name="VC1" value="1"/>
@@ -5232,16 +5198,45 @@
<value name="VP8" value="5"/>
<value name="UVLD" value="15"/>
</field>
+ <field name="Codec Select" start="36" end="36" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
+ </field>
+ <field name="Stitch Mode" start="37" end="37" type="bool"/>
+ <field name="Frame Statistics Stream-Out Enable" start="38" end="38" type="bool"/>
+ <field name="Scaled Surface Enable" start="39" end="39" type="bool"/>
+ <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
+ <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
+ <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
+ <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
+ <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
+ <field name="VDEnc Mode" start="45" end="45" type="uint" prefix="VM">
+ <value name="MBEnc Mode" value="0"/>
+ <value name="VDEnc Mode" value="1"/>
+ </field>
+ <field name="Standalone VDEnc Mode Enable" start="46" end="46" type="bool"/>
+ <field name="Decoder Mode select" start="47" end="48" type="uint">
+ <value name="VLD Mode" value="0"/>
+ <value name="IT Mode" value="1"/>
+ <value name="Deblocker Mode" value="2"/>
+ <value name="Interlayer Mode" value="3"/>
+ </field>
+ <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
+ <value name="Short Format Driver Interface" value="0"/>
+ <value name="Long Format Driver Interface" value="1"/>
+ </field>
+ <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
+ <field name="AES Control" start="56" end="63" type="uint"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -5263,27 +5258,27 @@
</instruction>
<instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="State Pointer" start="37" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="State Pointer Index" start="32" end="33" type="uint"/>
+ <field name="State Pointer" start="37" end="63" type="uint"/>
</instruction>
<instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
- <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
+ <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
<field name="Indirect Data Length" start="64" end="82" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<group count="0" start="128" size="32">
@@ -5292,19 +5287,27 @@
</instruction>
<instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface ID" start="32" end="35" type="uint" prefix="MFX">
<value name="Source Input Picture" value="4"/>
<value name="Reconstructed Scaled Reference Picture" value="5"/>
</field>
- <field name="Height" start="82" end="95" type="uint"/>
- <field name="Width" start="68" end="81" type="uint"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="u0.2"/>
+ <field name="Width" start="68" end="81" type="uint"/>
+ <field name="Height" start="82" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Interleave Chroma" start="123" end="123" type="bool"/>
<field name="Surface Format" start="124" end="127" type="uint" prefix="MFX">
<value name="YCRCB_NORMAL" value="0"/>
<value name="YCRCB_SWAPUVY" value="1"/>
@@ -5320,27 +5323,19 @@
<value name="R8_UNORM (Cr/Cb)" value="11"/>
<value name="Y8_UNORM" value="12"/>
</field>
- <field name="Interleave Chroma" start="123" end="123" type="bool"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
- <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
- <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
+ <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
+ <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
</instruction>
<instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Direct MV Write Buffer - Address" start="32" end="95" type="address"/>
<field name="Direct MV Write Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Direct MV Read Buffer - Address" start="128" end="191" type="address"/>
@@ -5348,42 +5343,42 @@
</instruction>
<instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
- <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
- <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
- <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
- <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
- <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
- <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
+ <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
+ <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
<field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
- <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
- <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
- <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
+ <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
<field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
- <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
- <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
- <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
+ <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
<field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
- <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
- <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
- <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
+ <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
<field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
+ <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
+ <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
</instruction>
<instruction name="MFX_VP8_BSP_BUF_BASE_ADDR_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Header - Address" start="32" end="95" type="address"/>
<field name="Frame Header - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Intermediate Buffer - Address" start="128" end="191" type="address"/>
@@ -5404,307 +5399,307 @@
</instruction>
<instruction name="MFX_VP8_ENCODER_CFG" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="VBSP Unit Power Clock Gating Disable" start="42" end="42" type="bool"/>
- <field name="Compressed Bitstream Output Disable" start="41" end="41" type="bool"/>
- <field name="Finer BRC Enable" start="40" end="40" type="bool"/>
- <field name="Per Segment Delta Qindex / LoopFilter Disable" start="39" end="39" type="bool"/>
- <field name="Rate Control Initial Pass" start="38" end="38" type="bool"/>
- <field name="Skip Final Bitstream when Over/Underflow" start="37" end="37" type="bool"/>
- <field name="Update Segment Feature Data Flag" start="36" end="36" type="bool"/>
- <field name="Bitstream Statistics Output Enable" start="35" end="35" type="bool"/>
- <field name="Token Statistics Output Enable" start="34" end="34" type="bool"/>
- <field name="Final Bitstream Output Disable" start="33" end="33" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Performance Counter Enable" start="32" end="32" type="bool"/>
- <field name="QIndex Clamp High for Overflow" start="71" end="71" type="bool"/>
- <field name="QIndex Clamp High for Underflow" start="70" end="70" type="bool"/>
- <field name="Final Bistream Buffer Overrun Enable" start="69" end="69" type="bool"/>
- <field name="Intermediate Bit Buffer Overrun Enable" start="68" end="68" type="bool"/>
- <field name="Max Intra MB Bit Count Check Enable" start="67" end="67" type="bool"/>
- <field name="Max Inter MB Bit Count Check Enable" start="66" end="66" type="bool"/>
- <field name="Min Frame Bit Count Rate Control Enable" start="65" end="65" type="bool"/>
+ <field name="Final Bitstream Output Disable" start="33" end="33" type="bool"/>
+ <field name="Token Statistics Output Enable" start="34" end="34" type="bool"/>
+ <field name="Bitstream Statistics Output Enable" start="35" end="35" type="bool"/>
+ <field name="Update Segment Feature Data Flag" start="36" end="36" type="bool"/>
+ <field name="Skip Final Bitstream when Over/Underflow" start="37" end="37" type="bool"/>
+ <field name="Rate Control Initial Pass" start="38" end="38" type="bool"/>
+ <field name="Per Segment Delta Qindex / LoopFilter Disable" start="39" end="39" type="bool"/>
+ <field name="Finer BRC Enable" start="40" end="40" type="bool"/>
+ <field name="Compressed Bitstream Output Disable" start="41" end="41" type="bool"/>
+ <field name="VBSP Unit Power Clock Gating Disable" start="42" end="42" type="bool"/>
<field name="Max Frame Bit count Rate Control Enable" start="64" end="64" type="bool"/>
- <field name="Max Intra MB Bit Count Limit" start="112" end="123" type="uint"/>
+ <field name="Min Frame Bit Count Rate Control Enable" start="65" end="65" type="bool"/>
+ <field name="Max Inter MB Bit Count Check Enable" start="66" end="66" type="bool"/>
+ <field name="Max Intra MB Bit Count Check Enable" start="67" end="67" type="bool"/>
+ <field name="Intermediate Bit Buffer Overrun Enable" start="68" end="68" type="bool"/>
+ <field name="Final Bistream Buffer Overrun Enable" start="69" end="69" type="bool"/>
+ <field name="QIndex Clamp High for Underflow" start="70" end="70" type="bool"/>
+ <field name="QIndex Clamp High for Overflow" start="71" end="71" type="bool"/>
<field name="Max Inter MB Bit Count" start="96" end="107" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="159" end="159" type="uint">
+ <field name="Max Intra MB Bit Count Limit" start="112" end="123" type="uint"/>
+ <field name="Frame Bitrate Max" start="128" end="141" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="142" end="142" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="143" end="143" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min Unit" start="158" end="158" type="uint"/>
<field name="Frame Bitrate Min" start="144" end="157" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="143" end="143" type="uint">
+ <field name="Frame Bitrate Min Unit" start="158" end="158" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="159" end="159" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max Unit" start="142" end="142" type="uint"/>
- <field name="Frame Bitrate Max" start="128" end="141" type="uint"/>
- <field name="Frame Delta QIndex Max[3]" start="184" end="191" type="uint"/>
- <field name="Frame Delta QIndex Max[2]" start="176" end="183" type="uint"/>
- <field name="Frame Delta QIndex Max[1]" start="168" end="175" type="uint"/>
<field name="Frame Delta QIndex Max[0]" start="160" end="167" type="uint"/>
- <field name="Frame Delta QIndex Min[3]" start="216" end="223" type="uint"/>
- <field name="Frame Delta QIndex Min[2]" start="208" end="215" type="uint"/>
- <field name="Frame Delta QIndex Min[1]" start="200" end="207" type="uint"/>
+ <field name="Frame Delta QIndex Max[1]" start="168" end="175" type="uint"/>
+ <field name="Frame Delta QIndex Max[2]" start="176" end="183" type="uint"/>
+ <field name="Frame Delta QIndex Max[3]" start="184" end="191" type="uint"/>
<field name="Frame Delta QIndex Min[0]" start="192" end="199" type="uint"/>
+ <field name="Frame Delta QIndex Min[1]" start="200" end="207" type="uint"/>
+ <field name="Frame Delta QIndex Min[2]" start="208" end="215" type="uint"/>
+ <field name="Frame Delta QIndex Min[3]" start="216" end="223" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[1]" start="224" end="255" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[1]" start="256" end="287" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[2]" start="288" end="319" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[2]" start="320" end="351" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[3]" start="352" end="383" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[3]" start="384" end="415" type="uint"/>
- <field name="Frame Delta Loop Filter Max[3]" start="440" end="447" type="uint"/>
- <field name="Frame Delta Loop Filter Max[2]" start="432" end="439" type="uint"/>
- <field name="Frame Delta Loop Filter Max[1]" start="424" end="431" type="uint"/>
<field name="Frame Delta Loop Filter Max[0]" start="416" end="423" type="uint"/>
- <field name="Frame Delta Loop Filter Min[3]" start="472" end="479" type="uint"/>
- <field name="Frame Delta Loop Filter Min[2]" start="464" end="471" type="uint"/>
- <field name="Frame Delta Loop Filter Min[1]" start="456" end="463" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[1]" start="424" end="431" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[2]" start="432" end="439" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[3]" start="440" end="447" type="uint"/>
<field name="Frame Delta Loop Filter Min[0]" start="448" end="455" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[1]" start="456" end="463" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[2]" start="464" end="471" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[3]" start="472" end="479" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[1]" start="480" end="511" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[1]" start="512" end="543" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[2]" start="544" end="575" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[2]" start="576" end="607" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[3]" start="608" end="639" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[3]" start="640" end="671" type="uint"/>
- <field name="Frame Bitrate Min Delta" start="688" end="702" type="uint"/>
<field name="Frame Bitrate Max Delta" start="672" end="686" type="uint"/>
- <field name="Show Frame" start="727" end="727" type="uint"/>
- <field name="Bitstream Format Version" start="724" end="726" type="uint"/>
+ <field name="Frame Bitrate Min Delta" start="688" end="702" type="uint"/>
+ <field name="Minimum Frame Size" start="704" end="719" type="uint"/>
<field name="Minimum Frame Size Unit" start="720" end="721" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Minimum Frame Size" start="704" end="719" type="uint"/>
- <field name="Vertical_Size_Code" start="752" end="767" type="uint"/>
+ <field name="Bitstream Format Version" start="724" end="726" type="uint"/>
+ <field name="Show Frame" start="727" end="727" type="uint"/>
<field name="Horizontal_Size_Code" start="736" end="751" type="uint"/>
+ <field name="Vertical_Size_Code" start="752" end="767" type="uint"/>
<field name="Frame Header Bit Count" start="768" end="799" type="uint"/>
<field name="Frame Header Bin Buffer QIndex Update Pointer" start="800" end="831" type="uint"/>
<field name="Frame Header Bin Buffer Loop Filter Update Pointer" start="832" end="863" type="uint"/>
<field name="Frame Header Bin Buffer Token Update Pointer" start="864" end="895" type="uint"/>
<field name="Frame Header Bin Buffer MV Update Pointer" start="896" end="927" type="uint"/>
- <field name="CV7" start="956" end="959" type="uint"/>
- <field name="CV6" start="952" end="955" type="uint"/>
- <field name="CV5" start="948" end="951" type="uint"/>
- <field name="CV4" start="944" end="947" type="uint"/>
- <field name="CV3" start="940" end="943" type="uint"/>
- <field name="CV2" start="936" end="939" type="uint"/>
- <field name="CV1" start="932" end="935" type="uint"/>
<field name="CV0" start="928" end="931" type="uint"/>
+ <field name="CV1" start="932" end="935" type="uint"/>
+ <field name="CV2" start="936" end="939" type="uint"/>
+ <field name="CV3" start="940" end="943" type="uint"/>
+ <field name="CV4" start="944" end="947" type="uint"/>
+ <field name="CV5" start="948" end="951" type="uint"/>
+ <field name="CV6" start="952" end="955" type="uint"/>
+ <field name="CV7" start="956" end="959" type="uint"/>
</instruction>
- <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
- <field name="Enable Inline MV data" start="61" end="61" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
+ <field name="Enable Inline MV data" start="61" end="61" type="bool"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="223" type="uint"/>
</instruction>
<instruction name="MFX_VP8_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width" start="32" end="39" type="uint"/>
+ <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="MC Filter Select" start="64" end="64" type="uint"/>
+ <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
+ <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
+ <field name="Key Frame" start="69" end="69" type="bool"/>
+ <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
+ <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
+ <field name="Segment Enable" start="72" end="72" type="bool"/>
+ <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
+ <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
+ <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
+ <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
+ <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
+ <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
<field name="Log2 Num of Partition" start="88" end="89" type="uint">
<value name="1 Token partition" value="0"/>
<value name="2 Token partition" value="1"/>
<value name="4 Token partition" value="2"/>
<value name="8 Token partition" value="3"/>
</field>
- <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
- <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
- <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
- <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
- <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
- <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
- <field name="Segment Enable" start="72" end="72" type="bool"/>
- <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
- <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
- <field name="Key Frame" start="69" end="69" type="bool"/>
- <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
- <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
- <field name="MC Filter Select" start="64" end="64" type="uint"/>
- <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
- <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
- <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
<field name="DBLK Filter Level for Segment0" start="96" end="101" type="uint"/>
- <field name="Segment3 QIndex" start="152" end="158" type="uint"/>
- <field name="Segment2 QIndex" start="144" end="150" type="uint"/>
- <field name="Segment1 QIndex" start="136" end="142" type="uint"/>
+ <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
+ <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
+ <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
<field name="Segment0 QIndex" start="128" end="134" type="uint"/>
- <field name="UVAC QIndex Delta Sign" start="188" end="188" type="uint"/>
- <field name="UVAC QIndex Delta" start="184" end="187" type="uint"/>
- <field name="UVDC QIndex Delta Sign" start="180" end="180" type="uint"/>
- <field name="UVDC QIndex Delta" start="176" end="179" type="uint"/>
- <field name="Y2AC QIndex Sign" start="172" end="172" type="uint"/>
- <field name="Y2AC QIndex Delta" start="168" end="171" type="uint"/>
- <field name="Y2AC QIndex Delta Sign" start="164" end="164" type="uint"/>
+ <field name="Segment1 QIndex" start="136" end="142" type="uint"/>
+ <field name="Segment2 QIndex" start="144" end="150" type="uint"/>
+ <field name="Segment3 QIndex" start="152" end="158" type="uint"/>
<field name="Y2DC QIndex Delta" start="160" end="163" type="uint"/>
- <field name="Y1DC QIndex Delta Sign" start="196" end="196" type="uint"/>
+ <field name="Y2AC QIndex Delta Sign" start="164" end="164" type="uint"/>
+ <field name="Y2AC QIndex Delta" start="168" end="171" type="uint"/>
+ <field name="Y2AC QIndex Sign" start="172" end="172" type="uint"/>
+ <field name="UVDC QIndex Delta" start="176" end="179" type="uint"/>
+ <field name="UVDC QIndex Delta Sign" start="180" end="180" type="uint"/>
+ <field name="UVAC QIndex Delta" start="184" end="187" type="uint"/>
+ <field name="UVAC QIndex Delta Sign" start="188" end="188" type="uint"/>
<field name="Y1DC QIndex Delta" start="192" end="195" type="uint"/>
- <field name="Clamp QIndex High" start="232" end="238" type="uint"/>
+ <field name="Y1DC QIndex Delta Sign" start="196" end="196" type="uint"/>
<field name="Clamp QIndex Low" start="224" end="230" type="uint"/>
- <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
+ <field name="Clamp QIndex High" start="232" end="238" type="uint"/>
<field name="Quantizer Value [1][UVDC]" start="256" end="264" type="uint"/>
- <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
+ <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
<field name="Quantizer Value [1][Y2DC]" start="288" end="296" type="uint"/>
- <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
+ <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
<field name="Quantizer Value [2][Y1DC]" start="320" end="328" type="uint"/>
- <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
+ <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
<field name="Quantizer Value [2][UVDC]" start="352" end="360" type="uint"/>
- <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
+ <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
<field name="Quantizer Value [2][Y2DC]" start="384" end="392" type="uint"/>
- <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
+ <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
<field name="Quantizer Value [3][Y1DC]" start="416" end="424" type="uint"/>
- <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
+ <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
<field name="Quantizer Value [3][UVDC]" start="448" end="456" type="uint"/>
- <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
+ <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
<field name="Quantizer Value [3][Y2DC]" start="480" end="488" type="uint"/>
+ <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
<field name="CoeffProbability Stream-In - Address" start="518" end="559" type="uint"/>
<field name="CoeffProbability Stream-In - MOCS (Encoder Only)" start="577" end="582" type="uint"/>
- <field name="CoeffProbability Stream-In - Tiled Resource Mode" start="589" end="590" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="CoeffProbability Stream-In - Memory Compression Mode" start="586" end="586" type="uint"/>
- <field name="CoeffProbability Stream-In - Memory Compression Enable" start="585" end="585" type="bool"/>
<field name="CoeffProbability Stream-In - Arbitration Priority Control" start="583" end="584" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
- <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
+ <field name="CoeffProbability Stream-In - Memory Compression Enable" start="585" end="585" type="bool"/>
+ <field name="CoeffProbability Stream-In - Memory Compression Mode" start="586" end="586" type="uint"/>
+ <field name="CoeffProbability Stream-In - Tiled Resource Mode" start="589" end="590" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
<field name="MBSegmentIDTreeProbs[0]" start="608" end="615" type="uint"/>
- <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
- <field name="IntraMBProb" start="656" end="663" type="uint"/>
- <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
<field name="InterPredFromGRefRefProb" start="640" end="647" type="uint"/>
- <field name="YModeProb[3]" start="696" end="703" type="uint"/>
- <field name="YModeProb[2]" start="688" end="695" type="uint"/>
- <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="IntraMBProb" start="656" end="663" type="uint"/>
+ <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
<field name="YModeProb[0]" start="672" end="679" type="uint"/>
- <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
- <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="YModeProb[2]" start="688" end="695" type="uint"/>
+ <field name="YModeProb[3]" start="696" end="703" type="uint"/>
<field name="UVModeProb[0]" start="704" end="711" type="uint"/>
- <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
- <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
- <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
<field name="MVUpdateProbs[0][0]" start="736" end="743" type="uint"/>
- <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
- <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
- <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
+ <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
<field name="MVUpdateProbs[0][4]" start="768" end="775" type="uint"/>
- <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
- <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
- <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
+ <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
<field name="MVUpdateProbs[0][8]" start="800" end="807" type="uint"/>
- <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
- <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
- <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
+ <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
<field name="MVUpdateProbs[0][12]" start="832" end="839" type="uint"/>
- <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
- <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
+ <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
<field name="MVUpdateProbs[0][16]" start="864" end="871" type="uint"/>
- <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
- <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
- <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
<field name="MVUpdateProbs[1][0]" start="896" end="903" type="uint"/>
- <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
- <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
- <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
+ <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
<field name="MVUpdateProbs[1][4]" start="928" end="935" type="uint"/>
- <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
- <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
- <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
+ <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
<field name="MVUpdateProbs[1][8]" start="960" end="967" type="uint"/>
- <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
- <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
- <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
+ <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
<field name="MVUpdateProbs[1][12]" start="992" end="999" type="uint"/>
- <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
- <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
+ <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
<field name="MVUpdateProbs[1][16]" start="1024" end="1031" type="uint"/>
- <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
- <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
- <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
<field name="RefLFDelta0" start="1056" end="1062" type="int"/>
- <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
- <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
- <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
+ <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
<field name="ModeLFDelta0" start="1088" end="1094" type="int"/>
+ <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
+ <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
<field name="Segmentation ID Stream - Address" start="1120" end="1167" type="uint"/>
- <field name="Segmentation ID Stream - Tiled Resource Mode" start="1197" end="1198" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Segmentation ID Stream - Memory Compression Mode" start="1194" end="1194" type="uint"/>
- <field name="Segmentation ID Stream - Memory Compression Enable" start="1193" end="1193" type="bool"/>
+ <field name="CoeffProbability Stream-In - MOCS" start="1185" end="1190" type="uint"/>
<field name="Segmentation ID Stream - Arbitration Priority Control" start="1191" end="1192" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - MOCS" start="1185" end="1190" type="uint"/>
+ <field name="Segmentation ID Stream - Memory Compression Enable" start="1193" end="1193" type="bool"/>
+ <field name="Segmentation ID Stream - Memory Compression Mode" start="1194" end="1194" type="uint"/>
+ <field name="Segmentation ID Stream - Tiled Resource Mode" start="1197" end="1198" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</instruction>
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
- <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
+ <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
+ <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="MI_ARB_CHECK" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ARB_ON_OFF" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
- <field name="Allow Lite Restore" start="1" end="1" type="bool"/>
<field name="Arbitration Enable" start="0" end="0" type="bool" default="1"/>
+ <field name="Allow Lite Restore" start="1" end="1" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ATOMIC" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
+ <field name="Return Data Control" start="16" end="16" type="uint"/>
+ <field name="CS STALL" start="17" end="17" type="uint"/>
+ <field name="Inline Data" start="18" end="18" type="uint"/>
<field name="Data Size" start="19" end="20" type="uint">
<value name="DWORD" value="0"/>
<value name="QWORD" value="1"/>
<value name="OCTWORD" value="2"/>
<value name="RESERVED" value="3"/>
</field>
- <field name="Inline Data" start="18" end="18" type="uint"/>
- <field name="CS STALL" start="17" end="17" type="uint"/>
- <field name="Return Data Control" start="16" end="16" type="uint"/>
- <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Memory Address" start="34" end="79" type="address"/>
<field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
<field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
@@ -5717,68 +5712,66 @@
</instruction>
<instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
<field name="End Context" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
- <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
- <value name="First level batch" value="0"/>
- <value name="Second level batch" value="1"/>
- </field>
- <field name="Predication Enable" start="15" end="15" type="bool"/>
- <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
<value name="GGTT" value="0"/>
<value name="PPGTT" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="Predication Enable" start="15" end="15" type="bool"/>
+ <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
+ <value name="First level batch" value="0"/>
+ <value name="Second level batch" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Batch Buffer Start Address" start="34" end="95" type="address"/>
</instruction>
<instruction name="MI_CLFLUSH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="9" type="uint" default="1"/>
- <field name="Page Base Address" start="44" end="79" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
+ <field name="Page Base Address" start="44" end="79" type="address"/>
<group count="0" start="96" size="32">
<field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Compare Mask Mode" start="19" end="19" type="uint">
<value name="Compare Mask Mode Disabled" value="0"/>
<value name="Compare Mask Mode Enabled" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Compare Data Dword" start="32" end="63" type="uint"/>
<field name="Compare Address" start="67" end="127" type="address"/>
</instruction>
<instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
- <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
- <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Memory Address" start="34" end="95" type="address"/>
<field name="Source Memory Address" start="98" end="159" type="address"/>
</instruction>
<instruction name="MI_DISPLAY_FLIP" bias="2" length="3" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
- <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Display Plane Select" start="8" end="13" type="uint">
<value name="Display Plane 1" value="0"/>
<value name="Display Plane 2" value="1"/>
@@ -5813,56 +5806,58 @@
<value name="Display Plane 31" value="31"/>
<value name="Display Plane 32" value="32"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
- <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
+ <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Tile Parameter" start="32" end="34" type="uint"/>
- <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
- <field name="VRR Master Flip" start="75" end="75" type="uint"/>
+ <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
+ <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
<field name="Flip Type" start="64" end="65" type="uint">
<value name="Sync Flip" value="0"/>
<value name="Async Flip" value="1"/>
<value name="Stereo 3D Flip" value="2"/>
</field>
+ <field name="VRR Master Flip" start="75" end="75" type="uint"/>
+ <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
<field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
</instruction>
<instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
- <field name="Store Data Index" start="21" end="21" type="uint"/>
- <field name="TLB Invalidate" start="18" end="18" type="bool"/>
- <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
- <field name="Flush LLC" start="9" end="9" type="bool"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint"/>
- <field name="Address" start="35" end="79" type="address"/>
+ <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Flush LLC" start="9" end="9" type="bool"/>
+ <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
+ <field name="TLB Invalidate" start="18" end="18" type="bool"/>
+ <field name="Store Data Index" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_FORCE_WAKEUP" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Mask Bits" start="48" end="63" type="uint"/>
- <field name="Force Media-Slice3 Awake" start="36" end="36" type="uint"/>
- <field name="Force Media-Slice2 Awake" start="35" end="35" type="uint"/>
- <field name="Force Media-Slice1 Awake" start="34" end="34" type="uint"/>
- <field name="Force Render Awake" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Force Media-Slice0 Awake" start="32" end="32" type="uint"/>
+ <field name="Force Render Awake" start="33" end="33" type="uint"/>
+ <field name="Force Media-Slice1 Awake" start="34" end="34" type="uint"/>
+ <field name="Force Media-Slice2 Awake" start="35" end="35" type="uint"/>
+ <field name="Force Media-Slice3 Awake" start="36" end="36" type="uint"/>
+ <field name="Mask Bits" start="48" end="63" type="uint"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Add CS MMIO Start Offset" start="19" end="19" type="uint"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="Add CS MMIO Start Offset" start="19" end="19" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="54" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -5872,79 +5867,78 @@
</instruction>
<instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Async Mode Enable" start="21" end="21" type="bool"/>
- <field name="Add Loop Variable" start="20" end="20" type="uint"/>
- <field name="Add CS MMIO Start Offset" start="19" end="19" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Add CS MMIO Start Offset" start="19" end="19" type="uint"/>
+ <field name="Add Loop Variable" start="20" end="20" type="uint"/>
+ <field name="Async Mode Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
- <field name="Add CS MMIO Start Offset Destination" start="19" end="19" type="uint"/>
- <field name="Add CS MMIO Start Offset Source" start="18" end="18" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Add CS MMIO Start Offset Source" start="18" end="18" type="uint"/>
+ <field name="Add CS MMIO Start Offset Destination" start="19" end="19" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Source Register Address" start="34" end="54" type="offset"/>
<field name="Destination Register Address" start="66" end="86" type="offset"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
<value name="Display Plane D" value="5"/>
</field>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane 1 A" value="0"/>
<value name="Display Plane 1 B" value="1"/>
<value name="Display Plane 1 C" value="4"/>
<value name="Display Plane 1 D" value="5"/>
</field>
- <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_MATH" bias="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<group count="0" start="32" size="32">
<field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
</group>
</instruction>
<instruction name="MI_NOOP" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
- <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
<field name="Identification Number" start="0" end="21" type="uint"/>
+ <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
- <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
- <value name="KEEP" value="0"/>
- <value name="LOAD" value="2"/>
- <value name="LOADINV" value="3"/>
+ <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
+ <value name="TRUE" value="0"/>
+ <value name="FALSE" value="1"/>
+ <value name="SRCS_EQUAL" value="2"/>
+ <value name="DELTAS_EQUAL" value="3"/>
</field>
<field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
<value name="SET" value="0"/>
@@ -5952,60 +5946,59 @@
<value name="OR" value="2"/>
<value name="XOR" value="3"/>
</field>
- <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
- <value name="TRUE" value="0"/>
- <value name="FALSE" value="1"/>
- <value name="SRCS_EQUAL" value="2"/>
- <value name="DELTAS_EQUAL" value="3"/>
+ <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
+ <value name="KEEP" value="0"/>
+ <value name="LOAD" value="2"/>
+ <value name="LOADINV" value="3"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_HEAD" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
- <field name="Memory Address" start="38" end="95" type="address"/>
- <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Use Global GTT" start="32" end="32" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="Memory Address" start="38" end="95" type="address"/>
<field name="Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_RS_CONTEXT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
<field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
<value name="Restore" value="0"/>
<value name="Save" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_CONTROL" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
<field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
<value name="Stop" value="0"/>
<value name="Start" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Destination Address" start="34" end="95" type="address"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Destination Address" start="34" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Target Engine Select" start="15" end="18" type="uint">
<value name="RCS" value="0"/>
<value name="VCS0" value="1"/>
@@ -6022,22 +6015,14 @@
<value name="VECS2" value="13"/>
<value name="VECS3" value="14"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Target Context ID" start="32" end="63" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Register Poll Mode" start="16" end="16" type="bool"/>
- <field name="Wait Mode" start="15" end="15" type="uint">
- <value name="Polling Mode" value="1"/>
- <value name="Signal Mode" value="0"/>
- </field>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
<value name="SAD_GREATER_THAN_SDD" value="0"/>
<value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
@@ -6046,27 +6031,35 @@
<value name="SAD_EQUAL_SDD" value="4"/>
<value name="SAD_NOT_EQUAL_SDD" value="5"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Wait Mode" start="15" end="15" type="uint">
+ <value name="Polling Mode" value="1"/>
+ <value name="Signal Mode" value="0"/>
+ </field>
+ <field name="Register Poll Mode" start="16" end="16" type="bool"/>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
<field name="Semaphore Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_SET_CONTEXT" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Logical Context Address" start="44" end="63" type="address"/>
- <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
- <field name="Core Mode Enable" start="36" end="36" type="bool"/>
- <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
- <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
- <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Restore Inhibit" start="32" end="32" type="uint"/>
+ <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
+ <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="bool"/>
+ <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
+ <field name="Logical Context Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="MI_SET_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
<field name="PREDICATE ENABLE" start="0" end="3" type="uint">
<value name="NOOP Never" value="0"/>
<value name="NOOP on Result2 clear" value="1"/>
@@ -6075,225 +6068,229 @@
<value name="NOOP on Result set" value="4"/>
<value name="NOOP Always" value="15"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Store Qword" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="9" type="uint" default="2"/>
- <field name="Address" start="34" end="79" type="address"/>
+ <field name="Store Qword" start="21" end="21" type="uint"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Address" start="34" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
- <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Offset" start="34" end="43" type="uint"/>
<field name="Data DWord 0" start="64" end="95" type="uint"/>
<field name="Data DWord 1" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Predicate Enable" start="21" end="21" type="bool"/>
- <field name="Add CS MMIO Start Offset" start="19" end="19" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Add CS MMIO Start Offset" start="19" end="19" type="uint"/>
+ <field name="Predicate Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
<field name="Suspend Flush" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
<field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_USER_INTERRUPT" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
- <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
- <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
- <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
- <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
- <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
- <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
- <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
- <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
- <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
- <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
- <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
- <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
- <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
- <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
- <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
- <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
- <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
<field name="Display Plnae 1 A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
+ <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
+ <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
+ <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
+ <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
+ <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
+ <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
+ <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
+ <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
+ <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
+ <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
+ <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
+ <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
+ <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
+ <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
+ <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT_2" bias="1" length="1" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
- <field name="Display Pipe Scan Line Wait Enable" start="12" end="14" type="uint"/>
- <field name="Display Pipe Vertical Blank Wait Enable" start="8" end="10" type="uint"/>
<field name="Display Plane Flip Pending Wait Enable" start="0" end="5" type="uint"/>
+ <field name="Display Pipe Vertical Blank Wait Enable" start="8" end="10" type="uint"/>
+ <field name="Display Pipe Scan Line Wait Enable" start="12" end="14" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
- <field name="Mask Bits" start="8" end="15" type="uint"/>
- <field name="Force Media Awake" start="5" end="5" type="bool"/>
- <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
<field name="Pipeline Selection" start="0" end="1" type="uint">
<value name="3D" value="0"/>
<value name="Media" value="1"/>
<value name="GPGPU" value="2"/>
</field>
+ <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
+ <field name="Force Media Awake" start="5" end="5" type="bool"/>
+ <field name="Mask Bits" start="8" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Flush LLC" start="58" end="58" type="bool"/>
- <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
- <value name="No LRI Operation" value="0"/>
- <value name="MMIO Write Immediate Data" value="1"/>
- </field>
- <field name="Store Data Index" start="53" end="53" type="uint"/>
- <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
- <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
- <field name="TLB Invalidate" start="50" end="50" type="bool"/>
- <field name="PSD Sync Enable" start="49" end="49" type="bool"/>
- <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
+ <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
+ <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
+ <field name="DC Flush Enable" start="37" end="37" type="bool"/>
+ <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
+ <field name="Notify Enable" start="40" end="40" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
+ <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
+ <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
+ <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
<field name="Post Sync Operation" start="46" end="47" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
- <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
- <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
- <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
- <field name="Notify Enable" start="40" end="40" type="bool"/>
- <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
- <field name="DC Flush Enable" start="37" end="37" type="bool"/>
- <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
- <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
- <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
- <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="PSD Sync Enable" start="49" end="49" type="bool"/>
+ <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+ <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+ <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
+ <field name="Store Data Index" start="53" end="53" type="uint"/>
+ <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
+ <value name="No LRI Operation" value="0"/>
+ <value name="MMIO Write Immediate Data" value="1"/>
+ </field>
+ <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Flush LLC" start="58" end="58" type="bool"/>
<field name="Address" start="66" end="111" type="address"/>
<field name="Immediate Data" start="128" end="191" type="uint"/>
</instruction>
<instruction name="SFC_AVS_CHROMA_COEFF_TABLE" bias="2" length="65" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="63"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS CHROMA Coefficient Table Body" start="32" end="2079" type="SFC_AVS_CHROMA_COEFF_TABLE_BODY"/>
</instruction>
<instruction name="SFC_AVS_LUMA_COEFF_TABLE" bias="2" length="129" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="127"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS LUMA Coefficient Table Body" start="32" end="4255" type="SFC_AVS_LUMA_COEFF_TABLE_BODY"/>
</instruction>
<instruction name="SFC_AVS_STATE" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS State Body" start="32" end="1567" type="SFC_AVS_STATE_BODY"/>
</instruction>
<instruction name="SFC_FRAME_START" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Start Body" start="32" end="63" type="uint"/>
</instruction>
<instruction name="SFC_IEF_STATE" bias="2" length="24" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="22"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SFC IEF State Body" start="32" end="767" type="SFC_IEF_STATE_BODY"/>
</instruction>
<instruction name="SFC_LOCK" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SFC Lock Body" start="32" end="63" type="SFC_LOCK_BODY"/>
</instruction>
<instruction name="SFC_STATE" bias="2" length="32" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="30"/>
- <field name="VD/VE Input Ordering Mode" start="40" end="42" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="SFC Pipe Mode" start="32" end="35" type="uint"/>
<field name="SFC Input Chroma Sub-Sampling" start="36" end="39" type="uint">
<value name="4:0:0" value="0"/>
<value name="4:2:0" value="1"/>
<value name="4:2:2 Horizonatal" value="2"/>
<value name="4:4:4 Progressive/Interleaved" value="4"/>
</field>
- <field name="SFC Pipe Mode" start="32" end="35" type="uint"/>
- <field name="Input Frame Resolution Height" start="80" end="91" type="uint"/>
+ <field name="VD/VE Input Ordering Mode" start="40" end="42" type="uint"/>
<field name="Input Frame Resolution Width" start="64" end="75" type="uint"/>
- <field name="Output Chroma Downsampling Co-siting position Horizontal Direction" start="108" end="111" type="uint">
+ <field name="Input Frame Resolution Height" start="80" end="91" type="uint"/>
+ <field name="Output Surface Format Type" start="96" end="99" type="uint"/>
+ <field name="RGBA Channel Swap Enable" start="101" end="101" type="bool"/>
+ <field name="Output Chroma Downsampling Co-siting position Vertical Direction" start="104" end="107" type="uint">
<value name="0/8 (Left Full Pixel)" value="0"/>
<value name="1/8" value="1"/>
<value name="1/4 (2/8)" value="2"/>
@@ -6304,7 +6301,7 @@
<value name="7/8" value="7"/>
<value name="8/8" value="8"/>
</field>
- <field name="Output Chroma Downsampling Co-siting position Vertical Direction" start="104" end="107" type="uint">
+ <field name="Output Chroma Downsampling Co-siting position Horizontal Direction" start="108" end="111" type="uint">
<value name="0/8 (Left Full Pixel)" value="0"/>
<value name="1/8" value="1"/>
<value name="1/4 (2/8)" value="2"/>
@@ -6315,166 +6312,164 @@
<value name="7/8" value="7"/>
<value name="8/8" value="8"/>
</field>
- <field name="RGBA Channel Swap Enable" start="101" end="101" type="bool"/>
- <field name="Output Surface Format Type" start="96" end="99" type="uint"/>
- <field name="Bit Depth" start="148" end="149" type="uint" prefix="SFC">
- <value name="10-bit" value="0"/>
- <value name="16-bit" value="1"/>
+ <field name="IEF Enable" start="128" end="128" type="bool"/>
+ <field name="Skin Tone Tuned IEF_Enable" start="129" end="129" type="bool"/>
+ <field name="IEF4 Smooth Enable" start="130" end="130" type="bool"/>
+ <field name="AVS Filter Mode" start="132" end="133" type="uint">
+ <value name="5x5 Poly-phase filter + Bilinear" value="0"/>
+ <value name="8x8 poly-phase filter + Bilinear" value="1"/>
+ <value name="Bilinear filter only" value="2"/>
</field>
- <field name="CSC Enable" start="147" end="147" type="bool"/>
- <field name="Color Fill Enable" start="146" end="146" type="bool"/>
+ <field name="Adaptive Filter for all Channels" start="134" end="134" type="bool"/>
+ <field name="AVS Scaling Enable" start="135" end="135" type="bool"/>
+ <field name="Bypass Y Adaptive Filtering" start="136" end="136" type="bool"/>
+ <field name="Bypass X Adaptive Filtering" start="137" end="137" type="bool"/>
+ <field name="RGB Adaptive" start="138" end="138" type="bool"/>
+ <field name="Chroma Upsampling Enable" start="140" end="140" type="bool"/>
+ <field name="Mirror Type" start="141" end="141" type="uint">
+ <value name="Horizontal Flip" value="0"/>
+ <value name="Vertical Flip" value="1"/>
+ </field>
+ <field name="Mirror Mode" start="142" end="142" type="bool"/>
<field name="Rotation Mode" start="144" end="145" type="uint">
<value name="0" value="0"/>
<value name="90 CW" value="1"/>
<value name="180 CW" value="2"/>
<value name="270 CW" value="3"/>
</field>
- <field name="Mirror Mode" start="142" end="142" type="bool"/>
- <field name="Mirror Type" start="141" end="141" type="uint">
- <value name="Horizontal Flip" value="0"/>
- <value name="Vertical Flip" value="1"/>
- </field>
- <field name="Chroma Upsampling Enable" start="140" end="140" type="bool"/>
- <field name="RGB Adaptive" start="138" end="138" type="bool"/>
- <field name="Bypass X Adaptive Filtering" start="137" end="137" type="bool"/>
- <field name="Bypass Y Adaptive Filtering" start="136" end="136" type="bool"/>
- <field name="AVS Scaling Enable" start="135" end="135" type="bool"/>
- <field name="Adaptive Filter for all Channels" start="134" end="134" type="bool"/>
- <field name="AVS Filter Mode" start="132" end="133" type="uint">
- <value name="5x5 Poly-phase filter + Bilinear" value="0"/>
- <value name="8x8 poly-phase filter + Bilinear" value="1"/>
- <value name="Bilinear filter only" value="2"/>
+ <field name="Color Fill Enable" start="146" end="146" type="bool"/>
+ <field name="CSC Enable" start="147" end="147" type="bool"/>
+ <field name="Bit Depth" start="148" end="149" type="uint" prefix="SFC">
+ <value name="10-bit" value="0"/>
+ <value name="16-bit" value="1"/>
</field>
- <field name="IEF4 Smooth Enable" start="130" end="130" type="bool"/>
- <field name="Skin Tone Tuned IEF_Enable" start="129" end="129" type="bool"/>
- <field name="IEF Enable" start="128" end="128" type="bool"/>
- <field name="Source Region Height" start="176" end="187" type="uint"/>
<field name="Source Region Width" start="160" end="171" type="uint"/>
- <field name="Source Region Vertical Offset" start="208" end="219" type="uint"/>
+ <field name="Source Region Height" start="176" end="187" type="uint"/>
<field name="Source Region Horizontal Offset" start="192" end="203" type="uint"/>
- <field name="Output Frame Height" start="240" end="251" type="uint"/>
+ <field name="Source Region Vertical Offset" start="208" end="219" type="uint"/>
<field name="Output Frame Width" start="224" end="235" type="uint"/>
- <field name="Scaled Region Size Height" start="272" end="283" type="uint"/>
+ <field name="Output Frame Height" start="240" end="251" type="uint"/>
<field name="Scaled Region Size Width" start="256" end="267" type="uint"/>
- <field name="Scaled Region Vertical Offset" start="304" end="316" type="int"/>
+ <field name="Scaled Region Size Height" start="272" end="283" type="uint"/>
<field name="Scaled Region Horizontal Offset" start="288" end="300" type="int"/>
- <field name="Gray Bar Pixel - Y/R" start="336" end="345" type="uint"/>
+ <field name="Scaled Region Vertical Offset" start="304" end="316" type="int"/>
<field name="Gray Bar Pixel - U/G" start="320" end="329" type="uint"/>
- <field name="Gray Bar Pixel - V/B" start="368" end="377" type="uint"/>
+ <field name="Gray Bar Pixel - Y/R" start="336" end="345" type="uint"/>
<field name="Gray Bar Pixel - A" start="352" end="361" type="uint"/>
- <field name="UV Default value for V channel" start="400" end="409" type="uint"/>
+ <field name="Gray Bar Pixel - V/B" start="368" end="377" type="uint"/>
<field name="UV Default value for U channel" start="384" end="393" type="uint"/>
+ <field name="UV Default value for V channel" start="400" end="409" type="uint"/>
<field name="Alpha Default Value" start="416" end="425" type="uint"/>
<field name="Scaling Factor Height" start="448" end="468" type="u4.17"/>
<field name="Scaling Factor Width" start="480" end="500" type="u4.17"/>
<field name="Output Frame - Address" start="556" end="591" type="uint"/>
+ <field name="Output Frame - MOCS" start="609" end="614" type="uint"/>
+ <field name="Output Frame - Arbitration Priority Control" start="615" end="616" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="Output Frame - Memory Compression Enable" start="617" end="617" type="bool"/>
+ <field name="Output Frame - Memory Compression Mode" start="618" end="618" type="uint"/>
+ <field name="Output Frame - Cache Select" start="620" end="620" type="bool"/>
<field name="Output Frame - Tiled Mode" start="621" end="622" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Output Frame - Cache Select" start="620" end="620" type="bool"/>
- <field name="Output Frame - Memory Compression Mode" start="618" end="618" type="uint"/>
- <field name="Output Frame - Memory Compression Enable" start="617" end="617" type="bool"/>
- <field name="Output Frame - Arbitration Priority Control" start="615" end="616" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="Output Frame - MOCS" start="609" end="614" type="uint"/>
<field name="AVS Line Buffer - Address" start="652" end="687" type="uint"/>
- <field name="AVS Line Buffer - Tiled Mode" start="717" end="718" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
+ <field name="AVS Line Buffer - MOCS" start="705" end="710" type="uint"/>
+ <field name="AVS Line Buffer - Arbitration Priority Control" start="711" end="712" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="AVS Line Buffer - Memory Compression Enable" start="713" end="713" type="bool"/>
+ <field name="AVS Line Buffer - Memory Compression Mode" start="714" end="714" type="uint">
+ <value name="Horizontal Compression Mode" value="0"/>
</field>
<field name="AVS Line Buffer - Cache Select" start="716" end="716" type="uint">
<value name="LLC" value="0"/>
</field>
- <field name="AVS Line Buffer - Memory Compression Mode" start="714" end="714" type="uint">
- <value name="Horizontal Compression Mode" value="0"/>
+ <field name="AVS Line Buffer - Tiled Mode" start="717" end="718" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="AVS Line Buffer - Memory Compression Enable" start="713" end="713" type="bool"/>
- <field name="AVS Line Buffer - Arbitration Priority Control" start="711" end="712" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="AVS Line Buffer - MOCS" start="705" end="710" type="uint"/>
<field name="IEF Line Buffer - Address" start="748" end="783" type="uint"/>
+ <field name="IEF Line Buffer - MOCS" start="801" end="806" type="uint"/>
+ <field name="IEF Line Buffer - Arbitration Priority Control" start="807" end="808" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="IEF Line Buffer - Memory Compression Enable" start="809" end="809" type="bool"/>
+ <field name="IEF Line Buffer - Memory Compression Mode" start="810" end="810" type="uint"/>
+ <field name="IEF Line Buffer - Cache Select" start="812" end="812" type="uint"/>
<field name="IEF Line Buffer - Tiled Mode" start="813" end="814" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="IEF Line Buffer - Cache Select" start="812" end="812" type="uint"/>
- <field name="IEF Line Buffer - Memory Compression Mode" start="810" end="810" type="uint"/>
- <field name="IEF Line Buffer - Memory Compression Enable" start="809" end="809" type="bool"/>
- <field name="IEF Line Buffer - Arbitration Priority Control" start="807" end="808" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="IEF Line Buffer - MOCS" start="801" end="806" type="uint"/>
- <field name="Output Surface Format" start="956" end="959" type="uint"/>
- <field name="Output Surface Interleave Chroma Enable" start="955" end="955" type="bool"/>
- <field name="Output Surface Pitch" start="931" end="947" type="uint"/>
- <field name="Output Surface Half Pitch for Chroma" start="930" end="930" type="bool"/>
- <field name="Output Surface Tiled" start="929" end="929" type="bool"/>
<field name="Output Surface Tile Walk" start="928" end="928" type="uint" prefix="TW">
<value name="XMAJOR" value="0"/>
<value name="YMAJOR" value="1"/>
</field>
- <field name="Output Surface X Offset for U" start="976" end="989" type="uint"/>
+ <field name="Output Surface Tiled" start="929" end="929" type="bool"/>
+ <field name="Output Surface Half Pitch for Chroma" start="930" end="930" type="bool"/>
+ <field name="Output Surface Pitch" start="931" end="947" type="uint"/>
+ <field name="Output Surface Interleave Chroma Enable" start="955" end="955" type="bool"/>
+ <field name="Output Surface Format" start="956" end="959" type="uint"/>
<field name="Output Surface Y Offset for U" start="960" end="973" type="uint"/>
- <field name="Output Surface X Offset for V" start="1008" end="1021" type="uint"/>
+ <field name="Output Surface X Offset for U" start="976" end="989" type="uint"/>
<field name="Output Surface Y Offset for V" start="992" end="1005" type="uint"/>
+ <field name="Output Surface X Offset for V" start="1008" end="1021" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="22" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="20"/>
- <field name="General State Base Address" start="44" end="95" type="address"/>
- <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
+ <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="General State Base Address" start="44" end="95" type="address"/>
<field name="Stateless Data Port Access MOCS" start="112" end="118" type="uint"/>
- <field name="Surface State Base Address" start="140" end="191" type="address"/>
- <field name="Surface State MOCS" start="132" end="138" type="uint"/>
<field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
- <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Surface State MOCS" start="132" end="138" type="uint"/>
+ <field name="Surface State Base Address" start="140" end="191" type="address"/>
<field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
- <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
- <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
- <field name="Instruction Base Address" start="332" end="383" type="address"/>
- <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
<field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
- <field name="General State Buffer Size" start="396" end="415" type="uint"/>
+ <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Instruction Base Address" start="332" end="383" type="address"/>
<field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
- <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
+ <field name="General State Buffer Size" start="396" end="415" type="uint"/>
<field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
- <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
+ <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
<field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
- <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
+ <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
<field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
- <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
- <field name="Bindless Surface State MOCS" start="516" end="522" type="uint"/>
+ <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
<field name="Bindless Surface State Base Address Modify Enable" start="512" end="512" type="bool"/>
+ <field name="Bindless Surface State MOCS" start="516" end="522" type="uint"/>
+ <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
<field name="Bindless Surface State Size" start="588" end="607" type="uint"/>
- <field name="Bindless Sampler State Base Address" start="620" end="671" type="address"/>
- <field name="Bindless Sampler State MOCS" start="612" end="618" type="uint"/>
<field name="Bindless Sampler State Base Address Modify Enable" start="608" end="608" type="bool"/>
+ <field name="Bindless Sampler State MOCS" start="612" end="618" type="uint"/>
+ <field name="Bindless Sampler State Base Address" start="620" end="671" type="address"/>
<field name="Bindless Sampler State Buffer Size" start="684" end="703" type="uint"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="95" type="offset"/>
</instruction>
<instruction name="VDENC_CONST_QPT_STATE" bias="2" length="62" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="60"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="QP Lambda Array Index[n]" start="32" end="39" type="uint"/>
<field name="Skip Threshold Array Index[n]" start="384" end="399" type="uint"/>
<field name="SIC Forward Transform Coeff Threshold Matrix0 Array Index[n]" start="832" end="847" type="uint"/>
@@ -6484,153 +6479,152 @@
</instruction>
<instruction name="VDENC_DS_REF_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="8X Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
<field name="4X Surface State" start="192" end="319" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_IMG_STATE" bias="2" length="36" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="34"/>
- <field name="Lambda Value for Trellis" start="48" end="63" type="uint"/>
- <field name="VDEnc L1 Cache Priority" start="40" end="41" type="uint"/>
- <field name="Transform 8x8" start="39" end="39" type="bool"/>
- <field name="VDEnc Extended PAK_OBJ_CMD Enable" start="38" end="38" type="bool"/>
- <field name="Time Budget Overflow Check" start="36" end="36" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bidirectional Mix Disable" start="34" end="34" type="bool"/>
<field name="VDENC PerfMode" start="35" end="35" type="uint">
<value name="Speed" value="1"/>
</field>
- <field name="Bidirectional Mix Disable" start="34" end="34" type="bool"/>
+ <field name="Time Budget Overflow Check" start="36" end="36" type="bool"/>
+ <field name="VDEnc Extended PAK_OBJ_CMD Enable" start="38" end="38" type="bool"/>
+ <field name="Transform 8x8" start="39" end="39" type="bool"/>
+ <field name="VDEnc L1 Cache Priority" start="40" end="41" type="uint"/>
+ <field name="Lambda Value for Trellis" start="48" end="63" type="uint"/>
<field name="Unidirectional Mix Disable" start="92" end="92" type="bool"/>
<field name="Picture Width" start="112" end="127" type="uint"/>
- <field name="Block-Based Skip Type" start="159" end="159" type="uint"/>
- <field name="Sub-MB Sub-Partition Mask" start="152" end="158" type="uint"/>
- <field name="Intra SAD Measure Adjustment" start="150" end="151" type="uint">
+ <field name="Sub-Pel Mode" start="140" end="141" type="uint"/>
+ <field name="Forward Transform Skip Check Enable" start="145" end="145" type="bool"/>
+ <field name="Block-Based Skip Enable" start="147" end="147" type="bool"/>
+ <field name="Inter SAD Measure Adjustment" start="148" end="149" type="uint">
<value name="None" value="0"/>
<value name="Haar Transform Adjusted" value="2"/>
</field>
- <field name="Inter SAD Measure Adjustment" start="148" end="149" type="uint">
+ <field name="Intra SAD Measure Adjustment" start="150" end="151" type="uint">
<value name="None" value="0"/>
<value name="Haar Transform Adjusted" value="2"/>
</field>
- <field name="Block-Based Skip Enable" start="147" end="147" type="bool"/>
- <field name="Forward Transform Skip Check Enable" start="145" end="145" type="bool"/>
- <field name="Sub-Pel Mode" start="140" end="141" type="uint"/>
+ <field name="Sub-MB Sub-Partition Mask" start="152" end="158" type="uint"/>
+ <field name="Block-Based Skip Type" start="159" end="159" type="uint"/>
+ <field name="Picture Height" start="160" end="175" type="uint"/>
+ <field name="CRE Prefetch Enable" start="176" end="176" type="bool"/>
+ <field name="HME Ref1 Disable" start="177" end="177" type="bool"/>
+ <field name="MB Slice Threshold Value" start="178" end="181" type="uint"/>
+ <field name="Constrained Intra Prediction" start="186" end="186" type="bool"/>
<field name="Picture Type" start="189" end="190" type="uint">
<value name="I" value="0"/>
<value name="P" value="1"/>
</field>
- <field name="Constrained Intra Prediction" start="186" end="186" type="bool"/>
- <field name="MB Slice Threshold Value" start="178" end="181" type="uint"/>
- <field name="HME Ref1 Disable" start="177" end="177" type="bool"/>
- <field name="CRE Prefetch Enable" start="176" end="176" type="bool"/>
- <field name="Picture Height" start="160" end="175" type="uint"/>
<field name="Slice MB Height" start="192" end="207" type="uint"/>
- <field name="HME1 Y Offset" start="248" end="255" type="int"/>
- <field name="HME1 X Offset" start="240" end="247" type="int"/>
- <field name="HME0 Y Offset" start="232" end="239" type="int"/>
<field name="HME0 X Offset" start="224" end="231" type="int"/>
- <field name="RefID Cost Mode Select" start="278" end="278" type="uint"/>
- <field name="BiLinear Filter Enable" start="274" end="274" type="bool"/>
+ <field name="HME0 Y Offset" start="232" end="239" type="int"/>
+ <field name="HME1 X Offset" start="240" end="247" type="int"/>
+ <field name="HME1 Y Offset" start="248" end="255" type="int"/>
+ <field name="Luma Intra Partition Mask" start="256" end="260" type="uint"/>
+ <field name="Non Skip Zero MV Cost Added" start="261" end="261" type="uint"/>
+ <field name="Non Skip MB Mode Cost Added" start="262" end="262" type="uint"/>
<field name="MV Cost Scaling Factor" start="272" end="273" type="uint">
<value name="Qpel" value="0"/>
<value name="Hpel" value="1"/>
<value name="Pel" value="2"/>
<value name="2pel" value="3"/>
</field>
- <field name="Non Skip MB Mode Cost Added" start="262" end="262" type="uint"/>
- <field name="Non Skip Zero MV Cost Added" start="261" end="261" type="uint"/>
- <field name="Luma Intra Partition Mask" start="256" end="260" type="uint"/>
- <field name="Mode 3 Cost" start="312" end="319" type="uint"/>
- <field name="Mode 2 Cost" start="304" end="311" type="uint"/>
- <field name="Mode 1 Cost" start="296" end="303" type="uint"/>
+ <field name="BiLinear Filter Enable" start="274" end="274" type="bool"/>
+ <field name="RefID Cost Mode Select" start="278" end="278" type="uint"/>
<field name="Mode 0 Cost" start="288" end="295" type="uint"/>
- <field name="Mode 7 Cost" start="344" end="351" type="uint"/>
- <field name="Mode 6 Cost" start="336" end="343" type="uint"/>
- <field name="Mode 5 Cost" start="328" end="335" type="uint"/>
+ <field name="Mode 1 Cost" start="296" end="303" type="uint"/>
+ <field name="Mode 2 Cost" start="304" end="311" type="uint"/>
+ <field name="Mode 3 Cost" start="312" end="319" type="uint"/>
<field name="Mode 4 Cost" start="320" end="327" type="uint"/>
- <field name="Chroma Intra Mode Cost" start="376" end="383" type="uint"/>
- <field name="RefID Cost" start="368" end="375" type="uint"/>
- <field name="Mode 9 Cost" start="360" end="367" type="uint"/>
+ <field name="Mode 5 Cost" start="328" end="335" type="uint"/>
+ <field name="Mode 6 Cost" start="336" end="343" type="uint"/>
+ <field name="Mode 7 Cost" start="344" end="351" type="uint"/>
<field name="Mode 8 Cost" start="352" end="359" type="uint"/>
+ <field name="Mode 9 Cost" start="360" end="367" type="uint"/>
+ <field name="RefID Cost" start="368" end="375" type="uint"/>
+ <field name="Chroma Intra Mode Cost" start="376" end="383" type="uint"/>
<field name="MV Cost" start="384" end="447" type="IMAGE_STATE_COST"/>
- <field name="TargetSizeInWord" start="472" end="479" type="uint"/>
<field name="QpPrimeY" start="448" end="455" type="uint"/>
- <field name="AVC Intra 8x8 Mode Mask" start="560" end="568" type="uint"/>
+ <field name="TargetSizeInWord" start="472" end="479" type="uint"/>
<field name="AVC Intra 4x4 Mode Mask" start="544" end="552" type="uint"/>
- <field name="Intra Compute Type" start="584" end="585" type="uint"/>
- <field name="AVC Intra Chroma Mode Mask" start="580" end="583" type="uint"/>
+ <field name="AVC Intra 8x8 Mode Mask" start="560" end="568" type="uint"/>
<field name="AVC Intra 16x16 Mode Mask" start="576" end="579" type="uint"/>
- <field name="Penalty for Intra 4x4 Non-DC Prediction" start="656" end="663" type="uint"/>
- <field name="Penalty for Intra 8x8 Non-DC Prediction" start="648" end="655" type="uint"/>
+ <field name="AVC Intra Chroma Mode Mask" start="580" end="583" type="uint"/>
+ <field name="Intra Compute Type" start="584" end="585" type="uint"/>
<field name="Penalty for Intra 16x16 Non-DC Prediction" start="640" end="647" type="uint"/>
- <field name="QP Adjustment for Rolling-I" start="696" end="703" type="int"/>
+ <field name="Penalty for Intra 8x8 Non-DC Prediction" start="648" end="655" type="uint"/>
+ <field name="Penalty for Intra 4x4 Non-DC Prediction" start="656" end="663" type="uint"/>
+ <field name="Intra Refresh MB Position" start="672" end="679" type="uint"/>
+ <field name="Intra Refresh MB Size" start="680" end="687" type="uint"/>
+ <field name="Intra Refresh Enable (Rolling-I Enable)" start="688" end="688" type="bool"/>
<field name="Intra Refresh Mode" start="689" end="689" type="uint">
<value name="Row Based" value="0"/>
<value name="Column Based" value="1"/>
</field>
- <field name="Intra Refresh Enable (Rolling-I Enable)" start="688" end="688" type="bool"/>
- <field name="Intra Refresh MB Size" start="680" end="687" type="uint"/>
- <field name="Intra Refresh MB Position" start="672" end="679" type="uint"/>
- <field name="LargeMbSizeInWord" start="728" end="735" type="uint"/>
- <field name="SmallMbSizeInWord" start="720" end="727" type="uint"/>
+ <field name="QP Adjustment for Rolling-I" start="696" end="703" type="int"/>
<field name="PanicModeMBThreshold" start="704" end="719" type="uint"/>
- <field name="L1 Number of References" start="752" end="759" type="int"/>
+ <field name="SmallMbSizeInWord" start="720" end="727" type="uint"/>
+ <field name="LargeMbSizeInWord" start="728" end="735" type="uint"/>
<field name="L0 Number of References" start="736" end="743" type="int"/>
- <field name="Initial Time" start="784" end="799" type="uint"/>
+ <field name="L1 Number of References" start="752" end="759" type="int"/>
<field name="Macroblock Budget" start="768" end="783" type="uint"/>
+ <field name="Initial Time" start="784" end="799" type="uint"/>
<field name="HME Ref Windows Combining Threshold" start="840" end="847" type="uint"/>
- <field name="Max Vertical MV Range" start="880" end="895" type="uint"/>
<field name="Max Horizontal MV Range" start="864" end="879" type="uint"/>
+ <field name="Max Vertical MV Range" start="880" end="895" type="uint"/>
<field name="HME MV Cost" start="896" end="959" type="IMAGE_STATE_COST"/>
- <field name="QP Adjustment for Shape Best Intra 16x16 Winner" start="984" end="987" type="int"/>
- <field name="QP Adjustment for Shape Best Intra 8x8 Winner" start="980" end="983" type="int"/>
- <field name="QP Adjustment for Shape Best Intra 4x4 Winner" start="976" end="979" type="int"/>
- <field name="ROI QP Adjustment for Zone3" start="972" end="975" type="int"/>
- <field name="ROI QP Adjustment for Zone2" start="968" end="971" type="int"/>
- <field name="ROI QP Adjustment for Zone1" start="964" end="967" type="int"/>
<field name="ROI QP Adjustment for Zone0" start="960" end="963" type="int"/>
- <field name="Sad/Haar Threshold 0" start="1008" end="1023" type="uint"/>
- <field name="Best Distortion QP Adjustment for Zone3" start="1004" end="1007" type="int"/>
- <field name="Best Distortion QP Adjustment for Zone2" start="1000" end="1003" type="int"/>
- <field name="Best Distortion QP Adjustment for Zone1" start="996" end="999" type="int"/>
+ <field name="ROI QP Adjustment for Zone1" start="964" end="967" type="int"/>
+ <field name="ROI QP Adjustment for Zone2" start="968" end="971" type="int"/>
+ <field name="ROI QP Adjustment for Zone3" start="972" end="975" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 4x4 Winner" start="976" end="979" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 8x8 Winner" start="980" end="983" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 16x16 Winner" start="984" end="987" type="int"/>
<field name="Best Distortion QP Adjustment for Zone0" start="992" end="995" type="int"/>
- <field name="Sad/Haar Threshold 2" start="1040" end="1055" type="uint"/>
+ <field name="Best Distortion QP Adjustment for Zone1" start="996" end="999" type="int"/>
+ <field name="Best Distortion QP Adjustment for Zone2" start="1000" end="1003" type="int"/>
+ <field name="Best Distortion QP Adjustment for Zone3" start="1004" end="1007" type="int"/>
+ <field name="Sad/Haar Threshold 0" start="1008" end="1023" type="uint"/>
<field name="Sad/Haar Threshold 1" start="1024" end="1039" type="uint"/>
- <field name="Max Delta QP" start="1080" end="1083" type="uint"/>
- <field name="Max QP" start="1064" end="1071" type="uint"/>
+ <field name="Sad/Haar Threshold 2" start="1040" end="1055" type="uint"/>
<field name="Min QP" start="1056" end="1063" type="uint"/>
- <field name="Midpoint Sad/Haar" start="1104" end="1119" type="uint"/>
- <field name="Long Term Reference Frame Fwd Ref0 Indicator" start="1101" end="1101" type="bool"/>
- <field name="Long Term Reference Frame Fwd Ref1 Indicator" start="1100" end="1100" type="bool"/>
- <field name="Long Term Reference Frame Fwd Ref2 Indicator" start="1099" end="1099" type="bool"/>
- <field name="Long Term Reference Frame Bwd Ref0 Indicator" start="1098" end="1098" type="bool"/>
- <field name="Coefficient Clamp Enable" start="1097" end="1097" type="bool"/>
- <field name="PPMV Disable" start="1096" end="1096" type="bool"/>
- <field name="TargetSizeinWordsMB/MaxSizeinWordsMB Enable" start="1092" end="1092" type="bool"/>
- <field name="MB Level QP Enable" start="1091" end="1091" type="bool"/>
- <field name="Bwd/Predictor1 MV Enable" start="1090" end="1090" type="bool"/>
- <field name="Fwd/Predictor0 MV Enable" start="1089" end="1089" type="bool"/>
+ <field name="Max QP" start="1064" end="1071" type="uint"/>
+ <field name="Max Delta QP" start="1080" end="1083" type="uint"/>
<field name="ROI Enable" start="1088" end="1088" type="bool"/>
+ <field name="Fwd/Predictor0 MV Enable" start="1089" end="1089" type="bool"/>
+ <field name="Bwd/Predictor1 MV Enable" start="1090" end="1090" type="bool"/>
+ <field name="MB Level QP Enable" start="1091" end="1091" type="bool"/>
+ <field name="TargetSizeinWordsMB/MaxSizeinWordsMB Enable" start="1092" end="1092" type="bool"/>
+ <field name="PPMV Disable" start="1096" end="1096" type="bool"/>
+ <field name="Coefficient Clamp Enable" start="1097" end="1097" type="bool"/>
+ <field name="Long Term Reference Frame Bwd Ref0 Indicator" start="1098" end="1098" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref2 Indicator" start="1099" end="1099" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref1 Indicator" start="1100" end="1100" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref0 Indicator" start="1101" end="1101" type="bool"/>
+ <field name="Midpoint Sad/Haar" start="1104" end="1119" type="uint"/>
</instruction>
<instruction name="VDENC_PIPE_BUF_ADDR_STATE" bias="2" length="38" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="36"/>
-
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS FWD REF0" start="32" end="127" type="VDENC_PICTURE"/>
<field name="DS FWD REF1" start="128" end="223" type="VDENC_PICTURE"/>
<field name="Original Uncompressed Picture" start="320" end="415" type="VDENC_PICTURE"/>
@@ -6653,150 +6647,229 @@
</instruction>
<instruction name="VDENC_PIPE_MODE_SELECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Disable Speed Mode Fetch Optimization" start="63" end="63" type="bool"/>
- <field name="Output Range Control After Color Space Conversion" start="49" end="49" type="bool"/>
- <field name="PAK Chroma Sub-Sampling Type" start="47" end="48" type="uint">
- <value name="4:2:0" value="1"/>
- <value name="4:4:4" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Standard Select" start="32" end="35" type="uint">
+ <value name="HEVC" value="0"/>
+ <value name="VP9" value="1"/>
+ <value name="AVC" value="2"/>
</field>
+ <field name="Scalability Mode" start="36" end="36" type="bool"/>
+ <field name="Frame Statistics Stream-Out Enable" start="37" end="37" type="bool"/>
+ <field name="VDEnc PAK_OBJ_CMD Stream-Out Enable" start="38" end="38" type="bool"/>
+ <field name="TLB Prefetch Enable" start="39" end="39" type="bool"/>
+ <field name="PAK Threshold Check Enable" start="40" end="40" type="bool"/>
+ <field name="VDEnc Stream-In Enable" start="41" end="41" type="bool"/>
+ <field name="DownScaled 8x Write Disable" start="42" end="42" type="bool"/>
+ <field name="DownScaled 4x Write Disable" start="43" end="43" type="bool"/>
<field name="Bit Depth" start="44" end="46" type="uint">
<value name="8-bit" value="0"/>
<value name="10-bit" value="2"/>
</field>
- <field name="DownScaled 4x Write Disable" start="43" end="43" type="bool"/>
- <field name="DownScaled 8x Write Disable" start="42" end="42" type="bool"/>
- <field name="VDEnc Stream-In Enable" start="41" end="41" type="bool"/>
- <field name="PAK Threshold Check Enable" start="40" end="40" type="bool"/>
- <field name="TLB Prefetch Enable" start="39" end="39" type="bool"/>
- <field name="VDEnc PAK_OBJ_CMD Stream-Out Enable" start="38" end="38" type="bool"/>
- <field name="Frame Statistics Stream-Out Enable" start="37" end="37" type="bool"/>
- <field name="Scalability Mode" start="36" end="36" type="bool"/>
- <field name="Standard Select" start="32" end="35" type="uint">
- <value name="HEVC" value="0"/>
- <value name="VP9" value="1"/>
- <value name="AVC" value="2"/>
+ <field name="PAK Chroma Sub-Sampling Type" start="47" end="48" type="uint">
+ <value name="4:2:0" value="1"/>
+ <value name="4:4:4" value="3"/>
</field>
- <field name="Prefetch Offset for Reference" start="88" end="91" type="uint"/>
- <field name="Number of Horizontal Requests" start="84" end="87" type="uint"/>
- <field name="Number of Vertical Requests" start="80" end="83" type="uint"/>
- <field name="HzShift32Minus1" start="72" end="75" type="uint"/>
- <field name="VerticalShift32Minus1" start="68" end="71" type="uint"/>
- <field name="Left Prefetch At Wrap Around" start="67" end="67" type="bool"/>
- <field name="Top Prefetch Enable Mode" start="65" end="66" type="uint"/>
+ <field name="Output Range Control After Color Space Conversion" start="49" end="49" type="bool"/>
+ <field name="Disable Speed Mode Fetch Optimization" start="63" end="63" type="bool"/>
<field name="HME Region Prefetch Enable" start="64" end="64" type="bool"/>
- <field name="Prefetch Offset for Source" start="120" end="123" type="uint"/>
- <field name="Number of Horizontal Request for Source" start="116" end="119" type="uint"/>
- <field name="Number of Vertical Requests for Source" start="112" end="115" type="uint"/>
- <field name="HzShift32Minus1Src" start="104" end="107" type="uint"/>
- <field name="VerticalShift32Minus1Src" start="100" end="103" type="uint"/>
- <field name="Source Chroma TLB Prefetch Enable" start="97" end="97" type="bool"/>
+ <field name="Top Prefetch Enable Mode" start="65" end="66" type="uint"/>
+ <field name="Left Prefetch At Wrap Around" start="67" end="67" type="bool"/>
+ <field name="VerticalShift32Minus1" start="68" end="71" type="uint"/>
+ <field name="HzShift32Minus1" start="72" end="75" type="uint"/>
+ <field name="Number of Vertical Requests" start="80" end="83" type="uint"/>
+ <field name="Number of Horizontal Requests" start="84" end="87" type="uint"/>
+ <field name="Prefetch Offset for Reference" start="88" end="91" type="uint"/>
<field name="Source Luma/Packed Data TLB Prefetch Enable" start="96" end="96" type="bool"/>
-
+ <field name="Source Chroma TLB Prefetch Enable" start="97" end="97" type="bool"/>
+ <field name="VerticalShift32Minus1Src" start="100" end="103" type="uint"/>
+ <field name="HzShift32Minus1Src" start="104" end="107" type="uint"/>
+ <field name="Number of Vertical Requests for Source" start="112" end="115" type="uint"/>
+ <field name="Number of Horizontal Request for Source" start="116" end="119" type="uint"/>
+ <field name="Prefetch Offset for Source" start="120" end="123" type="uint"/>
</instruction>
<instruction name="VDENC_REF_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_SRC_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_WALKER_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="First Super Slice" start="60" end="60" type="bool"/>
- <field name="MB/LCU Start X Position" start="48" end="56" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MB/LCU Start Y Position" start="32" end="40" type="uint"/>
- <field name="Next Slice MB/LCU Start X Position" start="80" end="89" type="uint"/>
+ <field name="MB/LCU Start X Position" start="48" end="56" type="uint"/>
+ <field name="First Super Slice" start="60" end="60" type="bool"/>
<field name="Next Slice MB Start Y Position" start="64" end="73" type="uint"/>
- <field name="Tile Number" start="120" end="127" type="uint"/>
- <field name="Number of Parallel Engines" start="105" end="106" type="uint"/>
- <field name="HEVC/VP9 Log2 Weight Denominator Luma" start="100" end="102" type="uint"/>
+ <field name="Next Slice MB/LCU Start X Position" start="80" end="89" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="96" end="98" type="uint"/>
- <field name="Tile Start CTB-X" start="144" end="159" type="uint"/>
+ <field name="HEVC/VP9 Log2 Weight Denominator Luma" start="100" end="102" type="uint"/>
+ <field name="Number of Parallel Engines" start="105" end="106" type="uint"/>
+ <field name="Tile Number" start="120" end="127" type="uint"/>
<field name="Tile Start CTB-Y" start="128" end="143" type="uint"/>
- <field name="Tile Height" start="176" end="191" type="uint"/>
+ <field name="Tile Start CTB-X" start="144" end="159" type="uint"/>
<field name="Tile Width" start="160" end="175" type="uint"/>
- <field name="Tile Stream-In Offset" start="198" end="223" type="uint"/>
+ <field name="Tile Height" start="176" end="191" type="uint"/>
<field name="Tile Stream-In Offset Enable" start="192" end="192" type="bool"/>
- <field name="Tile Row Store Offset" start="230" end="255" type="uint"/>
+ <field name="Tile Stream-In Offset" start="198" end="223" type="uint"/>
<field name="Tile Row Store Offset Enable" start="224" end="224" type="bool"/>
- <field name="Tile Stream-Out Offset" start="262" end="287" type="uint"/>
+ <field name="Tile Row Store Offset" start="230" end="255" type="uint"/>
<field name="Tile Stream-Out Offset Enable" start="256" end="256" type="bool"/>
- <field name="Tile LCU Stream-Out Offset" start="294" end="319" type="uint"/>
+ <field name="Tile Stream-Out Offset" start="262" end="287" type="uint"/>
<field name="Tile LCU Stream-Out Offset Enable" start="288" end="288" type="bool"/>
+ <field name="Tile LCU Stream-Out Offset" start="294" end="319" type="uint"/>
</instruction>
<instruction name="VDENC_WEIGHTSOFFSETS_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Offset Forward Reference 1" start="56" end="63" type="int"/>
- <field name="Weights Forward Reference 1" start="48" end="55" type="int"/>
- <field name="Offset Forward Reference 0" start="40" end="47" type="int"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command OpCode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weights Forward Reference 0" start="32" end="39" type="int"/>
- <field name="HEVC/VP9 Offset Backward Reference 0" start="88" end="95" type="int"/>
- <field name="HEVC/VP9 Weights Backward Reference 0" start="80" end="87" type="int"/>
- <field name="Offset Forward Reference 2" start="72" end="79" type="int"/>
+ <field name="Offset Forward Reference 0" start="40" end="47" type="int"/>
+ <field name="Weights Forward Reference 1" start="48" end="55" type="int"/>
+ <field name="Offset Forward Reference 1" start="56" end="63" type="int"/>
<field name="Weights Forward Reference 2" start="64" end="71" type="int"/>
+ <field name="Offset Forward Reference 2" start="72" end="79" type="int"/>
+ <field name="HEVC/VP9 Weights Backward Reference 0" start="80" end="87" type="int"/>
+ <field name="HEVC/VP9 Offset Backward Reference 0" start="88" end="95" type="int"/>
</instruction>
<instruction name="VD_PIPELINE_FLUSH" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="15"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="MFX Pipeline Command Flush" start="51" end="51" type="bool"/>
- <field name="VD-ENC Pipeline Command Flush" start="49" end="49" type="bool"/>
- <field name="HEVC Pipeline Command Flush" start="48" end="48" type="bool"/>
- <field name="VD Command/Message Parser Done" start="36" end="36" type="bool"/>
- <field name="MFX Pipeline Done" start="35" end="35" type="bool"/>
- <field name="VD-ENC Pipeline Done" start="33" end="33" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="15"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HEVC Pipeline Done" start="32" end="32" type="bool"/>
+ <field name="VD-ENC Pipeline Done" start="33" end="33" type="bool"/>
+ <field name="MFX Pipeline Done" start="35" end="35" type="bool"/>
+ <field name="VD Command/Message Parser Done" start="36" end="36" type="bool"/>
+ <field name="HEVC Pipeline Command Flush" start="48" end="48" type="bool"/>
+ <field name="VD-ENC Pipeline Command Flush" start="49" end="49" type="bool"/>
+ <field name="MFX Pipeline Command Flush" start="51" end="51" type="bool"/>
</instruction>
- <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
- <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_INSTDONE" length="1" num="0x2206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
+ <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
+ <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
</register>
- <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
- <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_0" length="1" num="0x7000">
+ <field name="Null tile fix disable" start="0" end="0" type="bool"/>
+ <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
+ <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
+ <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
+ <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
+ <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
+ <value name="Round Robin" value="0"/>
+ <value name="Fetch are Highest Priority" value="1"/>
+ <value name="Constants are Highest Priority" value="2"/>
+ </field>
+ <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
+ <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
+ <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
+ <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
+ <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
+ <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
+ <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
+ <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
+ <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
+ <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
+ <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
+ <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
+ <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
+ <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
</register>
- <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
- <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_1" length="1" num="0x7004">
+ <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
+ <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable" start="3" end="3" type="bool"/>
+ <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
+ <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
+ <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
+ <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
+ <field name="Color Compression Disable" start="15" end="15" type="bool"/>
+ <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
+ <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable Mask" start="19" end="19" type="bool"/>
+ <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
+ <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
+ <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
+ <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
+ <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
</register>
- <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
- <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_SS" length="1" num="0x0e420">
+ <field name="Instruction Level 1 Cache Disable" start="0" end="0" type="bool"/>
+ <field name="Instruction Level 1 Cache and In-Flight Queue Disable " start="1" end="1" type="bool"/>
+ <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
+ <field name="Per Sample Blend Opt Disable" start="11" end="11" type="bool"/>
+ <field name="Instruction Level 1 Cache Disable Mask" start="16" end="16" type="bool"/>
+ <field name="Instruction Level 1 Cache and In-Flight Queue Disable Mask" start="17" end="17" type="bool"/>
+ <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
+ <field name="Per Sample Blend Opt Disable Mask" start="27" end="27" type="bool"/>
+ </register>
+
+ <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
+ <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
+ <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="COMMON_SLICE_CHICKEN3" length="1" num="0x7304">
+ <field name="PS Thread Panic Dispatch" start="6" end="7" type="uint"/>
+ <field name="PS Thread Panic Dispatch Mask" start="22" end="23" type="uint"/>
+ </register>
+
+ <register name="CS_CHICKEN1" length="1" num="0x2580">
+ <field name="Replay Mode" start="0" end="0" type="uint">
+ <value name="Mid-cmdbuffer Preemption" value="0"/>
+ <value name="Object Level Preemption" value="1"/>
+ </field>
+ <field name="Replay Mode Mask" start="16" end="16" type="bool"/>
+ </register>
+
+ <register name="CS_DEBUG_MODE2" length="1" num="0x20d8">
+ <field name="3D Rendering Instruction Disable" start="0" end="0" type="bool"/>
+ <field name="Media Instruction Disable" start="1" end="1" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable" start="4" end="4" type="bool"/>
+ <field name="3D Rendering Instruction Disable Mask" start="16" end="16" type="bool"/>
+ <field name="Media Instruction Disable Mask" start="17" end="17" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="20" end="20" type="bool"/>
+ </register>
+
+ <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
+ <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
<register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
@@ -6811,27 +6884,21 @@
<field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
- <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
- </register>
-
- <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
- <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="HALF_SLICE_CHICKEN7" length="1" num="0x0e194">
+ <field name="Enabled Texel Offset Precision Fix" start="1" end="1" type="bool"/>
+ <field name="Enabled Texel Offset Precision Fix Mask" start="17" end="17" type="bool"/>
</register>
- <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
- <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
+ <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
- <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
+ <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="BCS_INSTDONE" length="1" num="0x2206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
- <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
- <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
+ <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
+ <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
</register>
<register name="INSTDONE_1" length="1" num="0x206c">
@@ -6861,65 +6928,18 @@
<field name="TSG1 Done" start="24" end="24" type="bool"/>
</register>
- <register name="VCS_INSTDONE" length="1" num="0x1206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="USB Done" start="1" end="1" type="bool"/>
- <field name="QRC Done" start="2" end="2" type="bool"/>
- <field name="SEC Done" start="3" end="3" type="bool"/>
- <field name="MPC Done" start="4" end="4" type="bool"/>
- <field name="VFT Done" start="5" end="5" type="bool"/>
- <field name="BSP Done" start="6" end="6" type="bool"/>
- <field name="VLF Done" start="7" end="7" type="bool"/>
- <field name="VOP Done" start="8" end="8" type="bool"/>
- <field name="VMC Done" start="9" end="9" type="bool"/>
- <field name="VIP Done" start="10" end="10" type="bool"/>
- <field name="VIT Done" start="11" end="11" type="bool"/>
- <field name="VDS Done" start="12" end="12" type="bool"/>
- <field name="VMX Done" start="13" end="13" type="bool"/>
- <field name="VCP Done" start="14" end="14" type="bool"/>
- <field name="VCD Done" start="15" end="15" type="bool"/>
- <field name="VAD Done" start="16" end="16" type="bool"/>
- <field name="VMD Done" start="17" end="17" type="bool"/>
- <field name="VIS Done" start="18" end="18" type="bool"/>
- <field name="VAC Done" start="19" end="19" type="bool"/>
- <field name="VAM Done" start="20" end="20" type="bool"/>
- <field name="JPG Done" start="21" end="21" type="bool"/>
- <field name="VBP Done" start="22" end="22" type="bool"/>
- <field name="VHR Done" start="23" end="23" type="bool"/>
- <field name="VCI Done" start="24" end="24" type="bool"/>
- <field name="VIN Done" start="26" end="26" type="bool"/>
- <field name="VPR Done" start="27" end="27" type="bool"/>
- <field name="VTQ Done" start="28" end="28" type="bool"/>
- <field name="Reserved" start="29" end="29" type="bool"/>
- <field name="VCS Done" start="30" end="30" type="bool"/>
- <field name="GAC Done" start="31" end="31" type="bool"/>
+ <register name="L3CNTLREG" length="1" num="0x7034">
+ <field name="SLM Enable" start="0" end="0" type="uint"/>
+ <field name="URB Allocation" start="1" end="7" type="uint"/>
+ <field name="Error Detection Behavior Control" start="9" end="9" type="bool"/>
+ <field name="Use Full Ways" start="10" end="10" type="bool"/>
+ <field name="RO Allocation" start="11" end="17" type="uint"/>
+ <field name="DC Allocation" start="18" end="24" type="uint"/>
+ <field name="All Allocation" start="25" end="31" type="uint"/>
</register>
- <register name="SC_INSTDONE" length="1" num="0x7100">
- <field name="SVL Done" start="0" end="0" type="bool"/>
- <field name="WMFE Done" start="1" end="1" type="bool"/>
- <field name="WMBE Done" start="2" end="2" type="bool"/>
- <field name="HIZ Done" start="3" end="3" type="bool"/>
- <field name="STC Done" start="4" end="4" type="bool"/>
- <field name="IZ Done" start="5" end="5" type="bool"/>
- <field name="SBE Done" start="6" end="6" type="bool"/>
- <field name="RCZ Done" start="8" end="8" type="bool"/>
- <field name="RCC Done" start="9" end="9" type="bool"/>
- <field name="RCPBE Done" start="10" end="10" type="bool"/>
- <field name="RCPFE Done" start="11" end="11" type="bool"/>
- <field name="DAPB Done" start="12" end="12" type="bool"/>
- <field name="DAPRBE Done" start="13" end="13" type="bool"/>
- <field name="SARB Done" start="15" end="15" type="bool"/>
- <field name="DC0 Done" start="16" end="16" type="bool"/>
- <field name="DC1 Done" start="17" end="17" type="bool"/>
- <field name="DC2 Done" start="18" end="18" type="bool"/>
- <field name="DC3 Done" start="19" end="19" type="bool"/>
- <field name="GW0 Done" start="20" end="20" type="bool"/>
- <field name="GW1 Done" start="21" end="21" type="bool"/>
- <field name="GW2 Done" start="22" end="22" type="bool"/>
- <field name="GW3 Done" start="23" end="23" type="bool"/>
- <field name="TDC Done" start="24" end="24" type="bool"/>
- <field name="SFBE Done" start="25" end="25" type="bool"/>
+ <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
+ <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
<register name="ROW_INSTDONE" length="1" num="0xe164">
@@ -6963,22 +6983,36 @@
<field name="BDM Done" start="19" end="19" type="bool"/>
</register>
- <register name="L3CNTLREG" length="1" num="0x7034">
- <field name="SLM Enable" start="0" end="0" type="uint"/>
- <field name="URB Allocation" start="1" end="7" type="uint"/>
- <field name="Error Detection Behavior Control" start="9" end="9" type="bool"/>
- <field name="Use Full Ways" start="10" end="10" type="bool"/>
- <field name="RO Allocation" start="11" end="17" type="uint"/>
- <field name="DC Allocation" start="18" end="24" type="uint"/>
- <field name="All Allocation" start="25" end="31" type="uint"/>
+ <register name="SAMPLER_MODE" length="1" num="0x0e18c">
+ <field name="Headerless Message for Pre-emptable Contexts" start="5" end="5" type="bool"/>
+ <field name="Headerless Message for Pre-emptable Contexts Mask" start="21" end="21" type="bool"/>
</register>
- <register name="CS_CHICKEN1" length="1" num="0x2580">
- <field name="Replay Mode" start="0" end="0" type="uint">
- <value name="Mid-cmdbuffer Preemption" value="0"/>
- <value name="Object Level Preemption" value="1"/>
- </field>
- <field name="Replay Mode Mask" start="16" end="16" type="bool"/>
+ <register name="SC_INSTDONE" length="1" num="0x7100">
+ <field name="SVL Done" start="0" end="0" type="bool"/>
+ <field name="WMFE Done" start="1" end="1" type="bool"/>
+ <field name="WMBE Done" start="2" end="2" type="bool"/>
+ <field name="HIZ Done" start="3" end="3" type="bool"/>
+ <field name="STC Done" start="4" end="4" type="bool"/>
+ <field name="IZ Done" start="5" end="5" type="bool"/>
+ <field name="SBE Done" start="6" end="6" type="bool"/>
+ <field name="RCZ Done" start="8" end="8" type="bool"/>
+ <field name="RCC Done" start="9" end="9" type="bool"/>
+ <field name="RCPBE Done" start="10" end="10" type="bool"/>
+ <field name="RCPFE Done" start="11" end="11" type="bool"/>
+ <field name="DAPB Done" start="12" end="12" type="bool"/>
+ <field name="DAPRBE Done" start="13" end="13" type="bool"/>
+ <field name="SARB Done" start="15" end="15" type="bool"/>
+ <field name="DC0 Done" start="16" end="16" type="bool"/>
+ <field name="DC1 Done" start="17" end="17" type="bool"/>
+ <field name="DC2 Done" start="18" end="18" type="bool"/>
+ <field name="DC3 Done" start="19" end="19" type="bool"/>
+ <field name="GW0 Done" start="20" end="20" type="bool"/>
+ <field name="GW1 Done" start="21" end="21" type="bool"/>
+ <field name="GW2 Done" start="22" end="22" type="bool"/>
+ <field name="GW3 Done" start="23" end="23" type="bool"/>
+ <field name="TDC Done" start="24" end="24" type="bool"/>
+ <field name="SFBE Done" start="25" end="25" type="bool"/>
</register>
<register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
@@ -7029,87 +7063,41 @@
<field name="Write Offset" start="2" end="31" type="offset"/>
</register>
- <register name="CACHE_MODE_0" length="1" num="0x7000">
- <field name="Null tile fix disable" start="0" end="0" type="bool"/>
- <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
- <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
- <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
- <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
- <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
- <value name="Round Robin" value="0"/>
- <value name="Fetch are Highest Priority" value="1"/>
- <value name="Constants are Highest Priority" value="2"/>
- </field>
- <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
- <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
- <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
- <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
-
- <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
- <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
- <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
- <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
- <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
- <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
- <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
- <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
- <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
- <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
- </register>
-
- <register name="CACHE_MODE_1" length="1" num="0x7004">
- <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
- <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable" start="3" end="3" type="bool"/>
- <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
- <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
- <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
- <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
- <field name="Color Compression Disable" start="15" end="15" type="bool"/>
-
- <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
- <field name="RCZ PMA Promoted 2 Not-Promoted Allocation stall optimization Disable Mask" start="19" end="19" type="bool"/>
- <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
- <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
- <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
- <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
- <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
- </register>
-
- <register name="CACHE_MODE_SS" length="1" num="0x0e420">
- <field name="Instruction Level 1 Cache Disable" start="0" end="0" type="bool"/>
- <field name="Instruction Level 1 Cache and In-Flight Queue Disable " start="1" end="1" type="bool"/>
- <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
- <field name="Per Sample Blend Opt Disable" start="11" end="11" type="bool"/>
-
- <field name="Instruction Level 1 Cache Disable Mask" start="16" end="16" type="bool"/>
- <field name="Instruction Level 1 Cache and In-Flight Queue Disable Mask" start="17" end="17" type="bool"/>
- <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
- <field name="Per Sample Blend Opt Disable Mask" start="27" end="27" type="bool"/>
- </register>
-
- <register name="CS_DEBUG_MODE2" length="1" num="0x20d8">
- <field name="3D Rendering Instruction Disable" start="0" end="0" type="bool"/>
- <field name="Media Instruction Disable" start="1" end="1" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable" start="4" end="4" type="bool"/>
-
- <field name="3D Rendering Instruction Disable Mask" start="16" end="16" type="bool"/>
- <field name="Media Instruction Disable Mask" start="17" end="17" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="20" end="20" type="bool"/>
- </register>
-
- <register name="SAMPLER_MODE" length="1" num="0x0e18c">
- <field name="Headerless Message for Pre-emptable Contexts" start="5" end="5" type="bool"/>
- <field name="Headerless Message for Pre-emptable Contexts Mask" start="21" end="21" type="bool"/>
- </register>
-
- <register name="HALF_SLICE_CHICKEN7" length="1" num="0x0e194">
- <field name="Enabled Texel Offset Precision Fix" start="1" end="1" type="bool"/>
- <field name="Enabled Texel Offset Precision Fix Mask" start="17" end="17" type="bool"/>
+ <register name="VCS_INSTDONE" length="1" num="0x1206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="USB Done" start="1" end="1" type="bool"/>
+ <field name="QRC Done" start="2" end="2" type="bool"/>
+ <field name="SEC Done" start="3" end="3" type="bool"/>
+ <field name="MPC Done" start="4" end="4" type="bool"/>
+ <field name="VFT Done" start="5" end="5" type="bool"/>
+ <field name="BSP Done" start="6" end="6" type="bool"/>
+ <field name="VLF Done" start="7" end="7" type="bool"/>
+ <field name="VOP Done" start="8" end="8" type="bool"/>
+ <field name="VMC Done" start="9" end="9" type="bool"/>
+ <field name="VIP Done" start="10" end="10" type="bool"/>
+ <field name="VIT Done" start="11" end="11" type="bool"/>
+ <field name="VDS Done" start="12" end="12" type="bool"/>
+ <field name="VMX Done" start="13" end="13" type="bool"/>
+ <field name="VCP Done" start="14" end="14" type="bool"/>
+ <field name="VCD Done" start="15" end="15" type="bool"/>
+ <field name="VAD Done" start="16" end="16" type="bool"/>
+ <field name="VMD Done" start="17" end="17" type="bool"/>
+ <field name="VIS Done" start="18" end="18" type="bool"/>
+ <field name="VAC Done" start="19" end="19" type="bool"/>
+ <field name="VAM Done" start="20" end="20" type="bool"/>
+ <field name="JPG Done" start="21" end="21" type="bool"/>
+ <field name="VBP Done" start="22" end="22" type="bool"/>
+ <field name="VHR Done" start="23" end="23" type="bool"/>
+ <field name="VCI Done" start="24" end="24" type="bool"/>
+ <field name="VIN Done" start="26" end="26" type="bool"/>
+ <field name="VPR Done" start="27" end="27" type="bool"/>
+ <field name="VTQ Done" start="28" end="28" type="bool"/>
+ <field name="Reserved" start="29" end="29" type="bool"/>
+ <field name="VCS Done" start="30" end="30" type="bool"/>
+ <field name="GAC Done" start="31" end="31" type="bool"/>
</register>
- <register name="COMMON_SLICE_CHICKEN3" length="1" num="0x7304">
- <field name="PS Thread Panic Dispatch" start="6" end="7" type="uint"/>
- <field name="PS Thread Panic Dispatch Mask" start="22" end="23" type="uint"/>
+ <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
+ <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
-
</genxml>
diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml
index 869f342c2d5..af151ecde7c 100644
--- a/src/intel/genxml/gen4.xml
+++ b/src/intel/genxml/gen4.xml
@@ -1,47 +1,5 @@
<?xml version="1.0" ?>
<genxml name="BRW" gen="4">
- <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
- <value name="POINTLIST" value="1"/>
- <value name="LINELIST" value="2"/>
- <value name="LINESTRIP" value="3"/>
- <value name="TRILIST" value="4"/>
- <value name="TRISTRIP" value="5"/>
- <value name="TRIFAN" value="6"/>
- <value name="QUADLIST" value="7"/>
- <value name="QUADSTRIP" value="8"/>
- <value name="LINELIST_ADJ" value="9"/>
- <value name="LINESTRIP_ADJ" value="10"/>
- <value name="TRILIST_ADJ" value="11"/>
- <value name="TRISTRIP_ADJ" value="12"/>
- <value name="TRISTRIP_REVERSE" value="13"/>
- <value name="POLYGON" value="14"/>
- <value name="RECTLIST" value="15"/>
- <value name="LINELOOP" value="16"/>
- <value name="POINTLIST _BF" value="17"/>
- <value name="LINESTRIP_CONT" value="18"/>
- <value name="LINESTRIP_BF" value="19"/>
- <value name="LINESTRIP_CONT_BF" value="20"/>
- <value name="TRIFAN_NOSTIPPLE" value="22"/>
- </enum>
-
- <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
- <value name="NOSTORE" value="0"/>
- <value name="STORE_SRC" value="1"/>
- <value name="STORE_0" value="2"/>
- <value name="STORE_1_FP" value="3"/>
- <value name="STORE_1_INT" value="4"/>
- <value name="STORE_VID" value="5"/>
- <value name="STORE_IID" value="6"/>
- <value name="STORE_PID" value="7"/>
- </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_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
<value name="ONE" value="1"/>
@@ -65,6 +23,14 @@
<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"/>
@@ -76,17 +42,6 @@
<value name="GEQUAL" value="7"/>
</enum>
- <enum name="3D_Stencil_Operation" prefix="STENCILOP">
- <value name="KEEP" value="0"/>
- <value name="ZERO" value="1"/>
- <value name="REPLACE" value="2"/>
- <value name="INCRSAT" value="3"/>
- <value name="DECRSAT" value="4"/>
- <value name="INCR" value="5"/>
- <value name="DECR" value="6"/>
- <value name="INVERT" value="7"/>
- </enum>
-
<enum name="3D_Logic_Op_Function" prefix="LOGICOP">
<value name="CLEAR" value="0"/>
<value name="NOR" value="1"/>
@@ -106,6 +61,52 @@
<value name="SET" value="15"/>
</enum>
+ <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
+ <value name="POINTLIST" value="1"/>
+ <value name="LINELIST" value="2"/>
+ <value name="LINESTRIP" value="3"/>
+ <value name="TRILIST" value="4"/>
+ <value name="TRISTRIP" value="5"/>
+ <value name="TRIFAN" value="6"/>
+ <value name="QUADLIST" value="7"/>
+ <value name="QUADSTRIP" value="8"/>
+ <value name="LINELIST_ADJ" value="9"/>
+ <value name="LINESTRIP_ADJ" value="10"/>
+ <value name="TRILIST_ADJ" value="11"/>
+ <value name="TRISTRIP_ADJ" value="12"/>
+ <value name="TRISTRIP_REVERSE" value="13"/>
+ <value name="POLYGON" value="14"/>
+ <value name="RECTLIST" value="15"/>
+ <value name="LINELOOP" value="16"/>
+ <value name="POINTLIST _BF" value="17"/>
+ <value name="LINESTRIP_CONT" value="18"/>
+ <value name="LINESTRIP_BF" value="19"/>
+ <value name="LINESTRIP_CONT_BF" value="20"/>
+ <value name="TRIFAN_NOSTIPPLE" value="22"/>
+ </enum>
+
+ <enum name="3D_Stencil_Operation" prefix="STENCILOP">
+ <value name="KEEP" value="0"/>
+ <value name="ZERO" value="1"/>
+ <value name="REPLACE" value="2"/>
+ <value name="INCRSAT" value="3"/>
+ <value name="DECRSAT" value="4"/>
+ <value name="INCR" value="5"/>
+ <value name="DECR" value="6"/>
+ <value name="INVERT" value="7"/>
+ </enum>
+
+ <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
+ <value name="NOSTORE" value="0"/>
+ <value name="STORE_SRC" value="1"/>
+ <value name="STORE_0" value="2"/>
+ <value name="STORE_1_FP" value="3"/>
+ <value name="STORE_1_INT" value="4"/>
+ <value name="STORE_VID" value="5"/>
+ <value name="STORE_IID" value="6"/>
+ <value name="STORE_PID" value="7"/>
+ </enum>
+
<enum name="Texture_Coordinate_Mode" prefix="TCM">
<value name="WRAP" value="0"/>
<value name="MIRROR" value="1"/>
@@ -121,46 +122,33 @@
</struct>
<struct name="CLIP_STATE" length="11">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Clipper Statistics Enable" start="138" end="138" type="bool"/>
<field name="GS Output Object Statistics Enable" start="138" end="138" type="bool"/>
- <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
- <value name="OGL" value="0"/>
- <value name="D3D" value="1"/>
- </field>
- <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
- <value name="NDCSPACE" value="0"/>
- <value name="SCREENSPACE" value="1"/>
- </field>
- <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
- <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
- <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
- <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
- <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
<value name="NORMAL" value="0"/>
<value name="ALL" value="1"/>
@@ -168,6 +156,19 @@
<value name="REJECT_ALL" value="3"/>
<value name="ACCEPT_ALL" value="4"/>
</field>
+ <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
+ <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
+ <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
+ <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
+ <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
+ <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
+ <value name="NDCSPACE" value="0"/>
+ <value name="SCREENSPACE" value="1"/>
+ </field>
+ <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
+ <value name="OGL" value="0"/>
+ <value name="D3D" value="1"/>
+ </field>
<field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/>
<field name="Screen Space Viewport X Min" start="224" end="255" type="float"/>
<field name="Screen Space Viewport X Max" start="256" end="287" type="float"/>
@@ -182,150 +183,143 @@
<field name="YMax Clip Guardband" start="96" end="127" type="float"/>
</struct>
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
<struct name="COLOR_CALC_STATE" length="8">
- <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
- <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
- <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
- <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="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
- <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
- <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
- <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
+ <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
+ <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
+ <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
<field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/>
- <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
- <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
- <field name="Depth Test Enable" start="79" end="79" type="bool"/>
- <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
- <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
+ <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
+ <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
+ <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
<field name="Logic Op Enable" start="64" end="64" type="bool"/>
+ <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
+ <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
+ <field name="Depth Test Enable" start="79" end="79" type="bool"/>
+ <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
+ <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
+ <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
+ <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
+ <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
<field name="Alpha Test Format" start="111" end="111" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
- <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
- <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
- <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
- <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
<field name="CC Viewport State Pointer" start="133" end="159" type="address"/>
- <field name="Color Dither Enable" start="191" end="191" type="bool"/>
- <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
- <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
- <field name="Statistics Enable" start="175" end="175" type="bool"/>
- <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
<field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="X Dither Offset" start="209" end="210" type="uint"/>
- <field name="Y Dither Offset" start="207" end="208" type="uint"/>
+ <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Statistics Enable" start="175" end="175" type="bool"/>
+ <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
+ <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
+ <field name="Color Dither Enable" start="191" end="191" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
<field name="Color Clamp Range" start="194" end="195" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
+ <field name="Y Dither Offset" start="207" end="208" type="uint"/>
+ <field name="X Dither Offset" start="209" end="210" type="uint"/>
+ <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
<field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/>
</struct>
<struct name="GS_STATE" length="7">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Number of URB Entries" start="139" end="146" type="uint"/>
- <field name="Sampler State Pointer" start="165" end="191" type="address"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Sampler Count" start="160" end="162" type="uint"/>
- <field name="Reorder Enable" start="222" end="222" type="bool"/>
- <field name="Discard Adjacency" start="221" end="221" type="bool"/>
+ <field name="Sampler State Pointer" start="165" end="191" type="address"/>
<field name="Maximum VPIndex" start="192" end="195" type="uint"/>
+ <field name="Discard Adjacency" start="221" end="221" type="bool"/>
+ <field name="Reorder Enable" start="222" end="222" type="bool"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="5">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_NULL" value="7"/>
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
</field>
- <field name="Data Return Format" start="27" end="27" type="uint">
- <value name="DATA_RETURN_FLOAT32" value="0"/>
- <value name="DATA_RETURN_S1.14" value="1"/>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="WRITE_ONLY" value="0"/>
+ <value name="READ_WRITE" value="1"/>
</field>
- <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
+ <value name="MIPLAYOUT_BELOW" value="0"/>
+ <value name="MIPLAYOUT_RIGHT" value="1"/>
+ </field>
+ <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
+ <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
+ <field name="Color Blend Enable" start="13" end="13" type="bool"/>
<field name="Color Buffer Component Write Disables" start="14" end="17" type="uint">
<value name="WRITEDISABLE_ALPHA" value="8"/>
<value name="WRITEDISABLE_RED" value="4"/>
<value name="WRITEDISABLE_GREEN" value="2"/>
<value name="WRITEDISABLE_BLUE" value="1"/>
</field>
- <field name="Color Blend Enable" start="13" end="13" type="bool"/>
- <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
- <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
- <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
- <value name="MIPLAYOUT_BELOW" value="0"/>
- <value name="MIPLAYOUT_RIGHT" value="1"/>
- </field>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="WRITE_ONLY" value="0"/>
- <value name="READ_WRITE" value="1"/>
+ <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="Data Return Format" start="27" end="27" type="uint">
+ <value name="DATA_RETURN_FLOAT32" value="0"/>
+ <value name="DATA_RETURN_S1.14" value="1"/>
</field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
<field name="Surface Base Address" start="32" end="63" type="address"/>
- <field name="Height" start="83" end="95" type="uint"/>
- <field name="Width" start="70" end="82" type="uint"/>
<field name="MIP Count / LOD" start="66" end="69" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Tiled Surface" start="97" end="97" type="uint"/>
+ <field name="Width" start="70" end="82" type="uint"/>
+ <field name="Height" start="83" end="95" type="uint"/>
<field name="Tile Walk" start="96" end="96" type="uint">
<value name="TILEWALK_XMAJOR" value="0"/>
<value name="TILEWALK_YMAJOR" value="1"/>
</field>
- <field name="Surface Min LOD" start="156" end="159" type="uint"/>
- <field name="Minimum Array Element" start="145" end="155" type="uint"/>
+ <field name="Tiled Surface" start="97" end="97" type="uint"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Depth" start="117" end="127" type="uint"/>
<field name="Render Target View Extent" start="136" end="144" type="uint"/>
+ <field name="Minimum Array Element" start="145" end="155" type="uint"/>
+ <field name="Surface Min LOD" start="156" end="159" type="uint"/>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
@@ -336,22 +330,6 @@
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
- <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
- </field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
- <value name="NEAREST" value="0"/>
- <value name="LINEAR" value="1"/>
- <value name="ANISOTROPIC" value="2"/>
- <value name="MONO" value="6"/>
- </field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
- <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
<field name="Shadow Function" start="0" end="2" type="uint">
<value name="PREFILTEROP_ALWAYS" value="0"/>
<value name="PREFILTEROP_NEVER" value="1"/>
@@ -362,22 +340,38 @@
<value name="PREFILTEROP_NOTEQUAL" value="6"/>
<value name="PREFILTEROP_GEQUAL" value="7"/>
</field>
- <field name="Min LOD" start="54" end="63" type="u4.6"/>
- <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <value name="NEAREST" value="0"/>
+ <value name="LINEAR" value="1"/>
+ <value name="ANISOTROPIC" value="2"/>
+ <value name="MONO" value="6"/>
+ </field>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
+ </field>
+ <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
+ <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
+ <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
+ <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
<field name="Cube Surface Control Mode" start="41" end="41" type="uint">
<value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
<value name="CUBECTRLMODE_OVERRIDE" value="1"/>
</field>
- <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
- <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
- <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
+ <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Min LOD" start="54" end="63" type="u4.6"/>
<field name="Border Color Pointer" start="69" end="95" type="address"/>
- <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
- <field name="ChromaKey Index" start="119" end="120" type="uint"/>
- <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
- <value name="KILL_ON_ANY_MATCH" value="0"/>
- <value name="REPLACE_BLACK" value="1"/>
- </field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -388,72 +382,88 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
+ <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
+ <value name="KILL_ON_ANY_MATCH" value="0"/>
+ <value name="REPLACE_BLACK" value="1"/>
+ </field>
+ <field name="ChromaKey Index" start="119" end="120" type="uint"/>
+ <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
+ </struct>
+
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
<struct name="SF_STATE" length="8">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Number of URB Entries" start="139" end="146" type="uint"/>
- <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
- <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Front Winding" start="160" end="160" type="uint">
<value name="FRONTWINDING_CW" value="0"/>
<value name="FRONTWINDING_CCW" value="1"/>
</field>
- <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/>
- <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
- <value name="BOTH" value="0"/>
- <value name="NONE" value="1"/>
- <value name="FRONT" value="2"/>
- <value name="BACK" value="3"/>
+ <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
+ <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
+ <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
+ <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
+ <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
+ <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
+ <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
+ <field name="Point Rasterization Rule" start="212" end="213" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
- <field name="Line Width" start="216" end="219" type="u3.1"/>
<field name="Line End Cap Antialiasing Region Width" start="214" end="215" 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="Point Rasterization Rule" start="212" end="213" type="uint">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <field name="Line Width" start="216" end="219" type="u3.1"/>
+ <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
+ <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
+ <value name="BOTH" value="0"/>
+ <value name="NONE" value="1"/>
+ <value name="FRONT" value="2"/>
+ <value name="BACK" value="3"/>
</field>
- <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
- <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
- <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
- <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
- <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
- <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
+ <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/>
+ <field name="Point Width" start="224" end="234" type="u8.3"/>
+ <field name="Point Width Source" start="235" end="235" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
+ </field>
+ <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
+ <value name="8 Sub-Pixel Precision Bits" value="0"/>
+ <value name="4 Sub-Pixel Precision Bits" value="1"/>
+ </field>
+ <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
@@ -462,21 +472,12 @@
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
</field>
- <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
- <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
- <value name="8 Sub-Pixel Precision Bits" value="0"/>
- <value name="4 Sub-Pixel Precision Bits" value="1"/>
- </field>
- <field name="Point Width Source" start="235" end="235" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
- </field>
- <field name="Point Width" start="224" end="234" type="u8.3"/>
+ <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
</struct>
<struct name="SF_VIEWPORT" length="8">
@@ -490,129 +491,129 @@
</struct>
<struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
+ <field name="Buffer Pitch" start="0" end="10" type="uint"/>
<field name="Buffer Access Type" start="26" end="26" type="uint">
<value name="VERTEXDATA" value="0"/>
<value name="INSTANCEDATA" value="1"/>
</field>
- <field name="Buffer Pitch" start="0" end="10" type="uint"/>
+ <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Max Index" start="64" end="95" type="uint"/>
<field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
</struct>
<struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
- <field name="Valid" start="26" end="26" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
<field name="Source Element Offset" start="0" end="10" type="uint"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="26" end="26" type="bool"/>
+ <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
<field name="Destination Element Offset" start="32" end="39" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
<field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<struct name="VS_STATE" length="7">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Statistics Enable" start="138" end="138" type="bool"/>
- <field name="Sampler State Pointer" start="165" end="191" type="address"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Sampler Count" start="160" end="162" type="uint"/>
- <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
+ <field name="Sampler State Pointer" start="165" end="191" type="address"/>
<field name="Enable" start="192" end="192" type="bool"/>
+ <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
</struct>
<struct name="WM_STATE" length="8">
- <field name="Kernel Start Pointer 0" start="6" end="31" type="address"/>
<field name="GRF Register Count 0" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="High" value="1"/>
- </field>
+ <field name="Kernel Start Pointer 0" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="33" end="33" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
+ <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
- <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
- <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
- <field name="Software Exception Enable" start="33" end="33" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
- <field name="Sampler State Pointer" start="133" end="159" type="address"/>
- <field name="Sampler Count" start="130" end="132" type="uint"/>
+ <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Statistics Enable" start="128" end="128" type="bool"/>
- <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 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="Early Depth Test Enable" start="178" end="178" type="bool"/>
- <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
+ <field name="Sampler Count" start="130" end="132" type="uint"/>
+ <field name="Sampler State Pointer" start="133" end="159" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
+ <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
+ <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
+ <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
+ <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="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="Polygon Stipple Enable" start="173" end="173" type="bool"/>
- <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
- <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
- <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
- <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
+ <field name="Early Depth Test Enable" start="178" end="178" type="bool"/>
+ <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
+ <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
+ <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
<field name="Global Depth Offset Constant" start="192" end="223" type="float"/>
<field name="Global Depth Offset Scale" start="224" end="255" type="float"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="15" end="15" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
<field name="Start Vertex Location" start="64" end="95" type="uint"/>
<field name="Instance Count" start="96" end="127" type="uint" default="1">
@@ -623,11 +624,11 @@
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
<field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
<field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
@@ -636,11 +637,11 @@
</instruction>
<instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Blend Constant Color Red" start="32" end="63" type="float"/>
<field name="Blend Constant Color Green" start="64" end="95" type="float"/>
<field name="Blend Constant Color Blue" start="96" end="127" type="float"/>
@@ -648,28 +649,12 @@
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Surface Type" start="61" end="63" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Tiled Surface" start="59" end="59" type="bool"/>
- <field name="Tile Walk" start="58" end="58" type="uint">
- <value name="TILEWALK_YMAJOR" value="1"/>
- </field>
- <field name="Depth Buffer Coordinate Offset Disable" start="57" end="57" type="bool"/>
- <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
- <value name="NORMAL" value="0"/>
- <value name="STR1" value="1"/>
- <value name="STR2" value="3"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface Format" start="50" end="52" type="uint">
<value name="D32_FLOAT_S8X24_UINT" value="0"/>
<value name="D32_FLOAT" value="1"/>
@@ -677,187 +662,203 @@
<value name="D24_UNORM_X8_UINT" value="3"/>
<value name="D16_UNORM" value="5"/>
</field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
- <field name="Surface Base Address" start="64" end="95" type="address"/>
- <field name="Height" start="115" end="127" type="uint">
- <value name="SURFTYPE_1D: must be zero" value="0"/>
+ <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
+ <value name="NORMAL" value="0"/>
+ <value name="STR1" value="1"/>
+ <value name="STR2" value="3"/>
</field>
- <field name="Width" start="102" end="114" type="uint"/>
- <field name="LOD" start="98" end="101" type="uint"/>
+ <field name="Depth Buffer Coordinate Offset Disable" start="57" end="57" type="bool"/>
+ <field name="Tile Walk" start="58" end="58" type="uint">
+ <value name="TILEWALK_YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="59" end="59" type="bool"/>
+ <field name="Surface Type" start="61" end="63" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
+ <field name="Surface Base Address" start="64" end="95" type="address"/>
<field name="MIP Map Layout Mode" start="97" end="97" type="uint">
<value name="MIPLAYOUT_BELOW" value="0"/>
<value name="MIPLAYOUT_RIGHT" value="1"/>
</field>
+ <field name="LOD" start="98" end="101" type="uint"/>
+ <field name="Width" start="102" end="114" type="uint"/>
+ <field name="Height" start="115" end="127" type="uint">
+ <value name="SURFTYPE_1D: must be zero" value="0"/>
+ </field>
+ <field name="Render Target View Extent" start="129" end="137" type="uint"/>
+ <field name="Minimum Array Element" start="138" end="148" type="uint"/>
<field name="Depth" start="149" end="159" type="uint">
<value name="SURFTYPE_CUBE: must be zero" value="0"/>
</field>
- <field name="Minimum Array Element" start="138" end="148" type="uint"/>
- <field name="Render Target View Extent" start="129" end="137" type="uint"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Global Depth Offset Clamp" start="32" end="63" type="float"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
- <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Buffer Ending Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
</instruction>
<instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS State" start="37" end="63" type="address"/>
- <field name="Pointer to GS State" start="69" end="95" type="address"/>
<field name="GS Enable" start="64" end="64" type="bool"/>
- <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
+ <field name="Pointer to GS State" start="69" end="95" type="address"/>
<field name="Clip Enable" start="96" end="96" type="bool"/>
+ <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
<field name="Pointer to SF State" start="133" end="159" type="address"/>
<field name="Pointer to WM State" start="165" end="191" type="address"/>
<field name="Pointer to Color Calc State" start="197" end="223" type="address"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
- </instruction>
-
- <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
- <field name="Number of URB Entries" start="32" end="34" type="uint"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="CONSTANT_BUFFER" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
- <field name="Valid" start="8" end="8" type="bool" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Buffer Starting Address" start="38" end="63" type="address"/>
+ <field name="Valid" start="8" end="8" type="bool" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Length" start="32" end="37" type="uint"/>
+ <field name="Buffer Starting Address" start="38" end="63" type="address"/>
+ </instruction>
+
+ <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Number of URB Entries" start="32" end="34" type="uint"/>
+ <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
</instruction>
<instruction name="MI_FLUSH" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
- <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
- <value name="Don't Reset" value="0"/>
- <value name="Reset" value="1"/>
+ <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
+ <value name="Don't Invalidate" value="0"/>
+ <value name="Invalidate" value="1"/>
</field>
<field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
<value name="Flush" value="0"/>
<value name="Don't Flush" value="1"/>
</field>
- <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
- <value name="Don't Invalidate" value="0"/>
- <value name="Invalidate" value="1"/>
+ <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
+ <value name="Don't Reset" value="0"/>
+ <value name="Reset" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="63" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -867,11 +868,11 @@
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="5">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Memory Address Type" start="22" end="22" type="bool"/>
- <field name="BitFieldName" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
+ <field name="BitFieldName" start="21" end="21" type="uint"/>
+ <field name="Memory Address Type" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Physical Start Address Extension" start="32" end="35" type="address"/>
<field name="Address" start="66" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
@@ -879,139 +880,139 @@
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Physical Start Address Extension" start="60" end="63" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
+ <field name="Physical Start Address Extension" start="60" end="63" type="address"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
- <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
+ <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
+ <field name="Pipeline Selection" start="0" end="0" type="uint">
+ <value name="3D" value="0"/>
+ <value name="Media" value="1"/>
+ </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
<field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ </instruction>
+
+ <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
+ <field name="Write Cache Flush" start="12" end="12" type="bool"/>
+ <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
<field name="Post Sync Operation" start="14" end="15" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
- <field name="Write Cache Flush" start="12" end="12" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Address" start="35" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="63" type="address"/>
<field name="Immediate Data" start="64" end="127" type="uint"/>
</instruction>
- <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
- <field name="Pipeline Selection" start="0" end="0" type="uint">
- <value name="3D" value="0"/>
- <value name="Media" value="1"/>
- </field>
- </instruction>
-
<instruction name="STATE_BASE_ADDRESS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="General State Base Address" start="44" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
- <field name="Surface State Base Address" start="76" end="95" type="address"/>
+ <field name="General State Base Address" start="44" end="63" type="address"/>
<field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
- <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
+ <field name="Surface State Base Address" start="76" end="95" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/>
- <field name="General State Access Upper Bound" start="140" end="159" type="address"/>
+ <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
<field name="General State Access Upper Bound Modify Enable" start="128" end="128" type="bool"/>
- <field name="Instruction Access Upper Bound" start="172" end="191" type="address"/>
+ <field name="General State Access Upper Bound" start="140" end="159" type="address"/>
<field name="Instruction Access Upper Bound Modify Enable" start="160" end="160" type="bool"/>
+ <field name="Instruction Access Upper Bound" start="172" end="191" type="address"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="63" type="offset"/>
</instruction>
<instruction name="URB_FENCE" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
- <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
- <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
- <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
- <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
<field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/>
- <field name="CLIP Fence" start="52" end="61" type="uint"/>
- <field name="GS Fence" start="42" end="51" type="uint"/>
+ <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
+ <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
+ <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
+ <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
+ <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Fence" start="32" end="41" type="uint"/>
- <field name="CS Fence" start="84" end="94" type="uint"/>
- <field name="VFE Fence" start="74" end="83" type="uint"/>
+ <field name="GS Fence" start="42" end="51" type="uint"/>
+ <field name="CLIP Fence" start="52" end="61" type="uint"/>
<field name="SF Fence" start="64" end="73" type="uint"/>
+ <field name="VFE Fence" start="74" end="83" type="uint"/>
+ <field name="CS Fence" start="84" end="94" type="uint"/>
</instruction>
<instruction name="XY_COLOR_BLT" bias="2" length="6" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
<field name="Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
- <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
<field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
<field name="Solid Pattern Color" start="160" end="191" type="int"/>
</instruction>
<instruction name="XY_SETUP_BLT" bias="2" length="8" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
<field name="Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
- <field name="Mono Source Transparency Mode" start="61" end="61" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Mono Source Transparency Mode" start="61" end="61" type="bool"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/>
- <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
<field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
<field name="Background Color" start="160" end="191" type="uint"/>
<field name="Foreground Color" start="192" end="223" type="uint"/>
@@ -1019,46 +1020,46 @@
</instruction>
<instruction name="XY_SRC_COPY_BLT" bias="2" length="8" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
- <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
<field name="Destination Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
+ <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
- <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
<field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
- <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
<field name="Source X1 Coordinate" start="160" end="175" type="int"/>
+ <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
<field name="Source Pitch" start="192" end="207" type="int"/>
<field name="Source Base Address" start="224" end="255" type="address"/>
</instruction>
<instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="Tiling Enable" start="11" end="11" type="bool"/>
<field name="Packing" start="16" end="16" type="uint">
<value name="Bit Packed" value="0"/>
<value name="Byte Packed" value="1"/>
</field>
- <field name="Tiling Enable" start="11" end="11" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
<field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
<field name="Destination X1 Coordinate" start="32" end="47" type="int"/>
- <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
+ <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
<field name="Destination X2 Coordinate" start="64" end="79" type="int"/>
+ <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
</instruction>
</genxml>
diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml
index c56394cf8cd..5ef17796240 100644
--- a/src/intel/genxml/gen45.xml
+++ b/src/intel/genxml/gen45.xml
@@ -1,47 +1,5 @@
<?xml version="1.0" ?>
<genxml name="CTG" gen="4.5">
- <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
- <value name="POINTLIST" value="1"/>
- <value name="LINELIST" value="2"/>
- <value name="LINESTRIP" value="3"/>
- <value name="TRILIST" value="4"/>
- <value name="TRISTRIP" value="5"/>
- <value name="TRIFAN" value="6"/>
- <value name="QUADLIST" value="7"/>
- <value name="QUADSTRIP" value="8"/>
- <value name="LINELIST_ADJ" value="9"/>
- <value name="LINESTRIP_ADJ" value="10"/>
- <value name="TRILIST_ADJ" value="11"/>
- <value name="TRISTRIP_ADJ" value="12"/>
- <value name="TRISTRIP_REVERSE" value="13"/>
- <value name="POLYGON" value="14"/>
- <value name="RECTLIST" value="15"/>
- <value name="LINELOOP" value="16"/>
- <value name="POINTLIST _BF" value="17"/>
- <value name="LINESTRIP_CONT" value="18"/>
- <value name="LINESTRIP_BF" value="19"/>
- <value name="LINESTRIP_CONT_BF" value="20"/>
- <value name="TRIFAN_NOSTIPPLE" value="22"/>
- </enum>
-
- <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
- <value name="NOSTORE" value="0"/>
- <value name="STORE_SRC" value="1"/>
- <value name="STORE_0" value="2"/>
- <value name="STORE_1_FP" value="3"/>
- <value name="STORE_1_INT" value="4"/>
- <value name="STORE_VID" value="5"/>
- <value name="STORE_IID" value="6"/>
- <value name="STORE_PID" value="7"/>
- </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_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
<value name="ONE" value="1"/>
@@ -65,6 +23,14 @@
<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"/>
@@ -76,17 +42,6 @@
<value name="GEQUAL" value="7"/>
</enum>
- <enum name="3D_Stencil_Operation" prefix="STENCILOP">
- <value name="KEEP" value="0"/>
- <value name="ZERO" value="1"/>
- <value name="REPLACE" value="2"/>
- <value name="INCRSAT" value="3"/>
- <value name="DECRSAT" value="4"/>
- <value name="INCR" value="5"/>
- <value name="DECR" value="6"/>
- <value name="INVERT" value="7"/>
- </enum>
-
<enum name="3D_Logic_Op_Function" prefix="LOGICOP">
<value name="CLEAR" value="0"/>
<value name="NOR" value="1"/>
@@ -106,6 +61,52 @@
<value name="SET" value="15"/>
</enum>
+ <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
+ <value name="POINTLIST" value="1"/>
+ <value name="LINELIST" value="2"/>
+ <value name="LINESTRIP" value="3"/>
+ <value name="TRILIST" value="4"/>
+ <value name="TRISTRIP" value="5"/>
+ <value name="TRIFAN" value="6"/>
+ <value name="QUADLIST" value="7"/>
+ <value name="QUADSTRIP" value="8"/>
+ <value name="LINELIST_ADJ" value="9"/>
+ <value name="LINESTRIP_ADJ" value="10"/>
+ <value name="TRILIST_ADJ" value="11"/>
+ <value name="TRISTRIP_ADJ" value="12"/>
+ <value name="TRISTRIP_REVERSE" value="13"/>
+ <value name="POLYGON" value="14"/>
+ <value name="RECTLIST" value="15"/>
+ <value name="LINELOOP" value="16"/>
+ <value name="POINTLIST _BF" value="17"/>
+ <value name="LINESTRIP_CONT" value="18"/>
+ <value name="LINESTRIP_BF" value="19"/>
+ <value name="LINESTRIP_CONT_BF" value="20"/>
+ <value name="TRIFAN_NOSTIPPLE" value="22"/>
+ </enum>
+
+ <enum name="3D_Stencil_Operation" prefix="STENCILOP">
+ <value name="KEEP" value="0"/>
+ <value name="ZERO" value="1"/>
+ <value name="REPLACE" value="2"/>
+ <value name="INCRSAT" value="3"/>
+ <value name="DECRSAT" value="4"/>
+ <value name="INCR" value="5"/>
+ <value name="DECR" value="6"/>
+ <value name="INVERT" value="7"/>
+ </enum>
+
+ <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
+ <value name="NOSTORE" value="0"/>
+ <value name="STORE_SRC" value="1"/>
+ <value name="STORE_0" value="2"/>
+ <value name="STORE_1_FP" value="3"/>
+ <value name="STORE_1_INT" value="4"/>
+ <value name="STORE_VID" value="5"/>
+ <value name="STORE_IID" value="6"/>
+ <value name="STORE_PID" value="7"/>
+ </enum>
+
<enum name="Texture_Coordinate_Mode" prefix="TCM">
<value name="WRAP" value="0"/>
<value name="MIRROR" value="1"/>
@@ -121,47 +122,33 @@
</struct>
<struct name="CLIP_STATE" length="11">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Clipper Statistics Enable" start="138" end="138" type="bool"/>
<field name="GS Output Object Statistics Enable" start="138" end="138" type="bool"/>
- <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
- <value name="OGL" value="0"/>
- <value name="D3D" value="1"/>
- </field>
- <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
- <value name="NDCSPACE" value="0"/>
- <value name="SCREENSPACE" value="1"/>
- </field>
- <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
- <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
- <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
- <field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
- <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
- <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
<value name="NORMAL" value="0"/>
<value name="ALL" value="1"/>
@@ -169,6 +156,20 @@
<value name="REJECT_ALL" value="3"/>
<value name="ACCEPT_ALL" value="4"/>
</field>
+ <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
+ <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
+ <field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
+ <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
+ <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
+ <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
+ <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
+ <value name="NDCSPACE" value="0"/>
+ <value name="SCREENSPACE" value="1"/>
+ </field>
+ <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
+ <value name="OGL" value="0"/>
+ <value name="D3D" value="1"/>
+ </field>
<field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/>
<field name="Screen Space Viewport X Min" start="224" end="255" type="float"/>
<field name="Screen Space Viewport X Max" start="256" end="287" type="float"/>
@@ -183,156 +184,149 @@
<field name="YMax Clip Guardband" start="96" end="127" type="float"/>
</struct>
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
<struct name="COLOR_CALC_STATE" length="8">
- <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
- <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
- <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
- <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="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
- <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
- <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
- <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
+ <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
+ <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
+ <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
<field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/>
- <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
- <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
- <field name="Depth Test Enable" start="79" end="79" type="bool"/>
- <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
- <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
+ <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
+ <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
+ <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
<field name="Logic Op Enable" start="64" end="64" type="bool"/>
+ <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
+ <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
+ <field name="Depth Test Enable" start="79" end="79" type="bool"/>
+ <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
+ <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
+ <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
+ <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
+ <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
<field name="Alpha Test Format" start="111" end="111" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
- <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
- <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
- <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
- <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
<field name="CC Viewport State Pointer" start="133" end="159" type="address"/>
- <field name="Color Dither Enable" start="191" end="191" type="bool"/>
- <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
- <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
- <field name="Statistics Enable" start="175" end="175" type="bool"/>
- <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
<field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="X Dither Offset" start="209" end="210" type="uint"/>
- <field name="Y Dither Offset" start="207" end="208" type="uint"/>
+ <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Statistics Enable" start="175" end="175" type="bool"/>
+ <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
+ <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
+ <field name="Color Dither Enable" start="191" end="191" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
<field name="Color Clamp Range" start="194" end="195" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
+ <field name="Y Dither Offset" start="207" end="208" type="uint"/>
+ <field name="X Dither Offset" start="209" end="210" type="uint"/>
+ <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
<field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/>
</struct>
<struct name="GS_STATE" length="7">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
- <field name="GS Statistics Enable" start="138" end="138" type="bool"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Rendering Enable" start="136" end="136" type="bool"/>
- <field name="Sampler State Pointer" start="165" end="191" type="address"/>
+ <field name="GS Statistics Enable" start="138" end="138" type="bool"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Sampler Count" start="160" end="162" type="uint"/>
- <field name="Reorder Enable" start="222" end="222" type="bool"/>
- <field name="Discard Adjacency" start="221" end="221" type="bool"/>
+ <field name="Sampler State Pointer" start="165" end="191" type="address"/>
<field name="Maximum VPIndex" start="192" end="195" type="uint"/>
+ <field name="Discard Adjacency" start="221" end="221" type="bool"/>
+ <field name="Reorder Enable" start="222" end="222" type="bool"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="6">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_NULL" value="7"/>
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
</field>
- <field name="Data Return Format" start="27" end="27" type="uint">
- <value name="DATA_RETURN_FLOAT32" value="0"/>
- <value name="DATA_RETURN_S1.14" value="1"/>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="WRITE_ONLY" value="0"/>
+ <value name="READ_WRITE" value="1"/>
</field>
- <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
+ <value name="MIPLAYOUT_BELOW" value="0"/>
+ <value name="MIPLAYOUT_RIGHT" value="1"/>
+ </field>
+ <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
+ <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
+ <field name="Color Blend Enable" start="13" end="13" type="bool"/>
<field name="Color Buffer Component Write Disables" start="14" end="17" type="uint">
<value name="WRITEDISABLE_ALPHA" value="8"/>
<value name="WRITEDISABLE_RED" value="4"/>
<value name="WRITEDISABLE_GREEN" value="2"/>
<value name="WRITEDISABLE_BLUE" value="1"/>
</field>
- <field name="Color Blend Enable" start="13" end="13" type="bool"/>
- <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
- <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
- <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
- <value name="MIPLAYOUT_BELOW" value="0"/>
- <value name="MIPLAYOUT_RIGHT" value="1"/>
- </field>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="WRITE_ONLY" value="0"/>
- <value name="READ_WRITE" value="1"/>
+ <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="Data Return Format" start="27" end="27" type="uint">
+ <value name="DATA_RETURN_FLOAT32" value="0"/>
+ <value name="DATA_RETURN_S1.14" value="1"/>
</field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
<field name="Surface Base Address" start="32" end="63" type="address"/>
- <field name="Height" start="83" end="95" type="uint"/>
- <field name="Width" start="70" end="82" type="uint"/>
<field name="MIP Count / LOD" start="66" end="69" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Tiled Surface" start="97" end="97" type="uint"/>
+ <field name="Width" start="70" end="82" type="uint"/>
+ <field name="Height" start="83" end="95" type="uint"/>
<field name="Tile Walk" start="96" end="96" type="uint">
<value name="TILEWALK_XMAJOR" value="0"/>
<value name="TILEWALK_YMAJOR" value="1"/>
</field>
- <field name="Surface Min LOD" start="156" end="159" type="uint"/>
- <field name="Minimum Array Element" start="145" end="155" type="uint"/>
+ <field name="Tiled Surface" start="97" end="97" type="uint"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Depth" start="117" end="127" type="uint"/>
<field name="Render Target View Extent" start="136" end="144" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
+ <field name="Minimum Array Element" start="145" end="155" type="uint"/>
+ <field name="Surface Min LOD" start="156" end="159" type="uint"/>
<field name="Y Offset" start="180" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
@@ -343,22 +337,6 @@
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
- <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
- </field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
- <value name="NEAREST" value="0"/>
- <value name="LINEAR" value="1"/>
- <value name="ANISOTROPIC" value="2"/>
- <value name="MONO" value="6"/>
- </field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
- <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
<field name="Shadow Function" start="0" end="2" type="uint">
<value name="PREFILTEROP_ALWAYS" value="0"/>
<value name="PREFILTEROP_NEVER" value="1"/>
@@ -369,24 +347,38 @@
<value name="PREFILTEROP_NOTEQUAL" value="6"/>
<value name="PREFILTEROP_GEQUAL" value="7"/>
</field>
- <field name="Min LOD" start="54" end="63" type="u4.6"/>
- <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <value name="NEAREST" value="0"/>
+ <value name="LINEAR" value="1"/>
+ <value name="ANISOTROPIC" value="2"/>
+ <value name="MONO" value="6"/>
+ </field>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
+ </field>
+ <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
+ <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
+ <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
+ <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
<field name="Cube Surface Control Mode" start="41" end="41" type="uint">
<value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
<value name="CUBECTRLMODE_OVERRIDE" value="1"/>
</field>
- <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
- <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
- <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
+ <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Min LOD" start="54" end="63" type="u4.6"/>
<field name="Border Color Pointer" start="69" end="95" type="address"/>
- <field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
- <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
- <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
- <field name="ChromaKey Index" start="119" end="120" type="uint"/>
- <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
- <value name="KILL_ON_ANY_MATCH" value="0"/>
- <value name="REPLACE_BLACK" value="1"/>
- </field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -397,73 +389,95 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
+ <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
+ <value name="KILL_ON_ANY_MATCH" value="0"/>
+ <value name="REPLACE_BLACK" value="1"/>
+ </field>
+ <field name="ChromaKey Index" start="119" end="120" type="uint"/>
+ <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
+ <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
+ <field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
+ </struct>
+
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
<struct name="SF_STATE" length="8">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Statistics Enable" start="138" end="138" type="bool"/>
- <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
- <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Front Winding" start="160" end="160" type="uint">
<value name="FRONTWINDING_CW" value="0"/>
<value name="FRONTWINDING_CCW" value="1"/>
</field>
- <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/>
- <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
- <value name="BOTH" value="0"/>
- <value name="NONE" value="1"/>
- <value name="FRONT" value="2"/>
- <value name="BACK" value="3"/>
+ <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
+ <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
+ <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
+ <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
+ <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
+ <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
+ <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
+ <field name="Point Rasterization Rule" start="212" end="213" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
- <field name="Line Width" start="216" end="219" type="u3.1"/>
<field name="Line End Cap Antialiasing Region Width" start="214" end="215" 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="Point Rasterization Rule" start="212" end="213" type="uint">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <field name="Line Width" start="216" end="219" type="u3.1"/>
+ <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
+ <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
+ <value name="BOTH" value="0"/>
+ <value name="NONE" value="1"/>
+ <value name="FRONT" value="2"/>
+ <value name="BACK" value="3"/>
</field>
- <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
- <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
- <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
- <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
- <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
- <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
+ <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/>
+ <field name="Point Width" start="224" end="234" type="u8.3"/>
+ <field name="Point Width Source" start="235" end="235" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
+ </field>
+ <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
+ <value name="8 Sub-Pixel Precision Bits" value="0"/>
+ <value name="4 Sub-Pixel Precision Bits" value="1"/>
+ </field>
+ <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
+ <field name="AA Line Distance Mode" start="238" end="238" type="uint" prefix="AALINEDISTANCE">
+ <value name="MANHATTAN" value="0"/>
+ <value name="TRUE" value="1"/>
+ </field>
+ <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
@@ -472,25 +486,12 @@
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
</field>
- <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="AA Line Distance Mode" start="238" end="238" type="uint" prefix="AALINEDISTANCE">
- <value name="MANHATTAN" value="0"/>
- <value name="TRUE" value="1"/>
- </field>
- <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
- <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
- <value name="8 Sub-Pixel Precision Bits" value="0"/>
- <value name="4 Sub-Pixel Precision Bits" value="1"/>
- </field>
- <field name="Point Width Source" start="235" end="235" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
- </field>
- <field name="Point Width" start="224" end="234" type="u8.3"/>
+ <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
</struct>
<struct name="SF_VIEWPORT" length="8">
@@ -504,133 +505,133 @@
</struct>
<struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
+ <field name="Buffer Pitch" start="0" end="10" type="uint"/>
<field name="Buffer Access Type" start="26" end="26" type="uint">
<value name="VERTEXDATA" value="0"/>
<value name="INSTANCEDATA" value="1"/>
</field>
- <field name="Buffer Pitch" start="0" end="10" type="uint"/>
+ <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Max Index" start="64" end="95" type="uint"/>
<field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
</struct>
<struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
- <field name="Valid" start="26" end="26" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
<field name="Source Element Offset" start="0" end="10" type="uint"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="26" end="26" type="bool"/>
+ <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
<field name="Destination Element Offset" start="32" end="39" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
<field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<struct name="VS_STATE" length="7">
- <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Statistics Enable" start="138" end="138" type="bool"/>
- <field name="Sampler State Pointer" start="165" end="191" type="address"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Sampler Count" start="160" end="162" type="uint"/>
- <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
+ <field name="Sampler State Pointer" start="165" end="191" type="address"/>
<field name="Enable" start="192" end="192" type="bool"/>
+ <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
</struct>
<struct name="WM_STATE" length="8">
- <field name="Kernel Start Pointer 0" start="6" end="31" type="address"/>
<field name="GRF Register Count 0" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal" value="0"/>
- <value name="High" value="1"/>
- </field>
+ <field name="Kernel Start Pointer 0" start="6" end="31" type="address"/>
+ <field name="Software Exception Enable" start="33" end="33" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
+ <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
- <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
- <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
- <field name="Software Exception Enable" start="33" end="33" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal" value="0"/>
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
- <field name="Sampler State Pointer" start="133" end="159" type="address"/>
- <field name="Sampler Count" start="130" end="132" type="uint"/>
+ <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Statistics Enable" start="128" end="128" type="bool"/>
- <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 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="Early Depth Test Enable" start="178" end="178" type="bool"/>
- <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
+ <field name="Sampler Count" start="130" end="132" type="uint"/>
+ <field name="Sampler State Pointer" start="133" end="159" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
+ <field name="Contiguous 32 Pixel Dispatch Enable" start="163" end="163" type="bool"/>
+ <field name="Contiguous 64 Pixel Dispatch Enable" start="164" end="164" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
+ <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
+ <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
+ <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
+ <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="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="Polygon Stipple Enable" start="173" end="173" type="bool"/>
- <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
- <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
- <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
- <field name="Contiguous 64 Pixel Dispatch Enable" start="164" end="164" type="bool"/>
- <field name="Contiguous 32 Pixel Dispatch Enable" start="163" end="163" type="bool"/>
- <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
+ <field name="Early Depth Test Enable" start="178" end="178" type="bool"/>
+ <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
+ <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
+ <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
<field name="Global Depth Offset Constant" start="192" end="223" type="float"/>
<field name="Global Depth Offset Scale" start="224" end="255" type="float"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="Indirect Vertex Count" start="9" end="9" type="uint"/>
+ <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="15" end="15" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
- <field name="Indirect Vertex Count" start="9" end="9" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
<field name="Start Vertex Location" start="64" end="95" type="uint"/>
<field name="Instance Count" start="96" end="127" type="uint"/>
@@ -639,23 +640,23 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
<field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
<field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
@@ -664,11 +665,11 @@
</instruction>
<instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Blend Constant Color Red" start="32" end="63" type="float"/>
<field name="Blend Constant Color Green" start="64" end="95" type="float"/>
<field name="Blend Constant Color Blue" start="96" end="127" type="float"/>
@@ -676,28 +677,12 @@
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Surface Type" start="61" end="63" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Tiled Surface" start="59" end="59" type="bool"/>
- <field name="Tile Walk" start="58" end="58" type="uint">
- <value name="TILEWALK_YMAJOR" value="1"/>
- </field>
- <field name="Depth Buffer Coordinate Offset Disable" start="57" end="57" type="bool"/>
- <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
- <value name="NORMAL" value="0"/>
- <value name="STR1" value="1"/>
- <value name="STR2" value="3"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface Format" start="50" end="52" type="uint">
<value name="D32_FLOAT_S8X24_UINT" value="0"/>
<value name="D32_FLOAT" value="1"/>
@@ -705,189 +690,205 @@
<value name="D24_UNORM_X8_UINT" value="3"/>
<value name="D16_UNORM" value="5"/>
</field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
- <field name="Surface Base Address" start="64" end="95" type="address"/>
- <field name="Height" start="115" end="127" type="uint">
- <value name="SURFTYPE_1D: must be zero" value="0"/>
+ <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
+ <value name="NORMAL" value="0"/>
+ <value name="STR1" value="1"/>
+ <value name="STR2" value="3"/>
</field>
- <field name="Width" start="102" end="114" type="uint"/>
- <field name="LOD" start="98" end="101" type="uint"/>
+ <field name="Depth Buffer Coordinate Offset Disable" start="57" end="57" type="bool"/>
+ <field name="Tile Walk" start="58" end="58" type="uint">
+ <value name="TILEWALK_YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="59" end="59" type="bool"/>
+ <field name="Surface Type" start="61" end="63" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
+ <field name="Surface Base Address" start="64" end="95" type="address"/>
<field name="MIP Map Layout Mode" start="97" end="97" type="uint">
<value name="MIPLAYOUT_BELOW" value="0"/>
<value name="MIPLAYOUT_RIGHT" value="1"/>
</field>
+ <field name="LOD" start="98" end="101" type="uint"/>
+ <field name="Width" start="102" end="114" type="uint"/>
+ <field name="Height" start="115" end="127" type="uint">
+ <value name="SURFTYPE_1D: must be zero" value="0"/>
+ </field>
+ <field name="Render Target View Extent" start="129" end="137" type="uint"/>
+ <field name="Minimum Array Element" start="138" end="148" type="uint"/>
<field name="Depth" start="149" end="159" type="uint">
<value name="SURFTYPE_CUBE: must be zero" value="0"/>
</field>
- <field name="Minimum Array Element" start="138" end="148" type="uint"/>
- <field name="Render Target View Extent" start="129" end="137" type="uint"/>
- <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
<field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
+ <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Global Depth Offset Clamp" start="32" end="63" type="float"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
- <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Buffer Ending Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
</instruction>
<instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS State" start="37" end="63" type="address"/>
- <field name="Pointer to GS State" start="69" end="95" type="address"/>
<field name="GS Enable" start="64" end="64" type="bool"/>
- <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
+ <field name="Pointer to GS State" start="69" end="95" type="address"/>
<field name="Clip Enable" start="96" end="96" type="bool"/>
+ <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
<field name="Pointer to SF State" start="133" end="159" type="address"/>
<field name="Pointer to WM State" start="165" end="191" type="address"/>
<field name="Pointer to Color Calc State" start="197" end="223" type="address"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
- </instruction>
-
- <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
- <field name="Number of URB Entries" start="32" end="34" type="uint"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="CONSTANT_BUFFER" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
- <field name="Valid" start="8" end="8" type="bool" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Buffer Starting Address" start="38" end="63" type="address"/>
+ <field name="Valid" start="8" end="8" type="bool" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Length" start="32" end="37" type="uint"/>
+ <field name="Buffer Starting Address" start="38" end="63" type="address"/>
+ </instruction>
+
+ <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Number of URB Entries" start="32" end="34" type="uint"/>
+ <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
</instruction>
<instruction name="MI_FLUSH" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
- <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
- <value name="Don't Reset" value="0"/>
- <value name="Reset" value="1"/>
+ <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
+ <value name="Don't Invalidate" value="0"/>
+ <value name="Invalidate" value="1"/>
</field>
<field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
<value name="Flush" value="0"/>
<value name="Don't Flush" value="1"/>
</field>
- <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
- <value name="Don't Invalidate" value="0"/>
- <value name="Invalidate" value="1"/>
+ <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
+ <value name="Don't Reset" value="0"/>
+ <value name="Reset" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="63" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -897,11 +898,11 @@
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="5">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Memory Address Type" start="22" end="22" type="bool"/>
- <field name="BitFieldName" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
+ <field name="BitFieldName" start="21" end="21" type="uint"/>
+ <field name="Memory Address Type" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Physical Start Address Extension" start="32" end="35" type="address"/>
<field name="Address" start="66" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
@@ -909,142 +910,142 @@
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Physical Start Address Extension" start="60" end="63" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
+ <field name="Physical Start Address Extension" start="60" end="63" type="address"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
- <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
+ <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
+ <field name="Pipeline Selection" start="0" end="1" type="uint">
+ <value name="3D" value="0"/>
+ <value name="Media" value="1"/>
+ </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
<field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ </instruction>
+
+ <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="9" end="9" type="bool"/>
+ <field name="Texture Cache Flush Enable" start="10" end="10" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
+ <field name="Write Cache Flush" start="12" end="12" type="bool"/>
+ <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
<field name="Post Sync Operation" start="14" end="15" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
- <field name="Write Cache Flush" start="12" end="12" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
- <field name="Texture Cache Flush Enable" start="10" end="10" type="bool"/>
- <field name="Indirect State Pointers Disable" start="9" end="9" type="bool"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Address" start="35" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="63" type="address"/>
<field name="Immediate Data" start="64" end="127" type="uint"/>
</instruction>
- <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
- <field name="Pipeline Selection" start="0" end="1" type="uint">
- <value name="3D" value="0"/>
- <value name="Media" value="1"/>
- </field>
- </instruction>
-
<instruction name="STATE_BASE_ADDRESS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="General State Base Address" start="44" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
- <field name="Surface State Base Address" start="76" end="95" type="address"/>
+ <field name="General State Base Address" start="44" end="63" type="address"/>
<field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
- <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
+ <field name="Surface State Base Address" start="76" end="95" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/>
- <field name="General State Access Upper Bound" start="140" end="159" type="address"/>
+ <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
<field name="General State Access Upper Bound Modify Enable" start="128" end="128" type="bool"/>
- <field name="Indirect Object Access Upper Bound" start="172" end="191" type="address"/>
+ <field name="General State Access Upper Bound" start="140" end="159" type="address"/>
<field name="Indirect Object Access Upper Bound Modify Enable" start="160" end="160" type="bool"/>
+ <field name="Indirect Object Access Upper Bound" start="172" end="191" type="address"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="63" type="offset"/>
</instruction>
<instruction name="URB_FENCE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
- <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
- <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
- <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
- <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
<field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/>
- <field name="CLIP Fence" start="52" end="61" type="uint"/>
- <field name="GS Fence" start="42" end="51" type="uint"/>
+ <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
+ <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
+ <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
+ <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
+ <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Fence" start="32" end="41" type="uint"/>
- <field name="CS Fence" start="84" end="94" type="uint"/>
- <field name="VFE Fence" start="74" end="83" type="uint"/>
+ <field name="GS Fence" start="42" end="51" type="uint"/>
+ <field name="CLIP Fence" start="52" end="61" type="uint"/>
<field name="SF Fence" start="64" end="73" type="uint"/>
+ <field name="VFE Fence" start="74" end="83" type="uint"/>
+ <field name="CS Fence" start="84" end="94" type="uint"/>
</instruction>
<instruction name="XY_COLOR_BLT" bias="2" length="6" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
<field name="Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
- <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
<field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
<field name="Solid Pattern Color" start="160" end="191" type="int"/>
</instruction>
<instruction name="XY_SETUP_BLT" bias="2" length="8" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
<field name="Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
- <field name="Mono Source Transparency Mode" start="61" end="61" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Mono Source Transparency Mode" start="61" end="61" type="bool"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/>
- <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
<field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
<field name="Background Color" start="160" end="191" type="uint"/>
<field name="Foreground Color" start="192" end="223" type="uint"/>
@@ -1052,46 +1053,46 @@
</instruction>
<instruction name="XY_SRC_COPY_BLT" bias="2" length="8" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
- <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
<field name="Destination Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
+ <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
- <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
<field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
- <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
<field name="Source X1 Coordinate" start="160" end="175" type="int"/>
+ <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
<field name="Source Pitch" start="192" end="207" type="int"/>
<field name="Source Base Address" start="224" end="255" type="address"/>
</instruction>
<instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="Tiling Enable" start="11" end="11" type="bool"/>
<field name="Packing" start="16" end="16" type="uint">
<value name="Bit Packed" value="0"/>
<value name="Byte Packed" value="1"/>
</field>
- <field name="Tiling Enable" start="11" end="11" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
<field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
<field name="Destination X1 Coordinate" start="32" end="47" type="int"/>
- <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
+ <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
<field name="Destination X2 Coordinate" start="64" end="79" type="int"/>
+ <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
</instruction>
</genxml>
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
index ca78681ffb1..3d1cbcbdecd 100644
--- a/src/intel/genxml/gen5.xml
+++ b/src/intel/genxml/gen5.xml
@@ -1,47 +1,5 @@
<?xml version="1.0" ?>
<genxml name="ILK" gen="5">
- <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
- <value name="POINTLIST" value="1"/>
- <value name="LINELIST" value="2"/>
- <value name="LINESTRIP" value="3"/>
- <value name="TRILIST" value="4"/>
- <value name="TRISTRIP" value="5"/>
- <value name="TRIFAN" value="6"/>
- <value name="QUADLIST" value="7"/>
- <value name="QUADSTRIP" value="8"/>
- <value name="LINELIST_ADJ" value="9"/>
- <value name="LINESTRIP_ADJ" value="10"/>
- <value name="TRILIST_ADJ" value="11"/>
- <value name="TRISTRIP_ADJ" value="12"/>
- <value name="TRISTRIP_REVERSE" value="13"/>
- <value name="POLYGON" value="14"/>
- <value name="RECTLIST" value="15"/>
- <value name="LINELOOP" value="16"/>
- <value name="POINTLIST _BF" value="17"/>
- <value name="LINESTRIP_CONT" value="18"/>
- <value name="LINESTRIP_BF" value="19"/>
- <value name="LINESTRIP_CONT_BF" value="20"/>
- <value name="TRIFAN_NOSTIPPLE" value="22"/>
- </enum>
-
- <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
- <value name="NOSTORE" value="0"/>
- <value name="STORE_SRC" value="1"/>
- <value name="STORE_0" value="2"/>
- <value name="STORE_1_FP" value="3"/>
- <value name="STORE_1_INT" value="4"/>
- <value name="STORE_VID" value="5"/>
- <value name="STORE_IID" value="6"/>
- <value name="STORE_PID" value="7"/>
- </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_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
<value name="ONE" value="1"/>
@@ -65,6 +23,14 @@
<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"/>
@@ -76,17 +42,6 @@
<value name="GEQUAL" value="7"/>
</enum>
- <enum name="3D_Stencil_Operation" prefix="STENCILOP">
- <value name="KEEP" value="0"/>
- <value name="ZERO" value="1"/>
- <value name="REPLACE" value="2"/>
- <value name="INCRSAT" value="3"/>
- <value name="DECRSAT" value="4"/>
- <value name="INCR" value="5"/>
- <value name="DECR" value="6"/>
- <value name="INVERT" value="7"/>
- </enum>
-
<enum name="3D_Logic_Op_Function" prefix="LOGICOP">
<value name="CLEAR" value="0"/>
<value name="NOR" value="1"/>
@@ -106,6 +61,52 @@
<value name="SET" value="15"/>
</enum>
+ <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
+ <value name="POINTLIST" value="1"/>
+ <value name="LINELIST" value="2"/>
+ <value name="LINESTRIP" value="3"/>
+ <value name="TRILIST" value="4"/>
+ <value name="TRISTRIP" value="5"/>
+ <value name="TRIFAN" value="6"/>
+ <value name="QUADLIST" value="7"/>
+ <value name="QUADSTRIP" value="8"/>
+ <value name="LINELIST_ADJ" value="9"/>
+ <value name="LINESTRIP_ADJ" value="10"/>
+ <value name="TRILIST_ADJ" value="11"/>
+ <value name="TRISTRIP_ADJ" value="12"/>
+ <value name="TRISTRIP_REVERSE" value="13"/>
+ <value name="POLYGON" value="14"/>
+ <value name="RECTLIST" value="15"/>
+ <value name="LINELOOP" value="16"/>
+ <value name="POINTLIST _BF" value="17"/>
+ <value name="LINESTRIP_CONT" value="18"/>
+ <value name="LINESTRIP_BF" value="19"/>
+ <value name="LINESTRIP_CONT_BF" value="20"/>
+ <value name="TRIFAN_NOSTIPPLE" value="22"/>
+ </enum>
+
+ <enum name="3D_Stencil_Operation" prefix="STENCILOP">
+ <value name="KEEP" value="0"/>
+ <value name="ZERO" value="1"/>
+ <value name="REPLACE" value="2"/>
+ <value name="INCRSAT" value="3"/>
+ <value name="DECRSAT" value="4"/>
+ <value name="INCR" value="5"/>
+ <value name="DECR" value="6"/>
+ <value name="INVERT" value="7"/>
+ </enum>
+
+ <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
+ <value name="NOSTORE" value="0"/>
+ <value name="STORE_SRC" value="1"/>
+ <value name="STORE_0" value="2"/>
+ <value name="STORE_1_FP" value="3"/>
+ <value name="STORE_1_INT" value="4"/>
+ <value name="STORE_VID" value="5"/>
+ <value name="STORE_IID" value="6"/>
+ <value name="STORE_PID" value="7"/>
+ </enum>
+
<enum name="Texture_Coordinate_Mode" prefix="TCM">
<value name="WRAP" value="0"/>
<value name="MIRROR" value="1"/>
@@ -121,45 +122,31 @@
</struct>
<struct name="CLIP_STATE" length="11">
- <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Number of URB Entries" start="139" end="146" type="uint"/>
- <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
- <value name="OGL" value="0"/>
- <value name="D3D" value="1"/>
- </field>
- <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
- <value name="NDCSPACE" value="0"/>
- <value name="SCREENSPACE" value="1"/>
- </field>
- <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
- <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
- <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
- <field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
- <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
- <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
<value name="NORMAL" value="0"/>
<value name="ALL" value="1"/>
@@ -167,6 +154,20 @@
<value name="REJECT_ALL" value="3"/>
<value name="ACCEPT_ALL" value="4"/>
</field>
+ <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
+ <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
+ <field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
+ <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
+ <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
+ <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
+ <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
+ <value name="NDCSPACE" value="0"/>
+ <value name="SCREENSPACE" value="1"/>
+ </field>
+ <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
+ <value name="OGL" value="0"/>
+ <value name="D3D" value="1"/>
+ </field>
<field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/>
<field name="Screen Space Viewport X Min" start="224" end="255" type="float"/>
<field name="Screen Space Viewport X Max" start="256" end="287" type="float"/>
@@ -181,102 +182,162 @@
<field name="YMax Clip Guardband" start="96" end="127" type="float"/>
</struct>
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
<struct name="COLOR_CALC_STATE" length="8">
- <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
- <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
- <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
- <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="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
- <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
- <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
- <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
+ <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
+ <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
+ <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
<field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/>
- <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
- <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
- <field name="Depth Test Enable" start="79" end="79" type="bool"/>
- <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
- <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
+ <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
+ <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
+ <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
<field name="Logic Op Enable" start="64" end="64" type="bool"/>
+ <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
+ <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
+ <field name="Depth Test Enable" start="79" end="79" type="bool"/>
+ <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
+ <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
+ <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
+ <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
+ <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
<field name="Alpha Test Format" start="111" end="111" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
- <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
- <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
- <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
- <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
<field name="CC Viewport State Pointer" start="133" end="159" type="address"/>
- <field name="Color Dither Enable" start="191" end="191" type="bool"/>
- <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
- <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
- <field name="Statistics Enable" start="175" end="175" type="bool"/>
- <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
<field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="X Dither Offset" start="209" end="210" type="uint"/>
- <field name="Y Dither Offset" start="207" end="208" type="uint"/>
+ <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Statistics Enable" start="175" end="175" type="bool"/>
+ <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
+ <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
+ <field name="Color Dither Enable" start="191" end="191" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
<field name="Color Clamp Range" start="194" end="195" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
+ <field name="Y Dither Offset" start="207" end="208" type="uint"/>
+ <field name="X Dither Offset" start="209" end="210" type="uint"/>
+ <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
<field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/>
</struct>
<struct name="GS_STATE" length="7">
- <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
- <field name="GS Statistics Enable" start="138" end="138" type="bool"/>
- <field name="SO Statistics Enable" start="137" end="137" type="bool"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Rendering Enabled" start="136" end="136" type="bool"/>
- <field name="Sampler State Pointer" start="165" end="191" type="address"/>
+ <field name="SO Statistics Enable" start="137" end="137" type="bool"/>
+ <field name="GS Statistics Enable" start="138" end="138" type="bool"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Sampler Count" start="160" end="162" type="uint"/>
- <field name="Reorder Enable" start="222" end="222" type="bool"/>
+ <field name="Sampler State Pointer" start="165" end="191" type="address"/>
<field name="Maximum VPIndex" start="192" end="195" type="uint"/>
+ <field name="Reorder Enable" start="222" end="222" type="bool"/>
</struct>
<struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
- <field name="Encrypted Data" start="3" end="3" type="bool"/>
- <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
<field name="Cacheability Control" start="0" end="1" type="uint"/>
+ <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
+ <field name="Encrypted Data" start="3" end="3" type="bool"/>
+ </struct>
+
+ <struct name="RENDER_SURFACE_STATE" length="6">
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ </field>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="WRITE_ONLY" value="0"/>
+ <value name="READ_WRITE" value="1"/>
+ </field>
+ <field name="Cube Map Corner Mode" start="9" end="9" type="uint">
+ <value name="CUBE_REPLICATE" value="0"/>
+ <value name="CUBE_AVERAGE" value="1"/>
+ </field>
+ <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
+ <value name="MIPLAYOUT_BELOW" value="0"/>
+ <value name="MIPLAYOUT_RIGHT" value="1"/>
+ </field>
+ <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
+ <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
+ <field name="Color Blend Enable" start="13" end="13" type="bool"/>
+ <field name="Color Buffer Component Write Disables" start="14" end="17" type="uint">
+ <value name="WRITEDISABLE_ALPHA" value="8"/>
+ <value name="WRITEDISABLE_RED" value="4"/>
+ <value name="WRITEDISABLE_GREEN" value="2"/>
+ <value name="WRITEDISABLE_BLUE" value="1"/>
+ </field>
+ <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="Data Return Format" start="27" end="27" type="uint">
+ <value name="DATA_RETURN_FLOAT32" value="0"/>
+ <value name="DATA_RETURN_S1.14" value="1"/>
+ </field>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
+ <field name="Surface Base Address" start="32" end="63" type="address"/>
+ <field name="Render Target Rotation" start="64" end="65" type="uint">
+ <value name="RTROTATE_0DEG" value="0"/>
+ <value name="RTROTATE_90DEG" value="1"/>
+ <value name="RTROTATE_270DEG" value="3"/>
+ </field>
+ <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
+ <field name="Width" start="70" end="82" type="uint"/>
+ <field name="Height" start="83" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint">
+ <value name="TILEWALK_XMAJOR" value="0"/>
+ <value name="TILEWALK_YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="uint"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Render Target View Extent" start="136" end="144" type="uint"/>
+ <field name="Minimum Array Element" start="145" end="155" type="uint"/>
+ <field name="Surface Min LOD" start="156" end="159" type="uint"/>
+ <field name="Y Offset" start="180" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
@@ -284,27 +345,22 @@
<field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
<field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
<field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
-
<field name="Border Color Float Red" start="32" end="63" type="float"/>
<field name="Border Color Float Green" start="64" end="95" type="float"/>
<field name="Border Color Float Blue" start="96" end="127" type="float"/>
<field name="Border Color Float Alpha" start="128" end="159" type="float"/>
-
<field name="Border Color Float16 Red" start="160" end="175" type="uint"/>
<field name="Border Color Float16 Green" start="176" end="191" type="uint"/>
<field name="Border Color Float16 Blue" start="192" end="207" type="uint"/>
<field name="Border Color Float16 Alpha" start="208" end="223" type="uint"/>
-
<field name="Border Color Unorm16 Red" start="224" end="239" type="uint"/>
<field name="Border Color Unorm16 Green" start="240" end="255" type="uint"/>
<field name="Border Color Unorm16 Blue" start="256" end="271" type="uint"/>
<field name="Border Color Unorm16 Alpha" start="272" end="287" type="uint"/>
-
<field name="Border Color Snorm16 Red" start="288" end="303" type="int"/>
<field name="Border Color Snorm16 Green" start="304" end="319" type="int"/>
<field name="Border Color Snorm16 Blue" start="320" end="335" type="int"/>
<field name="Border Color Snorm16 Alpha" start="336" end="351" type="int"/>
-
<field name="Border Color Snorm8 Red" start="352" end="359" type="int"/>
<field name="Border Color Snorm8 Green" start="360" end="367" type="int"/>
<field name="Border Color Snorm8 Blue" start="368" end="375" type="int"/>
@@ -312,22 +368,6 @@
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
- <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
- </field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
- <value name="NEAREST" value="0"/>
- <value name="LINEAR" value="1"/>
- <value name="ANISOTROPIC" value="2"/>
- <value name="MONO" value="6"/>
- </field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
- <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
<field name="Shadow Function" start="0" end="2" type="uint">
<value name="PREFILTEROP_ALWAYS" value="0"/>
<value name="PREFILTEROP_NEVER" value="1"/>
@@ -338,24 +378,38 @@
<value name="PREFILTEROP_NOTEQUAL" value="6"/>
<value name="PREFILTEROP_GEQUAL" value="7"/>
</field>
- <field name="Min LOD" start="54" end="63" type="u4.6"/>
- <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <value name="NEAREST" value="0"/>
+ <value name="LINEAR" value="1"/>
+ <value name="ANISOTROPIC" value="2"/>
+ <value name="MONO" value="6"/>
+ </field>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
+ </field>
+ <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
+ <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
+ <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
+ <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
<field name="Cube Surface Control Mode" start="41" end="41" type="uint">
<value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
<value name="CUBECTRLMODE_OVERRIDE" value="1"/>
</field>
- <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
- <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
- <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
+ <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Min LOD" start="54" end="63" type="u4.6"/>
<field name="Border Color Pointer" start="69" end="95" type="address"/>
- <field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
- <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
- <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
- <field name="ChromaKey Index" start="119" end="120" type="uint"/>
- <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
- <value name="KILL_ON_ANY_MATCH" value="0"/>
- <value name="REPLACE_BLACK" value="1"/>
- </field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -366,195 +420,94 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- </struct>
-
- <struct name="RENDER_SURFACE_STATE" length="6">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Data Return Format" start="27" end="27" type="uint">
- <value name="DATA_RETURN_FLOAT32" value="0"/>
- <value name="DATA_RETURN_S1.14" value="1"/>
- </field>
- <field name="Surface Format" start="18" end="26" type="uint"/>
- <field name="Color Buffer Component Write Disables" start="14" end="17" type="uint">
- <value name="WRITEDISABLE_ALPHA" value="8"/>
- <value name="WRITEDISABLE_RED" value="4"/>
- <value name="WRITEDISABLE_GREEN" value="2"/>
- <value name="WRITEDISABLE_BLUE" value="1"/>
- </field>
- <field name="Color Blend Enable" start="13" end="13" type="bool"/>
- <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
- <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
- <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
- <value name="MIPLAYOUT_BELOW" value="0"/>
- <value name="MIPLAYOUT_RIGHT" value="1"/>
- </field>
- <field name="Cube Map Corner Mode" start="9" end="9" type="uint">
- <value name="CUBE_REPLICATE" value="0"/>
- <value name="CUBE_AVERAGE" value="1"/>
- </field>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="WRITE_ONLY" value="0"/>
- <value name="READ_WRITE" value="1"/>
- </field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- </field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
- <field name="Surface Base Address" start="32" end="63" type="address"/>
- <field name="Height" start="83" end="95" type="uint"/>
- <field name="Width" start="70" end="82" type="uint"/>
- <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
- <field name="Render Target Rotation" start="64" end="65" type="uint">
- <value name="RTROTATE_0DEG" value="0"/>
- <value name="RTROTATE_90DEG" value="1"/>
- <value name="RTROTATE_270DEG" value="3"/>
- </field>
- <field name="Depth" start="117" end="127" type="uint"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Tiled Surface" start="97" end="97" type="uint"/>
- <field name="Tile Walk" start="96" end="96" type="uint">
- <value name="TILEWALK_XMAJOR" value="0"/>
- <value name="TILEWALK_YMAJOR" value="1"/>
+ <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
+ <value name="KILL_ON_ANY_MATCH" value="0"/>
+ <value name="REPLACE_BLACK" value="1"/>
</field>
- <field name="Surface Min LOD" start="156" end="159" type="uint"/>
- <field name="Minimum Array Element" start="145" end="155" type="uint"/>
- <field name="Render Target View Extent" start="136" end="144" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
- <field name="Y Offset" start="180" end="183" type="uint"/>
+ <field name="ChromaKey Index" start="119" end="120" type="uint"/>
+ <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
+ <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
+ <field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
</struct>
- <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="6" engine="render">
- <!-- The hardware docs incorrectly say length is 7. The actual length is 6. -->
- <!-- DWord 0 -->
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <!-- DWord 1 -->
- <field name="Surface Type" start="61" end="63" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Tiled Surface" start="59" end="59" type="bool"/>
- <field name="Tile Walk" start="58" end="58" type="uint">
- <value name="TILEWALK_YMAJOR" value="1"/>
- </field>
- <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
- <value name="NORMAL" value="0"/>
- <value name="STR1" value="1"/>
- <value name="STR2" value="3"/>
- </field>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
- <field name="Separate Stencil Buffer Enable" start="53" end="53" type="bool"/>
- <field name="Surface Format" start="50" end="52" type="uint">
- <value name="D32_FLOAT_S8X24_UINT" value="0"/>
- <value name="D32_FLOAT" value="1"/>
- <value name="D24_UNORM_S8_UINT" value="2"/>
- <value name="D24_UNORM_X8_UINT" value="3"/>
- <value name="D16_UNORM" value="5"/>
- </field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
- <!-- DWord 2 -->
- <field name="Surface Base Address" start="64" end="95" type="address"/>
- <!-- DWord 3 -->
- <field name="Height" start="115" end="127" type="uint"/>
- <field name="Width" start="102" end="114" type="uint"/>
- <field name="LOD" start="98" end="101" type="uint"/>
- <field name="MIP Map Layout Mode" start="97" end="97" type="uint">
- <value name="MIPLAYOUT_BELOW" value="0"/>
- <value name="MIPLAYOUT_RIGHT" value="1"/>
- </field>
- <!-- DWord 4 -->
- <field name="Depth" start="149" end="159" type="uint"/>
- <field name="Minimum Array Element" start="138" end="148" type="uint"/>
- <field name="Render Target View Extent" start="129" end="137" type="uint"/>
- <!-- DWord 5 -->
- <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
- <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
- <!-- DWord 6 -->
- <!-- The hardware docs lie. There is no dword 6. -->
- </instruction>
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
+ </struct>
<struct name="SF_STATE" length="8">
- <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Number of URB Entries" start="139" end="146" type="uint"/>
- <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
- <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Front Winding" start="160" end="160" type="uint">
<value name="FRONTWINDING_CW" value="0"/>
<value name="FRONTWINDING_CCW" value="1"/>
</field>
- <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/>
- <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
- <value name="BOTH" value="0"/>
- <value name="NONE" value="1"/>
- <value name="FRONT" value="2"/>
- <value name="BACK" value="3"/>
+ <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
+ <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
+ <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
+ <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
+ <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
+ <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
+ <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
+ <field name="Point Rasterization Rule" start="212" end="213" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
- <field name="Line Width" start="216" end="219" type="u3.1"/>
<field name="Line End Cap Antialiasing Region Width" start="214" end="215" 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="Point Rasterization Rule" start="212" end="213" type="uint">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <field name="Line Width" start="216" end="219" type="u3.1"/>
+ <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
+ <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
+ <value name="BOTH" value="0"/>
+ <value name="NONE" value="1"/>
+ <value name="FRONT" value="2"/>
+ <value name="BACK" value="3"/>
</field>
- <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
- <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
- <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
- <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
- <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
- <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
+ <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/>
+ <field name="Point Width" start="224" end="234" type="u8.3"/>
+ <field name="Point Width Source" start="235" end="235" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
+ </field>
+ <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
+ <value name="8 Sub-Pixel Precision Bits" value="0"/>
+ <value name="4 Sub-Pixel Precision Bits" value="1"/>
+ </field>
+ <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
+ <field name="AA Line Distance Mode" start="238" end="238" type="uint" prefix="AALINEDISTANCE">
+ <value name="MANHATTAN" value="0"/>
+ <value name="TRUE" value="1"/>
+ </field>
+ <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
@@ -563,25 +516,12 @@
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
</field>
- <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="AA Line Distance Mode" start="238" end="238" type="uint" prefix="AALINEDISTANCE">
- <value name="MANHATTAN" value="0"/>
- <value name="TRUE" value="1"/>
- </field>
- <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
- <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
- <value name="8 Sub-Pixel Precision Bits" value="0"/>
- <value name="4 Sub-Pixel Precision Bits" value="1"/>
- </field>
- <field name="Point Width Source" start="235" end="235" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
- </field>
- <field name="Point Width" start="224" end="234" type="u8.3"/>
+ <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
</struct>
<struct name="SF_VIEWPORT" length="8">
@@ -595,143 +535,143 @@
</struct>
<struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
<field name="Buffer Access Type" start="26" end="26" type="uint">
<value name="VERTEXDATA" value="0"/>
<value name="INSTANCEDATA" value="1"/>
</field>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="End Address" start="64" end="95" type="address"/>
<field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
</struct>
<struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
- <field name="Valid" start="26" end="26" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
<field name="Source Element Offset" start="0" end="10" type="uint"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="26" end="26" type="bool"/>
+ <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
<field name="Destination Element Offset" start="32" end="39" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
<field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<struct name="VS_STATE" length="7">
- <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
<field name="GRF Register Count" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
- <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
- <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Statistics Enable" start="138" end="138" type="bool"/>
- <field name="Sampler State Pointer" start="165" end="191" type="address"/>
+ <field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
+ <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="Sampler Count" start="160" end="162" type="uint"/>
- <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
+ <field name="Sampler State Pointer" start="165" end="191" type="address"/>
<field name="Enable" start="192" end="192" type="bool"/>
+ <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
</struct>
<struct name="WM_STATE" length="11">
- <field name="Kernel Start Pointer 0" start="6" end="31" type="offset"/>
<field name="GRF Register Count 0" start="1" end="3" type="uint"/>
- <field name="Single Program Flow" start="63" end="63" type="bool"/>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="High" value="1"/>
- </field>
+ <field name="Kernel Start Pointer 0" start="6" end="31" type="offset"/>
+ <field name="Software Exception Enable" start="33" end="33" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
+ <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
<field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
- <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
- <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
- <field name="Software Exception Enable" start="33" end="33" type="bool"/>
- <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
+ <field name="Single Program Flow" start="63" end="63" type="bool"/>
<field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
- <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
- <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
- <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
- <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
- <field name="Sampler State Pointer" start="133" end="159" type="address"/>
- <field name="Sampler Count" start="130" end="132" type="uint"/>
+ <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
+ <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
+ <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
<field name="Statistics Enable" start="128" end="128" type="bool"/>
- <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 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="Early Depth Test Enable" start="178" end="178" type="bool"/>
- <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
+ <field name="Sampler Count" start="130" end="132" type="uint"/>
+ <field name="Sampler State Pointer" start="133" end="159" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
+ <field name="Contiguous 32 Pixel Dispatch Enable" start="163" end="163" type="bool"/>
+ <field name="Contiguous 64 Pixel Dispatch Enable" start="164" end="164" type="bool"/>
+ <field name="Fast Span Coverage Enable" start="166" end="166" type="bool"/>
+ <field name="Depth Buffer Clear" start="167" end="167" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="168" end="168" type="bool"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="169" end="169" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
+ <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
+ <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
+ <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
+ <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="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="Polygon Stipple Enable" start="173" end="173" type="bool"/>
- <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
- <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
- <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
- <field name="Hierarchical Depth Buffer Resolve Enable" start="169" end="169" type="bool"/>
- <field name="Depth Buffer Resolve Enable" start="168" end="168" type="bool"/>
- <field name="Depth Buffer Clear" start="167" end="167" type="bool"/>
- <field name="Fast Span Coverage Enable" start="166" end="166" type="bool"/>
- <field name="Contiguous 64 Pixel Dispatch Enable" start="164" end="164" type="bool"/>
- <field name="Contiguous 32 Pixel Dispatch Enable" start="163" end="163" type="bool"/>
- <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
+ <field name="Early Depth Test Enable" start="178" end="178" type="bool"/>
+ <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
+ <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
+ <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
<field name="Global Depth Offset Constant" start="192" end="223" type="float"/>
<field name="Global Depth Offset Scale" start="224" end="255" type="float"/>
- <field name="Kernel Start Pointer 1" start="262" end="287" type="offset"/>
<field name="GRF Register Count 1" start="257" end="259" type="uint"/>
- <field name="Kernel Start Pointer 2" start="294" end="319" type="offset"/>
+ <field name="Kernel Start Pointer 1" start="262" end="287" type="offset"/>
<field name="GRF Register Count 2" start="289" end="291" type="uint"/>
- <field name="Kernel Start Pointer 3" start="326" end="351" type="offset"/>
+ <field name="Kernel Start Pointer 2" start="294" end="319" type="offset"/>
<field name="GRF Register Count 3" start="321" end="323" type="uint"/>
+ <field name="Kernel Start Pointer 3" start="326" end="351" type="offset"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="Indirect Vertex Count" start="9" end="9" type="uint"/>
+ <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="15" end="15" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
- <field name="Indirect Vertex Count" start="9" end="9" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
<field name="Start Vertex Location" start="64" end="95" type="uint"/>
<field name="Instance Count" start="96" end="127" type="uint"/>
@@ -740,23 +680,23 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
<field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
<field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
@@ -765,213 +705,260 @@
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
- <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Blend Constant Color Red" start="32" end="63" type="float"/>
<field name="Blend Constant Color Green" start="64" end="95" type="float"/>
<field name="Blend Constant Color Blue" start="96" end="127" type="float"/>
<field name="Blend Constant Color Alpha" start="128" end="159" type="float"/>
</instruction>
- <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="6" engine="render">
+ <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="Surface Format" start="50" end="52" type="uint">
+ <value name="D32_FLOAT_S8X24_UINT" value="0"/>
+ <value name="D32_FLOAT" value="1"/>
+ <value name="D24_UNORM_S8_UINT" value="2"/>
+ <value name="D24_UNORM_X8_UINT" value="3"/>
+ <value name="D16_UNORM" value="5"/>
+ </field>
+ <field name="Separate Stencil Buffer Enable" start="53" end="53" type="bool"/>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
+ <value name="NORMAL" value="0"/>
+ <value name="STR1" value="1"/>
+ <value name="STR2" value="3"/>
+ </field>
+ <field name="Tile Walk" start="58" end="58" type="uint">
+ <value name="TILEWALK_YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="59" end="59" type="bool"/>
+ <field name="Surface Type" start="61" end="63" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
+ <field name="Surface Base Address" start="64" end="95" type="address"/>
+ <field name="MIP Map Layout Mode" start="97" end="97" type="uint">
+ <value name="MIPLAYOUT_BELOW" value="0"/>
+ <value name="MIPLAYOUT_RIGHT" value="1"/>
+ </field>
+ <field name="LOD" start="98" end="101" type="uint"/>
+ <field name="Width" start="102" end="114" type="uint"/>
+ <field name="Height" start="115" end="127" type="uint"/>
+ <field name="Render Target View Extent" start="129" end="137" type="uint"/>
+ <field name="Minimum Array Element" start="138" end="148" type="uint"/>
+ <field name="Depth" start="149" end="159" type="uint"/>
+ <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
+ <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
+ </instruction>
+
+ <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Global Depth Offset Clamp" start="32" end="63" type="float"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
- <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Buffer Ending Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
</instruction>
- <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7" engine="render">
+ <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Pointer to VS State" start="37" end="63" type="address"/>
+ <field name="GS Enable" start="64" end="64" type="bool"/>
+ <field name="Pointer to GS State" start="69" end="95" type="address"/>
+ <field name="Clip Enable" start="96" end="96" type="bool"/>
+ <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
+ <field name="Pointer to SF State" start="133" end="159" type="address"/>
+ <field name="Pointer to WM State" start="165" end="191" type="address"/>
+ <field name="Pointer to Color Calc State" start="197" end="223" type="address"/>
+ </instruction>
+
+ <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
- <instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="Pointer to VS State" start="37" end="63" type="address"/>
- <field name="Pointer to GS State" start="69" end="95" type="address"/>
- <field name="GS Enable" start="64" end="64" type="bool"/>
- <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
- <field name="Clip Enable" start="96" end="96" type="bool"/>
- <field name="Pointer to SF State" start="133" end="159" type="address"/>
- <field name="Pointer to WM State" start="165" end="191" type="address"/>
- <field name="Pointer to Color Calc State" start="197" end="223" type="address"/>
- </instruction>
-
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
- </instruction>
-
- <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
- <field name="Number of URB Entries" start="32" end="34" type="uint"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="CONSTANT_BUFFER" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Valid" start="8" end="8" type="bool"/>
- <field name="Buffer Starting Address" start="38" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Length" start="32" end="37" type="uint"/>
+ <field name="Buffer Starting Address" start="38" end="63" type="address"/>
+ </instruction>
+
+ <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Number of URB Entries" start="32" end="34" type="uint"/>
+ <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
</instruction>
<instruction name="MI_FLUSH" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
- <field name="Protected Memory Enable" start="6" end="6" type="bool"/>
- <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
- <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
- <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
- <value name="Don't Reset" value="0"/>
- <value name="Reset" value="1"/>
+ <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
+ <value name="Don't Invalidate" value="0"/>
+ <value name="Invalidate" value="1"/>
</field>
<field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
<value name="Flush" value="0"/>
<value name="Don't Flush" value="1"/>
</field>
- <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
- <value name="Don't Invalidate" value="0"/>
- <value name="Invalidate" value="1"/>
+ <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
+ <value name="Don't Reset" value="0"/>
+ <value name="Reset" value="1"/>
</field>
+ <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
+ <field name="Protected Memory Enable" start="6" end="6" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="63" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -981,10 +968,10 @@
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="5">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Memory Address Type" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
+ <field name="Memory Address Type" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Physical Start Address Extension" start="32" end="35" type="address"/>
<field name="Address" start="66" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
@@ -992,151 +979,151 @@
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="57" type="offset"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
- <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
+ <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
+ <field name="Pipeline Selection" start="0" end="1" type="uint">
+ <value name="3D" value="0"/>
+ <value name="Media" value="1"/>
+ <value name="GPGPU" value="2"/>
+ </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
<field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ </instruction>
+
+ <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="9" end="9" type="bool"/>
+ <field name="Texture Cache Flush Enable" start="10" end="10" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
+ <field name="Write Cache Flush" start="12" end="12" type="bool"/>
+ <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
<field name="Post Sync Operation" start="14" end="15" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
- <field name="Write Cache Flush" start="12" end="12" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
- <field name="Texture Cache Flush Enable" start="10" end="10" type="bool"/>
- <field name="Indirect State Pointers Disable" start="9" end="9" type="bool"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Address" start="35" end="63" type="address"/>
- <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
- <value name="PGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Cache Flush Inhibit" start="32" end="32" type="uint">
<value name="Flushed" value="0"/>
<value name="Not Flushed" value="1"/>
</field>
- <field name="Immediate Data" start="64" end="127" type="uint"/>
- </instruction>
-
- <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
- <field name="Pipeline Selection" start="0" end="1" type="uint">
- <value name="3D" value="0"/>
- <value name="Media" value="1"/>
- <value name="GPGPU" value="2"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
+ <value name="PGTT" value="0"/>
+ <value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="63" type="address"/>
+ <field name="Immediate Data" start="64" end="127" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="General State Base Address" start="44" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
- <field name="Surface State Base Address" start="76" end="95" type="address"/>
+ <field name="General State Base Address" start="44" end="63" type="address"/>
<field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
- <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
+ <field name="Surface State Base Address" start="76" end="95" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/>
- <field name="Instruction Base Address" start="140" end="159" type="address"/>
+ <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
<field name="Instruction Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="General State Access Upper Bound" start="172" end="191" type="address"/>
+ <field name="Instruction Base Address" start="140" end="159" type="address"/>
<field name="General State Access Upper Bound Modify Enable" start="160" end="160" type="bool"/>
- <field name="Indirect Object Access Upper Bound" start="204" end="223" type="address"/>
+ <field name="General State Access Upper Bound" start="172" end="191" type="address"/>
<field name="Indirect Object Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
- <field name="Instruction Access Upper Bound" start="236" end="255" type="address"/>
+ <field name="Indirect Object Access Upper Bound" start="204" end="223" type="address"/>
<field name="Instruction Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
+ <field name="Instruction Access Upper Bound" start="236" end="255" type="address"/>
</instruction>
-i
+
<instruction name="STATE_SIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="63" type="offset"/>
</instruction>
<instruction name="URB_FENCE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
- <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
- <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
- <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
- <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
<field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/>
- <field name="CLIP Fence" start="52" end="61" type="uint"/>
- <field name="GS Fence" start="42" end="51" type="uint"/>
+ <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
+ <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
+ <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
+ <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
+ <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Fence" start="32" end="41" type="uint"/>
- <field name="CS Fence" start="84" end="94" type="uint"/>
- <field name="VFE Fence" start="74" end="83" type="uint"/>
+ <field name="GS Fence" start="42" end="51" type="uint"/>
+ <field name="CLIP Fence" start="52" end="61" type="uint"/>
<field name="SF Fence" start="64" end="73" type="uint"/>
+ <field name="VFE Fence" start="74" end="83" type="uint"/>
+ <field name="CS Fence" start="84" end="94" type="uint"/>
</instruction>
<instruction name="XY_COLOR_BLT" bias="2" length="6" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
<field name="Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="58" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
- <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
<field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
<field name="Solid Pattern Color" start="160" end="191" type="int"/>
</instruction>
<instruction name="XY_SETUP_BLT" bias="2" length="8" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
<field name="Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
- <field name="Mono Source Transparency Mode" start="60" end="60" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Mono Source Transparency Mode" start="60" end="60" type="bool"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/>
- <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
<field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
<field name="Background Color" start="160" end="191" type="uint"/>
<field name="Foreground Color" start="192" end="223" type="uint"/>
@@ -1144,46 +1131,46 @@ i
</instruction>
<instruction name="XY_SRC_COPY_BLT" bias="2" length="8" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
- <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
<field name="Destination Tiling Enable" start="11" end="11" type="bool"/>
- <field name="Clipping Enabled" start="62" end="62" type="bool"/>
+ <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
+ <field name="Destination Pitch" start="32" end="47" type="int"/>
+ <field name="Raster Operation" start="48" end="55" type="int"/>
<field name="Color Depth" start="56" end="58" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0"/>
<value name="565" value="1"/>
<value name="1555" value="2"/>
<value name="32 bit" value="3"/>
</field>
- <field name="Raster Operation" start="48" end="55" type="int"/>
- <field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
+ <field name="Clipping Enabled" start="62" end="62" type="bool"/>
<field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
- <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
+ <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
<field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
+ <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
<field name="Destination Base Address" start="128" end="159" type="address"/>
- <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
<field name="Source X1 Coordinate" start="160" end="175" type="int"/>
+ <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
<field name="Source Pitch" start="192" end="207" type="int"/>
<field name="Source Base Address" start="224" end="255" type="address"/>
</instruction>
<instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3" engine="blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="2"/>
- <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="Tiling Enable" start="11" end="11" type="bool"/>
<field name="Packing" start="16" end="16" type="uint">
<value name="Bit Packed" value="0"/>
<value name="Byte Packed" value="1"/>
</field>
- <field name="Tiling Enable" start="11" end="11" type="bool"/>
+ <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
+ <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="2"/>
<field name="Destination Pitch" start="32" end="47" type="int"/>
- <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
<field name="Destination X1 Coordinate" start="32" end="47" type="int"/>
- <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
+ <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
<field name="Destination X2 Coordinate" start="64" end="79" type="int"/>
+ <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
</instruction>
</genxml>
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index f672160bd3d..2ca927844c2 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -1,47 +1,5 @@
<?xml version="1.0" ?>
<genxml name="SNB" gen="6">
- <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
- <value name="POINTLIST" value="1"/>
- <value name="LINELIST" value="2"/>
- <value name="LINESTRIP" value="3"/>
- <value name="TRILIST" value="4"/>
- <value name="TRISTRIP" value="5"/>
- <value name="TRIFAN" value="6"/>
- <value name="QUADLIST" value="7"/>
- <value name="QUADSTRIP" value="8"/>
- <value name="LINELIST_ADJ" value="9"/>
- <value name="LINESTRIP_ADJ" value="10"/>
- <value name="TRILIST_ADJ" value="11"/>
- <value name="TRISTRIP_ADJ" value="12"/>
- <value name="TRISTRIP_REVERSE" value="13"/>
- <value name="POLYGON" value="14"/>
- <value name="RECTLIST" value="15"/>
- <value name="LINELOOP" value="16"/>
- <value name="POINTLIST _BF" value="17"/>
- <value name="LINESTRIP_CONT" value="18"/>
- <value name="LINESTRIP_BF" value="19"/>
- <value name="LINESTRIP_CONT_BF" value="20"/>
- <value name="TRIFAN_NOSTIPPLE" value="22"/>
- </enum>
-
- <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
- <value name="NOSTORE" value="0"/>
- <value name="STORE_SRC" value="1"/>
- <value name="STORE_0" value="2"/>
- <value name="STORE_1_FP" value="3"/>
- <value name="STORE_1_INT" value="4"/>
- <value name="STORE_VID" value="5"/>
- <value name="STORE_IID" value="6"/>
- <value name="STORE_PID" value="7"/>
- </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_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
<value name="ONE" value="1"/>
@@ -65,6 +23,14 @@
<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"/>
@@ -76,17 +42,6 @@
<value name="GEQUAL" value="7"/>
</enum>
- <enum name="3D_Stencil_Operation" prefix="STENCILOP">
- <value name="KEEP" value="0"/>
- <value name="ZERO" value="1"/>
- <value name="REPLACE" value="2"/>
- <value name="INCRSAT" value="3"/>
- <value name="DECRSAT" value="4"/>
- <value name="INCR" value="5"/>
- <value name="DECR" value="6"/>
- <value name="INVERT" value="7"/>
- </enum>
-
<enum name="3D_Logic_Op_Function" prefix="LOGICOP">
<value name="CLEAR" value="0"/>
<value name="NOR" value="1"/>
@@ -106,6 +61,52 @@
<value name="SET" value="15"/>
</enum>
+ <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
+ <value name="POINTLIST" value="1"/>
+ <value name="LINELIST" value="2"/>
+ <value name="LINESTRIP" value="3"/>
+ <value name="TRILIST" value="4"/>
+ <value name="TRISTRIP" value="5"/>
+ <value name="TRIFAN" value="6"/>
+ <value name="QUADLIST" value="7"/>
+ <value name="QUADSTRIP" value="8"/>
+ <value name="LINELIST_ADJ" value="9"/>
+ <value name="LINESTRIP_ADJ" value="10"/>
+ <value name="TRILIST_ADJ" value="11"/>
+ <value name="TRISTRIP_ADJ" value="12"/>
+ <value name="TRISTRIP_REVERSE" value="13"/>
+ <value name="POLYGON" value="14"/>
+ <value name="RECTLIST" value="15"/>
+ <value name="LINELOOP" value="16"/>
+ <value name="POINTLIST _BF" value="17"/>
+ <value name="LINESTRIP_CONT" value="18"/>
+ <value name="LINESTRIP_BF" value="19"/>
+ <value name="LINESTRIP_CONT_BF" value="20"/>
+ <value name="TRIFAN_NOSTIPPLE" value="22"/>
+ </enum>
+
+ <enum name="3D_Stencil_Operation" prefix="STENCILOP">
+ <value name="KEEP" value="0"/>
+ <value name="ZERO" value="1"/>
+ <value name="REPLACE" value="2"/>
+ <value name="INCRSAT" value="3"/>
+ <value name="DECRSAT" value="4"/>
+ <value name="INCR" value="5"/>
+ <value name="DECR" value="6"/>
+ <value name="INVERT" value="7"/>
+ </enum>
+
+ <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
+ <value name="NOSTORE" value="0"/>
+ <value name="STORE_SRC" value="1"/>
+ <value name="STORE_0" value="2"/>
+ <value name="STORE_1_FP" value="3"/>
+ <value name="STORE_1_INT" value="4"/>
+ <value name="STORE_VID" value="5"/>
+ <value name="STORE_IID" value="6"/>
+ <value name="STORE_PID" value="7"/>
+ </enum>
+
<enum name="Texture Coordinate Mode" prefix="TCM">
<value name="WRAP" value="0"/>
<value name="MIRROR" value="1"/>
@@ -115,114 +116,51 @@
<value name="MIRROR_ONCE" value="5"/>
</enum>
- <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
- <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
- <field name="Cacheability Control" start="0" end="1" type="uint"/>
- </struct>
-
- <struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Buffer Access Type" start="20" end="20" type="uint">
- <value name="VERTEXDATA" value="0"/>
- <value name="INSTANCEDATA" value="1"/>
- </field>
- <field name="MOCS" start="16" end="19" type="uint"/>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
- <field name="Buffer Starting Address" start="32" end="63" type="address"/>
- <field name="End Address" start="64" end="95" type="address"/>
- <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
- </struct>
-
- <struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Valid" start="25" end="25" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
- <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
- <field name="Source Element Offset" start="0" end="11" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
- <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
- </struct>
-
- <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
- <field name="Component Override W" start="15" end="15" type="bool"/>
- <field name="Component Override Z" start="14" end="14" type="bool"/>
- <field name="Component Override Y" start="13" end="13" type="bool"/>
- <field name="Component Override X" start="12" end="12" type="bool"/>
- <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
- <field name="Constant Source" start="9" end="10" type="uint">
- <value name="CONST_0000" value="0"/>
- <value name="CONST_0001_FLOAT" value="1"/>
- <value name="CONST_1111_FLOAT" value="2"/>
- <value name="PRIM_ID" value="3"/>
- </field>
- <field name="Swizzle Select" start="6" end="7" type="uint">
- <value name="INPUTATTR" value="0"/>
- <value name="INPUTATTR_FACING" value="1"/>
- <value name="INPUTATTR_W" value="2"/>
- <value name="INPUTATTR_FACING_W" value="3"/>
- </field>
- <field name="Source Attribute" start="0" end="4" type="uint"/>
- </struct>
-
- <struct name="CLIP_VIEWPORT" length="4">
- <field name="XMin Clip Guardband" start="0" end="31" type="float"/>
- <field name="XMax Clip Guardband" start="32" end="63" type="float"/>
- <field name="YMin Clip Guardband" start="64" end="95" type="float"/>
- <field name="YMax Clip Guardband" start="96" end="127" type="float"/>
- </struct>
-
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <struct name="3DSTATE_CONSTANT_BODY" length="4">
+ <field name="Constant Buffer 0 Read Length" start="0" end="4" type="uint"/>
+ <field name="Pointer to Constant Buffer 0" start="5" end="31" type="offset"/>
+ <field name="Constant Buffer 1 Read Length" start="32" end="36" type="uint"/>
+ <field name="Pointer to Constant Buffer 1" start="37" end="63" type="address"/>
+ <field name="Constant Buffer 2 Read Length" start="64" end="68" type="uint"/>
+ <field name="Pointer to Constant Buffer 2" start="69" end="95" type="address"/>
+ <field name="Constant Buffer 3 Read Length" start="96" end="100" type="uint"/>
+ <field name="Pointer to Constant Buffer 3" start="101" end="127" type="address"/>
</struct>
- <struct name="SF_VIEWPORT" length="8">
- <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
- <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
- <field name="Viewport Matrix Element m22" start="64" end="95" type="float">
- <value name="Excludes DWord (0,1)" value="0"/>
- </field>
- <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
- <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
- <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ <struct name="BINDING_TABLE_STATE" length="1">
+ <field name="Surface State Pointer" start="5" end="31" type="offset"/>
</struct>
<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="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"/>
- <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
- <field name="Write Disable Red" start="58" end="58" type="bool"/>
- <field name="Write Disable Green" start="57" end="57" type="bool"/>
- <field name="Write Disable Blue" start="56" end="56" type="bool"/>
- <field name="Logic Op Enable" start="54" end="54" type="bool"/>
- <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
- <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
- <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"/>
+ <field name="Source Blend Factor" start="5" end="9" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="11" end="13" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Alpha Blend Factor" start="15" end="19" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="20" end="24" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Alpha Blend Function" start="26" end="28" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
+ <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
<field name="Color Clamp Range" start="34" end="35" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Y Dither Offset" start="40" end="41" type="uint"/>
+ <field name="X Dither Offset" start="42" end="43" type="uint"/>
+ <field name="Color Dither Enable" start="44" end="44" type="bool"/>
+ <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
+ <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
+ <field name="Logic Op Enable" start="54" end="54" type="bool"/>
+ <field name="Write Disable Blue" start="56" end="56" type="bool"/>
+ <field name="Write Disable Green" start="57" end="57" type="bool"/>
+ <field name="Write Disable Red" start="58" end="58" type="bool"/>
+ <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
+ <field name="AlphaToCoverage Dither Enable" start="61" end="61" type="bool"/>
+ <field name="AlphaToOne Enable" start="62" end="62" type="bool"/>
+ <field name="AlphaToCoverage Enable" start="63" end="63" type="bool"/>
</struct>
<struct name="BLEND_STATE" length="0">
@@ -236,14 +174,21 @@
<field name="Maximum Depth" start="32" end="63" type="float"/>
</struct>
+ <struct name="CLIP_VIEWPORT" length="4">
+ <field name="XMin Clip Guardband" start="0" end="31" type="float"/>
+ <field name="XMax Clip Guardband" start="32" end="63" type="float"/>
+ <field name="YMin Clip Guardband" start="64" end="95" type="float"/>
+ <field name="YMax Clip Guardband" start="96" end="127" type="float"/>
+ </struct>
+
<struct name="COLOR_CALC_STATE" length="6">
- <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
- <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
- <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Test Format" start="0" end="0" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
+ <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
+ <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
+ <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
<field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
<field name="Blend Constant Color Red" start="64" end="95" type="float"/>
@@ -253,41 +198,40 @@
</struct>
<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="3D_Compare_Function"/>
- <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
- <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="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
- <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
- <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
- <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
+ <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
+ <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
+ <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
<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="3D_Compare_Function"/>
+ <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
+ <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
+ <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
<field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
+ <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
+ <field name="Depth Test Enable" start="95" end="95" type="bool"/>
</struct>
<struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
<field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
- <field name="Single Program Flow" start="50" end="50" type="bool"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Single Program Flow" start="50" end="50" type="bool"/>
<field name="Sampler Count" start="66" end="68" type="uint">
<value name="No samplers used" value="0"/>
<value name="Between 1 and 4 samplers used" value="1"/>
@@ -295,95 +239,97 @@
<value name="Between 9 and 12 samplers used" value="3"/>
<value name="Between 13 and 16 samplers used" value="4"/>
</field>
- <field name="Binding Table Pointer" start="101" end="127" type="offset"/>
+ <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
<field name="Binding Table Entry Count" start="96" end="100" type="uint"/>
- <field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/>
+ <field name="Binding Table Pointer" start="101" end="127" type="offset"/>
<field name="Constant URB Entry Read Offset" start="128" end="143" type="uint"/>
- <field name="Barrier Return GRF Offset" start="184" end="191" type="uint"/>
- <field name="Barrier Return Byte" start="168" end="175" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/>
<field name="Barrier ID" start="160" end="163" type="uint"/>
+ <field name="Barrier Return Byte" start="168" end="175" type="uint"/>
+ <field name="Barrier Return GRF Offset" start="184" end="191" type="uint"/>
</struct>
- <struct name="PALETTE_ENTRY" length="1">
- <field name="Alpha" start="24" end="31" type="uint"/>
- <field name="Red" start="16" end="23" type="uint"/>
- <field name="Green" start="8" end="15" type="uint"/>
- <field name="Blue" start="0" end="7" type="uint"/>
+ <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
+ <field name="Cacheability Control" start="0" end="1" type="uint"/>
+ <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
</struct>
- <struct name="BINDING_TABLE_STATE" length="1">
- <field name="Surface State Pointer" start="5" end="31" type="offset"/>
+ <struct name="PALETTE_ENTRY" length="1">
+ <field name="Blue" start="0" end="7" type="uint"/>
+ <field name="Green" start="8" end="15" type="uint"/>
+ <field name="Red" start="16" end="23" type="uint"/>
+ <field name="Alpha" start="24" end="31" type="uint"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="6">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Data Return Format" start="27" end="27" type="uint">
- <value name="DATA_RETURN_FLOAT32" value="0"/>
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
</field>
- <field name="Surface Format" start="18" end="26" type="uint"/>
- <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
- <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
- <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
- <value name="MIPLAYOUT_BELOW" value="0"/>
- <value name="MIPLAYOUT_RIGHT" value="1"/>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="WRITE_ONLY" value="0"/>
+ <value name="READ_WRITE" value="1"/>
</field>
<field name="Cube Map Corner Mode" start="9" end="9" type="uint">
<value name="CUBE_REPLICATE" value="0"/>
<value name="CUBE_AVERAGE" value="1"/>
</field>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="WRITE_ONLY" value="0"/>
- <value name="READ_WRITE" value="1"/>
+ <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
+ <value name="MIPLAYOUT_BELOW" value="0"/>
+ <value name="MIPLAYOUT_RIGHT" value="1"/>
</field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
+ <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
+ <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
+ <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="Data Return Format" start="27" end="27" type="uint">
+ <value name="DATA_RETURN_FLOAT32" value="0"/>
+ </field>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
<field name="Surface Base Address" start="32" end="63" type="address"/>
- <field name="Height" start="83" end="95" type="uint"/>
- <field name="Width" start="70" end="82" type="uint"/>
- <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
<field name="Render Target Rotation" start="64" end="65" type="uint">
<value name="RTROTATE_0DEG" value="0"/>
<value name="RTROTATE_90DEG" value="1"/>
<value name="RTROTATE_270DEG" value="3"/>
</field>
- <field name="Depth" start="117" end="127" type="uint"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
+ <field name="Width" start="70" end="82" type="uint"/>
+ <field name="Height" start="83" end="95" type="uint"/>
<field name="Tile Walk" start="96" end="96" type="uint">
<value name="TILEWALK_XMAJOR" value="0"/>
<value name="TILEWALK_YMAJOR" value="1"/>
</field>
- <field name="Surface Min LOD" start="156" end="159" type="uint"/>
- <field name="Minimum Array Element" start="145" end="155" type="uint"/>
- <field name="Render Target View Extent" start="136" end="144" type="uint"/>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
<field name="Number of Multisamples" start="132" end="134" type="uint">
<value name="MULTISAMPLECOUNT_1" value="0"/>
<value name="MULTISAMPLECOUNT_4" value="2"/>
</field>
- <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
+ <field name="Render Target View Extent" start="136" end="144" type="uint"/>
+ <field name="Minimum Array Element" start="145" end="155" type="uint"/>
+ <field name="Surface Min LOD" start="156" end="159" type="uint"/>
+ <field name="MOCS" start="176" end="179" type="uint"/>
+ <field name="Y Offset" start="180" end="183" type="uint"/>
<field name="Surface Vertical Alignment" start="184" end="184" type="uint">
<value name="VALIGN_2" value="0"/>
<value name="VALIGN_4" value="1"/>
</field>
- <field name="Y Offset" start="180" end="183" type="uint"/>
- <field name="MOCS" start="176" end="179" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
@@ -391,27 +337,22 @@
<field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
<field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
<field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
-
<field name="Border Color Float Red" start="32" end="63" type="float"/>
<field name="Border Color Float Green" start="64" end="95" type="float"/>
<field name="Border Color Float Blue" start="96" end="127" type="float"/>
<field name="Border Color Float Alpha" start="128" end="159" type="float"/>
-
<field name="Border Color Float16 Red" start="160" end="175" type="uint"/>
<field name="Border Color Float16 Green" start="176" end="191" type="uint"/>
<field name="Border Color Float16 Blue" start="192" end="207" type="uint"/>
<field name="Border Color Float16 Alpha" start="208" end="223" type="uint"/>
-
<field name="Border Color Unorm16 Red" start="224" end="239" type="uint"/>
<field name="Border Color Unorm16 Green" start="240" end="255" type="uint"/>
<field name="Border Color Unorm16 Blue" start="256" end="271" type="uint"/>
<field name="Border Color Unorm16 Alpha" start="272" end="287" type="uint"/>
-
<field name="Border Color Snorm16 Red" start="288" end="303" type="int"/>
<field name="Border Color Snorm16 Green" start="304" end="319" type="int"/>
<field name="Border Color Snorm16 Blue" start="320" end="335" type="int"/>
<field name="Border Color Snorm16 Alpha" start="336" end="351" type="int"/>
-
<field name="Border Color Snorm8 Red" start="352" end="359" type="int"/>
<field name="Border Color Snorm8 Green" start="360" end="367" type="int"/>
<field name="Border Color Snorm8 Blue" start="368" end="375" type="int"/>
@@ -419,32 +360,6 @@
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="Texture Border Color Mode" start="29" end="29" type="uint">
- <value name="DX10/OGL" value="0"/>
- <value name="DX9" value="1"/>
- </field>
- <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
- <value name="OGL" value="1"/>
- </field>
- <field name="Min and Mag State Not Equal" start="27" end="27" type="uint">
- <value name="MIN_MAG_EQ" value="0"/>
- <value name="MIN_MAG_NEQ" value="1"/>
- </field>
- <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
- </field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
- <value name="NEAREST" value="0"/>
- <value name="LINEAR" value="1"/>
- <value name="ANISOTROPIC" value="2"/>
- <value name="MONO" value="6"/>
- </field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
- <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
<field name="Shadow Function" start="0" end="2" type="uint">
<value name="PREFILTEROP_ALWAYS" value="0"/>
<value name="PREFILTEROP_NEVER" value="1"/>
@@ -455,24 +370,49 @@
<value name="PREFILTEROP_NOTEQUAL" value="6"/>
<value name="PREFILTEROP_GEQUAL" value="7"/>
</field>
- <field name="Min LOD" start="54" end="63" type="u4.6"/>
- <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <value name="NEAREST" value="0"/>
+ <value name="LINEAR" value="1"/>
+ <value name="ANISOTROPIC" value="2"/>
+ <value name="MONO" value="6"/>
+ </field>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
+ </field>
+ <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
+ <field name="Min and Mag State Not Equal" start="27" end="27" type="uint">
+ <value name="MIN_MAG_EQ" value="0"/>
+ <value name="MIN_MAG_NEQ" value="1"/>
+ </field>
+ <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
+ <value name="OGL" value="1"/>
+ </field>
+ <field name="Texture Border Color Mode" start="29" end="29" type="uint">
+ <value name="DX10/OGL" value="0"/>
+ <value name="DX9" value="1"/>
+ </field>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="TCZ Address Control Mode" start="32" end="34" type="Texture Coordinate Mode"/>
+ <field name="TCY Address Control Mode" start="35" end="37" type="Texture Coordinate Mode"/>
+ <field name="TCX Address Control Mode" start="38" end="40" type="Texture Coordinate Mode"/>
<field name="Cube Surface Control Mode" start="41" end="41" type="uint">
<value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
<value name="CUBECTRLMODE_OVERRIDE" value="1"/>
</field>
- <field name="TCX Address Control Mode" start="38" end="40" type="Texture Coordinate Mode"/>
- <field name="TCY Address Control Mode" start="35" end="37" type="Texture Coordinate Mode"/>
- <field name="TCZ Address Control Mode" start="32" end="34" type="Texture Coordinate Mode"/>
+ <field name="Max LOD" start="44" end="53" type="u4.6"/>
+ <field name="Min LOD" start="54" end="63" type="u4.6"/>
<field name="Border Color Pointer" start="69" end="95" type="offset"/>
- <field name="Monochrome Filter Height: Reserved" start="125" end="127" type="uint"/>
- <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
- <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
- <field name="ChromaKey Index" start="119" end="120" type="uint"/>
- <field name="ChromaKey Mode" start="118" end="118" type="uint">
- <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
- <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
- </field>
+ <field name="Non-normalized Coordinate Enable" start="96" end="96" type="bool"/>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -483,27 +423,94 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- <field name="Non-normalized Coordinate Enable" start="96" end="96" type="bool"/>
+ <field name="ChromaKey Mode" start="118" end="118" type="uint">
+ <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
+ <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
+ </field>
+ <field name="ChromaKey Index" start="119" end="120" type="uint"/>
+ <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
+ <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
+ <field name="Monochrome Filter Height: Reserved" start="125" end="127" type="uint"/>
+ </struct>
+
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
+ </struct>
+
+ <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
+ <field name="Source Attribute" start="0" end="4" type="uint"/>
+ <field name="Swizzle Select" start="6" end="7" type="uint">
+ <value name="INPUTATTR" value="0"/>
+ <value name="INPUTATTR_FACING" value="1"/>
+ <value name="INPUTATTR_W" value="2"/>
+ <value name="INPUTATTR_FACING_W" value="3"/>
+ </field>
+ <field name="Constant Source" start="9" end="10" type="uint">
+ <value name="CONST_0000" value="0"/>
+ <value name="CONST_0001_FLOAT" value="1"/>
+ <value name="CONST_1111_FLOAT" value="2"/>
+ <value name="PRIM_ID" value="3"/>
+ </field>
+ <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
+ <field name="Component Override X" start="12" end="12" type="bool"/>
+ <field name="Component Override Y" start="13" end="13" type="bool"/>
+ <field name="Component Override Z" start="14" end="14" type="bool"/>
+ <field name="Component Override W" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="SF_VIEWPORT" length="8">
+ <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
+ <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
+ <field name="Viewport Matrix Element m22" start="64" end="95" type="float">
+ <value name="Excludes DWord (0,1)" value="0"/>
+ </field>
+ <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
+ <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
+ <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ </struct>
+
+ <struct name="VERTEX_BUFFER_STATE" length="4">
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
+ <field name="MOCS" start="16" end="19" type="uint"/>
+ <field name="Buffer Access Type" start="20" end="20" type="uint">
+ <value name="VERTEXDATA" value="0"/>
+ <value name="INSTANCEDATA" value="1"/>
+ </field>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Buffer Starting Address" start="32" end="63" type="address"/>
+ <field name="End Address" start="64" end="95" type="address"/>
+ <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
+ </struct>
+
+ <struct name="VERTEX_ELEMENT_STATE" length="2">
+ <field name="Source Element Offset" start="0" end="11" type="uint"/>
+ <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="25" end="25" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="Internal Vertex Count" start="9" end="9" type="uint"/>
+ <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="15" end="15" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
- <field name="Internal Vertex Count" start="9" end="9" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
<field name="Start Vertex Location" start="64" end="95" type="uint"/>
<field name="Instance Count" start="96" end="127" type="uint">
@@ -515,92 +522,75 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
- <field name="PS Binding Table Change" start="12" end="12" type="bool"/>
- <field name="GS Binding Table Change" start="9" end="9" type="bool"/>
- <field name="VS Binding Table Change" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="VS Binding Table Change" start="8" end="8" type="bool"/>
+ <field name="GS Binding Table Change" start="9" end="9" type="bool"/>
+ <field name="PS Binding Table Change" start="12" end="12" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
<field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
<field name="Pointer to PS Binding Table" start="101" end="127" type="offset"/>
</instruction>
<instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Pointer to BLEND_STATE" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="BLEND_STATE Change" start="32" end="32" type="bool"/>
- <field name="Pointer to DEPTH_STENCIL_STATE" start="70" end="95" type="offset"/>
+ <field name="Pointer to BLEND_STATE" start="38" end="63" type="offset"/>
<field name="DEPTH_STENCIL_STATE Change" start="64" end="64" type="bool"/>
- <field name="Color Calc State Pointer" start="102" end="127" type="offset"/>
+ <field name="Pointer to DEPTH_STENCIL_STATE" start="70" end="95" type="offset"/>
<field name="Color Calc State Pointer Valid" start="96" end="96" type="bool"/>
+ <field name="Color Calc State Pointer" start="102" end="127" type="offset"/>
</instruction>
<instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
<field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
<field name="ChromaKey High Value" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
- <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
- <field name="Clip Enable" start="95" end="95" type="bool"/>
- <field name="API Mode" start="94" end="94" type="uint">
- <value name="APIMODE_OGL" value="0"/>
- <value name="APIMODE_D3D" value="1"/>
- </field>
- <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
- <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
- <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
- <field name="Clip Mode" start="77" end="79" type="uint">
- <value name="CLIPMODE_NORMAL" value="0"/>
- <value name="reserved" value="2"/>
- <value name="CLIPMODE_REJECT_ALL" value="3"/>
- <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
- </field>
- <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
- <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
@@ -609,94 +599,83 @@
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
</field>
- <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
- <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
- <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
+ <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
+ <field name="Clip Mode" start="77" end="79" type="uint">
+ <value name="CLIPMODE_NORMAL" value="0"/>
+ <value name="reserved" value="2"/>
+ <value name="CLIPMODE_REJECT_ALL" value="3"/>
+ <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
+ </field>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
+ <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
+ <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
+ <field name="API Mode" start="94" end="94" type="uint">
+ <value name="APIMODE_OGL" value="0"/>
+ <value name="APIMODE_D3D" value="1"/>
+ </field>
+ <field name="Clip Enable" start="95" end="95" type="bool"/>
<field name="Maximum VP Index" start="96" end="99" type="uint"/>
+ <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
+ <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
- <struct name="3DSTATE_CONSTANT_BODY" length="4">
- <field name="Pointer to Constant Buffer 0" start="5" end="31" type="offset"/>
- <field name="Constant Buffer 0 Read Length" start="0" end="4" type="uint"/>
- <field name="Pointer to Constant Buffer 1" start="37" end="63" type="address"/>
- <field name="Constant Buffer 1 Read Length" start="32" end="36" type="uint"/>
- <field name="Pointer to Constant Buffer 2" start="69" end="95" type="address"/>
- <field name="Constant Buffer 2 Read Length" start="64" end="68" type="uint"/>
- <field name="Pointer to Constant Buffer 3" start="101" end="127" type="address"/>
- <field name="Constant Buffer 3 Read Length" start="96" end="100" type="uint"/>
- </struct>
-
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
- <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
- <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
- <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
- <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
- <field name="MOCS" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="MOCS" start="8" end="11" type="uint"/>
+ <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
+ <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
+ <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
+ <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="159" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
- <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
- <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
- <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
- <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
- <field name="MOCS" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="MOCS" start="8" end="11" type="uint"/>
+ <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
+ <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
+ <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
+ <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="159" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
- <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
- <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
- <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
- <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
- <field name="MOCS" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="MOCS" start="8" end="11" type="uint"/>
+ <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
+ <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
+ <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
+ <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="159" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="Surface Type" start="61" end="63" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Tiled Surface" start="59" end="59" type="bool"/>
- <field name="Tile Walk" start="58" end="58" type="uint">
- <value name="TILEWALK_YMAJOR" value="1"/>
- </field>
- <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
- <value name="NORMAL" value="0"/>
- <value name="STR1" value="1"/>
- <value name="STR2" value="3"/>
- </field>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
- <field name="Separate Stencil Buffer Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface Format" start="50" end="52" type="uint">
<value name="D32_FLOAT_S8X24_UINT" value="0"/>
<value name="D32_FLOAT" value="1"/>
@@ -704,46 +683,73 @@
<value name="D24_UNORM_X8_UINT" value="3"/>
<value name="D16_UNORM" value="5"/>
</field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="Separate Stencil Buffer Enable" start="53" end="53" type="bool"/>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
+ <value name="NORMAL" value="0"/>
+ <value name="STR1" value="1"/>
+ <value name="STR2" value="3"/>
+ </field>
+ <field name="Tile Walk" start="58" end="58" type="uint">
+ <value name="TILEWALK_YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="59" end="59" type="bool"/>
+ <field name="Surface Type" start="61" end="63" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
<field name="Surface Base Address" start="64" end="95" type="address"/>
- <field name="Height" start="115" end="127" type="uint"/>
- <field name="Width" start="102" end="114" type="uint"/>
- <field name="LOD" start="98" end="101" type="uint"/>
<field name="MIP Map Layout Mode" start="97" end="97" type="uint">
<value name="MIPLAYOUT_BELOW" value="0"/>
<value name="MIPLAYOUT_RIGHT" value="1"/>
</field>
- <field name="Depth" start="149" end="159" type="uint"/>
- <field name="Minimum Array Element" start="138" end="148" type="uint"/>
+ <field name="LOD" start="98" end="101" type="uint"/>
+ <field name="Width" start="102" end="114" type="uint"/>
+ <field name="Height" start="115" end="127" type="uint"/>
<field name="Render Target View Extent" start="129" end="137" type="uint"/>
- <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
+ <field name="Minimum Array Element" start="138" end="148" type="uint"/>
+ <field name="Depth" start="149" end="159" type="uint"/>
<field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
+ <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
<field name="MOCS" start="219" end="223" type="uint"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_GS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Program Flow" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Priority" start="81" end="81" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -751,164 +757,154 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Thread Priority" start="81" end="81" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Program Flow" start="95" end="95" type="bool"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="128" end="131" type="uint"/>
- <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
- <field name="Statistics Enable" start="170" end="170" type="bool"/>
- <field name="SO Statistics Enable" start="169" end="169" type="bool"/>
+ <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
<field name="Rendering Enabled" start="168" end="168" type="uint"/>
+ <field name="SO Statistics Enable" start="169" end="169" type="bool"/>
+ <field name="Statistics Enable" start="170" end="170" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
+ <field name="Enable" start="207" end="207" type="bool"/>
+ <field name="SVBI Post-Increment Value" start="208" end="217" type="uint"/>
+ <field name="SVBI Post-Increment Enable" start="219" end="219" type="bool"/>
+ <field name="SVBI Payload Enable" start="220" end="220" type="bool"/>
+ <field name="Discard Adjacency" start="221" end="221" type="bool"/>
<field name="Reorder Mode" start="222" end="222" type="uint">
<value name="LEADING" value="0"/>
<value name="TRAILING" value="1"/>
</field>
- <field name="Discard Adjacency" start="221" end="221" type="bool"/>
- <field name="SVBI Payload Enable" start="220" end="220" type="bool"/>
- <field name="SVBI Post-Increment Enable" start="219" end="219" type="bool"/>
- <field name="SVBI Post-Increment Value" start="208" end="217" type="uint"/>
- <field name="Enable" start="207" end="207" type="bool"/>
</instruction>
<instruction name="3DSTATE_GS_SVB_INDEX" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="Index Number" start="61" end="62" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Load Internal Vertex Count" start="32" end="32" type="uint"/>
+ <field name="Index Number" start="61" end="62" type="uint"/>
<field name="Streamed Vertex Buffer Index" start="64" end="95" type="uint"/>
<field name="Maximum Index" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
- <field name="MOCS" start="12" end="15" type="uint"/>
- <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="MOCS" start="12" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Buffer Ending Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
</instruction>
<instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
+ <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
</instruction>
<instruction name="3DSTATE_MULTISAMPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Pixel Location" start="36" end="36" type="uint">
- <value name="CENTER" value="0"/>
- <value name="UL_CORNER" value="1"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Multisamples" start="33" end="35" type="uint">
<value name="NUMSAMPLES_1" value="0"/>
<value name="NUMSAMPLES_4" value="2"/>
</field>
- <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
- <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
- <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
- <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
- <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
- <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
- <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="Pixel Location" start="36" end="36" type="uint">
+ <value name="CENTER" value="0"/>
+ <value name="UL_CORNER" value="1"/>
+ </field>
<field name="Sample0 Y Offset" start="64" end="67" type="u0.4"/>
+ <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
+ <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
+ <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
+ <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
+ <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
+ <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
<field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
@@ -918,94 +914,105 @@
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
- <field name="PS Sampler State Change" start="12" end="12" type="uint"/>
- <field name="GS Sampler State Change" start="9" end="9" type="uint"/>
- <field name="VS Sampler State Change" start="8" end="8" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="VS Sampler State Change" start="8" end="8" type="uint"/>
+ <field name="GS Sampler State Change" start="9" end="9" type="uint"/>
+ <field name="PS Sampler State Change" start="12" end="12" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
<field name="Pointer to GS Sampler State" start="69" end="95" type="offset"/>
<field name="Pointer to PS Sampler State" start="101" end="127" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Sample Mask" start="32" end="35" type="uint"/>
</instruction>
<instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SF" bias="2" length="20" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="18"/>
- <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
- <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
<field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
<value name="UPPERLEFT" value="0"/>
<value name="LOWERLEFT" value="1"/>
</field>
- <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
- <field name="Legacy Global Depth Bias Enable" start="75" end="75" type="bool"/>
- <field name="Statistics Enable" start="74" end="74" type="bool"/>
- <field name="Global Depth Offset Enable Solid" start="73" end="73" type="bool"/>
- <field name="Global Depth Offset Enable Wireframe" start="72" end="72" type="bool"/>
- <field name="Global Depth Offset Enable Point" start="71" end="71" type="bool"/>
- <field name="FrontFace Fill Mode" start="69" end="70" type="uint" prefix="FILL_MODE">
+ <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
+ <field name="Front Winding" start="64" end="64" type="uint">
+ <value name="FRONTWINDING_CW" value="0"/>
+ <value name="FRONTWINDING_CCW" value="1"/>
+ </field>
+ <field name="Viewport Transform Enable" start="65" end="65" type="bool"/>
+ <field name="BackFace Fill Mode" start="67" end="68" type="uint" prefix="FILL_MODE">
<value name="SOLID" value="0"/>
<value name="WIREFRAME" value="1"/>
<value name="POINT" value="2"/>
</field>
- <field name="BackFace Fill Mode" start="67" end="68" type="uint" prefix="FILL_MODE">
+ <field name="FrontFace Fill Mode" start="69" end="70" type="uint" prefix="FILL_MODE">
<value name="SOLID" value="0"/>
<value name="WIREFRAME" value="1"/>
<value name="POINT" value="2"/>
</field>
- <field name="Viewport Transform Enable" start="65" end="65" type="bool"/>
- <field name="Front Winding" start="64" end="64" type="uint">
- <value name="FRONTWINDING_CW" value="0"/>
- <value name="FRONTWINDING_CCW" value="1"/>
+ <field name="Global Depth Offset Enable Point" start="71" end="71" type="bool"/>
+ <field name="Global Depth Offset Enable Wireframe" start="72" end="72" type="bool"/>
+ <field name="Global Depth Offset Enable Solid" start="73" end="73" type="bool"/>
+ <field name="Statistics Enable" start="74" end="74" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="75" end="75" type="bool"/>
+ <field name="Multisample Rasterization Mode" start="104" end="105" type="uint">
+ <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ON_PATTERN" value="3"/>
</field>
- <field name="Anti-Aliasing Enable" start="127" end="127" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="107" end="107" type="bool"/>
+ <field name="Line End Cap Antialiasing Region Width" start="112" end="113" 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 Width" start="114" end="123" type="u3.7"/>
<field name="Cull Mode" start="125" end="126" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<value name="BACK" value="3"/>
</field>
- <field name="Line Width" start="114" end="123" type="u3.7"/>
- <field name="Line End Cap Antialiasing Region Width" start="112" end="113" 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 name="Anti-Aliasing Enable" start="127" end="127" type="bool"/>
+ <field name="Point Width" start="128" end="138" type="u8.3"/>
+ <field name="Point Width Source" start="139" end="139" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
</field>
- <field name="Scissor Rectangle Enable" start="107" end="107" type="bool"/>
- <field name="Multisample Rasterization Mode" start="104" end="105" type="uint">
- <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ON_PATTERN" value="3"/>
+ <field name="Vertex Sub Pixel Precision Select" start="140" end="140" type="uint">
+ <value name="8 Sub-Pixel Precision Bits" value="0"/>
+ <value name="4 Sub-Pixel Precision Bits" value="1"/>
</field>
- <field name="Last Pixel Enable" start="159" end="159" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="157" end="158" type="uint">
+ <field name="AA Line Distance Mode" start="142" end="142" type="uint">
+ <value name="AALINEDISTANCE_TRUE" value="1"/>
+ </field>
+ <field name="Triangle Fan Provoking Vertex Select" start="153" end="154" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
@@ -1014,23 +1021,12 @@
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
</field>
- <field name="Triangle Fan Provoking Vertex Select" start="153" end="154" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="157" end="158" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="AA Line Distance Mode" start="142" end="142" type="uint">
- <value name="AALINEDISTANCE_TRUE" value="1"/>
- </field>
- <field name="Vertex Sub Pixel Precision Select" start="140" end="140" type="uint">
- <value name="8 Sub-Pixel Precision Bits" value="0"/>
- <value name="4 Sub-Pixel Precision Bits" value="1"/>
- </field>
- <field name="Point Width Source" start="139" end="139" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
- </field>
- <field name="Point Width" start="128" end="138" type="u8.3"/>
+ <field name="Last Pixel Enable" start="159" end="159" type="bool"/>
<field name="Global Depth Offset Constant" start="160" end="191" type="float"/>
<field name="Global Depth Offset Scale" start="192" end="223" type="float"/>
<field name="Global Depth Offset Clamp" start="224" end="255" type="float"/>
@@ -1039,100 +1035,105 @@
</group>
<field name="Point Sprite Texture Coordinate Enable" start="512" end="543" type="uint"/>
<field name="Constant Interpolation Enable" start="544" end="575" type="uint"/>
- <field name="Attribute 7 WrapShortest Enables" start="604" end="607" type="uint"/>
- <field name="Attribute 6 WrapShortest Enables" start="600" end="603" type="uint"/>
- <field name="Attribute 5 WrapShortest Enables" start="596" end="599" type="uint"/>
- <field name="Attribute 4 WrapShortest Enables" start="592" end="595" type="uint"/>
- <field name="Attribute 3 WrapShortest Enables" start="588" end="591" type="uint"/>
- <field name="Attribute 2 WrapShortest Enables" start="584" end="587" type="uint"/>
- <field name="Attribute 1 WrapShortest Enables" start="580" end="583" type="uint"/>
<field name="Attribute 0 WrapShortest Enables" start="576" end="579" type="uint"/>
- <field name="Attribute 15 WrapShortest Enables" start="636" end="639" type="uint"/>
- <field name="Attribute 14 WrapShortest Enables" start="632" end="635" type="uint"/>
- <field name="Attribute 13 WrapShortest Enables" start="628" end="631" type="uint"/>
- <field name="Attribute 12 WrapShortest Enables" start="624" end="627" type="uint"/>
- <field name="Attribute 11 WrapShortest Enables" start="620" end="623" type="uint"/>
- <field name="Attribute 10 WrapShortest Enables" start="616" end="619" type="uint"/>
- <field name="Attribute 9 WrapShortest Enables" start="612" end="615" type="uint"/>
+ <field name="Attribute 1 WrapShortest Enables" start="580" end="583" type="uint"/>
+ <field name="Attribute 2 WrapShortest Enables" start="584" end="587" type="uint"/>
+ <field name="Attribute 3 WrapShortest Enables" start="588" end="591" type="uint"/>
+ <field name="Attribute 4 WrapShortest Enables" start="592" end="595" type="uint"/>
+ <field name="Attribute 5 WrapShortest Enables" start="596" end="599" type="uint"/>
+ <field name="Attribute 6 WrapShortest Enables" start="600" end="603" type="uint"/>
+ <field name="Attribute 7 WrapShortest Enables" start="604" end="607" type="uint"/>
<field name="Attribute 8 WrapShortest Enables" start="608" end="611" type="uint"/>
+ <field name="Attribute 9 WrapShortest Enables" start="612" end="615" type="uint"/>
+ <field name="Attribute 10 WrapShortest Enables" start="616" end="619" type="uint"/>
+ <field name="Attribute 11 WrapShortest Enables" start="620" end="623" type="uint"/>
+ <field name="Attribute 12 WrapShortest Enables" start="624" end="627" type="uint"/>
+ <field name="Attribute 13 WrapShortest Enables" start="628" end="631" type="uint"/>
+ <field name="Attribute 14 WrapShortest Enables" start="632" end="635" type="uint"/>
+ <field name="Attribute 15 WrapShortest Enables" start="636" end="639" type="uint"/>
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_URB" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="VS URB Entry Allocation Size" start="48" end="55" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
- <field name="GS Number of URB Entries" start="72" end="81" type="uint"/>
+ <field name="VS URB Entry Allocation Size" start="48" end="55" type="uint"/>
<field name="GS URB Entry Allocation Size" start="64" end="66" type="uint"/>
+ <field name="GS Number of URB Entries" start="72" end="81" type="uint"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
- <field name="CC Viewport State Change" start="12" end="12" type="uint"/>
- <field name="SF Viewport State Change" start="11" end="11" type="uint"/>
- <field name="CLIP Viewport State Change" start="10" end="10" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="CLIP Viewport State Change" start="10" end="10" type="uint"/>
+ <field name="SF Viewport State Change" start="11" end="11" type="uint"/>
+ <field name="CC Viewport State Change" start="12" end="12" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to CLIP_VIEWPORT" start="37" end="63" type="offset"/>
<field name="Pointer to SF_VIEWPORT" start="69" end="95" type="offset"/>
<field name="Pointer to CC_VIEWPORT" start="101" end="127" type="offset"/>
</instruction>
<instruction name="3DSTATE_VS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1140,312 +1141,307 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
- <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
- <field name="Statistics Enable" start="170" end="170" type="bool"/>
- <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
<field name="Enable" start="160" end="160" type="bool"/>
+ <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Statistics Enable" start="170" end="170" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer 0" start="38" end="63" type="offset"/>
- <field name="Single Program Flow" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
- <field name="Sampler Count" start="91" end="93" type="uint"/>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Thread Priority" start="81" end="81" type="uint">
- <value name="High" value="1"/>
- </field>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="MaskStack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
<field name="Floating Point Mode" start="80" end="80" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-745" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="MaskStack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Thread Priority" start="81" end="81" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
+ <field name="Sampler Count" start="91" end="93" type="uint"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Program Flow" start="95" end="95" type="bool"/>
<field name="Per Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Statistics Enable" start="159" end="159" type="bool"/>
- <field name="Depth Buffer Clear" start="158" end="158" type="bool"/>
- <field name="Depth Buffer Resolve Enable" start="156" end="156" type="bool"/>
- <field name="Hierarchical Depth Buffer Resolve Enable" start="155" end="155" type="bool"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="144" end="150" type="uint"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="136" end="142" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<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 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="Dispatch GRF Start Register For Constant/Setup Data 1" start="136" end="142" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="144" end="150" type="uint"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="155" end="155" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="156" end="156" type="bool"/>
+ <field name="Depth Buffer Clear" start="158" end="158" type="bool"/>
+ <field name="Statistics Enable" start="159" end="159" type="bool"/>
+ <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
+ <field name="Dual Source Blend Enable" start="167" end="167" type="bool"/>
+ <field name="Pixel Shader Uses Source W" start="168" end="168" type="bool"/>
+ <field name="oMask Present to RenderTarget" start="169" end="169" type="bool"/>
+ <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
+ <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
+ <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="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="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"/>
- <field name="Pixel Shader Uses Source W" start="168" end="168" type="bool"/>
- <field name="Dual Source Blend Enable" start="167" end="167" type="bool"/>
- <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
- <field name="Number of SF Output Attributes" start="212" end="217" type="uint"/>
- <field name="Position XY Offset Select" start="210" end="211" type="uint">
- <value name="POSOFFSET_NONE" value="0"/>
- <value name="POSOFFSET_CENTROID" value="2"/>
- <value name="POSOFFSET_SAMPLE" value="3"/>
+ <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
+ <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
+ <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
+ <field name="Multisample Dispatch Mode" start="192" end="192" type="uint">
+ <value name="MSDISPMODE_PERSAMPLE" value="0"/>
+ <value name="MSDISPMODE_PERPIXEL" value="1"/>
</field>
- <field name="Position ZW Interpolation Mode" start="208" end="209" type="uint">
- <value name="INTERP_PIXEL" value="0"/>
- <value name="INTERP_CENTROID" value="2"/>
- <value name="INTERP_SAMPLE" value="3"/>
+ <field name="Multisample Rasterization Mode" start="193" end="194" type="uint">
+ <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ON_PATTERN" value="3"/>
+ </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"/>
</field>
<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_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"/>
- </field>
- <field name="Multisample Rasterization Mode" start="193" end="194" type="uint">
- <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ON_PATTERN" value="3"/>
+ <field name="Position ZW Interpolation Mode" start="208" end="209" type="uint">
+ <value name="INTERP_PIXEL" value="0"/>
+ <value name="INTERP_CENTROID" value="2"/>
+ <value name="INTERP_SAMPLE" value="3"/>
</field>
- <field name="Multisample Dispatch Mode" start="192" end="192" type="uint">
- <value name="MSDISPMODE_PERSAMPLE" value="0"/>
- <value name="MSDISPMODE_PERPIXEL" value="1"/>
+ <field name="Position XY Offset Select" start="210" end="211" type="uint">
+ <value name="POSOFFSET_NONE" value="0"/>
+ <value name="POSOFFSET_CENTROID" value="2"/>
+ <value name="POSOFFSET_SAMPLE" value="3"/>
</field>
+ <field name="Number of SF Output Attributes" start="212" end="217" type="uint"/>
<field name="Kernel Start Pointer 1" start="230" end="255" type="offset"/>
<field name="Kernel Start Pointer 2" start="262" end="287" type="offset"/>
</instruction>
<instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
<field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MEDIA_GATEWAY_STATE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="BarrierID" start="48" end="55" type="uint"/>
- <field name="Barrier.Byte" start="40" end="47" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Barrier.ThreadCount" start="32" end="39" type="uint"/>
+ <field name="Barrier.Byte" start="40" end="47" type="uint"/>
+ <field name="BarrierID" start="48" end="55" type="uint"/>
</instruction>
<instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
<field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
</instruction>
<instruction name="MEDIA_OBJECT" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="4"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<group count="0" start="192" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="14"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
<field name="PRT_FenceType" start="86" end="86" type="uint">
<value name="Root thread queue" value="0"/>
<value name="VFE state flush" value="1"/>
</field>
+ <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<group count="12" start="128" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="15" type="uint" default="15"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
- <field name="Children Present" start="95" end="95" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Children Present" start="95" end="95" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Dual Mode" start="223" end="223" type="uint"/>
- <field name="Repel" start="222" end="222" type="uint"/>
- <field name="Color Count Minus One" start="216" end="219" type="uint"/>
- <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
- <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
<field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
- <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
+ <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
+ <field name="Color Count Minus One" start="216" end="219" type="uint"/>
+ <field name="Repel" start="222" end="222" type="uint"/>
+ <field name="Dual Mode" start="223" end="223" type="uint"/>
<field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
- <field name="Block Resolution Y" start="272" end="280" type="uint"/>
+ <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
<field name="Block Resolution X" start="256" end="264" type="uint"/>
- <field name="Local Start Y" start="304" end="312" type="uint"/>
+ <field name="Block Resolution Y" start="272" end="280" type="uint"/>
<field name="Local Start X" start="288" end="296" type="uint"/>
- <field name="Local End Y" start="336" end="344" type="uint"/>
+ <field name="Local Start Y" start="304" end="312" type="uint"/>
<field name="Local End X" start="320" end="328" type="uint"/>
- <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
+ <field name="Local End Y" start="336" end="344" type="uint"/>
<field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
- <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
+ <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
<field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
- <field name="Global Resolution Y" start="432" end="440" type="uint"/>
+ <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
<field name="Global Resolution X" start="416" end="424" type="uint"/>
- <field name="Global Start Y" start="464" end="473" type="int"/>
+ <field name="Global Resolution Y" start="432" end="440" type="uint"/>
<field name="Global Start X" start="448" end="457" type="int"/>
- <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
+ <field name="Global Start Y" start="464" end="473" type="int"/>
<field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
- <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
+ <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
<field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
+ <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
<group count="0" start="544" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="Thread Count WaterMark" start="48" end="55" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Barrier Mask" start="32" end="47" type="uint">
<value name="Not Waiting" value="0"/>
<value name="Waiting" value="1"/>
</field>
+ <field name="Thread Count WaterMark" start="48" end="55" type="uint"/>
</instruction>
<instruction name="MEDIA_VFE_STATE" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="6"/>
- <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
- <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
- <field name="Number of URB Entries" start="72" end="79" type="uint"/>
- <field name="Reset Gateway Timer" start="71" end="71" type="uint">
- <value name="Maintaining the existing timestamp state" value="0"/>
- <value name="Resetting relative timer and latching the global timestamp" value="1"/>
+ <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
+ <field name="Fast Preempt" start="69" end="69" type="uint">
+ <value name="Preempt only _PRT" value="0"/>
</field>
<field name="Bypass Gateway Control" start="70" end="70" type="uint">
<value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
<value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
</field>
- <field name="Fast Preempt" start="69" end="69" type="uint">
- <value name="Preempt only _PRT" value="0"/>
+ <field name="Reset Gateway Timer" start="71" end="71" type="uint">
+ <value name="Maintaining the existing timestamp state" value="0"/>
+ <value name="Resetting relative timer and latching the global timestamp" value="1"/>
</field>
- <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
+ <field name="Number of URB Entries" start="72" end="79" type="uint"/>
+ <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
<field name="CURBE Allocation Size" start="128" end="143" type="uint"/>
+ <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
+ <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Type" start="190" end="190" type="uint">
+ <value name="Stalling Scoreboard" value="0"/>
+ </field>
<field name="Scoreboard Enable" start="191" end="191" type="uint">
<value name="Scoreboard disabled" value="0"/>
<value name="Scoreboard enabled" value="1"/>
</field>
- <field name="Scoreboard Type" start="190" end="190" type="uint">
- <value name="Stalling Scoreboard" value="0"/>
- </field>
- <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
- <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
- <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
- <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
- <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
- <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
- <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
<field name="Scoreboard 0 Delta X" start="192" end="195" type="int"/>
- <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
- <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
- <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
- <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
- <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
- <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
- <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
+ <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
+ <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
+ <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
+ <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
+ <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
+ <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
<field name="Scoreboard 4 Delta X" start="224" end="227" type="int"/>
+ <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
+ <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
+ <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
+ <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
+ <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
+ <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
</instruction>
<instruction name="MFC_AVC_FQM_STATE" bias="2" length="113" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="111"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="8" start="32" size="32">
<field name="Luma4x4 Intra InvWeightScale" start="0" end="31" type="uint"/>
</group>
@@ -1473,31 +1469,31 @@
</instruction>
<instruction name="MFC_AVC_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
<group count="0" start="64" size="32">
<field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<group count="8" start="96" size="32">
@@ -1506,16 +1502,16 @@
</instruction>
<instruction name="MFC_STITCH_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Src Data Starting Byte Offset" start="48" end="49" type="uint"/>
- <field name="SrC Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
- <field name="Last Src Header Data Insert Command" start="34" end="34" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Last Dst Data Insert Command" start="33" end="33" type="bool"/>
+ <field name="Last Src Header Data Insert Command" start="34" end="34" type="bool"/>
+ <field name="SrC Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
+ <field name="Src Data Starting Byte Offset" start="48" end="49" type="uint"/>
<field name="Indirect Data Length" start="64" end="82" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
<group count="0" start="128" size="32">
@@ -1524,12 +1520,12 @@
</instruction>
<instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="53" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
<group count="3" start="96" size="32">
@@ -1538,12 +1534,12 @@
</instruction>
<instruction name="MFD_IT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="12"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
@@ -1556,12 +1552,12 @@
</instruction>
<instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="48" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="address"/>
<group count="2" start="96" size="32">
@@ -1570,26 +1566,26 @@
</instruction>
<instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="53" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="address"/>
- <field name="Slice Start Vertical Position" start="120" end="127" type="uint"/>
- <field name="Next Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="First MB Bit Offset" start="96" end="98" type="uint"/>
+ <field name="Next Slice Start Vertical Position" start="112" end="119" type="uint"/>
+ <field name="Slice Start Vertical Position" start="120" end="127" type="uint"/>
</instruction>
<instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="69" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="67"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Direct MV Buffer - Address" start="6" end="31" type="address"/>
<field name="Direct MV Buffer - Arbitration Priority Control" start="4" end="5" type="uint">
@@ -1628,80 +1624,80 @@
</instruction>
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="11"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Size" start="32" end="47" type="uint"/>
- <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Frame Width" start="64" end="71" type="uint"/>
- <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
- <field name="Intra MB Conformance" start="110" end="110" type="bool"/>
- <field name="Inter MB Conformance" start="109" end="109" type="bool"/>
- <field name="Monochrome PWT Decoding Mode" start="108" end="108" type="bool"/>
- <field name="QM Present" start="106" end="106" type="bool"/>
+ <field name="Frame Height" start="80" end="87" type="uint"/>
+ <field name="Current Decoded Image Frame Store ID" start="96" end="103" type="uint"/>
<field name="Image Structure" start="104" end="105" type="uint">
<value name="Frame Picture" value="0"/>
<value name="Top Field Picture" value="1"/>
<value name="Bottom Field Picture" value="3"/>
<value name="Invalid, not allowed" value="2"/>
</field>
- <field name="Current Decoded Image Frame Store ID" start="96" end="103" type="uint"/>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="MB Status Read" start="143" end="143" type="bool"/>
- <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
- <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="QM Present" start="106" end="106" type="bool"/>
+ <field name="Monochrome PWT Decoding Mode" start="108" end="108" type="bool"/>
+ <field name="Inter MB Conformance" start="109" end="109" type="bool"/>
+ <field name="Intra MB Conformance" start="110" end="110" type="bool"/>
+ <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
+ <field name="Field Picture" start="128" end="128" type="bool"/>
+ <field name="MBAFF Mode" start="129" end="129" type="bool"/>
+ <field name="Frame MB Only" start="130" end="130" type="bool"/>
+ <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
+ <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
+ <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
+ <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
+ <field name="Entropy Coding" start="135" end="135" type="bool"/>
<field name="Chroma Format IDC" start="138" end="139" type="uint">
<value name="Monochrome picture" value="0"/>
<value name="4:2:0 picture" value="1"/>
<value name="4:2:2 picture (not supported)" value="2"/>
<value name="4:4:4 picture (not supported)" value="3"/>
</field>
- <field name="Entropy Coding" start="135" end="135" type="bool"/>
- <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
- <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
- <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
- <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
- <field name="Frame MB Only" start="130" end="130" type="bool"/>
- <field name="MBAFF Mode" start="129" end="129" type="bool"/>
- <field name="Field Picture" start="128" end="128" type="bool"/>
- <field name="Frame Size Rate Control" start="176" end="176" type="bool"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
- <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
- <field name="Force IPCM Control" start="167" end="167" type="bool"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
+ <field name="MB Status Read" start="143" end="143" type="bool"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
<field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
+ <field name="Force IPCM Control" start="167" end="167" type="bool"/>
+ <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
+ <field name="Frame Size Rate Control" start="176" end="176" type="bool"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max" start="336" end="347" type="uint"/>
- <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
<field name="Frame Bitrate Min" start="320" end="331" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="368" end="379" type="uint"/>
+ <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
+ <field name="Frame Bitrate Max" start="336" end="347" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="363" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="379" type="uint"/>
</instruction>
<instruction name="MFX_AVC_QM_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Use built-in Default QM Flags for the current Slice" start="40" end="47" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="QM List Present Flags for the current Slice" start="32" end="39" type="uint"/>
+ <field name="Use built-in Default QM Flags for the current Slice" start="40" end="47" type="uint"/>
<group count="4" start="64" size="32">
<field name="Luma4x4 Intra Weight Scale" start="0" end="31" type="uint"/>
</group>
@@ -1729,12 +1725,12 @@
</instruction>
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="32" start="64" size="8">
<field name="Reference List Entry" start="0" end="7" type="uint"/>
@@ -1742,89 +1738,89 @@
</instruction>
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Type" start="32" end="35" type="uint">
<value name="P Slice" value="0"/>
<value name="B Slice" value="1"/>
<value name="I Slice" value="2"/>
</field>
- <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
- <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
- <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
+ <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
+ <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
+ <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
+ <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
+ <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
+ <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
<field name="Direct Prediction Type" start="125" end="125" type="uint">
<value name="Temporal" value="0"/>
<value name="Spatial" value="1"/>
</field>
- <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
- <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
- <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
- <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
- <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
- <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
- <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
<field name="Slice Start MB Number" start="128" end="142" type="uint"/>
- <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
<field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
- <field name="Rate Control Counter Enable" start="223" end="223" type="bool"/>
- <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Slice ID" start="196" end="199" type="uint"/>
+ <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
+ <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
+ <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
+ <field name="Header Insertion Present" start="209" end="209" type="bool"/>
+ <field name="Last Slice Group" start="211" end="211" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
+ <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
+ <field name="Rate Control Panic Type" start="214" end="214" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
<field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
- <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
- <field name="Rate Control Panic Type" start="214" end="214" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
- <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
- <field name="Last Slice Group" start="211" end="211" type="bool"/>
- <field name="Header Insertion Present" start="209" end="209" type="bool"/>
- <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
- <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
- <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
- <field name="Slice ID" start="196" end="199" type="uint"/>
- <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Rate Control Counter Enable" start="223" end="223" type="bool"/>
<field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
- <field name="Shrink Resistance" start="268" end="271" type="uint"/>
- <field name="Shrink Init" start="264" end="267" type="uint"/>
- <field name="Grow Resistance" start="260" end="263" type="uint"/>
<field name="Grow Init" start="256" end="259" type="uint"/>
- <field name="Correct 6" start="308" end="311" type="uint"/>
- <field name="Correct 5" start="304" end="307" type="uint"/>
- <field name="Correct 4" start="300" end="303" type="uint"/>
- <field name="Correct 3" start="296" end="299" type="uint"/>
- <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Grow Resistance" start="260" end="263" type="uint"/>
+ <field name="Shrink Init" start="264" end="267" type="uint"/>
+ <field name="Shrink Resistance" start="268" end="271" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
<field name="Correct 1" start="288" end="291" type="uint"/>
- <field name="CV7" start="348" end="351" type="uint"/>
- <field name="CV6" start="344" end="347" type="uint"/>
- <field name="CV5" start="340" end="343" type="uint"/>
- <field name="CV4" start="336" end="339" type="uint"/>
- <field name="CV3" start="332" end="335" type="uint"/>
- <field name="CV2" start="328" end="331" type="uint"/>
- <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Correct 3" start="296" end="299" type="uint"/>
+ <field name="Correct 4" start="300" end="303" type="uint"/>
+ <field name="Correct 5" start="304" end="307" type="uint"/>
+ <field name="Correct 6" start="308" end="311" type="uint"/>
<field name="CV0" start="320" end="323" type="uint"/>
+ <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="CV2" start="328" end="331" type="uint"/>
+ <field name="CV3" start="332" end="335" type="uint"/>
+ <field name="CV4" start="336" end="339" type="uint"/>
+ <field name="CV5" start="340" end="343" type="uint"/>
+ <field name="CV6" start="344" end="347" type="uint"/>
+ <field name="CV7" start="348" end="351" type="uint"/>
</instruction>
<instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="50" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="48"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weight and Offset Select" start="32" end="32" type="uint">
<value name="L0 table" value="0"/>
<value name="L1 table" value="1"/>
@@ -1835,185 +1831,185 @@
</instruction>
<instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
- <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="address"/>
- <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="BSP Row Store Scratch Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="BSP Row Store Scratch Buffer - Cacheability Control" start="32" end="33" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MPR Row Store Scratch Buffer - Address" start="70" end="95" type="address"/>
- <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
+ <field name="BSP Row Store Scratch Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MPR Row Store Scratch Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="address"/>
<field name="MPR Row Store Scratch Buffer - Cacheability Control" start="64" end="65" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Bitplane Read Buffer - Address" start="102" end="127" type="address"/>
- <field name="Bitplane Read Buffer - Arbitration Priority Control" start="100" end="101" type="uint">
+ <field name="MPR Row Store Scratch Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Bitplane Read Buffer - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="MPR Row Store Scratch Buffer - Address" start="70" end="95" type="address"/>
<field name="Bitplane Read Buffer - Cacheability Control" start="96" end="97" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- </instruction>
-
- <instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
- <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
- <field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint">
+ <field name="Bitplane Read Buffer - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="Bitplane Read Buffer - Arbitration Priority Control" start="100" end="101" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFX Indirect Bitstream Object - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="Bitplane Read Buffer - Address" start="102" end="127" type="address"/>
+ </instruction>
+
+ <instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
+ <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MFX Indirect Bitstream Object - Cacheability Control" start="32" end="33" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFX Indirect Bitstream Object - Access Upper Bound" start="76" end="95" type="address"/>
- <field name="MFX Indirect MV Object - Address" start="108" end="127" type="address"/>
- <field name="MFX Indirect MV Object - Arbitration Priority Control" start="100" end="101" type="uint">
+ <field name="MFX Indirect Bitstream Object - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFX Indirect MV Object - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
+ <field name="MFX Indirect Bitstream Object - Access Upper Bound" start="76" end="95" type="address"/>
<field name="MFX Indirect MV Object - Cacheability Control" start="96" end="97" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFX Indirect MV Object - Access Upper Bound" start="140" end="159" type="address"/>
- <field name="MFD Indirect IT-COEFF Object - Address" start="172" end="191" type="address"/>
- <field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="164" end="165" type="uint">
+ <field name="MFX Indirect MV Object - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="MFX Indirect MV Object - Arbitration Priority Control" start="100" end="101" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFD Indirect IT-COEFF Object - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="MFX Indirect MV Object - Address" start="108" end="127" type="address"/>
+ <field name="MFX Indirect MV Object - Access Upper Bound" start="140" end="159" type="address"/>
<field name="MFD Indirect IT-COEFF Object - Cacheability Control" start="160" end="161" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="204" end="223" type="address"/>
- <field name="MFD Indirect IT-DBLK Object - Address" start="236" end="255" type="address"/>
- <field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="228" end="229" type="uint">
+ <field name="MFD Indirect IT-COEFF Object - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="164" end="165" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFD Indirect IT-DBLK Object - Graphics Data Type" start="226" end="226" type="uint"/>
+ <field name="MFD Indirect IT-COEFF Object - Address" start="172" end="191" type="address"/>
+ <field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="204" end="223" type="address"/>
<field name="MFD Indirect IT-DBLK Object - Cacheability Control" start="224" end="225" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="268" end="287" type="address"/>
- <field name="MFC Indirect PAK-BSE Object - Address" start="300" end="319" type="address"/>
- <field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="292" end="293" type="uint">
+ <field name="MFD Indirect IT-DBLK Object - Graphics Data Type" start="226" end="226" type="uint"/>
+ <field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="228" end="229" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFC Indirect PAK-BSE Object - Graphics Data Type" start="290" end="290" type="uint"/>
+ <field name="MFD Indirect IT-DBLK Object - Address" start="236" end="255" type="address"/>
+ <field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="268" end="287" type="address"/>
<field name="MFC Indirect PAK-BSE Object - Cacheability Control" start="288" end="289" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="MFC Indirect PAK-BSE Object - Graphics Data Type" start="290" end="290" type="uint"/>
+ <field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="292" end="293" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="MFC Indirect PAK-BSE Object - Address" start="300" end="319" type="address"/>
<field name="MFC Indirect PAK-BSE Object - Access Upper Bound" start="332" end="351" type="address"/>
</instruction>
<instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="F_code[1][1]" start="60" end="63" type="uint"/>
- <field name="F_code[1][0]" start="56" end="59" type="uint"/>
- <field name="F_code[0][1]" start="52" end="55" type="uint"/>
- <field name="F_code[0][0]" start="48" end="51" type="uint"/>
- <field name="Intra DC Precision" start="46" end="47" type="uint"/>
- <field name="Picture Structure" start="44" end="45" type="uint">
- <value name="MPEG_TOP_FIELD" value="1"/>
- <value name="MPEG_BOTTOM_FIELD" value="2"/>
- <value name="MPEG_FRAME" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Scan Order" start="38" end="38" type="uint">
+ <value name="MPEG_ZIGZAG_SCAN" value="0"/>
+ <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
</field>
- <field name="Top Field First" start="43" end="43" type="bool"/>
- <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
- <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Intra VLC Format" start="39" end="39" type="uint"/>
<field name="Quantizer Scale Type" start="40" end="40" type="uint">
<value name="MPEG_QSCALE_LINEAR" value="0"/>
<value name="MPEG_QSCALE_NONLINEAR" value="1"/>
</field>
- <field name="Intra VLC Format" start="39" end="39" type="uint"/>
- <field name="Scan Order" start="38" end="38" type="uint">
- <value name="MPEG_ZIGZAG_SCAN" value="0"/>
- <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
+ <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
+ <field name="Top Field First" start="43" end="43" type="bool"/>
+ <field name="Picture Structure" start="44" end="45" type="uint">
+ <value name="MPEG_TOP_FIELD" value="1"/>
+ <value name="MPEG_BOTTOM_FIELD" value="2"/>
+ <value name="MPEG_FRAME" value="3"/>
</field>
+ <field name="Intra DC Precision" start="46" end="47" type="uint"/>
+ <field name="F_code[0][0]" start="48" end="51" type="uint"/>
+ <field name="F_code[0][1]" start="52" end="55" type="uint"/>
+ <field name="F_code[1][0]" start="56" end="59" type="uint"/>
+ <field name="F_code[1][1]" start="60" end="63" type="uint"/>
<field name="Picture Coding Type" start="64" end="74" type="uint">
<value name="MPEG_I_PICTURE" value="1"/>
<value name="MPEG_P_PICTURE" value="2"/>
<value name="MPEG_B_PICTURE" value="3"/>
</field>
- <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
<field name="Frame Width In MBs" start="96" end="103" type="uint"/>
+ <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
</instruction>
<instruction name="MFX_MPEG2_QM_STATE" bias="2" length="18" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="16"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="QM Type" start="32" end="32" type="uint">
<value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
<value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
@@ -2024,96 +2020,96 @@
</instruction>
<instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="24" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="22"/>
- <field name="Pre Deblocking - Address" start="38" end="63" type="address"/>
- <field name="Pre Deblocking - Arbitration Priority Control" start="36" end="37" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="Pre Deblocking - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking - Cacheability Control" start="32" end="33" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Post Deblocking - Address" start="70" end="95" type="address"/>
- <field name="Post Deblocking - Arbitration Priority Control" start="68" end="69" type="uint">
+ <field name="Pre Deblocking - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="Pre Deblocking - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Post Deblocking - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Pre Deblocking - Address" start="38" end="63" type="address"/>
<field name="Post Deblocking - Cacheability Control" start="64" end="65" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Original Uncompressed Picture Source - Address" start="102" end="127" type="address"/>
- <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="100" end="101" type="uint">
+ <field name="Post Deblocking - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Post Deblocking - Arbitration Priority Control" start="68" end="69" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Original Uncompressed Picture Source - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="Post Deblocking - Address" start="70" end="95" type="address"/>
<field name="Original Uncompressed Picture Source - Cacheability Control" start="96" end="97" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Stream-Out Data Destination - Address" start="134" end="159" type="offset"/>
- <field name="Stream-Out Data Destination - Arbitration Priority Control" start="132" end="133" type="uint">
+ <field name="Original Uncompressed Picture Source - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="100" end="101" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Stream-Out Data Destination - Graphics Data Type" start="130" end="130" type="uint"/>
+ <field name="Original Uncompressed Picture Source - Address" start="102" end="127" type="address"/>
<field name="Stream-Out Data Destination - Cacheability Control" start="128" end="129" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Intra Row Store Scratch Buffer - Address" start="166" end="191" type="address"/>
- <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="164" end="165" type="uint">
+ <field name="Stream-Out Data Destination - Graphics Data Type" start="130" end="130" type="uint"/>
+ <field name="Stream-Out Data Destination - Arbitration Priority Control" start="132" end="133" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Intra Row Store Scratch Buffer - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="Stream-Out Data Destination - Address" start="134" end="159" type="offset"/>
<field name="Intra Row Store Scratch Buffer - Cacheability Control" start="160" end="161" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Deblocking Filter Row Store Scratch Buffer - Address" start="198" end="223" type="address"/>
- <field name="Deblocking Filter Row Store Scratch Buffer - Arbitration Priority Control" start="196" end="197" type="uint">
+ <field name="Intra Row Store Scratch Buffer - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="164" end="165" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Filter Row Store Scratch Buffer - Graphics Data Type" start="194" end="194" type="uint"/>
+ <field name="Intra Row Store Scratch Buffer - Address" start="166" end="191" type="address"/>
<field name="Deblocking Filter Row Store Scratch Buffer - Cacheability Control" start="192" end="193" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="Deblocking Filter Row Store Scratch Buffer - Graphics Data Type" start="194" end="194" type="uint"/>
+ <field name="Deblocking Filter Row Store Scratch Buffer - Arbitration Priority Control" start="196" end="197" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="Deblocking Filter Row Store Scratch Buffer - Address" start="198" end="223" type="address"/>
<group count="16" start="224" size="32">
<field name="Reference Picture - Address" start="6" end="31" type="address"/>
<field name="Reference Picture - Arbitration Priority Control" start="4" end="5" type="uint">
@@ -2130,94 +2126,102 @@
<value name="Both LLC and MLC" value="3"/>
</field>
</group>
- <field name="MB Status Buffer - Address" start="742" end="767" type="address"/>
- <field name="MB Status Buffer - Arbitration Priority Control" start="740" end="741" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="MB Status Buffer - Graphics Data Type" start="738" end="738" type="uint"/>
<field name="MB Status Buffer - Cacheability Control" start="736" end="737" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="MB Status Buffer - Graphics Data Type" start="738" end="738" type="uint"/>
+ <field name="MB Status Buffer - Arbitration Priority Control" start="740" end="741" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="MB Status Buffer - Address" start="742" end="767" type="address"/>
</instruction>
<instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
- <field name="Decoder Mode select" start="48" end="48" type="uint">
- <value name="LD Mode" value="0"/>
- <value name="IT Mode" value="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Standard Select" start="32" end="33" type="uint" prefix="SS">
+ <value name="VC1" value="1"/>
+ <value name="AVC" value="2"/>
</field>
- <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
- <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
- <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
- <field name="ZLR TLB Prefetch Enable" start="39" end="39" type="bool"/>
- <field name="Stitch Mode" start="37" end="37" type="bool"/>
<field name="Codec Select" start="36" end="36" type="uint">
<value name="Decode" value="0"/>
<value name="Encode" value="1"/>
</field>
- <field name="Standard Select" start="32" end="33" type="uint" prefix="SS">
- <value name="VC1" value="1"/>
- <value name="AVC" value="2"/>
- </field>
- <field name="Slice PB Rounding" start="84" end="84" type="uint"/>
- <field name="Intra 8x8 Rounding" start="83" end="83" type="uint"/>
- <field name="Clock Gate Enable at Slice-level" start="70" end="70" type="bool"/>
- <field name="AVC MV/POC Table Error Disable" start="68" end="68" type="uint">
- <value name="Terminates" value="0"/>
- <value name="Will not terminate" value="1"/>
+ <field name="Stitch Mode" start="37" end="37" type="bool"/>
+ <field name="ZLR TLB Prefetch Enable" start="39" end="39" type="bool"/>
+ <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
+ <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
+ <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
+ <field name="Decoder Mode select" start="48" end="48" type="uint">
+ <value name="LD Mode" value="0"/>
+ <value name="IT Mode" value="1"/>
</field>
- <field name="AVC Mbdata Error Disable" start="67" end="67" type="uint"/>
- <field name="AVC CABAC/CAVLC Decode Error Disable" start="66" end="66" type="uint">
- <value name="Terminate" value="0"/>
- <value name="Will not terminate" value="1"/>
+ <field name="AVC ILDB Boundary Strength Calculation" start="64" end="64" type="uint">
+ <value name="Calculated only when post-filter is ON" value="0"/>
+ <value name="Calculated all the time" value="1"/>
</field>
<field name="AVC Long Field MV" start="65" end="65" type="uint">
<value name="13 bits precision" value="0"/>
<value name="12 bits precision" value="1"/>
</field>
- <field name="AVC ILDB Boundary Strength Calculation" start="64" end="64" type="uint">
- <value name="Calculated only when post-filter is ON" value="0"/>
- <value name="Calculated all the time" value="1"/>
+ <field name="AVC CABAC/CAVLC Decode Error Disable" start="66" end="66" type="uint">
+ <value name="Terminate" value="0"/>
+ <value name="Will not terminate" value="1"/>
</field>
+ <field name="AVC Mbdata Error Disable" start="67" end="67" type="uint"/>
+ <field name="AVC MV/POC Table Error Disable" start="68" end="68" type="uint">
+ <value name="Terminates" value="0"/>
+ <value name="Will not terminate" value="1"/>
+ </field>
+ <field name="Clock Gate Enable at Slice-level" start="70" end="70" type="bool"/>
+ <field name="Intra 8x8 Rounding" start="83" end="83" type="uint"/>
+ <field name="Slice PB Rounding" start="84" end="84" type="uint"/>
</instruction>
<instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="State Pointer" start="37" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="State Pointer Index" start="32" end="33" type="uint">
<value name="Indirect state pointer 0" value="0"/>
<value name="Indirect state pointer 1" value="1"/>
<value name="Indirect state pointer 2" value="2"/>
<value name="Indirect state pointer 3" value="3"/>
</field>
+ <field name="State Pointer" start="37" end="63" type="uint"/>
</instruction>
<instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="0"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Height" start="83" end="95" type="uint"/>
- <field name="Width" start="70" end="82" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="uint"/>
+ <field name="Width" start="70" end="82" type="uint"/>
+ <field name="Height" start="83" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Interleave Chroma" start="123" end="123" type="bool"/>
<field name="Surface Format" start="124" end="127" type="uint">
<value name="YCRCB_NORMAL" value="0"/>
<value name="YCRCB_SWAPUVY" value="1"/>
@@ -2233,103 +2237,86 @@
<value name="R8_UNORM (Cr/Cb)" value="11"/>
<value name="Y8_UNORM" value="12"/>
</field>
- <field name="Interleave Chroma" start="123" end="123" type="bool"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
- <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="144" end="156" type="uint"/>
<field name="Y Offset for U(Cb)" start="128" end="140" type="uint"/>
- <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
+ <field name="X Offset for U(Cb)" start="144" end="156" type="uint"/>
<field name="Y Offset for V(Cr)" start="160" end="172" type="uint"/>
+ <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
</instruction>
<instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Direct MV Write Buffer - Cacheability Control" start="32" end="33" type="uint">
+ <value name="GTT entry" value="0"/>
+ <value name="Not in in LLC or MLC" value="1"/>
+ <value name="In LLC but not MLC" value="2"/>
+ <value name="Both LLC and MLC" value="3"/>
+ </field>
+ <field name="Direct MV Write Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
<field name="Direct MV Write Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest Priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest Priority" value="3"/>
</field>
- <field name="Direct MV Write Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
- <field name="Direct MV Write Buffer - Cacheability Control" start="32" end="33" type="uint">
+ <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
+ <field name="Direct MV Read Buffer - Cacheability Control" start="64" end="65" type="uint">
<value name="GTT entry" value="0"/>
- <value name="Not in in LLC or MLC" value="1"/>
+ <value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Direct MV Read Buffer - Address" start="70" end="95" type="address"/>
+ <field name="Direct MV Read Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
<field name="Direct MV Read Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Direct MV Read Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
- <field name="Direct MV Read Buffer - Cacheability Control" start="64" end="65" type="uint">
- <value name="GTT entry" value="0"/>
- <value name="Not in LLC or MLC" value="1"/>
- <value name="In LLC but not MLC" value="2"/>
- <value name="Both LLC and MLC" value="3"/>
- </field>
+ <field name="Direct MV Read Buffer - Address" start="70" end="95" type="address"/>
</instruction>
<instruction name="MFX_VC1_PIC_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Picture Height in MBs" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width in MBs" start="32" end="39" type="uint"/>
- <field name="Sync Marker" start="95" end="95" type="bool"/>
- <field name="Concealment Enable" start="93" end="93" type="bool"/>
- <field name="Alternative PQ Value" start="88" end="92" type="uint"/>
- <field name="Loop Filter Enable" start="87" end="87" type="bool"/>
- <field name="Overlap Smoothing Enable" start="86" end="86" type="bool"/>
- <field name="Implicit Quantizer" start="85" end="85" type="bool"/>
- <field name="PQ Value" start="80" end="84" type="uint"/>
- <field name="Alternative PQ Edge Mask" start="76" end="79" type="uint"/>
- <field name="Alternative PQ Configuration" start="74" end="75" type="uint"/>
- <field name="Half QP" start="73" end="73" type="uint"/>
- <field name="PQ Uniform" start="72" end="72" type="bool"/>
- <field name="CONDOVER" start="70" end="71" type="uint"/>
- <field name="Second Field" start="69" end="69" type="bool"/>
- <field name="Picture Type" start="66" end="68" type="uint"/>
+ <field name="Picture Height in MBs" start="48" end="55" type="uint"/>
<field name="Frame Coding Mode" start="64" end="65" type="uint">
<value name="Progressive Frame Picture" value="0"/>
<value name="Interlaced Frame Picture" value="1"/>
<value name="Field Picture with Top Field First" value="2"/>
<value name="Field Picture with Bottom Field First" value="3"/>
</field>
- <field name="Bitplane Buffer Present" start="119" end="119" type="bool"/>
- <field name="FORWARDMB Raw" start="118" end="118" type="bool"/>
- <field name="MVTYPEMB Raw" start="117" end="117" type="bool"/>
- <field name="SKIPMB Raw" start="116" end="116" type="bool"/>
- <field name="DIRECTMB Raw" start="115" end="115" type="bool"/>
- <field name="OVERFLAGS Raw" start="114" end="114" type="bool"/>
- <field name="ACPRED Raw" start="113" end="113" type="bool"/>
- <field name="FIELDTX Raw" start="112" end="112" type="bool"/>
- <field name="Extended DMV Range" start="110" end="111" type="uint"/>
- <field name="Extended MV Range" start="108" end="109" type="uint"/>
- <field name="Four MV Switch" start="107" end="107" type="uint">
- <value name="Only 1-MV" value="0"/>
- <value name="1, 2, or 4 MVs" value="1"/>
+ <field name="Picture Type" start="66" end="68" type="uint"/>
+ <field name="Second Field" start="69" end="69" type="bool"/>
+ <field name="CONDOVER" start="70" end="71" type="uint"/>
+ <field name="PQ Uniform" start="72" end="72" type="bool"/>
+ <field name="Half QP" start="73" end="73" type="uint"/>
+ <field name="Alternative PQ Configuration" start="74" end="75" type="uint"/>
+ <field name="Alternative PQ Edge Mask" start="76" end="79" type="uint"/>
+ <field name="PQ Value" start="80" end="84" type="uint"/>
+ <field name="Implicit Quantizer" start="85" end="85" type="bool"/>
+ <field name="Overlap Smoothing Enable" start="86" end="86" type="bool"/>
+ <field name="Loop Filter Enable" start="87" end="87" type="bool"/>
+ <field name="Alternative PQ Value" start="88" end="92" type="uint"/>
+ <field name="Concealment Enable" start="93" end="93" type="bool"/>
+ <field name="Sync Marker" start="95" end="95" type="bool"/>
+ <field name="FRFD Reference Distance" start="96" end="100" type="uint"/>
+ <field name="Number of References" start="101" end="101" type="uint">
+ <value name="One field referenced" value="0"/>
+ <value name="Two fields referenced" value="1"/>
</field>
- <field name="Fast UV Motion Compensation" start="106" end="106" type="uint">
- <value name="No Rounding" value="0"/>
- <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
+ <field name="Reference Field Picture Polarity" start="102" end="102" type="uint">
+ <value name="Top (even) Field" value="0"/>
+ <value name="Bottom (odd) Field" value="1"/>
</field>
<field name="Unified MV Mode" start="104" end="105" type="uint">
<value name="1-MV half-pel bilinear" value="3"/>
@@ -2337,184 +2324,193 @@
<value name="1-MV half-pel" value="2"/>
<value name="Mixed MV" value="0"/>
</field>
- <field name="Reference Field Picture Polarity" start="102" end="102" type="uint">
- <value name="Top (even) Field" value="0"/>
- <value name="Bottom (odd) Field" value="1"/>
+ <field name="Fast UV Motion Compensation" start="106" end="106" type="uint">
+ <value name="No Rounding" value="0"/>
+ <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="Number of References" start="101" end="101" type="uint">
- <value name="One field referenced" value="0"/>
- <value name="Two fields referenced" value="1"/>
+ <field name="Four MV Switch" start="107" end="107" type="uint">
+ <value name="Only 1-MV" value="0"/>
+ <value name="1, 2, or 4 MVs" value="1"/>
</field>
- <field name="FRFD Reference Distance" start="96" end="100" type="uint"/>
- <field name="Scale Factor" start="152" end="159" type="uint"/>
- <field name="MV Table" start="148" end="150" type="uint"/>
- <field name="4-MV Block Pattern Table" start="146" end="147" type="uint"/>
- <field name="2-MV Block Pattern Table" start="144" end="145" type="uint"/>
+ <field name="Extended MV Range" start="108" end="109" type="uint"/>
+ <field name="Extended DMV Range" start="110" end="111" type="uint"/>
+ <field name="FIELDTX Raw" start="112" end="112" type="bool"/>
+ <field name="ACPRED Raw" start="113" end="113" type="bool"/>
+ <field name="OVERFLAGS Raw" start="114" end="114" type="bool"/>
+ <field name="DIRECTMB Raw" start="115" end="115" type="bool"/>
+ <field name="SKIPMB Raw" start="116" end="116" type="bool"/>
+ <field name="MVTYPEMB Raw" start="117" end="117" type="bool"/>
+ <field name="FORWARDMB Raw" start="118" end="118" type="bool"/>
+ <field name="Bitplane Buffer Present" start="119" end="119" type="bool"/>
+ <field name="Coded Block Pattern Table" start="128" end="130" type="uint"/>
+ <field name="Intra Transform DC Table" start="131" end="131" type="uint"/>
+ <field name="Picture-level Transform Chroma AC Coding Set Index" start="132" end="133" type="uint"/>
+ <field name="Picture-level Transform Luma AC Coding Set Index" start="134" end="135" type="uint"/>
+ <field name="MB Mode Table" start="136" end="138" type="uint"/>
+ <field name="MB Transform Type" start="139" end="139" type="uint"/>
<field name="Picture-level Transform Type" start="140" end="141" type="uint">
<value name="8x8 Transform" value="0"/>
<value name="8x4 Transform" value="1"/>
<value name="4x8 Transform" value="2"/>
<value name="4x4 Transform" value="3"/>
</field>
- <field name="MB Transform Type" start="139" end="139" type="uint"/>
- <field name="MB Mode Table" start="136" end="138" type="uint"/>
- <field name="Picture-level Transform Luma AC Coding Set Index" start="134" end="135" type="uint"/>
- <field name="Picture-level Transform Chroma AC Coding Set Index" start="132" end="133" type="uint"/>
- <field name="Intra Transform DC Table" start="131" end="131" type="uint"/>
- <field name="Coded Block Pattern Table" start="128" end="130" type="uint"/>
- <field name="DMV Surface Valid" start="173" end="173" type="bool"/>
- <field name="BRFD Reference Distance" start="168" end="172" type="uint"/>
+ <field name="2-MV Block Pattern Table" start="144" end="145" type="uint"/>
+ <field name="4-MV Block Pattern Table" start="146" end="147" type="uint"/>
+ <field name="MV Table" start="148" end="150" type="uint"/>
+ <field name="Scale Factor" start="152" end="159" type="uint"/>
<field name="Bitplane Buffer Pitch" start="160" end="167" type="uint"/>
+ <field name="BRFD Reference Distance" start="168" end="172" type="uint"/>
+ <field name="DMV Surface Valid" start="173" end="173" type="bool"/>
</instruction>
<instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
- <field name="Reference Frame Boundary Replication Mode" start="40" end="43" type="uint">
- <value name="Progressive Frame Replication" value="0"/>
- <value name="Interlace Frame Replication" value="1"/>
- </field>
- <field name="Interpolation Rounder Control" start="36" end="36" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VC1 Profile" start="34" end="35" type="uint">
<value name="Simple Profile" value="0"/>
<value name="Main Profile" value="1"/>
<value name="Advanced Profile" value="2"/>
</field>
- <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
- <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
- <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="Interpolation Rounder Control" start="36" end="36" type="uint"/>
+ <field name="Reference Frame Boundary Replication Mode" start="40" end="43" type="uint">
+ <value name="Progressive Frame Replication" value="0"/>
+ <value name="Interlace Frame Replication" value="1"/>
+ </field>
<field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
- <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
- <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
- <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
+ <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
<field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
- <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
- <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
- <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
+ <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
<field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
- <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
- <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
- <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
+ <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
<field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
+ <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
+ <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
+ <field name="Vin Intensity Compensation Single Backward Enable" start="192" end="193" type="uint"/>
+ <field name="Vin Intensity Compensation Single Forward Enable" start="194" end="195" type="uint"/>
+ <field name="Vin Intensity Compensation Double Backward Enable" start="196" end="197" type="uint"/>
+ <field name="Vin Intensity Compensation Double Forward Enable" start="198" end="199" type="uint"/>
+ <field name="Range Reduction" start="208" end="208" type="bool"/>
+ <field name="Range Reduction Scale" start="209" end="209" type="uint"/>
+ <field name="Fast UV Compensation" start="210" end="210" type="bool"/>
<field name="MV Mode" start="211" end="212" type="uint">
<value name="Half-pel bicubic" value="0"/>
<value name="Quarter-pel bicubic" value="1"/>
</field>
- <field name="Fast UV Compensation" start="210" end="210" type="bool"/>
- <field name="Range Reduction Scale" start="209" end="209" type="uint"/>
- <field name="Range Reduction" start="208" end="208" type="bool"/>
- <field name="Vin Intensity Compensation Double Forward Enable" start="198" end="199" type="uint"/>
- <field name="Vin Intensity Compensation Double Backward Enable" start="196" end="197" type="uint"/>
- <field name="Vin Intensity Compensation Single Forward Enable" start="194" end="195" type="uint"/>
- <field name="Vin Intensity Compensation Single Backward Enable" start="192" end="193" type="uint"/>
</instruction>
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
- <field name="MFX Sync Control Flag" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MFX Sync Control Flag" start="8" end="8" type="bool"/>
+ <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
+ <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="MI_ARB_CHECK" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ARB_ON_OFF" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
<field name="Arbitration Enable" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_START" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
- <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
<value name="GGTT" value="0"/>
<value name="PPGTT" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Batch Buffer Start Address" start="34" end="63" type="address"/>
</instruction>
<instruction name="MI_CLFLUSH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Page Base Address" start="44" end="63" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
+ <field name="Page Base Address" start="44" end="63" type="address"/>
<group count="0" start="64" size="32">
<field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Compare Data Dword" start="32" end="63" type="uint"/>
<field name="Compare Address" start="67" end="95" type="address"/>
</instruction>
<instruction name="MI_FLUSH" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
- <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
- <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
- <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
- <value name="Don't Reset" value="0"/>
- <value name="Reset" value="1"/>
+ <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
+ <value name="Don't Invalidate" value="0"/>
+ <value name="Invalidate" value="1"/>
</field>
<field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
<value name="Flush" value="0"/>
<value name="Don't Flush" value="1"/>
</field>
- <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
- <value name="Don't Invalidate" value="0"/>
- <value name="Invalidate" value="1"/>
+ <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
+ <value name="Don't Reset" value="0"/>
+ <value name="Reset" value="1"/>
</field>
+ <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_FLUSH_DW" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
- <field name="Store Data Index" start="21" end="21" type="bool"/>
- <field name="TLB Invalidate" start="18" end="18" type="bool"/>
- <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
- <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint"/>
- <field name="Address" start="35" end="63" type="address"/>
+ <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
+ <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
+ <field name="TLB Invalidate" start="18" end="18" type="bool"/>
+ <field name="Store Data Index" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="63" type="address"/>
<group count="2" start="64" size="32">
<field name="Immediate Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="54" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -2524,219 +2520,235 @@
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
</field>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_NOOP" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
- <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
<field name="Identification Number" start="0" end="21" type="uint"/>
+ <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_HEAD" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_SEMAPHORE_MBOX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Register Select" start="16" end="17" type="uint">
<value name="RVSYNC" value="0"/>
<value name="RBSYNC" value="2"/>
<value name="Use General Register Select" value="3"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
</instruction>
<instruction name="MI_SET_CONTEXT" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Logical Context Address" start="44" end="63" type="address"/>
- <field name="HD DVD Context" start="41" end="41" type="bool"/>
- <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
- <field name="Extended State Save Enable" start="35" end="35" type="bool"/>
- <field name="Extended State Restore Enable" start="34" end="34" type="bool"/>
- <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Restore Inhibit" start="32" end="32" type="uint"/>
+ <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="Extended State Restore Enable" start="34" end="34" type="bool"/>
+ <field name="Extended State Save Enable" start="35" end="35" type="bool"/>
+ <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
+ <field name="HD DVD Context" start="41" end="41" type="bool"/>
+ <field name="Logical Context Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
- <field name="Address" start="66" end="95" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="64" end="64" type="uint"/>
+ <field name="Address" start="66" end="95" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Offset" start="34" end="43" type="uint"/>
<field name="Data DWord 0" start="64" end="95" type="uint"/>
<field name="Data DWord 1" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
<instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
<field name="Suspend Flush" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Clear Length" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="32" end="45" type="offset"/>
+ <field name="URB Clear Length" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_USER_INTERRUPT" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter|video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
+ <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
+ <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
+ <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
+ <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
+ <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
+ <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
+ <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
+ <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
<field name="Condition Code Wait Select" start="16" end="19" type="uint">
<value name="Not enabled" value="0"/>
</field>
- <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
- <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
- <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
- <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
- <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
- <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
- <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
- <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
- <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
- <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="Pipeline Selection" start="0" end="1" type="uint">
<value name="3D" value="0"/>
<value name="Media" value="1"/>
</field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Store Data Index" start="53" end="53" type="uint"/>
- <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
- <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
- <field name="TLB Invalidate" start="50" end="50" type="bool"/>
- <field name="Synchronize GFDT Surface" start="49" end="49" type="bool"/>
- <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
+ <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
+ <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
+ <field name="Notify Enable" start="40" end="40" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
+ <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
+ <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
+ <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
<field name="Post Sync Operation" start="46" end="47" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
- <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
- <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
- <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
- <field name="Notify Enable" start="40" end="40" type="bool"/>
- <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
- <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
- <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
- <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
- <field name="Address" start="67" end="95" type="address"/>
+ <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="Synchronize GFDT Surface" start="49" end="49" type="bool"/>
+ <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+ <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+ <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
+ <field name="Store Data Index" start="53" end="53" type="uint"/>
<field name="Destination Address Type" start="66" end="66" type="uint" prefix="DAT">
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="67" end="95" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="10" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="8"/>
- <field name="General State Base Address" start="44" end="63" type="address"/>
- <field name="General State MOCS" start="40" end="43" type="uint"/>
- <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
- <field name="Stateless Data Port Access Force Write Thru" start="35" end="35" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
- <field name="Surface State Base Address" start="76" end="95" type="address"/>
- <field name="Surface State MOCS" start="72" end="75" type="uint"/>
+ <field name="Stateless Data Port Access Force Write Thru" start="35" end="35" type="uint"/>
+ <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
+ <field name="General State MOCS" start="40" end="43" type="uint"/>
+ <field name="General State Base Address" start="44" end="63" type="address"/>
<field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
- <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
- <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
+ <field name="Surface State MOCS" start="72" end="75" type="uint"/>
+ <field name="Surface State Base Address" start="76" end="95" type="address"/>
<field name="Dynamic State Base Address Modify Enable" start="96" end="96" type="bool"/>
- <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
- <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
+ <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
+ <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="Instruction Base Address" start="172" end="191" type="address"/>
- <field name="Instruction MOCS" start="168" end="171" type="uint"/>
+ <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
+ <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
<field name="Instruction Base Address Modify Enable" start="160" end="160" type="bool"/>
- <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
+ <field name="Instruction MOCS" start="168" end="171" type="uint"/>
+ <field name="Instruction Base Address" start="172" end="191" type="address"/>
<field name="General State Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
- <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
+ <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
<field name="Dynamic State Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
- <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
+ <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
<field name="Indirect Object Access Upper Bound Modify Enable" start="256" end="256" type="bool"/>
- <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
+ <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
<field name="Instruction Access Upper Bound Modify Enable" start="288" end="288" type="bool"/>
+ <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
</instruction>
<instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Prefetch Pointer" start="38" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Prefetch Count" start="32" end="34" type="uint"/>
+ <field name="Prefetch Pointer" start="38" end="63" type="address"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="63" type="offset"/>
</instruction>
+ <register name="BCS_FAULT_REG" length="1" num="0x4294">
+ <field name="Valid Bit" start="0" end="0" type="bool"/>
+ <field name="Fault Type" start="1" end="2" type="uint">
+ <value name="Page Fault" value="0"/>
+ <value name="Invalid PD Fault" value="1"/>
+ <value name="Unloaded PD Fault" value="2"/>
+ <value name="Invalid and Unloaded PD fault" value="3"/>
+ </field>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="GTTSEL" start="11" end="11" type="uint">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
+ </register>
+
<register name="BCS_INSTDONE" length="1" num="0x2206c">
<field name="Ring Enable" start="0" end="0" type="bool"/>
<field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
@@ -2744,6 +2756,32 @@
<field name="BCS Done" start="3" end="3" type="bool" default="1"/>
</register>
+ <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ </register>
+
+ <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
+ <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
+ <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
+ <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
+ <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
+ <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
+ <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
+ <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
+ <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
+ <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
+ </register>
+
<register name="INSTDONE_1" length="1" num="0x206c">
<field name="PRB0 Ring Enable" start="0" end="0" type="bool"/>
<field name="AVS Done" start="1" end="1" type="bool"/>
@@ -2813,53 +2851,18 @@
<field name="GAM Done" start="31" end="31" type="bool"/>
</register>
- <register name="VCS_INSTDONE" length="1" num="0x1206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="USB Done" start="1" end="1" type="bool"/>
- <field name="QRC Done" start="2" end="2" type="bool"/>
- <field name="SEC Done" start="3" end="3" type="bool"/>
- <field name="MPC Done" start="4" end="4" type="bool"/>
- <field name="VFT Done" start="5" end="5" type="bool"/>
- <field name="BSP Done" start="6" end="6" type="bool"/>
- <field name="VLF Done" start="7" end="7" type="bool"/>
- <field name="VOP Done" start="8" end="8" type="bool"/>
- <field name="VMC Done" start="9" end="9" type="bool"/>
- <field name="VIP Done" start="10" end="10" type="bool"/>
- <field name="VIT Done" start="11" end="11" type="bool"/>
- <field name="VDS Done" start="12" end="12" type="bool"/>
- <field name="VMX Done" start="13" end="13" type="bool"/>
- <field name="VCP Done" start="14" end="14" type="bool"/>
- <field name="VCD Done" start="15" end="15" type="bool"/>
- <field name="VAD Done" start="16" end="16" type="bool"/>
- <field name="VMD Done" start="17" end="17" type="bool"/>
- <field name="VIS Done" start="18" end="18" type="bool"/>
- <field name="VAC Done" start="19" end="19" type="bool"/>
- <field name="VAM Done" start="20" end="20" type="bool"/>
- <field name="JPG Done" start="21" end="21" type="bool"/>
- <field name="VBP Done" start="22" end="22" type="bool"/>
- <field name="VHR Done" start="23" end="23" type="bool"/>
- <field name="VCI Done" start="24" end="24" type="bool"/>
- <field name="VCR Done" start="25" end="25" type="bool"/>
- <field name="VIN Done" start="26" end="26" type="bool"/>
- <field name="VPR Done" start="27" end="27" type="bool"/>
- <field name="VTQ Done" start="28" end="28" type="bool"/>
- <field name="VCS Done" start="30" end="30" type="bool"/>
- <field name="GAC Done" start="31" end="31" type="bool"/>
- </register>
-
- <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
- <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
- <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
- <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
- <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
- <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
- <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
- <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
- <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
- <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
+ <register name="INSTPM" length="1" num="0x20c0">
+ <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
+ <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
+ <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
+ <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
+ <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
+ <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
</register>
- <register name="BCS_FAULT_REG" length="1" num="0x4294">
+ <register name="RCS_FAULT_REG" length="1" num="0x4094">
<field name="Valid Bit" start="0" end="0" type="bool"/>
<field name="Fault Type" start="1" end="2" type="uint">
<value name="Page Fault" value="0"/>
@@ -2867,7 +2870,7 @@
<value name="Unloaded PD Fault" value="2"/>
<value name="Invalid and Unloaded PD fault" value="3"/>
</field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
<field name="GTTSEL" start="11" end="11" type="uint">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
@@ -2875,20 +2878,16 @@
<field name="Virtual Address of Fault" start="12" end="31" type="address"/>
</register>
- <register name="RCS_FAULT_REG" length="1" num="0x4094">
- <field name="Valid Bit" start="0" end="0" type="bool"/>
- <field name="Fault Type" start="1" end="2" type="uint">
- <value name="Page Fault" value="0"/>
- <value name="Invalid PD Fault" value="1"/>
- <value name="Unloaded PD Fault" value="2"/>
- <value name="Invalid and Unloaded PD fault" value="3"/>
- </field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
- <field name="GTTSEL" start="11" end="11" type="uint">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
+ <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
</field>
- <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
<register name="VCS_FAULT_REG" length="1" num="0x4194">
@@ -2899,7 +2898,7 @@
<value name="Unloaded PD Fault" value="2"/>
<value name="Invalid and Unloaded PD fault" value="3"/>
</field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
<field name="GTTSEL" start="11" end="11" type="uint">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
@@ -2907,30 +2906,38 @@
<field name="Virtual Address of Fault" start="12" end="31" type="address"/>
</register>
- <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
- </register>
-
- <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ <register name="VCS_INSTDONE" length="1" num="0x1206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="USB Done" start="1" end="1" type="bool"/>
+ <field name="QRC Done" start="2" end="2" type="bool"/>
+ <field name="SEC Done" start="3" end="3" type="bool"/>
+ <field name="MPC Done" start="4" end="4" type="bool"/>
+ <field name="VFT Done" start="5" end="5" type="bool"/>
+ <field name="BSP Done" start="6" end="6" type="bool"/>
+ <field name="VLF Done" start="7" end="7" type="bool"/>
+ <field name="VOP Done" start="8" end="8" type="bool"/>
+ <field name="VMC Done" start="9" end="9" type="bool"/>
+ <field name="VIP Done" start="10" end="10" type="bool"/>
+ <field name="VIT Done" start="11" end="11" type="bool"/>
+ <field name="VDS Done" start="12" end="12" type="bool"/>
+ <field name="VMX Done" start="13" end="13" type="bool"/>
+ <field name="VCP Done" start="14" end="14" type="bool"/>
+ <field name="VCD Done" start="15" end="15" type="bool"/>
+ <field name="VAD Done" start="16" end="16" type="bool"/>
+ <field name="VMD Done" start="17" end="17" type="bool"/>
+ <field name="VIS Done" start="18" end="18" type="bool"/>
+ <field name="VAC Done" start="19" end="19" type="bool"/>
+ <field name="VAM Done" start="20" end="20" type="bool"/>
+ <field name="JPG Done" start="21" end="21" type="bool"/>
+ <field name="VBP Done" start="22" end="22" type="bool"/>
+ <field name="VHR Done" start="23" end="23" type="bool"/>
+ <field name="VCI Done" start="24" end="24" type="bool"/>
+ <field name="VCR Done" start="25" end="25" type="bool"/>
+ <field name="VIN Done" start="26" end="26" type="bool"/>
+ <field name="VPR Done" start="27" end="27" type="bool"/>
+ <field name="VTQ Done" start="28" end="28" type="bool"/>
+ <field name="VCS Done" start="30" end="30" type="bool"/>
+ <field name="GAC Done" start="31" end="31" type="bool"/>
</register>
<register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
@@ -2946,17 +2953,4 @@
<field name="RBWait" start="11" end="11" type="bool"/>
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
-
- <register name="INSTPM" length="1" num="0x20c0">
- <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
- <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
- <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
-
- <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
- <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
- <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
- </register>
-
</genxml>
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index 96851a77399..1b1beeaf222 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -1,5 +1,66 @@
<?xml version="1.0" ?>
<genxml name="IVB" gen="7">
+
+ <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"/>
+ <value name="LESS" value="2"/>
+ <value name="EQUAL" value="3"/>
+ <value name="LEQUAL" value="4"/>
+ <value name="GREATER" value="5"/>
+ <value name="NOTEQUAL" value="6"/>
+ <value name="GEQUAL" value="7"/>
+ </enum>
+
+ <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
+ <value name="CLEAR" value="0"/>
+ <value name="NOR" value="1"/>
+ <value name="AND_INVERTED" value="2"/>
+ <value name="COPY_INVERTED" value="3"/>
+ <value name="AND_REVERSE" value="4"/>
+ <value name="INVERT" value="5"/>
+ <value name="XOR" value="6"/>
+ <value name="NAND" value="7"/>
+ <value name="AND" value="8"/>
+ <value name="EQUIV" value="9"/>
+ <value name="NOOP" value="10"/>
+ <value name="OR_INVERTED" value="11"/>
+ <value name="COPY" value="12"/>
+ <value name="OR_REVERSE" value="13"/>
+ <value name="OR" value="14"/>
+ <value name="SET" value="15"/>
+ </enum>
+
<enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
<value name="POINTLIST" value="1"/>
<value name="LINELIST" value="2"/>
@@ -56,17 +117,6 @@
<value name="PATCHLIST_32" value="63"/>
</enum>
- <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
- <value name="NOSTORE" value="0"/>
- <value name="STORE_SRC" value="1"/>
- <value name="STORE_0" value="2"/>
- <value name="STORE_1_FP" value="3"/>
- <value name="STORE_1_INT" value="4"/>
- <value name="STORE_VID" value="5"/>
- <value name="STORE_IID" value="6"/>
- <value name="STORE_PID" value="7"/>
- </enum>
-
<enum name="3D_Stencil_Operation" prefix="STENCILOP">
<value name="KEEP" value="0"/>
<value name="ZERO" value="1"/>
@@ -78,64 +128,15 @@
<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"/>
- <value name="LESS" value="2"/>
- <value name="EQUAL" value="3"/>
- <value name="LEQUAL" value="4"/>
- <value name="GREATER" value="5"/>
- <value name="NOTEQUAL" value="6"/>
- <value name="GEQUAL" value="7"/>
- </enum>
-
- <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
- <value name="CLEAR" value="0"/>
- <value name="NOR" value="1"/>
- <value name="AND_INVERTED" value="2"/>
- <value name="COPY_INVERTED" value="3"/>
- <value name="AND_REVERSE" value="4"/>
- <value name="INVERT" value="5"/>
- <value name="XOR" value="6"/>
- <value name="NAND" value="7"/>
- <value name="AND" value="8"/>
- <value name="EQUIV" value="9"/>
- <value name="NOOP" value="10"/>
- <value name="OR_INVERTED" value="11"/>
- <value name="COPY" value="12"/>
- <value name="OR_REVERSE" value="13"/>
- <value name="OR" value="14"/>
- <value name="SET" value="15"/>
+ <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
+ <value name="NOSTORE" value="0"/>
+ <value name="STORE_SRC" value="1"/>
+ <value name="STORE_0" value="2"/>
+ <value name="STORE_1_FP" value="3"/>
+ <value name="STORE_1_INT" value="4"/>
+ <value name="STORE_VID" value="5"/>
+ <value name="STORE_IID" value="6"/>
+ <value name="STORE_PID" value="7"/>
</enum>
<enum name="Texture Coordinate Mode" prefix="TCM">
@@ -147,12 +148,6 @@
<value name="MIRROR_ONCE" value="5"/>
</enum>
- <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
- <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
- <field name="LLC Cacheability Control (LLCCC)" start="1" end="1" type="uint"/>
- <field name="L3 Cacheability Control (L3CC)" start="0" end="0" type="uint"/>
- </struct>
-
<struct name="3DSTATE_CONSTANT_BODY" length="6">
<group count="4" start="0" size="16">
<field name="Read Length" start="0" end="15" type="uint"/>
@@ -163,119 +158,40 @@
</group>
</struct>
- <struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Buffer Access Type" start="20" end="20" type="uint">
- <value name="VERTEXDATA" value="0"/>
- <value name="INSTANCEDATA" value="1"/>
- </field>
- <field name="MOCS" start="16" end="19" type="uint"/>
- <field name="Address Modify Enable" start="14" end="14" type="bool"/>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
- <field name="Buffer Starting Address" start="32" end="63" type="address"/>
- <field name="End Address" start="64" end="95" type="address"/>
- <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
- </struct>
-
- <struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Valid" start="25" end="25" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
- <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
- <field name="Source Element Offset" start="0" end="11" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
- <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
- </struct>
-
- <struct name="SO_DECL" length="1">
- <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
- <field name="Hole Flag" start="11" end="11" type="uint"/>
- <field name="Register Index" start="4" end="9" type="uint"/>
- <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
- </struct>
-
- <struct name="SO_DECL_ENTRY" length="2">
- <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
- <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
- <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
- <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
- </struct>
-
- <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
- <field name="Component Override W" start="15" end="15" type="bool"/>
- <field name="Component Override Z" start="14" end="14" type="bool"/>
- <field name="Component Override Y" start="13" end="13" type="bool"/>
- <field name="Component Override X" start="12" end="12" type="bool"/>
- <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
- <field name="Constant Source" start="9" end="10" type="uint">
- <value name="CONST_0000" value="0"/>
- <value name="CONST_0001_FLOAT" value="1"/>
- <value name="CONST_1111_FLOAT" value="2"/>
- <value name="PRIM_ID" value="3"/>
- </field>
- <field name="Swizzle Select" start="6" end="7" type="uint">
- <value name="INPUTATTR" value="0"/>
- <value name="INPUTATTR_FACING" value="1"/>
- <value name="INPUTATTR_W" value="2"/>
- <value name="INPUTATTR_FACING_W" value="3"/>
- </field>
- <field name="Source Attribute" start="0" end="4" type="uint"/>
- </struct>
-
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
- <struct name="SF_CLIP_VIEWPORT" length="16">
- <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
- <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
- <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
- <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
- <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
- <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
- <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
- <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
- <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
- <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ <struct name="BINDING_TABLE_STATE" length="1">
+ <field name="Surface State Pointer" start="5" end="31" type="offset"/>
</struct>
<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="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"/>
- <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
- <field name="Write Disable Red" start="58" end="58" type="bool"/>
- <field name="Write Disable Green" start="57" end="57" type="bool"/>
- <field name="Write Disable Blue" start="56" end="56" type="bool"/>
- <field name="Logic Op Enable" start="54" end="54" type="bool"/>
- <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
- <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
- <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"/>
+ <field name="Source Blend Factor" start="5" end="9" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="11" end="13" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Alpha Blend Factor" start="15" end="19" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="20" end="24" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Alpha Blend Function" start="26" end="28" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
+ <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
<field name="Color Clamp Range" start="34" end="35" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Y Dither Offset" start="40" end="41" type="uint"/>
+ <field name="X Dither Offset" start="42" end="43" type="uint"/>
+ <field name="Color Dither Enable" start="44" end="44" type="bool"/>
+ <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
+ <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
+ <field name="Logic Op Enable" start="54" end="54" type="bool"/>
+ <field name="Write Disable Blue" start="56" end="56" type="bool"/>
+ <field name="Write Disable Green" start="57" end="57" type="bool"/>
+ <field name="Write Disable Red" start="58" end="58" type="bool"/>
+ <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
+ <field name="AlphaToCoverage Dither Enable" start="61" end="61" type="bool"/>
+ <field name="AlphaToOne Enable" start="62" end="62" type="bool"/>
+ <field name="AlphaToCoverage Enable" start="63" end="63" type="bool"/>
</struct>
<struct name="BLEND_STATE" length="0">
@@ -290,13 +206,13 @@
</struct>
<struct name="COLOR_CALC_STATE" length="6">
- <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
- <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
- <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Test Format" start="0" end="0" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
+ <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
+ <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
+ <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
<field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
<field name="Blend Constant Color Red" start="64" end="95" type="float"/>
@@ -306,41 +222,66 @@
</struct>
<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="3D_Compare_Function"/>
- <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
- <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="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
- <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
- <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
- <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
+ <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
+ <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
+ <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
<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="3D_Compare_Function"/>
+ <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
+ <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
+ <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
<field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
+ <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
+ <field name="Depth Test Enable" start="95" end="95" type="bool"/>
+ </struct>
+
+ <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="2">
+ <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
+ <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
+ <field name="MB Error Concealment P Slice Reference Index Override Disable" start="2" end="2" type="bool"/>
+ <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
+ <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
+ <field name="MB Error Concealment B Spatial Reference Index Override Disable" start="5" end="5" type="bool"/>
+ <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint" default="0"/>
+ <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
+ <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
+ <field name="MPR Error Handling" start="12" end="12" type="bool"/>
+ <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
+ <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
+ <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
+ <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
+ <field name="MB Error Concealment B Temporal Reference Index Override Enable" start="26" end="26" type="bool"/>
+ <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
+ <field name="Init Current MB Number" start="30" end="30" type="bool"/>
+ <field name="Concealment Method" start="31" end="31" type="uint"/>
+ <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
+ <field name="Last Slice" start="35" end="35" type="bool"/>
+ <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
+ <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
</struct>
<struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
<field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
- <field name="Single Program Flow" start="50" end="50" type="bool"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Single Program Flow" start="50" end="50" type="bool"/>
<field name="Sampler Count" start="66" end="68" type="uint">
<value name="No samplers used" value="0"/>
<value name="Between 1 and 4 samplers used" value="1"/>
@@ -348,33 +289,79 @@
<value name="Between 9 and 12 samplers used" value="3"/>
<value name="Between 13 and 16 samplers used" value="4"/>
</field>
- <field name="Binding Table Pointer" start="101" end="111" type="offset"/>
+ <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
<field name="Binding Table Entry Count" start="96" end="100" type="uint"/>
- <field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/>
+ <field name="Binding Table Pointer" start="101" end="111" type="offset"/>
<field name="Constant URB Entry Read Offset" start="128" end="143" type="uint"/>
+ <field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/>
+ <field name="Number of Threads in GPGPU Thread Group" start="160" end="167" type="uint"/>
+ <field name="Shared Local Memory Size" start="176" end="180" type="uint"/>
+ <field name="Barrier Enable" start="181" end="181" type="bool"/>
<field name="Rounding Mode" start="182" end="183" type="uint">
<value name="RTNE" value="0"/>
<value name="RU" value="1"/>
<value name="RD" value="2"/>
<value name="RTZ" value="3"/>
</field>
- <field name="Barrier Enable" start="181" end="181" type="bool"/>
- <field name="Shared Local Memory Size" start="176" end="180" type="uint"/>
- <field name="Number of Threads in GPGPU Thread Group" start="160" end="167" type="uint"/>
</struct>
- <struct name="PALETTE_ENTRY" length="1">
- <field name="Alpha" start="24" end="31" type="uint"/>
- <field name="Red" start="16" end="23" type="uint"/>
- <field name="Green" start="8" end="15" type="uint"/>
- <field name="Blue" start="0" end="7" type="uint"/>
+ <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
+ <field name="L3 Cacheability Control (L3CC)" start="0" end="0" type="uint"/>
+ <field name="LLC Cacheability Control (LLCCC)" start="1" end="1" type="uint"/>
+ <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
</struct>
- <struct name="BINDING_TABLE_STATE" length="1">
- <field name="Surface State Pointer" start="5" end="31" type="offset"/>
+ <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
+ <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
+ <field name="Last MB" start="3" end="3" type="bool"/>
+ <field name="Last Pic Slice" start="5" end="5" type="bool"/>
+ <field name="MB Count" start="8" end="14" type="uint"/>
+ <field name="Slice Vertical Position" start="16" end="22" type="uint"/>
+ <field name="Slice Horizontal Position" start="24" end="30" type="uint"/>
+ <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
+ </struct>
+
+ <struct name="PALETTE_ENTRY" length="1">
+ <field name="Blue" start="0" end="7" type="uint"/>
+ <field name="Green" start="8" end="15" type="uint"/>
+ <field name="Red" start="16" end="23" type="uint"/>
+ <field name="Alpha" start="24" end="31" type="uint"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="8">
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
+ </field>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"/>
+ <field name="Surface Array Spacing" start="10" end="10" type="uint">
+ <value name="ARYSPC_FULL" value="0"/>
+ <value name="ARYSPC_LOD0" value="1"/>
+ </field>
+ <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
+ <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
+ <field name="Tile Walk" start="13" end="13" type="uint">
+ <value name="TILEWALK_XMAJOR" value="0"/>
+ <value name="TILEWALK_YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="14" end="14" type="bool"/>
+ <field name="Surface Horizontal Alignment" start="15" end="15" type="uint">
+ <value name="HALIGN_4" value="0"/>
+ <value name="HALIGN_8" value="1"/>
+ </field>
+ <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
+ <value name="VALIGN_2" value="0"/>
+ <value name="VALIGN_4" value="1"/>
+ </field>
+ <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="Surface Array" start="28" end="28" type="bool"/>
<field name="Surface Type" start="29" end="31" type="uint">
<value name="SURFTYPE_1D" value="0"/>
<value name="SURFTYPE_2D" value="1"/>
@@ -384,140 +371,108 @@
<value name="SURFTYPE_STRBUF" value="5"/>
<value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Surface Array" start="28" end="28" type="bool"/>
- <field name="Surface Format" start="18" end="26" type="uint"/>
- <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
- <value name="VALIGN_2" value="0"/>
- <value name="VALIGN_4" value="1"/>
- </field>
- <field name="Surface Horizontal Alignment" start="15" end="15" type="uint">
- <value name="HALIGN_4" value="0"/>
- <value name="HALIGN_8" value="1"/>
- </field>
- <field name="Tiled Surface" start="14" end="14" type="bool"/>
- <field name="Tile Walk" start="13" end="13" type="uint">
- <value name="TILEWALK_XMAJOR" value="0"/>
- <value name="TILEWALK_YMAJOR" value="1"/>
- </field>
- <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
- <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
- <field name="Surface Array Spacing" start="10" end="10" type="uint">
- <value name="ARYSPC_FULL" value="0"/>
- <value name="ARYSPC_LOD0" value="1"/>
- </field>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"/>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
- </field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
<field name="Surface Base Address" start="32" end="63" type="address"/>
- <field name="Height" start="80" end="93" type="uint"/>
<field name="Width" start="64" end="77" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Height" start="80" end="93" type="uint"/>
<field name="Surface Pitch" start="96" end="113" type="uint"/>
- <field name="Render Target Rotation" start="157" end="158" type="uint">
- <value name="RTROTATE_0DEG" value="0"/>
- <value name="RTROTATE_90DEG" value="1"/>
- <value name="RTROTATE_270DEG" value="3"/>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
+ <field name="Strbuf Minimum Array Element" start="128" end="154" type="uint"/>
+ <field name="Number of Multisamples" start="131" end="133" type="uint">
+ <value name="MULTISAMPLECOUNT_1" value="0"/>
+ <value name="MULTISAMPLECOUNT_4" value="2"/>
+ <value name="MULTISAMPLECOUNT_8" value="3"/>
</field>
- <field name="Minimum Array Element" start="146" end="156" type="uint"/>
- <field name="Render Target View Extent" start="135" end="145" type="uint"/>
<field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
<value name="MSFMT_MSS" value="0"/>
<value name="MSFMT_DEPTH_STENCIL" value="1"/>
</field>
- <field name="Number of Multisamples" start="131" end="133" type="uint">
- <value name="MULTISAMPLECOUNT_1" value="0"/>
- <value name="MULTISAMPLECOUNT_4" value="2"/>
- <value name="MULTISAMPLECOUNT_8" value="3"/>
+ <field name="Render Target View Extent" start="135" end="145" type="uint"/>
+ <field name="Minimum Array Element" start="146" end="156" type="uint"/>
+ <field name="Render Target Rotation" start="157" end="158" type="uint">
+ <value name="RTROTATE_0DEG" value="0"/>
+ <value name="RTROTATE_90DEG" value="1"/>
+ <value name="RTROTATE_270DEG" value="3"/>
</field>
- <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
- <field name="Strbuf Minimum Array Element" start="128" end="154" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
- <field name="Y Offset" start="180" end="183" type="uint"/>
- <field name="MOCS" start="176" end="179" type="uint"/>
- <field name="Surface Min LOD" start="164" end="167" type="uint"/>
<field name="MIP Count / LOD" start="160" end="163" type="uint"/>
- <field name="Append Counter Address" start="198" end="223" type="address"/>
+ <field name="Surface Min LOD" start="164" end="167" type="uint"/>
+ <field name="MOCS" start="176" end="179" type="uint"/>
+ <field name="Y Offset" start="180" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
+ <field name="MCS Enable" start="192" end="192" type="bool"/>
+ <field name="Y Offset for UV Plane" start="192" end="205" type="uint"/>
<field name="Append Counter Enable" start="193" end="193" type="bool"/>
- <field name="Auxiliary Surface Base Address" start="204" end="223" type="address"/>
<field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
- <field name="MCS Enable" start="192" end="192" type="bool"/>
- <field name="Reserved: MBZ" start="222" end="223" type="uint"/>
+ <field name="Append Counter Address" start="198" end="223" type="address"/>
+ <field name="Auxiliary Surface Base Address" start="204" end="223" type="address"/>
<field name="X Offset for UV Plane" start="208" end="221" type="uint"/>
- <field name="Y Offset for UV Plane" start="192" end="205" type="uint"/>
- <field name="Red Clear Color" start="255" end="255" type="uint">
+ <field name="Reserved: MBZ" start="222" end="223" type="uint"/>
+ <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
+ <field name="Alpha Clear Color" start="252" end="252" type="uint">
<value name="CC_ZERO" value="0"/>
<value name="CC_ONE" value="1"/>
</field>
- <field name="Green Clear Color" start="254" end="254" type="uint">
+ <field name="Blue Clear Color" start="253" end="253" type="uint">
<value name="CC_ZERO" value="0"/>
<value name="CC_ONE" value="1"/>
</field>
- <field name="Blue Clear Color" start="253" end="253" type="uint">
+ <field name="Green Clear Color" start="254" end="254" type="uint">
<value name="CC_ZERO" value="0"/>
<value name="CC_ONE" value="1"/>
</field>
- <field name="Alpha Clear Color" start="252" end="252" type="uint">
+ <field name="Red Clear Color" start="255" end="255" type="uint">
<value name="CC_ZERO" value="0"/>
<value name="CC_ONE" value="1"/>
</field>
- <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
<field name="Border Color Unorm Red" start="0" end="7" type="uint"/>
+ <field name="Border Color Float Red" start="0" end="31" type="float"/>
<field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
<field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
<field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
-
- <field name="Border Color Float Red" start="0" end="31" type="float"/>
<field name="Border Color Float Green" start="32" end="63" type="float"/>
<field name="Border Color Float Blue" start="64" end="95" type="float"/>
<field name="Border Color Float Alpha" start="96" end="127" type="float"/>
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="Texture Border Color Mode" start="29" end="29" type="uint">
- <value name="DX10/OGL" value="0"/>
- <value name="DX9" value="1"/>
- </field>
- <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
- <value name="OGL" value="1"/>
- </field>
- <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
+ <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
+ <value name="LEGACY" value="0"/>
+ <value name="EWA Approximation" value="1"/>
</field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
- <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
- <value name="LEGACY" value="0"/>
- <value name="EWA Approximation" value="1"/>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
+ </field>
+ <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
+ <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
+ <value name="OGL" value="1"/>
+ </field>
+ <field name="Texture Border Color Mode" start="29" end="29" type="uint">
+ <value name="DX10/OGL" value="0"/>
+ <value name="DX9" value="1"/>
+ </field>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
+ <value name="PROGRAMMED" value="0"/>
+ <value name="OVERRIDE" value="1"/>
</field>
- <field name="Min LOD" start="52" end="63" type="u4.8"/>
- <field name="Max LOD" start="40" end="51" type="u4.8"/>
<field name="Shadow Function" start="33" end="35" type="uint">
<value name="PREFILTEROP ALWAYS" value="0"/>
<value name="PREFILTEROP NEVER" value="1"/>
@@ -528,17 +483,24 @@
<value name="PREFILTEROP NOTEQUAL" value="6"/>
<value name="PREFILTEROP GEQUAL" value="7"/>
</field>
- <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
- <value name="PROGRAMMED" value="0"/>
- <value name="OVERRIDE" value="1"/>
- </field>
+ <field name="Max LOD" start="40" end="51" type="u4.8"/>
+ <field name="Min LOD" start="52" end="63" type="u4.8"/>
<field name="Border Color Pointer" start="69" end="95" type="offset"/>
- <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
- <field name="ChromaKey Index" start="119" end="120" type="uint"/>
- <field name="ChromaKey Mode" start="118" end="118" type="uint">
- <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
- <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
+ <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
+ <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
+ <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
+ <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
+ <value name="FULL" value="0"/>
+ <value name="MED" value="2"/>
+ <value name="LOW" value="3"/>
</field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -549,73 +511,111 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
- <value name="FULL" value="0"/>
- <value name="MED" value="2"/>
- <value name="LOW" value="3"/>
+ <field name="ChromaKey Mode" start="118" end="118" type="uint">
+ <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
+ <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
</field>
- <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
- <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
- <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
- <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="ChromaKey Index" start="119" end="120" type="uint"/>
+ <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
</struct>
- <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="2">
- <field name="Concealment Method" start="31" end="31" type="uint"/>
- <field name="Init Current MB Number" start="30" end="30" type="bool"/>
- <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
- <field name="MB Error Concealment B Temporal Reference Index Override Enable" start="26" end="26" type="bool"/>
- <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
- <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
- <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
- <field name="MPR Error Handling" start="12" end="12" type="bool"/>
- <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
- <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
- <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint" default="0"/>
- <field name="MB Error Concealment B Spatial Reference Index Override Disable" start="5" end="5" type="bool"/>
- <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
- <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
- <field name="MB Error Concealment P Slice Reference Index Override Disable" start="2" end="2" type="bool"/>
- <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
- <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
- <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
- <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
- <field name="Last Slice" start="35" end="35" type="bool"/>
- <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
- <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
- <field name="Slice Horizontal Position" start="24" end="30" type="uint"/>
- <field name="Slice Vertical Position" start="16" end="22" type="uint"/>
- <field name="MB Count" start="8" end="14" type="uint"/>
- <field name="Last Pic Slice" start="5" end="5" type="bool"/>
- <field name="Last MB" start="3" end="3" type="bool"/>
- <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
- <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
+ <struct name="SF_CLIP_VIEWPORT" length="16">
+ <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
+ <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
+ <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
+ <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
+ <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
+ <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
+ <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
+ <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
+ <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ </struct>
+
+ <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
+ <field name="Source Attribute" start="0" end="4" type="uint"/>
+ <field name="Swizzle Select" start="6" end="7" type="uint">
+ <value name="INPUTATTR" value="0"/>
+ <value name="INPUTATTR_FACING" value="1"/>
+ <value name="INPUTATTR_W" value="2"/>
+ <value name="INPUTATTR_FACING_W" value="3"/>
+ </field>
+ <field name="Constant Source" start="9" end="10" type="uint">
+ <value name="CONST_0000" value="0"/>
+ <value name="CONST_0001_FLOAT" value="1"/>
+ <value name="CONST_1111_FLOAT" value="2"/>
+ <value name="PRIM_ID" value="3"/>
+ </field>
+ <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
+ <field name="Component Override X" start="12" end="12" type="bool"/>
+ <field name="Component Override Y" start="13" end="13" type="bool"/>
+ <field name="Component Override Z" start="14" end="14" type="bool"/>
+ <field name="Component Override W" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="SO_DECL" length="1">
+ <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
+ <field name="Register Index" start="4" end="9" type="uint"/>
+ <field name="Hole Flag" start="11" end="11" type="uint"/>
+ <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
+ </struct>
+
+ <struct name="SO_DECL_ENTRY" length="2">
+ <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
+ <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
+ <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
+ <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
+ </struct>
+
+ <struct name="VERTEX_BUFFER_STATE" length="4">
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
+ <field name="Address Modify Enable" start="14" end="14" type="bool"/>
+ <field name="MOCS" start="16" end="19" type="uint"/>
+ <field name="Buffer Access Type" start="20" end="20" type="uint">
+ <value name="VERTEXDATA" value="0"/>
+ <value name="INSTANCEDATA" value="1"/>
+ </field>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Buffer Starting Address" start="32" end="63" type="address"/>
+ <field name="End Address" start="64" end="95" type="address"/>
+ <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
+ </struct>
+
+ <struct name="VERTEX_ELEMENT_STATE" length="2">
+ <field name="Source Element Offset" start="0" end="11" type="uint"/>
+ <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="25" end="25" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="End Offset Enable" start="41" end="41" type="bool"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="40" end="40" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
+ <field name="End Offset Enable" start="41" end="41" type="bool"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -624,137 +624,121 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Blend State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field start="32" end="32" type="mbo"/>
+ <field name="Blend State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field start="32" end="32" type="mbo"/>
+ <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
<field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
<field name="ChromaKey High Value" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="uint"/>
<field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
</instruction>
<instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Front Winding" start="52" end="52" type="uint"/>
- <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint"/>
- <field name="Early Cull Enable" start="50" end="50" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
<field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<value name="BACK" value="3"/>
</field>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
- <field name="Clip Enable" start="95" end="95" type="bool"/>
- <field name="API Mode" start="94" end="94" type="uint">
- <value name="APIMODE_OGL" value="0"/>
- <value name="APIMODE_D3D" value="1"/>
- </field>
- <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
- <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
- <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
- <field name="Clip Mode" start="77" end="79" type="uint">
- <value name="CLIPMODE_NORMAL" value="0"/>
- <value name="CLIPMODE_REJECT_ALL" value="3"/>
- <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
- </field>
- <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
- <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
+ <field name="Early Cull Enable" start="50" end="50" type="bool"/>
+ <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint"/>
+ <field name="Front Winding" start="52" end="52" type="uint"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
@@ -763,68 +747,93 @@
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
</field>
- <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
- <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
- <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
+ <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
+ <field name="Clip Mode" start="77" end="79" type="uint">
+ <value name="CLIPMODE_NORMAL" value="0"/>
+ <value name="CLIPMODE_REJECT_ALL" value="3"/>
+ <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
+ </field>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
+ <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
+ <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
+ <field name="API Mode" start="94" end="94" type="uint">
+ <value name="APIMODE_OGL" value="0"/>
+ <value name="APIMODE_D3D" value="1"/>
+ </field>
+ <field name="Clip Enable" start="95" end="95" type="bool"/>
<field name="Maximum VP Index" start="96" end="99" type="uint"/>
+ <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
+ <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_HS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="49" type="uint"/>
+ <field name="Surface Format" start="50" end="52" type="uint">
+ <value name="D32_FLOAT" value="1"/>
+ <value name="D24_UNORM_X8_UINT" value="3"/>
+ <value name="D16_UNORM" value="5"/>
+ </field>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Write Enable" start="60" end="60" type="bool"/>
<field name="Surface Type" start="61" end="63" type="uint">
<value name="SURFTYPE_1D" value="0"/>
<value name="SURFTYPE_2D" value="1"/>
@@ -832,62 +841,58 @@
<value name="SURFTYPE_CUBE" value="3"/>
<value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Depth Write Enable" start="60" end="60" type="bool"/>
- <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
- <field name="Surface Format" start="50" end="52" type="uint">
- <value name="D32_FLOAT" value="1"/>
- <value name="D24_UNORM_X8_UINT" value="3"/>
- <value name="D16_UNORM" value="5"/>
- </field>
- <field name="Surface Pitch" start="32" end="49" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
- <field name="Height" start="114" end="127" type="uint"/>
- <field name="Width" start="100" end="113" type="uint"/>
<field name="LOD" start="96" end="99" type="uint"/>
+ <field name="Width" start="100" end="113" type="uint"/>
+ <field name="Height" start="114" end="127" type="uint"/>
+ <field name="MOCS" start="128" end="131" type="uint"/>
+ <field name="Minimum Array Element" start="138" end="148" type="uint"/>
<field name="Depth" start="149" end="159" type="uint">
<value name="SURFTYPE_CUBE (must be zero)" value="0"/>
</field>
- <field name="Minimum Array Element" start="138" end="148" type="uint"/>
- <field name="MOCS" start="128" end="131" type="uint"/>
- <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
<field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
+ <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
<field name="Render Target View Extent" start="213" end="223" type="uint"/>
</instruction>
<instruction name="3DSTATE_DEPTH_STENCIL_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="37"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pointer to DEPTH_STENCIL_STATE" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="37"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field start="32" end="32" type="mbo"/>
+ <field name="Pointer to DEPTH_STENCIL_STATE" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_DS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Domain Point Dispatch" start="95" end="95" type="uint"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -895,34 +900,39 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Domain Point Dispatch" start="95" end="95" type="uint"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
- <field name="Patch URB Entry Read Length" start="139" end="145" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Patch URB Entry Read Offset" start="132" end="137" type="uint"/>
- <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
- <field name="Statistics Enable" start="170" end="170" type="bool"/>
- <field name="Compute W Coordinate Enable" start="162" end="162" type="bool"/>
- <field name="DS Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Patch URB Entry Read Length" start="139" end="145" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
<field name="Enable" start="160" end="160" type="bool"/>
+ <field name="DS Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Compute W Coordinate Enable" start="162" end="162" type="bool"/>
+ <field name="Statistics Enable" start="170" end="170" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
</instruction>
<instruction name="3DSTATE_GS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Program Flow" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="alternate" value="1"/>
+ </field>
+ <field name="Thread Priority" start="81" end="81" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -930,69 +940,67 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Thread Priority" start="81" end="81" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Program Flow" start="95" end="95" type="bool"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Output Vertex Size" start="151" end="156" type="uint"/>
- <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/>
- <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
- <field name="Include Vertex Handles" start="138" end="138" type="bool"/>
- <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="128" end="131" type="uint"/>
- <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
- <field name="Control Data Format" start="184" end="184" type="uint">
- <value name="GSCTL_CUT" value="0"/>
- <value name="GSCTL_SID" value="1"/>
+ <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
+ <field name="Include Vertex Handles" start="138" end="138" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/>
+ <field name="Output Vertex Size" start="151" end="156" type="uint"/>
+ <field name="Enable" start="160" end="160" type="bool"/>
+ <field name="Discard Adjacency" start="161" end="161" type="bool"/>
+ <field name="Reorder Mode" start="162" end="162" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
</field>
- <field name="Control Data Header Size" start="180" end="183" type="uint"/>
- <field name="Instance Control" start="175" end="179" type="uint"/>
- <field name="Default StreamID" start="173" end="174" type="uint"/>
+ <field name="Hint" start="163" end="163" type="uint"/>
+ <field name="Include Primitive ID" start="164" end="164" type="bool"/>
+ <field name="GS Invocations Increment Value" start="165" end="169" type="uint"/>
+ <field name="Statistics Enable" start="170" end="170" type="uint"/>
<field name="Dispatch Mode" start="171" end="172" type="uint" prefix="DISPATCH_MODE">
<value name="SINGLE" value="0"/>
<value name="DUAL_INSTANCE" value="1"/>
<value name="DUAL_OBJECT" value="2"/>
</field>
- <field name="Statistics Enable" start="170" end="170" type="uint"/>
- <field name="GS Invocations Increment Value" start="165" end="169" type="uint"/>
- <field name="Include Primitive ID" start="164" end="164" type="bool"/>
- <field name="Hint" start="163" end="163" type="uint"/>
- <field name="Reorder Mode" start="162" end="162" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
+ <field name="Default StreamID" start="173" end="174" type="uint"/>
+ <field name="Instance Control" start="175" end="179" type="uint"/>
+ <field name="Control Data Header Size" start="180" end="183" type="uint"/>
+ <field name="Control Data Format" start="184" end="184" type="uint">
+ <value name="GSCTL_CUT" value="0"/>
+ <value name="GSCTL_SID" value="1"/>
</field>
- <field name="Discard Adjacency" start="161" end="161" type="bool"/>
- <field name="Enable" start="160" end="160" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
<field name="Semaphore Handle" start="192" end="203" type="offset"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_HS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Maximum Number of Threads" start="32" end="38" type="uint"/>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
+ <field name="Floating Point Mode" start="48" end="48" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="alternate" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
<field name="Sampler Count" start="59" end="61" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1000,263 +1008,255 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Floating Point Mode" start="48" end="48" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Maximum Number of Threads" start="32" end="38" type="uint"/>
- <field name="Enable" start="95" end="95" type="bool"/>
- <field name="Statistics Enable" start="93" end="93" type="bool"/>
<field name="Instance Count" start="64" end="67" type="uint"/>
+ <field name="Statistics Enable" start="93" end="93" type="bool"/>
+ <field name="Enable" start="95" end="95" type="bool"/>
<field name="Kernel Start Pointer" start="102" end="127" type="offset"/>
- <field name="Scratch Space Base Pointer" start="138" end="159" type="address"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Single Program Flow" start="187" end="187" type="bool"/>
- <field name="Vector Mask Enable" start="186" end="186" type="bool"/>
- <field name="Include Vertex Handles" start="184" end="184" type="bool"/>
- <field name="Dispatch GRF Start Register For URB Data" start="179" end="183" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="171" end="176" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="159" type="address"/>
<field name="Vertex URB Entry Read Offset" start="164" end="169" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="171" end="176" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="179" end="183" type="uint"/>
+ <field name="Include Vertex Handles" start="184" end="184" type="bool"/>
+ <field name="Vector Mask Enable" start="186" end="186" type="bool"/>
+ <field name="Single Program Flow" start="187" end="187" type="bool"/>
<field name="Semaphore Handle" start="192" end="203" type="offset"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
- <field name="MOCS" start="12" end="15" type="uint"/>
- <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="MOCS" start="12" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Buffer Ending Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
</instruction>
<instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
+ <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
</instruction>
<instruction name="3DSTATE_MULTISAMPLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Pixel Location" start="36" end="36" type="uint">
- <value name="CENTER" value="0"/>
- <value name="UL_CORNER" value="1"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Multisamples" start="33" end="35" type="uint">
<value name="NUMSAMPLES_1" value="0"/>
<value name="NUMSAMPLES_4" value="2"/>
<value name="NUMSAMPLES_8" value="3"/>
</field>
- <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
- <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
- <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
- <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
- <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
- <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
- <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="Pixel Location" start="36" end="36" type="uint">
+ <value name="CENTER" value="0"/>
+ <value name="UL_CORNER" value="1"/>
+ </field>
<field name="Sample0 Y Offset" start="64" end="67" type="u0.4"/>
- <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/>
- <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/>
- <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/>
- <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/>
- <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/>
- <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/>
- <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
+ <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
+ <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
+ <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
+ <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
+ <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
<field name="Sample4 Y Offset" start="96" end="99" type="u0.4"/>
+ <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/>
+ <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/>
+ <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/>
+ <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/>
+ <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/>
+ <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_PS" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer 0" start="38" end="63" type="offset"/>
- <field name="Single Program Flow" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
- <field name="Sampler Count" start="91" end="93" type="uint"/>
- <field name="Denormal Mode" start="90" end="90" type="uint">
- <value name="FTZ" value="0"/>
- <value name="RET" value="1"/>
- </field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-745" value="0"/>
- <value name="Alt" value="1"/>
- </field>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
<field name="Rounding Mode" start="78" end="79" type="uint">
<value name="RTNE" value="0"/>
<value name="RU" value="1"/>
<value name="RD" value="2"/>
<value name="RTZ" value="3"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-745" value="0"/>
+ <value name="Alt" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
+ <field name="Denormal Mode" start="90" end="90" type="uint">
+ <value name="FTZ" value="0"/>
+ <value name="RET" value="1"/>
+ </field>
+ <field name="Sampler Count" start="91" end="93" type="uint"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Program Flow" start="95" end="95" type="bool"/>
<field name="Per Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="152" end="159" type="uint"/>
- <field name="Push Constant Enable" start="139" end="139" type="bool"/>
- <field name="Attribute Enable" start="138" end="138" type="bool"/>
- <field name="oMask Present to RenderTarget" start="137" end="137" type="bool"/>
- <field name="Render Target Fast Clear Enable" start="136" end="136" type="bool"/>
- <field name="Dual Source Blend Enable" start="135" end="135" type="bool"/>
- <field name="Render Target Resolve Enable" start="134" end="134" type="bool"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="128" end="128" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="129" end="129" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="130" end="130" type="bool"/>
<field name="Position XY Offset Select" start="131" end="132" type="uint">
<value name="POSOFFSET_NONE" value="0"/>
<value name="POSOFFSET_CENTROID" value="2"/>
<value name="POSOFFSET_SAMPLE" value="3"/>
</field>
- <field name="32 Pixel Dispatch Enable" start="130" end="130" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="129" end="129" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="128" end="128" type="bool"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="176" end="182" type="uint"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="168" end="174" type="uint"/>
+ <field name="Render Target Resolve Enable" start="134" end="134" type="bool"/>
+ <field name="Dual Source Blend Enable" start="135" end="135" type="bool"/>
+ <field name="Render Target Fast Clear Enable" start="136" end="136" type="bool"/>
+ <field name="oMask Present to RenderTarget" start="137" end="137" type="bool"/>
+ <field name="Attribute Enable" start="138" end="138" type="bool"/>
+ <field name="Push Constant Enable" start="139" end="139" type="bool"/>
+ <field name="Maximum Number of Threads" start="152" end="159" type="uint"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="160" end="166" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="168" end="174" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="176" end="182" type="uint"/>
<field name="Kernel Start Pointer 1" start="198" end="223" type="offset"/>
<field name="Kernel Start Pointer 2" start="230" end="255" type="offset"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="51" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Constant Buffer Size" start="32" end="36" type="uint">
<value name="0KB" value="0"/>
</field>
- <field name="Constant Buffer Size" start="32" end="36" type="uint">
+ <field name="Constant Buffer Offset" start="48" end="51" type="uint">
<value name="0KB" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="51" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Constant Buffer Size" start="32" end="36" type="uint">
<value name="0KB" value="0"/>
</field>
- <field name="Constant Buffer Size" start="32" end="36" type="uint">
+ <field name="Constant Buffer Offset" start="48" end="51" type="uint">
<value name="0KB" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="51" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Constant Buffer Size" start="32" end="36" type="uint">
<value name="0KB" value="0"/>
</field>
- <field name="Constant Buffer Size" start="32" end="36" type="uint">
+ <field name="Constant Buffer Offset" start="48" end="51" type="uint">
<value name="0KB" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="51" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Constant Buffer Size" start="32" end="36" type="uint">
<value name="0KB" value="0"/>
</field>
- <field name="Constant Buffer Size" start="32" end="36" type="uint">
+ <field name="Constant Buffer Offset" start="48" end="51" type="uint">
<value name="0KB" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="51" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Constant Buffer Size" start="32" end="36" type="uint">
<value name="0KB" value="0"/>
</field>
- <field name="Constant Buffer Size" start="32" end="36" type="uint">
+ <field name="Constant Buffer Offset" start="48" end="51" type="uint">
<value name="0KB" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
<field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
@@ -1266,115 +1266,132 @@
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Sample Mask" start="32" end="39" type="uint"/>
</instruction>
<instruction name="3DSTATE_SBE" bias="2" length="14" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
<field name="DWord Length" start="0" end="7" type="uint" default="12"/>
- <field name="Attribute Swizzle Control Mode" start="60" end="60" type="uint">
- <value name="SWIZ_0_15" value="0"/>
- <value name="SWIZ_16_31" value="1"/>
- </field>
- <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
- <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
<field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
<value name="UPPERLEFT" value="0"/>
<value name="LOWERLEFT" value="1"/>
</field>
- <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
+ <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
+ <field name="Attribute Swizzle Control Mode" start="60" end="60" type="uint">
+ <value name="SWIZ_0_15" value="0"/>
+ <value name="SWIZ_16_31" value="1"/>
+ </field>
<group count="16" start="64" size="16">
<field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
</group>
<field name="Point Sprite Texture Coordinate Enable" start="320" end="351" type="uint"/>
<field name="Constant Interpolation Enable" start="352" end="383" type="uint"/>
- <field name="Attribute 7 WrapShortest Enables" start="412" end="415" type="uint"/>
- <field name="Attribute 6 WrapShortest Enables" start="408" end="411" type="uint"/>
- <field name="Attribute 5 WrapShortest Enables" start="404" end="407" type="uint"/>
- <field name="Attribute 4 WrapShortest Enables" start="400" end="403" type="uint"/>
- <field name="Attribute 3 WrapShortest Enables" start="396" end="399" type="uint"/>
- <field name="Attribute 2 WrapShortest Enables" start="392" end="395" type="uint"/>
- <field name="Attribute 1 WrapShortest Enables" start="388" end="391" type="uint"/>
<field name="Attribute 0 WrapShortest Enables" start="384" end="387" type="uint"/>
- <field name="Attribute 15 WrapShortest Enables" start="444" end="447" type="uint"/>
- <field name="Attribute 14 WrapShortest Enables" start="440" end="443" type="uint"/>
- <field name="Attribute 13 WrapShortest Enables" start="436" end="439" type="uint"/>
- <field name="Attribute 12 WrapShortest Enables" start="432" end="435" type="uint"/>
- <field name="Attribute 11 WrapShortest Enables" start="428" end="431" type="uint"/>
- <field name="Attribute 10 WrapShortest Enables" start="424" end="427" type="uint"/>
- <field name="Attribute 9 WrapShortest Enables" start="420" end="423" type="uint"/>
+ <field name="Attribute 1 WrapShortest Enables" start="388" end="391" type="uint"/>
+ <field name="Attribute 2 WrapShortest Enables" start="392" end="395" type="uint"/>
+ <field name="Attribute 3 WrapShortest Enables" start="396" end="399" type="uint"/>
+ <field name="Attribute 4 WrapShortest Enables" start="400" end="403" type="uint"/>
+ <field name="Attribute 5 WrapShortest Enables" start="404" end="407" type="uint"/>
+ <field name="Attribute 6 WrapShortest Enables" start="408" end="411" type="uint"/>
+ <field name="Attribute 7 WrapShortest Enables" start="412" end="415" type="uint"/>
<field name="Attribute 8 WrapShortest Enables" start="416" end="419" type="uint"/>
+ <field name="Attribute 9 WrapShortest Enables" start="420" end="423" type="uint"/>
+ <field name="Attribute 10 WrapShortest Enables" start="424" end="427" type="uint"/>
+ <field name="Attribute 11 WrapShortest Enables" start="428" end="431" type="uint"/>
+ <field name="Attribute 12 WrapShortest Enables" start="432" end="435" type="uint"/>
+ <field name="Attribute 13 WrapShortest Enables" start="436" end="439" type="uint"/>
+ <field name="Attribute 14 WrapShortest Enables" start="440" end="443" type="uint"/>
+ <field name="Attribute 15 WrapShortest Enables" start="444" end="447" type="uint"/>
</instruction>
<instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SF" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Front Winding" start="32" end="32" type="uint"/>
+ <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
+ <field name="BackFace Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
+ </field>
+ <field name="FrontFace Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
+ </field>
+ <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
+ <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
+ <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
<field name="Depth Buffer Surface Format" start="44" end="46" type="uint">
<value name="D32_FLOAT_S8X24_UINT" value="0"/>
<value name="D32_FLOAT" value="1"/>
@@ -1382,154 +1399,142 @@
<value name="D24_UNORM_X8_UINT" value="3"/>
<value name="D16_UNORM" value="5"/>
</field>
- <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
- <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
- <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
- <field name="FrontFace Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="Multisample Rasterization Mode" start="72" end="73" type="uint">
+ <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ON_PATTERN" value="3"/>
</field>
- <field name="BackFace Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="Scissor Rectangle Enable" start="75" end="75" type="bool"/>
+ <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="Viewport Transform Enable" start="33" end="33" type="bool"/>
- <field name="Front Winding" start="32" end="32" type="uint"/>
- <field name="Anti-Aliasing Enable" start="95" end="95" type="bool"/>
+ <field name="Line Width" start="82" end="91" type="u3.7"/>
<field name="Cull Mode" start="93" end="94" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<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">
- <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 name="Anti-Aliasing Enable" start="95" end="95" type="bool"/>
+ <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Point Width Source" start="107" end="107" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
</field>
- <field name="Scissor Rectangle Enable" start="75" end="75" type="bool"/>
- <field name="Multisample Rasterization Mode" start="72" end="73" type="uint">
- <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ON_PATTERN" value="3"/>
- </field>
- <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint">
+ <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
+ <value name="8 Bit" value="0"/>
+ <value name="4 Bit" value="1"/>
+ </field>
+ <field name="AA Line Distance Mode" start="110" end="110" type="uint">
+ <value name="AALINEDISTANCE_TRUE" value="1"/>
+ </field>
+ <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
<field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="AA Line Distance Mode" start="110" end="110" type="uint">
- <value name="AALINEDISTANCE_TRUE" value="1"/>
- </field>
- <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
- <value name="8 Bit" value="0"/>
- <value name="4 Bit" value="1"/>
- </field>
- <field name="Point Width Source" start="107" end="107" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
- </field>
- <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
<field name="Global Depth Offset Constant" start="128" end="159" type="float"/>
<field name="Global Depth Offset Scale" start="160" end="191" type="float"/>
<field name="Global Depth Offset Clamp" start="192" end="223" type="float"/>
</instruction>
<instruction name="3DSTATE_SO_BUFFER" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="SO Buffer Index" start="61" end="62" type="uint"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="43" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="SO Buffer Index" start="61" end="62" type="uint"/>
<field name="Surface Base Address" start="66" end="95" type="address"/>
<field name="Surface End Address" start="98" end="127" type="address"/>
</instruction>
<instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="8" type="uint"/>
- <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
- <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
- <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
- <field name="Num Entries [3]" start="88" end="95" type="uint"/>
- <field name="Num Entries [2]" start="80" end="87" type="uint"/>
- <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
+ <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
<field name="Num Entries [0]" start="64" end="71" type="uint"/>
+ <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Num Entries [2]" start="80" end="87" type="uint"/>
+ <field name="Num Entries [3]" start="88" end="95" type="uint"/>
<group count="0" start="96" size="64">
<field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_STREAMOUT" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="SO Function Enable" start="63" end="63" type="bool"/>
- <field name="Rendering Disable" start="62" end="62" type="bool"/>
- <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="SO Buffer Enable [0]" start="40" end="40" type="bool"/>
+ <field name="SO Buffer Enable [1]" start="41" end="41" type="bool"/>
+ <field name="SO Buffer Enable [2]" start="42" end="42" type="bool"/>
+ <field name="SO Buffer Enable [3]" start="43" end="43" type="bool"/>
+ <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
<field name="Reorder Mode" start="58" end="58" type="uint">
<value name="LEADING" value="0"/>
<value name="TRAILING" value="1"/>
</field>
- <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
- <field name="SO Buffer Enable [3]" start="43" end="43" type="bool"/>
- <field name="SO Buffer Enable [2]" start="42" end="42" type="bool"/>
- <field name="SO Buffer Enable [1]" start="41" end="41" type="bool"/>
- <field name="SO Buffer Enable [0]" start="40" end="40" type="bool"/>
- <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
- <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
- <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
- <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
- <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
- <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
- <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="Rendering Disable" start="62" end="62" type="bool"/>
+ <field name="SO Function Enable" start="63" end="63" type="bool"/>
<field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
+ <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
+ <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
+ <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
+ <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
+ <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
+ <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
</instruction>
<instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Partitioning" start="44" end="45" type="uint">
- <value name="INTEGER" value="0"/>
- <value name="ODD_FRACTIONAL" value="1"/>
- <value name="EVEN_FRACTIONAL" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="TE Enable" start="32" end="32" type="bool"/>
+ <field name="TE Mode" start="33" end="34" type="uint">
+ <value name="HW_TESS" value="0"/>
+ <value name="SW_TESS" value="1"/>
+ </field>
+ <field name="TE Domain" start="36" end="37" type="uint">
+ <value name="QUAD" value="0"/>
+ <value name="TRI" value="1"/>
+ <value name="ISOLINE" value="2"/>
</field>
<field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
<value name="POINT" value="0"/>
@@ -1537,121 +1542,121 @@
<value name="TRI_CW" value="2"/>
<value name="TRI_CCW" value="3"/>
</field>
- <field name="TE Domain" start="36" end="37" type="uint">
- <value name="QUAD" value="0"/>
- <value name="TRI" value="1"/>
- <value name="ISOLINE" value="2"/>
- </field>
- <field name="TE Mode" start="33" end="34" type="uint">
- <value name="HW_TESS" value="0"/>
- <value name="SW_TESS" value="1"/>
+ <field name="Partitioning" start="44" end="45" type="uint">
+ <value name="INTEGER" value="0"/>
+ <value name="ODD_FRACTIONAL" value="1"/>
+ <value name="EVEN_FRACTIONAL" value="2"/>
</field>
- <field name="TE Enable" start="32" end="32" type="bool"/>
<field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
<field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
</instruction>
<instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="DS URB Starting Address" start="57" end="61" type="uint"/>
- <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="DS URB Starting Address" start="57" end="61" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="GS URB Starting Address" start="57" end="61" type="uint"/>
- <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="GS URB Starting Address" start="57" end="61" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="HS URB Starting Address" start="57" end="61" type="uint"/>
- <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="HS URB Starting Address" start="57" end="61" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="VS URB Starting Address" start="57" end="61" type="uint"/>
- <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="VS URB Starting Address" start="57" end="61" type="uint"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1659,83 +1664,78 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
- <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
- <field name="Statistics Enable" start="170" end="170" type="bool"/>
- <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
<field name="Enable" start="160" end="160" type="bool"/>
+ <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Statistics Enable" start="170" end="170" type="bool"/>
+ <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Statistics Enable" start="63" end="63" type="bool"/>
- <field name="Depth Buffer Clear" start="62" end="62" type="bool"/>
- <field name="Thread Dispatch Enable" start="61" end="61" type="bool"/>
- <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 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"/>
- <value name="PSCDEPTH_ON_GE" value="2"/>
- <value name="PSCDEPTH_ON_LE" value="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Multisample Rasterization Mode" start="32" end="33" type="uint">
+ <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ON_PATTERN" value="3"/>
</field>
- <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
- <value name="EDSC_NORMAL" value="0"/>
- <value name="EDSC_PSEXEC" value="1"/>
- <value name="EDSC_PREPS" value="2"/>
+ <field name="Point Rasterization Rule" start="34" end="34" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Pixel Shader Uses Source Depth" start="52" end="52" type="bool"/>
- <field name="Pixel Shader Uses Source W" start="51" end="51" type="bool"/>
- <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
- <value name="INTERP_PIXEL" value="0"/>
- <value name="INTERP_CENTROID" value="2"/>
- <value name="INTERP_SAMPLE" value="3"/>
+ <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
+ <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
+ <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="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint"/>
+ <field name="Pixel Shader Uses Input Coverage Mask" start="42" end="42" type="bool"/>
<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_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">
- <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 name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
+ <value name="INTERP_PIXEL" value="0"/>
+ <value name="INTERP_CENTROID" value="2"/>
+ <value name="INTERP_SAMPLE" 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">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <field name="Pixel Shader Uses Source W" start="51" end="51" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="52" end="52" type="bool"/>
+ <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
</field>
- <field name="Multisample Rasterization Mode" start="32" end="33" type="uint">
- <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ON_PATTERN" value="3"/>
+ <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"/>
+ <value name="PSCDEPTH_ON_GE" value="2"/>
+ <value name="PSCDEPTH_ON_LE" value="3"/>
</field>
+ <field name="Pixel Shader Kills Pixel" start="57" end="57" type="bool"/>
+ <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Thread Dispatch Enable" start="61" end="61" type="bool"/>
+ <field name="Depth Buffer Clear" start="62" end="62" type="bool"/>
+ <field name="Statistics Enable" start="63" end="63" type="bool"/>
<field name="Multisample Dispatch Mode" start="95" end="95" type="uint">
<value name="MSDISPMODE_PERSAMPLE" value="0"/>
<value name="MSDISPMODE_PERPIXEL" value="1"/>
@@ -1743,22 +1743,22 @@
</instruction>
<instruction name="GPGPU_OBJECT" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="Shared Local Memory Fixed Offset" start="39" end="39" type="uint"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
- <field name="Shared Local Memory Offset" start="92" end="95" type="uint"/>
- <field name="End of Thread Group" start="88" end="88" type="uint"/>
+ <field name="Shared Local Memory Fixed Offset" start="39" end="39" type="uint"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Half-Slice Destination Select" start="81" end="82" type="uint">
<value name="Half-Slice 1" value="2"/>
<value name="Half-Slice 0" value="1"/>
<value name="Either Half-Slice" value="0"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="End of Thread Group" start="88" end="88" type="uint"/>
+ <field name="Shared Local Memory Offset" start="92" end="95" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<field name="Thread Group ID X" start="128" end="159" type="uint"/>
<field name="Thread Group ID Y" start="160" end="191" type="uint"/>
@@ -1767,22 +1767,22 @@
</instruction>
<instruction name="GPGPU_WALKER" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="16" end="23" type="uint" default="5"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="SubOpcode A" start="16" end="23" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
+ <field name="Thread Width Counter Maximum" start="64" end="69" type="uint"/>
+ <field name="Thread Height Counter Maximum" start="72" end="77" type="uint"/>
+ <field name="Thread Depth Counter Maximum" start="80" end="85" type="uint"/>
<field name="SIMD Size" start="94" end="95" type="uint">
<value name="SIMD8" value="0"/>
<value name="SIMD16" value="1"/>
<value name="SIMD32" value="2"/>
</field>
- <field name="Thread Depth Counter Maximum" start="80" end="85" type="uint"/>
- <field name="Thread Height Counter Maximum" start="72" end="77" type="uint"/>
- <field name="Thread Width Counter Maximum" start="64" end="69" type="uint"/>
<field name="Thread Group ID Starting X" start="96" end="127" type="uint"/>
<field name="Thread Group ID X Dimension" start="128" end="159" type="uint"/>
<field name="Thread Group ID Starting Y" start="160" end="191" type="uint"/>
@@ -1794,194 +1794,194 @@
</instruction>
<instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
<field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
<field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
</instruction>
<instruction name="MEDIA_OBJECT" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="4"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Half-Slice Destination Select" start="81" end="82" type="uint">
+ <value name="Half-Slice 1" value="2"/>
+ <value name="Half-Slice 0" value="1"/>
+ <value name="Either half-slice" value="0"/>
</field>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Half-Slice Destination Select" start="81" end="82" type="uint">
- <value name="Half-Slice 1" value="2"/>
- <value name="Half-Slice 0" value="1"/>
- <value name="Either half-slice" value="0"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<group count="0" start="192" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="14"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
<field name="PRT_FenceType" start="86" end="86" type="uint">
<value name="Root thread queue" value="0"/>
<value name="VFE state flush" value="1"/>
</field>
+ <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<group count="12" start="128" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="15" type="uint" default="15"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
- <field name="Children Present" start="95" end="95" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Children Present" start="95" end="95" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Dual Mode" start="223" end="223" type="uint"/>
- <field name="Repel" start="222" end="222" type="uint"/>
- <field name="Color Count Minus One" start="216" end="219" type="uint"/>
- <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
- <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
<field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
- <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
+ <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
+ <field name="Color Count Minus One" start="216" end="219" type="uint"/>
+ <field name="Repel" start="222" end="222" type="uint"/>
+ <field name="Dual Mode" start="223" end="223" type="uint"/>
<field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
- <field name="Block Resolution Y" start="272" end="280" type="uint"/>
+ <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
<field name="Block Resolution X" start="256" end="264" type="uint"/>
- <field name="Local Start Y" start="304" end="312" type="uint"/>
+ <field name="Block Resolution Y" start="272" end="280" type="uint"/>
<field name="Local Start X" start="288" end="296" type="uint"/>
- <field name="Local End Y" start="336" end="344" type="uint"/>
+ <field name="Local Start Y" start="304" end="312" type="uint"/>
<field name="Local End X" start="320" end="328" type="uint"/>
- <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
+ <field name="Local End Y" start="336" end="344" type="uint"/>
<field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
- <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
+ <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
<field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
- <field name="Global Resolution Y" start="432" end="440" type="uint"/>
+ <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
<field name="Global Resolution X" start="416" end="424" type="uint"/>
- <field name="Global Start Y" start="464" end="473" type="int"/>
+ <field name="Global Resolution Y" start="432" end="440" type="uint"/>
<field name="Global Start X" start="448" end="457" type="int"/>
- <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
+ <field name="Global Start Y" start="464" end="473" type="int"/>
<field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
- <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
+ <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
<field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
+ <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
<group count="0" start="544" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Watermark Required" start="38" end="38" type="uint"/>
</instruction>
<instruction name="MEDIA_VFE_STATE" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="6"/>
- <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
- <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
- <field name="Number of URB Entries" start="72" end="79" type="uint"/>
- <field name="Reset Gateway Timer" start="71" end="71" type="uint">
- <value name="Maintaining the existing timestamp state" value="0"/>
- <value name="Resetting relative timer and latching the global timestamp" value="1"/>
+ <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
+ <field name="GPGPU Mode" start="66" end="66" type="uint"/>
+ <field name="Gateway MMIO Access Control" start="67" end="68" type="uint">
+ <value name="No MMIO read/write allowed" value="0"/>
+ <value name="MMIO read/write to any address" value="2"/>
</field>
<field name="Bypass Gateway Control" start="70" end="70" type="uint">
<value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
<value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
</field>
- <field name="Gateway MMIO Access Control" start="67" end="68" type="uint">
- <value name="No MMIO read/write allowed" value="0"/>
- <value name="MMIO read/write to any address" value="2"/>
+ <field name="Reset Gateway Timer" start="71" end="71" type="uint">
+ <value name="Maintaining the existing timestamp state" value="0"/>
+ <value name="Resetting relative timer and latching the global timestamp" value="1"/>
</field>
- <field name="GPGPU Mode" start="66" end="66" type="uint"/>
- <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
+ <field name="Number of URB Entries" start="72" end="79" type="uint"/>
+ <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
<field name="CURBE Allocation Size" start="128" end="143" type="uint"/>
- <field name="Scoreboard Enable" start="191" end="191" type="uint">
- <value name="Scoreboard disabled" value="0"/>
- <value name="Scoreboard enabled" value="1"/>
- </field>
+ <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
+ <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
<field name="Scoreboard Type" start="190" end="190" type="uint">
<value name="Stalling Scoreboard" value="0"/>
<value name="Non-Stalling Scoreboard" value="1"/>
</field>
- <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
- <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
- <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
- <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
- <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
- <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
- <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
+ <field name="Scoreboard Enable" start="191" end="191" type="uint">
+ <value name="Scoreboard disabled" value="0"/>
+ <value name="Scoreboard enabled" value="1"/>
+ </field>
<field name="Scoreboard 0 Delta X" start="192" end="195" type="int"/>
- <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
- <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
- <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
- <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
- <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
- <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
- <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
+ <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
+ <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
+ <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
+ <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
+ <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
+ <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
<field name="Scoreboard 4 Delta X" start="224" end="227" type="int"/>
+ <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
+ <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
+ <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
+ <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
+ <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
+ <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
</instruction>
<instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<group count="8" start="96" size="32">
@@ -1993,139 +1993,139 @@
</instruction>
<instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="7"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="8" start="32" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
- <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
- <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Stream ID" start="32" end="33" type="uint"/>
+ <field name="Slice ID" start="36" end="39" type="uint"/>
+ <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
+ <field name="Intra Slice" start="45" end="45" type="bool"/>
+ <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
+ <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
+ <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
+ <field name="Header Insertion Present" start="49" end="49" type="bool"/>
+ <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
+ <field name="Last Slice" start="51" end="51" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
+ <field name="Rate Control Panic Type" start="54" end="54" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
<field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
- <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
- <field name="Rate Control Panic Type" start="54" end="54" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
- <field name="Last Slice" start="51" end="51" type="bool"/>
- <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
- <field name="Header Insertion Present" start="49" end="49" type="bool"/>
- <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
- <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
- <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
- <field name="Intra Slice" start="45" end="45" type="bool"/>
- <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
- <field name="Slice ID" start="36" end="39" type="uint"/>
- <field name="Stream ID" start="32" end="33" type="uint"/>
- <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
- <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
- <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
<field name="First MB X Count" start="64" end="71" type="uint"/>
- <field name="Slice Group Skip" start="104" end="104" type="bool"/>
+ <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
+ <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
<field name="Slice Group QP" start="96" end="101" type="uint"/>
+ <field name="Slice Group Skip" start="104" end="104" type="bool"/>
<field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
- <field name="Shrink Resistance" start="172" end="175" type="uint"/>
- <field name="Shrink Init" start="168" end="171" type="uint"/>
- <field name="Grow Resistance" start="164" end="167" type="uint"/>
<field name="Grow Init" start="160" end="163" type="uint"/>
- <field name="Correct 6" start="212" end="215" type="uint"/>
- <field name="Correct 5" start="208" end="211" type="uint"/>
- <field name="Correct 4" start="204" end="207" type="uint"/>
- <field name="Correct 3" start="200" end="203" type="uint"/>
- <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Grow Resistance" start="164" end="167" type="uint"/>
+ <field name="Shrink Init" start="168" end="171" type="uint"/>
+ <field name="Shrink Resistance" start="172" end="175" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
<field name="Correct 1" start="192" end="195" type="uint"/>
- <field name="CV7" start="252" end="255" type="uint"/>
- <field name="CV6" start="248" end="251" type="uint"/>
- <field name="CV5" start="244" end="247" type="uint"/>
- <field name="CV4" start="240" end="243" type="uint"/>
- <field name="CV3" start="236" end="239" type="uint"/>
- <field name="CV2" start="232" end="235" type="uint"/>
- <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Correct 3" start="200" end="203" type="uint"/>
+ <field name="Correct 4" start="204" end="207" type="uint"/>
+ <field name="Correct 5" start="208" end="211" type="uint"/>
+ <field name="Correct 6" start="212" end="215" type="uint"/>
<field name="CV0" start="224" end="227" type="uint"/>
+ <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="CV2" start="232" end="235" type="uint"/>
+ <field name="CV3" start="236" end="239" type="uint"/>
+ <field name="CV4" start="240" end="243" type="uint"/>
+ <field name="CV5" start="244" end="247" type="uint"/>
+ <field name="CV6" start="248" end="251" type="uint"/>
+ <field name="CV7" start="252" end="255" type="uint"/>
</instruction>
<instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
<field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
</instruction>
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <group count="16" start="48" size="1">
- <field name="Long Term Frame" start="0" end="0" type="uint"/>
- </group>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="1">
- <field name="Non-Existing Frame" start="0" end="0" type="uint">
- <value name="INVALID" value="1"/>
- <value name="VALID" value="0"/>
- </field>
+ <field name="Non-Existing Frame" start="0" end="0" type="uint">
+ <value name="INVALID" value="1"/>
+ <value name="VALID" value="0"/>
+ </field>
+ </group>
+ <group count="16" start="48" size="1">
+ <field name="Long Term Frame" start="0" end="0" type="uint"/>
</group>
<group count="16" start="64" size="2">
- <field name="Used for Reference" start="0" end="1" type="uint">
- <value name="NOT_REFERENCE" value="0"/>
- <value name="TOP_FIELD" value="1"/>
- <value name="BOTTOM_FIELD" value="2"/>
- <value name="FRAME" value="3"/>
- </field>
+ <field name="Used for Reference" start="0" end="1" type="uint">
+ <value name="NOT_REFERENCE" value="0"/>
+ <value name="TOP_FIELD" value="1"/>
+ <value name="BOTTOM_FIELD" value="2"/>
+ <value name="FRAME" value="3"/>
+ </field>
</group>
<group count="16" start="96" size="16">
- <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
- <value name="Long Term Frame" value="1"/>
- <value name="Short Term Frame" value="0"/>
- </field>
+ <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
+ <value name="Long Term Frame" value="1"/>
+ <value name="Short Term Frame" value="0"/>
+ </field>
</group>
</instruction>
<instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
</instruction>
<instruction name="MFD_IT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
@@ -2138,200 +2138,200 @@
</instruction>
<instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="63" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
- <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="Scan Vertical Position" start="96" end="108" type="uint"/>
- <field name="Interleaved" start="158" end="158" type="bool"/>
- <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="MCU Count" start="128" end="153" type="uint"/>
+ <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Interleaved" start="158" end="158" type="bool"/>
<field name="Restart Interval" start="160" end="175" type="uint"/>
</instruction>
<instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
</instruction>
<instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
- <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
- <field name="Emulation Prevention Byte Present" start="132" end="132" type="bool"/>
+ <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="First MB Bit Offset" start="128" end="130" type="uint"/>
+ <field name="Emulation Prevention Byte Present" start="132" end="132" type="bool"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
</instruction>
<instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width In MBs" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
- <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
- <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
- <field name="Sync Marker" start="76" end="76" type="bool"/>
- <field name="MV Mode" start="72" end="75" type="uint"/>
- <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
- <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
- <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
- <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
<field name="VC1 Profile" start="64" end="64" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="CONDOVER" start="125" end="126" type="uint"/>
- <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
+ <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
+ <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
+ <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
+ <field name="MV Mode" start="72" end="75" type="uint"/>
+ <field name="Sync Marker" start="76" end="76" type="bool"/>
+ <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
+ <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="B Scale Factor" start="96" end="103" type="uint"/>
+ <field name="PQ Value" start="104" end="108" type="uint"/>
+ <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
<field name="Frame Coding Mode" start="120" end="121" type="uint">
<value name="Progressive Frame Picture" value="0"/>
<value name="Interlaced Frame Picture" value="1"/>
<value name="Field Picture with Top Field First" value="2"/>
<value name="Field Picture with Bottom Field First" value="3"/>
</field>
- <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
- <field name="PQ Value" start="104" end="108" type="uint"/>
- <field name="B Scale Factor" start="96" end="103" type="uint"/>
- <field name="Unified MV Mode" start="156" end="157" type="uint">
- <value name="1-MV half-pel bilinear" value="3"/>
- <value name="1-MV" value="1"/>
- <value name="1-MV half-pel" value="2"/>
- <value name="Mixed MV" value="0"/>
+ <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="CONDOVER" start="125" end="126" type="uint"/>
+ <field name="PQ Uniform" start="128" end="128" type="bool"/>
+ <field name="Half QP" start="129" end="129" type="bool"/>
+ <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
+ <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
+ <field name="Extended MV Range" start="136" end="137" type="uint"/>
+ <field name="Extended DMV Range" start="138" end="139" type="uint"/>
+ <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
+ <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
+ <field name="Number of References" start="152" end="152" type="uint">
+ <value name="One field referenced" value="0"/>
+ <value name="Two fields referenced" value="1"/>
</field>
- <field name="Four MV Switch" start="155" end="155" type="uint">
- <value name="Only 1-MV" value="0"/>
- <value name="1, 2, or 4 MVs" value="1"/>
+ <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
+ <value name="Top (even) Field" value="0"/>
+ <value name="Bottom (odd) Field" value="1"/>
</field>
<field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
- <value name="Top (even) Field" value="0"/>
- <value name="Bottom (odd) Field" value="1"/>
+ <field name="Four MV Switch" start="155" end="155" type="uint">
+ <value name="Only 1-MV" value="0"/>
+ <value name="1, 2, or 4 MVs" value="1"/>
</field>
- <field name="Number of References" start="152" end="152" type="uint">
- <value name="One field referenced" value="0"/>
- <value name="Two fields referenced" value="1"/>
+ <field name="Unified MV Mode" start="156" end="157" type="uint">
+ <value name="1-MV half-pel bilinear" value="3"/>
+ <value name="1-MV" value="1"/>
+ <value name="1-MV half-pel" value="2"/>
+ <value name="Mixed MV" value="0"/>
</field>
- <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
- <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
- <field name="Extended DMV Range" start="138" end="139" type="uint"/>
- <field name="Extended MV Range" start="136" end="137" type="uint"/>
- <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
- <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
- <field name="Half QP" start="129" end="129" type="bool"/>
- <field name="PQ Uniform" start="128" end="128" type="bool"/>
- <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
- <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
- <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
- <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
- <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
- <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
- <field name="ACPRED Raw" start="185" end="185" type="bool"/>
- <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
- <field name="MV Table" start="180" end="182" type="uint"/>
- <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
- <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
+ <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
+ <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
+ <field name="MB Mode Table" start="168" end="170" type="uint"/>
+ <field name="MB Transform Type" start="171" end="171" type="bool"/>
<field name="Picture-level Transform Type" start="172" end="173" type="uint">
<value name="8x8 Transform" value="0"/>
<value name="8x4 Transform" value="1"/>
<value name="4x8 Transform" value="2"/>
<value name="4x4 Transform" value="3"/>
</field>
- <field name="MB Transform Type" start="171" end="171" type="bool"/>
- <field name="MB Mode Table" start="168" end="170" type="uint"/>
- <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
- <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
- <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
- <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
+ <field name="MV Table" start="180" end="182" type="uint"/>
+ <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
+ <field name="ACPRED Raw" start="185" end="185" type="bool"/>
+ <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
+ <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
+ <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
+ <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
+ <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
+ <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
</instruction>
<instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
- <field name="MV Mode" start="80" end="83" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="Picture Structure" start="64" end="65" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Intra Picture" start="68" end="68" type="bool"/>
+ <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
<field name="VC1 Profile" start="75" end="75" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
- <field name="Intra Picture" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
- <field name="Picture Structure" start="64" end="65" type="uint"/>
- <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
- <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
- <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
- <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
- <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
- <field name="QUANTIZER" start="110" end="111" type="uint"/>
- <field name="MULTIRES Present" start="109" end="109" type="bool"/>
- <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
- <field name="RANGERED Present" start="107" end="107" type="bool"/>
- <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
- <field name="PANSCAN Present" start="103" end="103" type="bool"/>
- <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
- <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="MV Mode" start="80" end="83" type="uint"/>
+ <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
+ <field name="DQUANT" start="97" end="98" type="uint"/>
+ <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
<field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
- <field name="DQUANT" start="97" end="98" type="uint"/>
- <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
- <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
- <field name="4-MV Allowed" start="136" end="136" type="bool"/>
- <field name="POSTPROC" start="135" end="135" type="bool"/>
- <field name="PULLDOWN" start="134" end="134" type="bool"/>
- <field name="INTERLACE" start="133" end="133" type="bool"/>
- <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
- <field name="FINTERFLAG" start="131" end="131" type="bool"/>
- <field name="REFPIC" start="130" end="130" type="bool"/>
- <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
+ <field name="PANSCAN Present" start="103" end="103" type="bool"/>
+ <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
+ <field name="RANGERED Present" start="107" end="107" type="bool"/>
+ <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
+ <field name="MULTIRES Present" start="109" end="109" type="bool"/>
+ <field name="QUANTIZER" start="110" end="111" type="uint"/>
+ <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
+ <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
+ <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
+ <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
+ <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
<field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
+ <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="REFPIC" start="130" end="130" type="bool"/>
+ <field name="FINTERFLAG" start="131" end="131" type="bool"/>
+ <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
+ <field name="INTERLACE" start="133" end="133" type="bool"/>
+ <field name="PULLDOWN" start="134" end="134" type="bool"/>
+ <field name="POSTPROC" start="135" end="135" type="bool"/>
+ <field name="4-MV Allowed" start="136" end="136" type="bool"/>
+ <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
</instruction>
<instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="69" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="67"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="1056" size="32">
<field name="Direct MV Buffer - Address" start="6" end="31" type="address"/>
<field name="Direct MV Buffer - Arbitration Priority Control" start="4" end="5" type="uint">
@@ -2370,118 +2370,118 @@
</instruction>
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="12"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Size" start="32" end="47" type="uint"/>
- <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Frame Width" start="64" end="71" type="uint"/>
- <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
- <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
- <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
- <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
- <value name="DEFAULT" value="0"/>
- <value name="EXPLICIT" value="1"/>
- <value name="IMPLICIT" value="2"/>
- </field>
+ <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Image Structure" start="104" end="105" type="uint">
<value name="Frame Picture" value="0"/>
<value name="Top Field Picture" value="1"/>
<value name="Bottom Field Picture" value="3"/>
<value name="Invalid, not allowed." value="2"/>
</field>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="MB Status Read" start="143" end="143" type="bool"/>
- <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
- <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
+ <value name="DEFAULT" value="0"/>
+ <value name="EXPLICIT" value="1"/>
+ <value name="IMPLICIT" value="2"/>
+ </field>
+ <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
+ <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
+ <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
+ <field name="Field Picure" start="128" end="128" type="bool"/>
+ <field name="MBAFF Mode" start="129" end="129" type="bool"/>
+ <field name="Frame MB Only" start="130" end="130" type="bool"/>
+ <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
+ <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
+ <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
+ <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
+ <field name="MB MV Format" start="136" end="136" type="uint">
+ <value name="IGNORE" value="0"/>
+ <value name="FOLLOW" value="1"/>
+ </field>
<field name="Chroma Format IDC" start="138" end="139" type="uint">
<value name="Monochrome picture" value="0"/>
<value name="4:2:0 picture" value="1"/>
<value name="4:2:2 picture (not supported)" value="2"/>
<value name="4:4:4 picture (not supported)" value="3"/>
</field>
- <field name="MB MV Format" start="136" end="136" type="uint">
- <value name="IGNORE" value="0"/>
- <value name="FOLLOW" value="1"/>
- </field>
- <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
- <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
- <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
- <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
- <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
- <field name="Frame MB Only" start="130" end="130" type="bool"/>
- <field name="MBAFF Mode" start="129" end="129" type="bool"/>
- <field name="Field Picure" start="128" end="128" type="bool"/>
- <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
- <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
- <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
- <field name="Non First Pass" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
+ <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
+ <field name="MB Status Read" start="143" end="143" type="bool"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
+ <field name="Force IPCM Control" start="167" end="167" type="bool"/>
+ <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
- <field name="Force IPCM Control" start="167" end="167" type="bool"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
+ <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
+ <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
+ <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
- <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
- <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
- <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
- <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
<field name="Initial QP Value" start="416" end="423" type="int"/>
- <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
- <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
- <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
- <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
- <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
- <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
- <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
- <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
+ <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
+ <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
<field name="Pic Order Present" start="448" end="448" type="bool"/>
- <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
+ <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
+ <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
+ <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
+ <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
+ <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
+ <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
+ <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
<field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
+ <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
</instruction>
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="32" start="64" size="8">
<field name="Reference List Entry" start="0" end="7" type="uint"/>
@@ -2489,68 +2489,73 @@
</instruction>
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Type" start="32" end="35" type="uint">
<value name="P Slice" value="0"/>
<value name="B Slice" value="1"/>
<value name="I Slice" value="2"/>
</field>
- <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
- <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
- <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
+ <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
+ <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
+ <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
+ <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
+ <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
+ <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
<field name="Direct Prediction Type" start="125" end="125" type="uint">
<value name="Temporal" value="0"/>
<value name="Spatial" value="1"/>
</field>
- <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
- <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
- <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
- <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
- <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
- <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
- <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
<field name="Slice Start MB Number" start="128" end="142" type="uint"/>
- <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
<field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
- <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
- <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Slice ID" start="196" end="199" type="uint"/>
+ <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
+ <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
+ <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
+ <field name="Header Insertion Present" start="209" end="209" type="bool"/>
+ <field name="Last Slice Group" start="211" end="211" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
+ <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
+ <field name="Rate Control Panic Type" start="214" end="214" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
<field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
- <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
- <field name="Rate Control Panic Type" start="214" end="214" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
- <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
- <field name="Last Slice Group" start="211" end="211" type="bool"/>
- <field name="Header Insertion Present" start="209" end="209" type="bool"/>
- <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
- <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
- <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
- <field name="Slice ID" start="196" end="199" type="uint"/>
- <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
<field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
- <field name="Shrink Resistance" start="268" end="271" type="uint"/>
- <field name="Shrink Init" start="264" end="267" type="uint"/>
- <field name="Grow Resistance" start="260" end="263" type="uint"/>
<field name="Grow Init" start="256" end="259" type="uint"/>
- <field name="Round Inter Enable" start="319" end="319" type="bool"/>
- <field name="Round Inter" start="316" end="318" type="uint">
+ <field name="Grow Resistance" start="260" end="263" type="uint"/>
+ <field name="Shrink Init" start="264" end="267" type="uint"/>
+ <field name="Shrink Resistance" start="268" end="271" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
+ <field name="Correct 1" start="288" end="291" type="uint"/>
+ <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Correct 3" start="296" end="299" type="uint"/>
+ <field name="Correct 4" start="300" end="303" type="uint"/>
+ <field name="Correct 5" start="304" end="307" type="uint"/>
+ <field name="Correct 6" start="308" end="311" type="uint"/>
+ <field name="Round Intra" start="312" end="314" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -2561,7 +2566,7 @@
<value name="+8/16" value="7"/>
</field>
<field name="Round Intra Enable" start="315" end="315" type="bool"/>
- <field name="Round Intra" start="312" end="314" type="uint">
+ <field name="Round Inter" start="316" end="318" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -2571,29 +2576,24 @@
<value name="+7/16" value="6"/>
<value name="+8/16" value="7"/>
</field>
- <field name="Correct 6" start="308" end="311" type="uint"/>
- <field name="Correct 5" start="304" end="307" type="uint"/>
- <field name="Correct 4" start="300" end="303" type="uint"/>
- <field name="Correct 3" start="296" end="299" type="uint"/>
- <field name="Correct 2" start="292" end="295" type="uint"/>
- <field name="Correct 1" start="288" end="291" type="uint"/>
- <field name="CV7" start="348" end="351" type="uint"/>
- <field name="CV6" start="344" end="347" type="uint"/>
- <field name="CV5" start="340" end="343" type="uint"/>
- <field name="CV4" start="336" end="339" type="uint"/>
- <field name="CV3" start="332" end="335" type="uint"/>
- <field name="CV2" start="328" end="331" type="uint"/>
- <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="Round Inter Enable" start="319" end="319" type="bool"/>
<field name="CV0" start="320" end="323" type="uint"/>
+ <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="CV2" start="328" end="331" type="uint"/>
+ <field name="CV3" start="332" end="335" type="uint"/>
+ <field name="CV4" start="336" end="339" type="uint"/>
+ <field name="CV5" start="340" end="343" type="uint"/>
+ <field name="CV6" start="344" end="347" type="uint"/>
+ <field name="CV7" start="348" end="351" type="uint"/>
</instruction>
<instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="96"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weight and Offset Select" start="32" end="32" type="uint">
<value name="L0 table" value="0"/>
<value name="L1 table" value="1"/>
@@ -2604,107 +2604,107 @@
</instruction>
<instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="2"/>
- <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="address"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second Highest priority" value="1"/>
<value name="Third Highest Priority" value="2"/>
<value name="Lowest Priority" value="3"/>
</field>
- <field name="MPR Row Store Scratch Buffer - Address" start="70" end="95" type="address"/>
+ <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="address"/>
<field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Bitplane Read Buffer - Address" start="102" end="127" type="address"/>
+ <field name="MPR Row Store Scratch Buffer - Address" start="70" end="95" type="address"/>
<field name="Bitplane Read Buffer - Arbitration Priority Control" start="100" end="101" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
+ <field name="Bitplane Read Buffer - Address" start="102" end="127" type="address"/>
</instruction>
<instruction name="MFX_DBK_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Pre Deblocking Source - Address" start="38" end="63" type="address"/>
- <field name="Pre Deblocking Source - Arbitration Priority Control" start="36" end="37" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="Pre Deblocking Source - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Source - Cacheability Control" start="32" end="33" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Deblocking Control - Address" start="70" end="95" type="address"/>
- <field name="Deblocking Control - Arbitration Priority Control" start="68" end="69" type="uint">
+ <field name="Pre Deblocking Source - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="Pre Deblocking Source - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Control - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Pre Deblocking Source - Address" start="38" end="63" type="address"/>
<field name="Deblocking Control - Cacheability Control" start="64" end="65" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Deblocking - Address" start="102" end="127" type="address"/>
- <field name="Deblocking - Arbitration Priority Control" start="100" end="101" type="uint">
+ <field name="Deblocking Control - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Deblocking Control - Arbitration Priority Control" start="68" end="69" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="Deblocking Control - Address" start="70" end="95" type="address"/>
<field name="Deblocking - Cacheability Control" start="96" end="97" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Deblock Row Store - Address" start="134" end="159" type="address"/>
- <field name="Deblock Row Store - Arbitration Priority Control" start="132" end="133" type="uint">
+ <field name="Deblocking - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="Deblocking - Arbitration Priority Control" start="100" end="101" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblock Row Store - Graphics Data Type" start="130" end="130" type="uint"/>
+ <field name="Deblocking - Address" start="102" end="127" type="address"/>
<field name="Deblock Row Store - Cacheability Control" start="128" end="129" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="Deblock Row Store - Graphics Data Type" start="130" end="130" type="uint"/>
+ <field name="Deblock Row Store - Arbitration Priority Control" start="132" end="133" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="Deblock Row Store - Address" start="134" end="159" type="address"/>
</instruction>
<instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -2719,321 +2719,321 @@
</instruction>
<instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
- <field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="MFX Indirect Bitstream Object - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MFX Indirect Bitstream Object - Cacheability Control" start="32" end="33" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFX Indirect Bitstream Object - Access Upper Bound" start="76" end="95" type="address"/>
- <field name="MFX Indirect MV Object - Address" start="108" end="127" type="address"/>
- <field name="MFX Indirect MV Object - Arbitration Priority Control" start="100" end="101" type="uint">
+ <field name="MFX Indirect Bitstream Object - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFX Indirect MV Object - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
+ <field name="MFX Indirect Bitstream Object - Access Upper Bound" start="76" end="95" type="address"/>
<field name="MFX Indirect MV Object - Cacheability Control" start="96" end="97" type="uint">
<value name="From GTT entry" value="0"/>
<value name="Not cached in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFX Indirect MV Object - Access Upper Bound" start="140" end="159" type="address"/>
- <field name="MFD Indirect IT-COEFF Object - Address" start="172" end="191" type="address"/>
- <field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="164" end="165" type="uint">
+ <field name="MFX Indirect MV Object - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="MFX Indirect MV Object - Arbitration Priority Control" start="100" end="101" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFD Indirect IT-COEFF Object - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="MFX Indirect MV Object - Address" start="108" end="127" type="address"/>
+ <field name="MFX Indirect MV Object - Access Upper Bound" start="140" end="159" type="address"/>
<field name="MFD Indirect IT-COEFF Object - Cacheability Control" start="160" end="161" type="uint">
<value name="From GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="204" end="223" type="address"/>
- <field name="MFD Indirect IT-DBLK Object - Address" start="236" end="255" type="address"/>
- <field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="228" end="229" type="uint">
+ <field name="MFD Indirect IT-COEFF Object - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="164" end="165" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFD Indirect IT-DBLK Object - Graphics Data Type" start="226" end="226" type="uint"/>
+ <field name="MFD Indirect IT-COEFF Object - Address" start="172" end="191" type="address"/>
+ <field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="204" end="223" type="address"/>
<field name="MFD Indirect IT-DBLK Object - Cacheability Control" start="224" end="225" type="uint">
<value name="From GTT entry" value="0"/>
<value name="Not cached in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="268" end="287" type="address"/>
- <field name="MFC Indirect PAK-BSE Object - Address" start="300" end="319" type="address"/>
- <field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="292" end="293" type="uint">
+ <field name="MFD Indirect IT-DBLK Object - Graphics Data Type" start="226" end="226" type="uint"/>
+ <field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="228" end="229" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFC Indirect PAK-BSE Object - Graphics Data Type" start="290" end="290" type="uint"/>
+ <field name="MFD Indirect IT-DBLK Object - Address" start="236" end="255" type="address"/>
+ <field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="268" end="287" type="address"/>
<field name="MFC Indirect PAK-BSE Object - Cacheability Control" start="288" end="289" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="MFC Indirect PAK-BSE Object - Graphics Data Type" start="290" end="290" type="uint"/>
+ <field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="292" end="293" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="MFC Indirect PAK-BSE Object - Address" start="300" end="319" type="address"/>
<field name="MFC Indirect PAK-BSE Object - Access Upper Bound" start="332" end="351" type="address"/>
</instruction>
<instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="829"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huffman Table ID" start="32" end="32" type="uint"/>
<group count="12" start="64" size="8">
- <field name="DC_BITS" start="0" end="7" type="uint"/>
+ <field name="DC_BITS" start="0" end="7" type="uint"/>
</group>
<group count="12" start="160" size="8">
- <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="16" start="256" size="8">
- <field name="AC_BITS" start="0" end="15" type="uint"/>
+ <field name="AC_BITS" start="0" end="15" type="uint"/>
</group>
<group count="160" start="384" size="8">
- <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="2" start="1664" size="8">
- <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Format YUV" start="32" end="34" type="uint"/>
- <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Rotation" start="36" end="37" type="uint"/>
<field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
+ <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
</instruction>
<instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="F_code[1][1]" start="60" end="63" type="uint"/>
- <field name="F_code[1][0]" start="56" end="59" type="uint"/>
- <field name="F_code[0][1]" start="52" end="55" type="uint"/>
- <field name="F_code[0][0]" start="48" end="51" type="uint"/>
- <field name="Intra DC Precision" start="46" end="47" type="uint"/>
- <field name="Picture Structure" start="44" end="45" type="uint">
- <value name="MPEG_TOP_FIELD" value="1"/>
- <value name="MPEG_BOTTOM_FIELD" value="2"/>
- <value name="MPEG_FRAME" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Scan Order" start="38" end="38" type="uint">
+ <value name="MPEG_ZIGZAG_SCAN" value="0"/>
+ <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
</field>
- <field name="Top Field First" start="43" end="43" type="bool"/>
- <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
- <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Intra VLC Format" start="39" end="39" type="uint"/>
<field name="Quantizer Scale Type" start="40" end="40" type="uint">
<value name="MPEG_QSCALE_LINEAR" value="0"/>
<value name="MPEG_QSCALE_NONLINEAR" value="1"/>
</field>
- <field name="Intra VLC Format" start="39" end="39" type="uint"/>
- <field name="Scan Order" start="38" end="38" type="uint">
- <value name="MPEG_ZIGZAG_SCAN" value="0"/>
- <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
+ <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
+ <field name="Top Field First" start="43" end="43" type="bool"/>
+ <field name="Picture Structure" start="44" end="45" type="uint">
+ <value name="MPEG_TOP_FIELD" value="1"/>
+ <value name="MPEG_BOTTOM_FIELD" value="2"/>
+ <value name="MPEG_FRAME" value="3"/>
</field>
- <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
+ <field name="Intra DC Precision" start="46" end="47" type="uint"/>
+ <field name="F_code[0][0]" start="48" end="51" type="uint"/>
+ <field name="F_code[0][1]" start="52" end="55" type="uint"/>
+ <field name="F_code[1][0]" start="56" end="59" type="uint"/>
+ <field name="F_code[1][1]" start="60" end="63" type="uint"/>
+ <field name="Disable Mismatch" start="64" end="64" type="bool"/>
+ <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
<field name="Picture Coding Type" start="73" end="74" type="uint">
<value name="MPEG_I_PICTURE" value="1"/>
<value name="MPEG_P_PICTURE" value="2"/>
<value name="MPEG_B_PICTURE" value="3"/>
</field>
- <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
- <field name="Disable Mismatch" start="64" end="64" type="bool"/>
- <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
+ <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
<field name="Frame Width In MBs" start="96" end="103" type="uint"/>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="Round Inter AC," start="140" end="142" type="uint"/>
- <field name="Round Intra AC" start="136" end="138" type="uint"/>
- <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
<field name="Round Intra DC" start="129" end="130" type="uint"/>
- <field name="Frame Size Control" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Round Intra AC" start="136" end="138" type="uint"/>
+ <field name="Round Inter AC," start="140" end="142" type="uint"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
+ <field name="MBRateControlMask" start="169" end="169" type="uint"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MBRateControlMask" start="169" end="169" type="uint"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Frame Size Control" start="176" end="176" type="uint"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New mode" value="1"/>
+ <value name="New Mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New Mode" value="1"/>
+ <value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
</instruction>
<instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
- <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
- <value name="NO_ACCUMULATION" value="1"/>
- <value name="ACCUMULATE" value="0"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
<field name="Slice Header Indicator" start="46" end="46" type="uint">
<value name="SLICE_HEADER" value="1"/>
<value name="LEGACY" value="0"/>
</field>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
- <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
+ <value name="NO_ACCUMULATION" value="1"/>
+ <value name="ACCUMULATE" value="0"/>
+ </field>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
<group count="0" start="64" size="32">
<field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="24" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="22"/>
- <field name="Pre Deblocking Destination - Address" start="38" end="63" type="address"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Destination - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Post Deblocking Destination - Address" start="70" end="95" type="address"/>
- <field name="Post Deblocking Destination - Arbitration Priority Control" start="68" end="69" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="Post Deblocking Destination - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Pre Deblocking Destination - Address" start="38" end="63" type="address"/>
<field name="Post Deblocking Destination - Cacheability Control" start="64" end="65" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Original Uncompressed Picture Source - Address" start="102" end="127" type="address"/>
- <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="100" end="101" type="uint">
+ <field name="Post Deblocking Destination - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Post Deblocking Destination - Arbitration Priority Control" start="68" end="69" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Original Uncompressed Picture Source - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="Post Deblocking Destination - Address" start="70" end="95" type="address"/>
<field name="Original Uncompressed Picture Source - Cacheability Control" start="96" end="97" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Stream-Out Data Destination - Address" start="134" end="159" type="address"/>
- <field name="Stream-Out Data Destination - Arbitration Priority Control" start="132" end="133" type="uint">
+ <field name="Original Uncompressed Picture Source - Graphics Data Type" start="98" end="98" type="uint"/>
+ <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="100" end="101" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Stream-Out Data Destination - Graphics Data Type" start="130" end="130" type="uint"/>
+ <field name="Original Uncompressed Picture Source - Address" start="102" end="127" type="address"/>
<field name="Stream-Out Data Destination - Cacheability Control" start="128" end="129" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Intra Row Store Scratch Buffer - Address" start="166" end="191" type="address"/>
- <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="164" end="165" type="uint">
+ <field name="Stream-Out Data Destination - Graphics Data Type" start="130" end="130" type="uint"/>
+ <field name="Stream-Out Data Destination - Arbitration Priority Control" start="132" end="133" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Intra Row Store Scratch Buffer - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="Stream-Out Data Destination - Address" start="134" end="159" type="address"/>
<field name="Intra Row Store Scratch Buffer - Cacheability Control" start="160" end="161" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Deblocking Filter Row Store Scratch Buffer - Address" start="198" end="223" type="address"/>
- <field name="Deblocking Filter Row Store Scratch Buffer - Arbitration Priority Control" start="196" end="197" type="uint">
+ <field name="Intra Row Store Scratch Buffer - Graphics Data Type" start="162" end="162" type="uint"/>
+ <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="164" end="165" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Filter Row Store Scratch Buffer - Graphics Data Type" start="194" end="194" type="uint"/>
+ <field name="Intra Row Store Scratch Buffer - Address" start="166" end="191" type="address"/>
<field name="Deblocking Filter Row Store Scratch Buffer - Cacheability Control" start="192" end="193" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="Deblocking Filter Row Store Scratch Buffer - Graphics Data Type" start="194" end="194" type="uint"/>
+ <field name="Deblocking Filter Row Store Scratch Buffer - Arbitration Priority Control" start="196" end="197" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="Deblocking Filter Row Store Scratch Buffer - Address" start="198" end="223" type="address"/>
<group count="16" start="224" size="32">
<field name="Reference Picture - Address" start="6" end="31" type="address"/>
<field name="Reference Picture - Arbitration Priority Control" start="4" end="5" type="uint">
@@ -3050,65 +3050,65 @@
<value name="Both LLC and MLC" value="3"/>
</field>
</group>
- <field name="MB Status Buffer - Address" start="742" end="767" type="address"/>
- <field name="MB Status Buffer - Arbitration Priority Control" start="740" end="741" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="MB Status Buffer - Graphics Data Type" start="738" end="738" type="uint"/>
<field name="MB Status Buffer - Cacheability Control" start="736" end="737" type="uint">
<value name="GTT" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="MB Status Buffer - Graphics Data Type" start="738" end="738" type="uint"/>
+ <field name="MB Status Buffer - Arbitration Priority Control" start="740" end="741" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="MB Status Buffer - Address" start="742" end="767" type="address"/>
</instruction>
<instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
- <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
- <value name="Short Format Driver Interface" value="0"/>
- <value name="Long Format Driver Interface" value="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
+ <value name="MPEG2" value="0"/>
+ <value name="VC1" value="1"/>
+ <value name="AVC" value="2"/>
+ <value name="JPEG" value="3"/>
+ </field>
+ <field name="Codec Select" start="36" end="36" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
</field>
+ <field name="Stitch Mode" start="37" end="37" type="bool"/>
+ <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
+ <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
+ <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
+ <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
<field name="Decoder Mode select" start="47" end="48" type="uint">
<value name="VLD Mode" value="0"/>
<value name="IT Mode" value="1"/>
<value name="Deblocker Mode" value="2"/>
<value name="Interlayer Mode" value="3"/>
</field>
- <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
- <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
- <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
- <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
- <field name="Stitch Mode" start="37" end="37" type="bool"/>
- <field name="Codec Select" start="36" end="36" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
- </field>
- <field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
- <value name="MPEG2" value="0"/>
- <value name="VC1" value="1"/>
- <value name="AVC" value="2"/>
- <value name="JPEG" value="3"/>
+ <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
+ <value name="Short Format Driver Interface" value="0"/>
+ <value name="Long Format Driver Interface" value="1"/>
</field>
+ <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -3123,27 +3123,27 @@
</instruction>
<instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="State Pointer" start="37" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="State Pointer Index" start="32" end="33" type="uint"/>
+ <field name="State Pointer" start="37" end="63" type="uint"/>
</instruction>
<instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
- <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
+ <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
<field name="Indirect Data Length" start="64" end="82" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<group count="0" start="128" size="32">
@@ -3152,15 +3152,23 @@
</instruction>
<instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Height" start="82" end="95" type="uint"/>
- <field name="Width" start="68" end="81" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="uint"/>
+ <field name="Width" start="68" end="81" type="uint"/>
+ <field name="Height" start="82" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Interleave Chroma" start="123" end="123" type="bool"/>
<field name="Surface Format" start="124" end="127" type="uint">
<value name="YCRCB_NORMAL" value="0"/>
<value name="YCRCB_SWAPUVY" value="1"/>
@@ -3176,130 +3184,122 @@
<value name="R8_UNORM (Cr/Cb)" value="11"/>
<value name="Y8_UNORM" value="12"/>
</field>
- <field name="Interleave Chroma" start="123" end="123" type="bool"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
- <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
- <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
+ <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
+ <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
</instruction>
<instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
- <field name="Direct MV Write Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="Direct MV Write Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Direct MV Write Buffer - Cacheability Control" start="32" end="33" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
- <field name="Direct MV Read Buffer - Address" start="70" end="95" type="address"/>
- <field name="Direct MV Read Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
+ <field name="Direct MV Write Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
+ <field name="Direct MV Write Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Direct MV Read Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
<field name="Direct MV Read Buffer - Cacheability Control" start="64" end="65" type="uint">
<value name="GTT entry" value="0"/>
<value name="Not in LLC or MLC" value="1"/>
<value name="In LLC but not MLC" value="2"/>
<value name="Both LLC and MLC" value="3"/>
</field>
+ <field name="Direct MV Read Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
+ <field name="Direct MV Read Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="Direct MV Read Buffer - Address" start="70" end="95" type="address"/>
</instruction>
<instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
- <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
- <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
- <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
- <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
- <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
- <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
+ <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
+ <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
<field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
- <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
- <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
- <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
+ <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
<field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
- <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
- <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
- <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
+ <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
<field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
- <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
- <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
- <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
+ <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
<field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
+ <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
+ <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
</instruction>
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
- <field name="MFX Sync Control Flag" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MFX Sync Control Flag" start="8" end="8" type="bool"/>
+ <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
+ <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="MI_ARB_CHECK" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ARB_ON_OFF" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
<field name="Arbitration Enable" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_START" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
- <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
<value name="GGTT" value="0"/>
<value name="PPGTT" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Batch Buffer Start Address" start="34" end="63" type="address"/>
</instruction>
<instruction name="MI_CLFLUSH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="9" type="uint" default="1"/>
- <field name="Page Base Address" start="44" end="63" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
+ <field name="Page Base Address" start="44" end="63" type="address"/>
<field name="Page Base Address High" start="64" end="79" type="address"/>
<group count="0" start="96" size="32">
<field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
@@ -3307,59 +3307,59 @@
</instruction>
<instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Compare Data Dword" start="32" end="63" type="uint"/>
<field name="Compare Address" start="67" end="95" type="address"/>
</instruction>
<instruction name="MI_FLUSH" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
- <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
- <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
- <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
- <value name="Don't Reset" value="0"/>
- <value name="Reset" value="1"/>
+ <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
+ <value name="Don't Invalidate" value="0"/>
+ <value name="Invalidate" value="1"/>
</field>
<field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
<value name="Flush" value="0"/>
<value name="Don't Flush" value="1"/>
</field>
- <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
- <value name="Don't Invalidate" value="0"/>
- <value name="Invalidate" value="1"/>
+ <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
+ <value name="Don't Reset" value="0"/>
+ <value name="Reset" value="1"/>
</field>
+ <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_FLUSH_DW" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
- <field name="Store Data Index" start="21" end="21" type="bool"/>
- <field name="TLB Invalidate" start="18" end="18" type="bool"/>
- <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
- <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint"/>
- <field name="Address" start="35" end="63" type="address"/>
+ <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
+ <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
+ <field name="TLB Invalidate" start="18" end="18" type="bool"/>
+ <field name="Store Data Index" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="63" type="address"/>
<group count="2" start="64" size="32">
<field name="Immediate Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="54" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -3369,29 +3369,28 @@
</instruction>
<instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Async Mode Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Async Mode Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
<instruction name="MI_NOOP" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
- <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
<field name="Identification Number" start="0" end="21" type="uint"/>
+ <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
- <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
- <value name="KEEP" value="0"/>
- <value name="LOAD" value="2"/>
- <value name="LOADINV" value="3"/>
+ <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
+ <value name="TRUE" value="0"/>
+ <value name="FALSE" value="1"/>
+ <value name="SRCS_EQUAL" value="2"/>
+ <value name="DELTAS_EQUAL" value="3"/>
</field>
<field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
<value name="SET" value="0"/>
@@ -3399,293 +3398,339 @@
<value name="OR" value="2"/>
<value name="XOR" value="3"/>
</field>
- <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
- <value name="TRUE" value="0"/>
- <value name="FALSE" value="1"/>
- <value name="SRCS_EQUAL" value="2"/>
- <value name="DELTAS_EQUAL" value="3"/>
+ <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
+ <value name="KEEP" value="0"/>
+ <value name="LOAD" value="2"/>
+ <value name="LOADINV" value="3"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_HEAD" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_PERF_COUNT" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
<field name="DWord Length" start="0" end="5" type="uint" default="1"/>
- <field name="Memory Address" start="38" end="63" type="address"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Use Global GTT" start="32" end="32" type="bool"/>
+ <field name="Memory Address" start="38" end="63" type="address"/>
<field name="Report ID" start="64" end="95" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_MBOX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Register Select" start="16" end="17" type="uint">
<value name="RVSYNC" value="0"/>
<value name="RBSYNC" value="2"/>
<value name="Use General Register Select" value="3"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
</instruction>
<instruction name="MI_SET_CONTEXT" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Logical Context Address" start="44" end="63" type="address"/>
- <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
- <field name="Extended State Save Enable" start="35" end="35" type="bool"/>
- <field name="Extended State Restore Enable" start="34" end="34" type="bool"/>
- <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Restore Inhibit" start="32" end="32" type="uint"/>
+ <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="Extended State Restore Enable" start="34" end="34" type="bool"/>
+ <field name="Extended State Save Enable" start="35" end="35" type="bool"/>
+ <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
+ <field name="Logical Context Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
- <field name="Address" start="66" end="95" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="64" end="64" type="uint"/>
+ <field name="Address" start="66" end="95" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Offset" start="34" end="43" type="uint"/>
<field name="Data DWord 0" start="64" end="95" type="uint"/>
<field name="Data DWord 1" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
<instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
<field name="Suspend Flush" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
<field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Clear Length" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="32" end="45" type="offset"/>
+ <field name="URB Clear Length" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_USER_INTERRUPT" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter|video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
- <field name="Display Pipe C Horizontal Blank Wait Enable" start="22" end="22" type="bool"/>
- <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
- <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
+ <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
+ <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
+ <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
+ <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
+ <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
+ <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
+ <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
+ <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
+ <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
+ <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
<field name="Condition Code Wait Select" start="16" end="19" type="uint">
<value name="Not enabled" value="0"/>
</field>
- <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
- <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
- <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
- <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
- <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
- <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
- <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
- <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
- <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
- <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
- <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
- <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
+ <field name="Display Pipe C Horizontal Blank Wait Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="Pipeline Selection" start="0" end="1" type="uint">
<value name="3D" value="0"/>
<value name="Media" value="1"/>
<value name="GPGPU" value="2"/>
</field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
- <value name="No LRI Operation" value="0"/>
- <value name="MMIO Write Immediate Data" value="1"/>
- </field>
- <field name="Store Data Index" start="53" end="53" type="uint"/>
- <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
- <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
- <field name="TLB Invalidate" start="50" end="50" type="bool"/>
- <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
+ <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
+ <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
+ <field name="DC Flush Enable" start="37" end="37" type="bool"/>
+ <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
+ <field name="Notify Enable" start="40" end="40" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
+ <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
+ <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
+ <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
<field name="Post Sync Operation" start="46" end="47" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
- <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
- <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
- <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
- <field name="Notify Enable" start="40" end="40" type="bool"/>
- <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
- <field name="DC Flush Enable" start="37" end="37" type="bool"/>
- <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
- <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
- <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
- <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+ <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+ <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
+ <field name="Store Data Index" start="53" end="53" type="uint"/>
+ <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
+ <value name="No LRI Operation" value="0"/>
+ <value name="MMIO Write Immediate Data" value="1"/>
+ </field>
+ <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
<field name="Address" start="66" end="95" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="10" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="8"/>
- <field name="General State Base Address" start="44" end="63" type="address"/>
- <field name="General State MOCS" start="40" end="43" type="uint"/>
- <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
- <field name="Stateless Data Port Access Force Write Thru" start="35" end="35" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
- <field name="Surface State Base Address" start="76" end="95" type="address"/>
- <field name="Surface State MOCS" start="72" end="75" type="uint"/>
+ <field name="Stateless Data Port Access Force Write Thru" start="35" end="35" type="uint"/>
+ <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
+ <field name="General State MOCS" start="40" end="43" type="uint"/>
+ <field name="General State Base Address" start="44" end="63" type="address"/>
<field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
- <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
- <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
+ <field name="Surface State MOCS" start="72" end="75" type="uint"/>
+ <field name="Surface State Base Address" start="76" end="95" type="address"/>
<field name="Dynamic State Base Address Modify Enable" start="96" end="96" type="bool"/>
- <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
- <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
+ <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
+ <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="Instruction Base Address" start="172" end="191" type="address"/>
- <field name="Instruction MOCS" start="168" end="171" type="uint"/>
+ <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
+ <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
<field name="Instruction Base Address Modify Enable" start="160" end="160" type="bool"/>
- <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
+ <field name="Instruction MOCS" start="168" end="171" type="uint"/>
+ <field name="Instruction Base Address" start="172" end="191" type="address"/>
<field name="General State Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
- <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
+ <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
<field name="Dynamic State Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
- <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
+ <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
<field name="Indirect Object Access Upper Bound Modify Enable" start="256" end="256" type="bool"/>
- <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
+ <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
<field name="Instruction Access Upper Bound Modify Enable" start="288" end="288" type="bool"/>
+ <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
</instruction>
<instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Prefetch Pointer" start="38" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Prefetch Count" start="32" end="34" type="uint"/>
+ <field name="Prefetch Pointer" start="38" end="63" type="address"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="63" type="offset"/>
</instruction>
<instruction name="SWTESS_BASE_ADDRESS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="SW Tessellation Base Address" start="44" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SW Tessellation MOCS" start="40" end="43" type="uint"/>
+ <field name="SW Tessellation Base Address" start="44" end="63" type="address"/>
</instruction>
- <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
- <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_FAULT_REG" length="1" num="0x4294">
+ <field name="Valid Bit" start="0" end="0" type="bool"/>
+ <field name="Fault Type" start="1" end="2" type="uint">
+ <value name="Page Fault" value="0"/>
+ <value name="Invalid PD Fault" value="1"/>
+ <value name="Unloaded PD Fault" value="2"/>
+ <value name="Invalid and Unloaded PD fault" value="3"/>
+ </field>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="GTTSEL" start="11" end="11" type="uint">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
</register>
- <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
- <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_INSTDONE" length="1" num="0x2206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="Blitter IDLE" start="1" end="1" type="bool"/>
+ <field name="GAB IDLE" start="2" end="2" type="bool"/>
+ <field name="BCS Done" start="3" end="3" type="bool"/>
</register>
- <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
- <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
- <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
+ <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
+ <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
+ <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
<register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
<field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
- <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="ERR_INT" length="1" num="0x44040">
+ <field name="Primary A GTT Fault Status" start="0" end="0" type="bool"/>
+ <field name="Primary B GTT Fault Status" start="1" end="1" type="bool"/>
+ <field name="Sprite A GTT Fault Status" start="2" end="2" type="bool"/>
+ <field name="Sprite B GTT Fault Status" start="3" end="3" type="bool"/>
+ <field name="Cursor A GTT Fault Status" start="4" end="4" type="bool"/>
+ <field name="Cursor B GTT Fault Status" start="5" end="5" type="bool"/>
+ <field name="Invalid page table entry data" start="6" end="6" type="bool"/>
+ <field name="Invalid GTT page table entry" start="7" end="7" type="bool"/>
</register>
- <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
- <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
+ <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
+ <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
+ <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
+ <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
+ <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
+ <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
+ <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
+ <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
+ <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
</register>
- <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
- <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
+ <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
- <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
+ <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
- <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
+ <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
- <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
+ <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="BCS_INSTDONE" length="1" num="0x2206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="Blitter IDLE" start="1" end="1" type="bool"/>
- <field name="GAB IDLE" start="2" end="2" type="bool"/>
- <field name="BCS Done" start="3" end="3" type="bool"/>
+ <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
+ <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
</register>
<register name="INSTDONE_1" length="1" num="0x206c">
@@ -3711,57 +3756,74 @@
<field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
</register>
- <register name="VCS_INSTDONE" length="1" num="0x1206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="USB Done" start="1" end="1" type="bool"/>
- <field name="QRC Done" start="2" end="2" type="bool"/>
- <field name="SEC Done" start="3" end="3" type="bool"/>
- <field name="MPC Done" start="4" end="4" type="bool"/>
- <field name="VFT Done" start="5" end="5" type="bool"/>
- <field name="BSP Done" start="6" end="6" type="bool"/>
- <field name="VLF Done" start="7" end="7" type="bool"/>
- <field name="VOP Done" start="8" end="8" type="bool"/>
- <field name="VMC Done" start="9" end="9" type="bool"/>
- <field name="VIP Done" start="10" end="10" type="bool"/>
- <field name="VIT Done" start="11" end="11" type="bool"/>
- <field name="VDS Done" start="12" end="12" type="bool"/>
- <field name="VMX Done" start="13" end="13" type="bool"/>
- <field name="VCP Done" start="14" end="14" type="bool"/>
- <field name="VCD Done" start="15" end="15" type="bool"/>
- <field name="VAD Done" start="16" end="16" type="bool"/>
- <field name="VMD Done" start="17" end="17" type="bool"/>
- <field name="VIS Done" start="18" end="18" type="bool"/>
- <field name="VAC Done" start="19" end="19" type="bool"/>
- <field name="VAM Done" start="20" end="20" type="bool"/>
- <field name="JPG Done" start="21" end="21" type="bool"/>
- <field name="VBP Done" start="22" end="22" type="bool"/>
- <field name="VHR Done" start="23" end="23" type="bool"/>
- <field name="VCI Done" start="24" end="24" type="bool"/>
- <field name="VCR Done" start="25" end="25" type="bool"/>
- <field name="VIN Done" start="26" end="26" type="bool"/>
- <field name="VPR Done" start="27" end="27" type="bool"/>
- <field name="VTQ Done" start="28" end="28" type="bool"/>
- <field name="VCS Done" start="30" end="30" type="bool"/>
- <field name="GAC Done" start="31" end="31" type="bool"/>
+ <register name="INSTPM" length="1" num="0x20c0">
+ <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
+ <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
+ <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
+ <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
+ <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
+ <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
</register>
- <register name="SC_INSTDONE" length="1" num="0x7100">
- <field name="SVL Done" start="0" end="0" type="bool"/>
- <field name="WMFE Done" start="1" end="1" type="bool"/>
- <field name="WMBE Done" start="2" end="2" type="bool"/>
- <field name="HIZ Done" start="3" end="3" type="bool"/>
- <field name="STC Done" start="4" end="4" type="bool"/>
- <field name="IZ Done" start="5" end="5" type="bool"/>
- <field name="SBE Done" start="6" end="6" type="bool"/>
- <field name="RCZ Done" start="8" end="8" type="bool"/>
- <field name="RCC Done" start="9" end="9" type="bool"/>
- <field name="RCPBE Done" start="10" end="10" type="bool"/>
- <field name="RCPFE Done" start="11" end="11" type="bool"/>
- <field name="DAPB Done" start="12" end="12" type="bool"/>
- <field name="DAPRBE Done" start="13" end="13" type="bool"/>
- <field name="IECP Done" start="14" end="14" type="bool"/>
- <field name="SARB Done" start="15" end="15" type="bool"/>
- <field name="VSC Done" start="16" end="16" type="bool"/>
+ <register name="L3CNTLREG2" length="1" num="0xb020">
+ <field name="SLM Enable" start="0" end="0" type="uint"/>
+ <field name="URB Allocation" start="1" end="6" type="uint"/>
+ <field name="URB Low Bandwidth" start="7" end="7" type="uint"/>
+ <field name="ALL Allocation" start="8" end="13" type="uint"/>
+ <field name="RO Allocation" start="14" end="19" type="uint"/>
+ <field name="RO Low Bandwidth" start="20" end="20" type="uint"/>
+ <field name="DC Allocation" start="21" end="26" type="uint"/>
+ <field name="DC Low Bandwidth" start="27" end="27" type="uint"/>
+ </register>
+
+ <register name="L3CNTLREG3" length="1" num="0xb024">
+ <field name="IS Allocation" start="1" end="6" type="uint"/>
+ <field name="IS Low Bandwidth" start="7" end="7" type="uint"/>
+ <field name="C Allocation" start="8" end="13" type="uint"/>
+ <field name="C Low Bandwidth" start="14" end="14" type="uint"/>
+ <field name="T Allocation" start="15" end="20" type="uint"/>
+ <field name="T Low Bandwidth" start="21" end="21" type="uint"/>
+ </register>
+
+ <register name="L3SQCREG1" length="1" num="0xb010">
+ <field name="Convert DC_UC" start="24" end="24" type="uint"/>
+ <field name="Convert IS_UC" start="25" end="25" type="uint"/>
+ <field name="Convert C_UC" start="26" end="26" type="uint"/>
+ <field name="Convert T_UC" start="27" end="27" type="uint"/>
+ </register>
+
+ <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
+ <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="RCS_FAULT_REG" length="1" num="0x4094">
+ <field name="Valid Bit" start="0" end="0" type="bool"/>
+ <field name="Fault Type" start="1" end="2" type="uint">
+ <value name="Page Fault" value="0"/>
+ <value name="Invalid PD Fault" value="1"/>
+ <value name="Unloaded PD Fault" value="2"/>
+ <value name="Invalid and Unloaded PD fault" value="3"/>
+ </field>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="GTTSEL" start="11" end="11" type="uint">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
+ </register>
+
+ <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
<register name="ROW_INSTDONE" length="1" num="0xe164">
@@ -3806,31 +3868,23 @@
<field name="SVSM Adapter" start="18" end="18" type="bool"/>
</register>
- <register name="L3SQCREG1" length="1" num="0xb010">
- <field name="Convert DC_UC" start="24" end="24" type="uint"/>
- <field name="Convert IS_UC" start="25" end="25" type="uint"/>
- <field name="Convert C_UC" start="26" end="26" type="uint"/>
- <field name="Convert T_UC" start="27" end="27" type="uint"/>
- </register>
-
- <register name="L3CNTLREG2" length="1" num="0xb020">
- <field name="SLM Enable" start="0" end="0" type="uint"/>
- <field name="URB Allocation" start="1" end="6" type="uint"/>
- <field name="URB Low Bandwidth" start="7" end="7" type="uint"/>
- <field name="ALL Allocation" start="8" end="13" type="uint"/>
- <field name="RO Allocation" start="14" end="19" type="uint"/>
- <field name="RO Low Bandwidth" start="20" end="20" type="uint"/>
- <field name="DC Allocation" start="21" end="26" type="uint"/>
- <field name="DC Low Bandwidth" start="27" end="27" type="uint"/>
- </register>
-
- <register name="L3CNTLREG3" length="1" num="0xb024">
- <field name="IS Allocation" start="1" end="6" type="uint"/>
- <field name="IS Low Bandwidth" start="7" end="7" type="uint"/>
- <field name="C Allocation" start="8" end="13" type="uint"/>
- <field name="C Low Bandwidth" start="14" end="14" type="uint"/>
- <field name="T Allocation" start="15" end="20" type="uint"/>
- <field name="T Low Bandwidth" start="21" end="21" type="uint"/>
+ <register name="SC_INSTDONE" length="1" num="0x7100">
+ <field name="SVL Done" start="0" end="0" type="bool"/>
+ <field name="WMFE Done" start="1" end="1" type="bool"/>
+ <field name="WMBE Done" start="2" end="2" type="bool"/>
+ <field name="HIZ Done" start="3" end="3" type="bool"/>
+ <field name="STC Done" start="4" end="4" type="bool"/>
+ <field name="IZ Done" start="5" end="5" type="bool"/>
+ <field name="SBE Done" start="6" end="6" type="bool"/>
+ <field name="RCZ Done" start="8" end="8" type="bool"/>
+ <field name="RCC Done" start="9" end="9" type="bool"/>
+ <field name="RCPBE Done" start="10" end="10" type="bool"/>
+ <field name="RCPFE Done" start="11" end="11" type="bool"/>
+ <field name="DAPB Done" start="12" end="12" type="bool"/>
+ <field name="DAPRBE Done" start="13" end="13" type="bool"/>
+ <field name="IECP Done" start="14" end="14" type="bool"/>
+ <field name="SARB Done" start="15" end="15" type="bool"/>
+ <field name="VSC Done" start="16" end="16" type="bool"/>
</register>
<register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
@@ -3881,61 +3935,6 @@
<field name="Write Offset" start="2" end="31" type="offset"/>
</register>
- <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
- <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
- <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
- <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
- <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
- <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
- <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
- <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
- <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
- <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
- </register>
-
- <register name="ERR_INT" length="1" num="0x44040">
- <field name="Primary A GTT Fault Status" start="0" end="0" type="bool"/>
- <field name="Primary B GTT Fault Status" start="1" end="1" type="bool"/>
- <field name="Sprite A GTT Fault Status" start="2" end="2" type="bool"/>
- <field name="Sprite B GTT Fault Status" start="3" end="3" type="bool"/>
- <field name="Cursor A GTT Fault Status" start="4" end="4" type="bool"/>
- <field name="Cursor B GTT Fault Status" start="5" end="5" type="bool"/>
- <field name="Invalid page table entry data" start="6" end="6" type="bool"/>
- <field name="Invalid GTT page table entry" start="7" end="7" type="bool"/>
- </register>
-
- <register name="BCS_FAULT_REG" length="1" num="0x4294">
- <field name="Valid Bit" start="0" end="0" type="bool"/>
- <field name="Fault Type" start="1" end="2" type="uint">
- <value name="Page Fault" value="0"/>
- <value name="Invalid PD Fault" value="1"/>
- <value name="Unloaded PD Fault" value="2"/>
- <value name="Invalid and Unloaded PD fault" value="3"/>
- </field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
- <field name="GTTSEL" start="11" end="11" type="uint">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
- </register>
-
- <register name="RCS_FAULT_REG" length="1" num="0x4094">
- <field name="Valid Bit" start="0" end="0" type="bool"/>
- <field name="Fault Type" start="1" end="2" type="uint">
- <value name="Page Fault" value="0"/>
- <value name="Invalid PD Fault" value="1"/>
- <value name="Unloaded PD Fault" value="2"/>
- <value name="Invalid and Unloaded PD fault" value="3"/>
- </field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
- <field name="GTTSEL" start="11" end="11" type="uint">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
- </register>
-
<register name="VCS_FAULT_REG" length="1" num="0x4194">
<field name="Valid Bit" start="0" end="0" type="bool"/>
<field name="Fault Type" start="1" end="2" type="uint">
@@ -3944,7 +3943,7 @@
<value name="Unloaded PD Fault" value="2"/>
<value name="Invalid and Unloaded PD fault" value="3"/>
</field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
<field name="GTTSEL" start="11" end="11" type="uint">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
@@ -3952,30 +3951,38 @@
<field name="Virtual Address of Fault" start="12" end="31" type="address"/>
</register>
- <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
- </register>
-
- <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ <register name="VCS_INSTDONE" length="1" num="0x1206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="USB Done" start="1" end="1" type="bool"/>
+ <field name="QRC Done" start="2" end="2" type="bool"/>
+ <field name="SEC Done" start="3" end="3" type="bool"/>
+ <field name="MPC Done" start="4" end="4" type="bool"/>
+ <field name="VFT Done" start="5" end="5" type="bool"/>
+ <field name="BSP Done" start="6" end="6" type="bool"/>
+ <field name="VLF Done" start="7" end="7" type="bool"/>
+ <field name="VOP Done" start="8" end="8" type="bool"/>
+ <field name="VMC Done" start="9" end="9" type="bool"/>
+ <field name="VIP Done" start="10" end="10" type="bool"/>
+ <field name="VIT Done" start="11" end="11" type="bool"/>
+ <field name="VDS Done" start="12" end="12" type="bool"/>
+ <field name="VMX Done" start="13" end="13" type="bool"/>
+ <field name="VCP Done" start="14" end="14" type="bool"/>
+ <field name="VCD Done" start="15" end="15" type="bool"/>
+ <field name="VAD Done" start="16" end="16" type="bool"/>
+ <field name="VMD Done" start="17" end="17" type="bool"/>
+ <field name="VIS Done" start="18" end="18" type="bool"/>
+ <field name="VAC Done" start="19" end="19" type="bool"/>
+ <field name="VAM Done" start="20" end="20" type="bool"/>
+ <field name="JPG Done" start="21" end="21" type="bool"/>
+ <field name="VBP Done" start="22" end="22" type="bool"/>
+ <field name="VHR Done" start="23" end="23" type="bool"/>
+ <field name="VCI Done" start="24" end="24" type="bool"/>
+ <field name="VCR Done" start="25" end="25" type="bool"/>
+ <field name="VIN Done" start="26" end="26" type="bool"/>
+ <field name="VPR Done" start="27" end="27" type="bool"/>
+ <field name="VTQ Done" start="28" end="28" type="bool"/>
+ <field name="VCS Done" start="30" end="30" type="bool"/>
+ <field name="GAC Done" start="31" end="31" type="bool"/>
</register>
<register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
@@ -3992,16 +3999,7 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="INSTPM" length="1" num="0x20c0">
- <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
- <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
- <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
-
- <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
- <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
- <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
+ <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
+ <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
-
</genxml>
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 109e8af9a65..effdcb1ff64 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -1,5 +1,66 @@
<?xml version="1.0" ?>
<genxml name="HSW" gen="7.5">
+
+ <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"/>
+ <value name="LESS" value="2"/>
+ <value name="EQUAL" value="3"/>
+ <value name="LEQUAL" value="4"/>
+ <value name="GREATER" value="5"/>
+ <value name="NOTEQUAL" value="6"/>
+ <value name="GEQUAL" value="7"/>
+ </enum>
+
+ <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
+ <value name="CLEAR" value="0"/>
+ <value name="NOR" value="1"/>
+ <value name="AND_INVERTED" value="2"/>
+ <value name="COPY_INVERTED" value="3"/>
+ <value name="AND_REVERSE" value="4"/>
+ <value name="INVERT" value="5"/>
+ <value name="XOR" value="6"/>
+ <value name="NAND" value="7"/>
+ <value name="AND" value="8"/>
+ <value name="EQUIV" value="9"/>
+ <value name="NOOP" value="10"/>
+ <value name="OR_INVERTED" value="11"/>
+ <value name="COPY" value="12"/>
+ <value name="OR_REVERSE" value="13"/>
+ <value name="OR" value="14"/>
+ <value name="SET" value="15"/>
+ </enum>
+
<enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
<value name="POINTLIST" value="1"/>
<value name="LINELIST" value="2"/>
@@ -56,17 +117,6 @@
<value name="PATCHLIST_32" value="63"/>
</enum>
- <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
- <value name="NOSTORE" value="0"/>
- <value name="STORE_SRC" value="1"/>
- <value name="STORE_0" value="2"/>
- <value name="STORE_1_FP" value="3"/>
- <value name="STORE_1_INT" value="4"/>
- <value name="STORE_VID" value="5"/>
- <value name="STORE_IID" value="6"/>
- <value name="STORE_PID" value="7"/>
- </enum>
-
<enum name="3D_Stencil_Operation" prefix="STENCILOP">
<value name="KEEP" value="0"/>
<value name="ZERO" value="1"/>
@@ -78,64 +128,15 @@
<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"/>
- <value name="LESS" value="2"/>
- <value name="EQUAL" value="3"/>
- <value name="LEQUAL" value="4"/>
- <value name="GREATER" value="5"/>
- <value name="NOTEQUAL" value="6"/>
- <value name="GEQUAL" value="7"/>
- </enum>
-
- <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
- <value name="CLEAR" value="0"/>
- <value name="NOR" value="1"/>
- <value name="AND_INVERTED" value="2"/>
- <value name="COPY_INVERTED" value="3"/>
- <value name="AND_REVERSE" value="4"/>
- <value name="INVERT" value="5"/>
- <value name="XOR" value="6"/>
- <value name="NAND" value="7"/>
- <value name="AND" value="8"/>
- <value name="EQUIV" value="9"/>
- <value name="NOOP" value="10"/>
- <value name="OR_INVERTED" value="11"/>
- <value name="COPY" value="12"/>
- <value name="OR_REVERSE" value="13"/>
- <value name="OR" value="14"/>
- <value name="SET" value="15"/>
+ <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
+ <value name="NOSTORE" value="0"/>
+ <value name="STORE_SRC" value="1"/>
+ <value name="STORE_0" value="2"/>
+ <value name="STORE_1_FP" value="3"/>
+ <value name="STORE_1_INT" value="4"/>
+ <value name="STORE_VID" value="5"/>
+ <value name="STORE_IID" value="6"/>
+ <value name="STORE_PID" value="7"/>
</enum>
<enum name="Shader Channel Select" prefix="SCS">
@@ -156,11 +157,6 @@
<value name="MIRROR_ONCE" value="5"/>
</enum>
- <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
- <field name="LLC/eLLC Cacheability Control (LLCCC)" start="1" end="2" type="uint"/>
- <field name="L3 Cacheability Control (L3CC)" start="0" end="0" type="uint"/>
- </struct>
-
<struct name="3DSTATE_CONSTANT_BODY" length="6">
<group count="4" start="0" size="16">
<field name="Read Length" start="0" end="15" type="uint"/>
@@ -172,129 +168,44 @@
</struct>
<struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
- <field name="Binding Table Index" start="16" end="23" type="uint"/>
<field name="Surface State Pointer" start="0" end="15" type="offset"/>
+ <field name="Binding Table Index" start="16" end="23" type="uint"/>
</struct>
- <struct name="GATHER_CONSTANT_ENTRY" length="1">
- <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
- <field name="Channel Mask" start="4" end="7" type="uint"/>
- <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
- </struct>
-
- <struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Buffer Access Type" start="20" end="20" type="uint">
- <value name="VERTEXDATA" value="0"/>
- <value name="INSTANCEDATA" value="1"/>
- </field>
- <field name="MOCS" start="16" end="19" type="uint"/>
- <field name="Address Modify Enable" start="14" end="14" type="bool"/>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
- <field name="Buffer Starting Address" start="32" end="63" type="address"/>
- <field name="End Address" start="64" end="95" type="address"/>
- <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
- </struct>
-
- <struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Valid" start="25" end="25" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
- <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
- <field name="Source Element Offset" start="0" end="11" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
- <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
- </struct>
-
- <struct name="SO_DECL" length="1">
- <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
- <field name="Hole Flag" start="11" end="11" type="uint"/>
- <field name="Register Index" start="4" end="9" type="uint"/>
- <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
- </struct>
-
- <struct name="SO_DECL_ENTRY" length="2">
- <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
- <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
- <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
- <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
- </struct>
-
- <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
- <field name="Component Override W" start="15" end="15" type="bool"/>
- <field name="Component Override Z" start="14" end="14" type="bool"/>
- <field name="Component Override Y" start="13" end="13" type="bool"/>
- <field name="Component Override X" start="12" end="12" type="bool"/>
- <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
- <field name="Constant Source" start="9" end="10" type="uint">
- <value name="CONST_0000" value="0"/>
- <value name="CONST_0001_FLOAT" value="1"/>
- <value name="CONST_1111_FLOAT" value="2"/>
- <value name="PRIM_ID" value="3"/>
- </field>
- <field name="Swizzle Select" start="6" end="7" type="uint">
- <value name="INPUTATTR" value="0"/>
- <value name="INPUTATTR_FACING" value="1"/>
- <value name="INPUTATTR_W" value="2"/>
- <value name="INPUTATTR_FACING_W" value="3"/>
- </field>
- <field name="Source Attribute" start="0" end="4" type="uint"/>
- </struct>
-
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
- <struct name="SF_CLIP_VIEWPORT" length="16">
- <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
- <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
- <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
- <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
- <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
- <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
- <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
- <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
- <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
- <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ <struct name="BINDING_TABLE_STATE" length="1">
+ <field name="Surface State Pointer" start="5" end="31" type="offset"/>
</struct>
<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="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"/>
- <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
- <field name="Write Disable Red" start="58" end="58" type="bool"/>
- <field name="Write Disable Green" start="57" end="57" type="bool"/>
- <field name="Write Disable Blue" start="56" end="56" type="bool"/>
- <field name="Logic Op Enable" start="54" end="54" type="bool"/>
- <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
- <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
- <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"/>
+ <field name="Source Blend Factor" start="5" end="9" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="11" end="13" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Alpha Blend Factor" start="15" end="19" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="20" end="24" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Alpha Blend Function" start="26" end="28" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
+ <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
<field name="Color Clamp Range" start="34" end="35" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Y Dither Offset" start="40" end="41" type="uint"/>
+ <field name="X Dither Offset" start="42" end="43" type="uint"/>
+ <field name="Color Dither Enable" start="44" end="44" type="bool"/>
+ <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
+ <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
+ <field name="Logic Op Enable" start="54" end="54" type="bool"/>
+ <field name="Write Disable Blue" start="56" end="56" type="bool"/>
+ <field name="Write Disable Green" start="57" end="57" type="bool"/>
+ <field name="Write Disable Red" start="58" end="58" type="bool"/>
+ <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
+ <field name="AlphaToCoverage Dither Enable" start="61" end="61" type="bool"/>
+ <field name="AlphaToOne Enable" start="62" end="62" type="bool"/>
+ <field name="AlphaToCoverage Enable" start="63" end="63" type="bool"/>
</struct>
<struct name="BLEND_STATE" length="0">
@@ -309,13 +220,13 @@
</struct>
<struct name="COLOR_CALC_STATE" length="6">
- <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
- <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
- <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Test Format" start="0" end="0" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
+ <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
+ <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
+ <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
<field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
<field name="Blend Constant Color Red" start="64" end="95" type="float"/>
@@ -325,41 +236,89 @@
</struct>
<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="3D_Compare_Function"/>
- <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
- <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="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
- <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
- <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
- <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
+ <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
+ <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
+ <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
+ <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
<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="3D_Compare_Function"/>
+ <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
+ <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
+ <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
<field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
+ <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
+ <field name="Depth Test Enable" start="95" end="95" type="bool"/>
+ </struct>
+
+ <struct name="GATHER_CONSTANT_ENTRY" length="1">
+ <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
+ <field name="Channel Mask" start="4" end="7" type="uint"/>
+ <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
+ </struct>
+
+ <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
+ <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
+ <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
+ <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
+ <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
+ <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
+ <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
+ <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
+ <field name="MPR Error Handling" start="12" end="12" type="bool"/>
+ <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
+ <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
+ <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
+ <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
+ <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
+ <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
+ <field name="Init Current MB Number" start="30" end="30" type="uint"/>
+ <field name="Concealment Method" start="31" end="31" type="uint"/>
+ <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
+ <field name="Last Slice" start="35" end="35" type="bool"/>
+ <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
+ <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
+ <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
+ <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
+ <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
+ <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
+ <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
+ <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
+ <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
</struct>
<struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
<field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
- <field name="Single Program Flow" start="50" end="50" type="bool"/>
- <field name="Thread Priority" start="49" end="49" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
+ <field name="Software Exception Enable" start="39" end="39" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
<field name="Floating Point Mode" start="48" end="48" type="uint">
<value name="IEEE-754" value="0"/>
<value name="Alternate" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
- <field name="Software Exception Enable" start="39" end="39" type="bool"/>
- <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
+ <field name="Thread Priority" start="49" end="49" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Single Program Flow" start="50" end="50" type="bool"/>
<field name="Sampler Count" start="66" end="68" type="uint">
<value name="No samplers used" value="0"/>
<value name="Between 1 and 4 samplers used" value="1"/>
@@ -367,33 +326,145 @@
<value name="Between 9 and 12 samplers used" value="3"/>
<value name="Between 13 and 16 samplers used" value="4"/>
</field>
- <field name="Binding Table Pointer" start="101" end="111" type="offset"/>
+ <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
<field name="Binding Table Entry Count" start="96" end="100" type="uint"/>
+ <field name="Binding Table Pointer" start="101" end="111" type="offset"/>
<field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/>
+ <field name="Number of Threads in GPGPU Thread Group" start="160" end="167" type="uint"/>
+ <field name="Shared Local Memory Size" start="176" end="180" type="uint"/>
+ <field name="Barrier Enable" start="181" end="181" type="bool"/>
<field name="Rounding Mode" start="182" end="183" type="uint">
<value name="RTNE" value="0"/>
<value name="RU" value="1"/>
<value name="RD" value="2"/>
<value name="RTZ" value="3"/>
</field>
- <field name="Barrier Enable" start="181" end="181" type="bool"/>
- <field name="Shared Local Memory Size" start="176" end="180" type="uint"/>
- <field name="Number of Threads in GPGPU Thread Group" start="160" end="167" type="uint"/>
<field name="Cross-Thread Constant Data Read Length" start="192" end="199" type="uint"/>
</struct>
- <struct name="PALETTE_ENTRY" length="1">
- <field name="Alpha" start="24" end="31" type="uint"/>
- <field name="Red" start="16" end="23" type="uint"/>
- <field name="Green" start="8" end="15" type="uint"/>
- <field name="Blue" start="0" end="7" type="uint"/>
+ <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
+ <field name="L3 Cacheability Control (L3CC)" start="0" end="0" type="uint"/>
+ <field name="LLC/eLLC Cacheability Control (LLCCC)" start="1" end="2" type="uint"/>
</struct>
- <struct name="BINDING_TABLE_STATE" length="1">
- <field name="Surface State Pointer" start="5" end="31" type="offset"/>
+ <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
+ <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
+ <field name="Last MB" start="3" end="3" type="bool"/>
+ <field name="Last Pic Slice" start="5" end="5" type="bool"/>
+ <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
+ <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
+ <field name="MB Count" start="8" end="15" type="uint"/>
+ <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
+ <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
+ <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
+ <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
+ </struct>
+
+ <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
+ <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
+ <value name="NOOP" value="0x000"/>
+ <value name="LOAD" value="0x080"/>
+ <value name="LOADINV" value="0x480"/>
+ <value name="LOAD0" value="0x081"/>
+ <value name="LOAD1" value="0x481"/>
+ <value name="ADD" value="0x100"/>
+ <value name="SUB" value="0x101"/>
+ <value name="AND" value="0x102"/>
+ <value name="OR" value="0x103"/>
+ <value name="XOR" value="0x104"/>
+ <value name="STORE" value="0x180"/>
+ <value name="STOREINV" value="0x580"/>
+ </field>
+ </struct>
+
+ <struct name="PALETTE_ENTRY" length="1">
+ <field name="Blue" start="0" end="7" type="uint"/>
+ <field name="Green" start="8" end="15" type="uint"/>
+ <field name="Red" start="16" end="23" type="uint"/>
+ <field name="Alpha" start="24" end="31" type="uint"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="8">
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
+ </field>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"/>
+ <field name="Surface Array Spacing" start="10" end="10" type="uint">
+ <value name="ARYSPC_FULL" value="0"/>
+ <value name="ARYSPC_LOD0" value="1"/>
+ </field>
+ <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
+ <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
+ <field name="Tile Walk" start="13" end="13" type="uint">
+ <value name="TILEWALK_XMAJOR" value="0"/>
+ <value name="TILEWALK_YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="14" end="14" type="bool"/>
+ <field name="Surface Horizontal Alignment" start="15" end="15" type="uint">
+ <value name="HALIGN_4" value="0"/>
+ <value name="HALIGN_8" value="1"/>
+ </field>
+ <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
+ <value name="VALIGN_2" value="0"/>
+ <value name="VALIGN_4" value="1"/>
+ </field>
+ <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="Surface Array" start="28" end="28" type="bool"/>
<field name="Surface Type" start="29" end="31" type="uint">
<value name="SURFTYPE_1D" value="0"/>
<value name="SURFTYPE_2D" value="1"/>
@@ -403,85 +474,52 @@
<value name="SURFTYPE_STRBUF" value="5"/>
<value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Surface Array" start="28" end="28" type="bool"/>
- <field name="Surface Format" start="18" end="26" type="uint"/>
- <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
- <value name="VALIGN_2" value="0"/>
- <value name="VALIGN_4" value="1"/>
- </field>
- <field name="Surface Horizontal Alignment" start="15" end="15" type="uint">
- <value name="HALIGN_4" value="0"/>
- <value name="HALIGN_8" value="1"/>
- </field>
- <field name="Tiled Surface" start="14" end="14" type="bool"/>
- <field name="Tile Walk" start="13" end="13" type="uint">
- <value name="TILEWALK_XMAJOR" value="0"/>
- <value name="TILEWALK_YMAJOR" value="1"/>
- </field>
- <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
- <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
- <field name="Surface Array Spacing" start="10" end="10" type="uint">
- <value name="ARYSPC_FULL" value="0"/>
- <value name="ARYSPC_LOD0" value="1"/>
- </field>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"/>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
- </field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
<field name="Surface Base Address" start="32" end="63" type="address"/>
- <field name="Height" start="80" end="93" type="uint"/>
<field name="Width" start="64" end="77" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
- <field name="Integer Surface Format" start="114" end="116" type="uint"/>
+ <field name="Height" start="80" end="93" type="uint"/>
<field name="Surface Pitch" start="96" end="113" type="uint"/>
- <field name="Render Target Rotation" start="157" end="158" type="uint">
- <value name="RTROTATE_0DEG" value="0"/>
- <value name="RTROTATE_90DEG" value="1"/>
- <value name="RTROTATE_270DEG" value="3"/>
+ <field name="Integer Surface Format" start="114" end="116" type="uint"/>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
+ <field name="Strbuf Minimum Array Element" start="128" end="154" type="uint"/>
+ <field name="Number of Multisamples" start="131" end="133" type="uint">
+ <value name="MULTISAMPLECOUNT_1" value="0"/>
+ <value name="MULTISAMPLECOUNT_4" value="2"/>
+ <value name="MULTISAMPLECOUNT_8" value="3"/>
</field>
- <field name="Minimum Array Element" start="146" end="156" type="uint"/>
- <field name="Render Target View Extent" start="135" end="145" type="uint"/>
<field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
<value name="MSFMT_MSS" value="0"/>
<value name="MSFMT_DEPTH_STENCIL" value="1"/>
</field>
- <field name="Number of Multisamples" start="131" end="133" type="uint">
- <value name="MULTISAMPLECOUNT_1" value="0"/>
- <value name="MULTISAMPLECOUNT_4" value="2"/>
- <value name="MULTISAMPLECOUNT_8" value="3"/>
+ <field name="Render Target View Extent" start="135" end="145" type="uint"/>
+ <field name="Minimum Array Element" start="146" end="156" type="uint"/>
+ <field name="Render Target Rotation" start="157" end="158" type="uint">
+ <value name="RTROTATE_0DEG" value="0"/>
+ <value name="RTROTATE_90DEG" value="1"/>
+ <value name="RTROTATE_270DEG" value="3"/>
</field>
- <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
- <field name="Strbuf Minimum Array Element" start="128" end="154" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
- <field name="Y Offset" start="180" end="183" type="uint"/>
- <field name="MOCS" start="176" end="179" type="uint"/>
- <field name="Surface Min LOD" start="164" end="167" type="uint"/>
<field name="MIP Count / LOD" start="160" end="163" type="uint"/>
- <field name="Append Counter Address" start="198" end="223" type="address"/>
+ <field name="Surface Min LOD" start="164" end="167" type="uint"/>
+ <field name="MOCS" start="176" end="179" type="uint"/>
+ <field name="Y Offset" start="180" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
+ <field name="MCS Enable" start="192" end="192" type="bool"/>
+ <field name="Y Offset for UV Plane" start="192" end="205" type="uint"/>
<field name="Append Counter Enable" start="193" end="193" type="bool"/>
- <field name="Auxiliary Surface Base Address" start="204" end="223" type="address"/>
<field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
- <field name="MCS Enable" start="192" end="192" type="bool"/>
- <field name="Reserved: MBZ" start="222" end="223" type="uint"/>
+ <field name="Append Counter Address" start="198" end="223" type="address"/>
+ <field name="Auxiliary Surface Base Address" start="204" end="223" type="address"/>
<field name="X Offset for UV Plane" start="208" end="221" type="uint"/>
- <field name="Y Offset for UV Plane" start="192" end="205" type="uint"/>
- <field name="Red Clear Color" start="255" end="255" type="uint" />
- <field name="Green Clear Color" start="254" end="254" type="uint" />
- <field name="Blue Clear Color" start="253" end="253" type="uint" />
- <field name="Alpha Clear Color" start="252" end="252" type="uint" />
- <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
- <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
- <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
- <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
+ <field name="Reserved: MBZ" start="222" end="223" type="uint"/>
<field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
+ <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
+ <field name="Alpha Clear Color" start="252" end="252" type="uint"/>
+ <field name="Blue Clear Color" start="253" end="253" type="uint"/>
+ <field name="Green Clear Color" start="254" end="254" type="uint"/>
+ <field name="Red Clear Color" start="255" end="255" type="uint"/>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="20">
@@ -489,57 +527,56 @@
<field name="Border Color Float Green" start="32" end="63" type="float"/>
<field name="Border Color Float Blue" start="64" end="95" type="float"/>
<field name="Border Color Float Alpha" start="96" end="127" type="float"/>
-
<field name="Border Color 8bit Red" start="512" end="519" type="uint"/>
+ <field name="Border Color 16bit Red" start="512" end="527" type="uint"/>
+ <field name="Border Color 32bit Red" start="512" end="543" type="uint"/>
<field name="Border Color 8bit Green" start="520" end="527" type="uint"/>
<field name="Border Color 8bit Blue" start="528" end="535" type="uint"/>
- <field name="Border Color 8bit Alpha" start="536" end="543" type="uint"/>
-
- <field name="Border Color 16bit Red" start="512" end="527" type="uint"/>
<field name="Border Color 16bit Green" start="528" end="543" type="uint"/>
- <field name="Border Color 16bit Blue" start="576" end="591" type="uint"/>
- <field name="Border Color 16bit Alpha" start="592" end="607" type="uint"/>
-
- <field name="Border Color 32bit Red" start="512" end="543" type="uint"/>
+ <field name="Border Color 8bit Alpha" start="536" end="543" type="uint"/>
<field name="Border Color 32bit Green" start="544" end="575" type="uint"/>
+ <field name="Border Color 16bit Blue" start="576" end="591" type="uint"/>
<field name="Border Color 32bit Blue" start="576" end="607" type="uint"/>
+ <field name="Border Color 16bit Alpha" start="592" end="607" type="uint"/>
<field name="Border Color 32bit Alpha" start="608" end="639" type="uint"/>
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="Texture Border Color Mode" start="29" end="29" type="uint">
- <value name="DX10/OGL" value="0"/>
- <value name="DX9" value="1"/>
- </field>
- <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
- <value name="OGL" value="1"/>
- </field>
- <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
+ <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
+ <value name="LEGACY" value="0"/>
+ <value name="EWA Approximation" value="1"/>
</field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
- <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
- <value name="LEGACY" value="0"/>
- <value name="EWA Approximation" value="1"/>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
+ </field>
+ <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
+ <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
+ <value name="OGL" value="1"/>
+ </field>
+ <field name="Texture Border Color Mode" start="29" end="29" type="uint">
+ <value name="DX10/OGL" value="0"/>
+ <value name="DX9" value="1"/>
+ </field>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
+ <value name="PROGRAMMED" value="0"/>
+ <value name="OVERRIDE" value="1"/>
</field>
- <field name="Min LOD" start="52" end="63" type="u4.8"/>
- <field name="Max LOD" start="40" end="51" type="u4.8"/>
<field name="Shadow Function" start="33" end="35" type="uint">
<value name="PREFILTEROP ALWAYS" value="0"/>
<value name="PREFILTEROP NEVER" value="1"/>
@@ -550,17 +587,25 @@
<value name="PREFILTEROP NOTEQUAL" value="6"/>
<value name="PREFILTEROP GEQUAL" value="7"/>
</field>
- <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
- <value name="PROGRAMMED" value="0"/>
- <value name="OVERRIDE" value="1"/>
- </field>
+ <field name="Max LOD" start="40" end="51" type="u4.8"/>
+ <field name="Min LOD" start="52" end="63" type="u4.8"/>
<field name="Border Color Pointer" start="69" end="95" type="offset"/>
- <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
- <field name="ChromaKey Index" start="119" end="120" type="uint"/>
- <field name="ChromaKey Mode" start="118" end="118" type="uint">
- <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
- <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
+ <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
+ <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
+ <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
+ <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
+ <value name="FULL" value="0"/>
+ <value name="TRIQUAL_HIGH/MAG_CLAMP_MIPFILTER" value="1"/>
+ <value name="MED" value="2"/>
+ <value name="LOW" value="3"/>
</field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -571,159 +616,112 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
- <value name="FULL" value="0"/>
- <value name="TRIQUAL_HIGH/MAG_CLAMP_MIPFILTER" value="1"/>
- <value name="MED" value="2"/>
- <value name="LOW" value="3"/>
+ <field name="ChromaKey Mode" start="118" end="118" type="uint">
+ <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
+ <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
</field>
- <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
- <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
- <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
- <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="ChromaKey Index" start="119" end="120" type="uint"/>
+ <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
</struct>
- <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
- <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
- <value name="NOOP" value="0x000"/>
- <value name="LOAD" value="0x080"/>
- <value name="LOADINV" value="0x480"/>
- <value name="LOAD0" value="0x081"/>
- <value name="LOAD1" value="0x481"/>
- <value name="ADD" value="0x100"/>
- <value name="SUB" value="0x101"/>
- <value name="AND" value="0x102"/>
- <value name="OR" value="0x103"/>
- <value name="XOR" value="0x104"/>
- <value name="STORE" value="0x180"/>
- <value name="STOREINV" value="0x580"/>
- </field>
- <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
- <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
- <field name="Concealment Method" start="31" end="31" type="uint"/>
- <field name="Init Current MB Number" start="30" end="30" type="uint"/>
- <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
- <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
- <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
- <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
- <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
- <field name="MPR Error Handling" start="12" end="12" type="bool"/>
- <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
- <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
- <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
- <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
- <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
- <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
- <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
- <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
- <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
- <field name="Last Slice" start="35" end="35" type="bool"/>
- <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
+ <struct name="SF_CLIP_VIEWPORT" length="16">
+ <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
+ <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
+ <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
+ <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
+ <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
+ <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
+ <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
+ <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
+ <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ </struct>
+
+ <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
+ <field name="Source Attribute" start="0" end="4" type="uint"/>
+ <field name="Swizzle Select" start="6" end="7" type="uint">
+ <value name="INPUTATTR" value="0"/>
+ <value name="INPUTATTR_FACING" value="1"/>
+ <value name="INPUTATTR_W" value="2"/>
+ <value name="INPUTATTR_FACING_W" value="3"/>
</field>
- <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
- <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
+ <field name="Constant Source" start="9" end="10" type="uint">
+ <value name="CONST_0000" value="0"/>
+ <value name="CONST_0001_FLOAT" value="1"/>
+ <value name="CONST_1111_FLOAT" value="2"/>
+ <value name="PRIM_ID" value="3"/>
</field>
- <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
- <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
+ <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
+ <field name="Component Override X" start="12" end="12" type="bool"/>
+ <field name="Component Override Y" start="13" end="13" type="bool"/>
+ <field name="Component Override Z" start="14" end="14" type="bool"/>
+ <field name="Component Override W" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="SO_DECL" length="1">
+ <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
+ <field name="Register Index" start="4" end="9" type="uint"/>
+ <field name="Hole Flag" start="11" end="11" type="uint"/>
+ <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
+ </struct>
+
+ <struct name="SO_DECL_ENTRY" length="2">
+ <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
+ <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
+ <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
+ <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
+ </struct>
+
+ <struct name="VERTEX_BUFFER_STATE" length="4">
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
+ <field name="Address Modify Enable" start="14" end="14" type="bool"/>
+ <field name="MOCS" start="16" end="19" type="uint"/>
+ <field name="Buffer Access Type" start="20" end="20" type="uint">
+ <value name="VERTEXDATA" value="0"/>
+ <value name="INSTANCEDATA" value="1"/>
</field>
- <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
- <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
- <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
- <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
- <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Buffer Starting Address" start="32" end="63" type="address"/>
+ <field name="End Address" start="64" end="95" type="address"/>
+ <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
</struct>
- <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
- <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
- <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
- <field name="MB Count" start="8" end="15" type="uint"/>
- <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
- <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
- <field name="Last Pic Slice" start="5" end="5" type="bool"/>
- <field name="Last MB" start="3" end="3" type="bool"/>
- <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
- <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
- <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
- <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <struct name="VERTEX_ELEMENT_STATE" length="2">
+ <field name="Source Element Offset" start="0" end="11" type="uint"/>
+ <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="25" end="25" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="End Offset Enable" start="41" end="41" type="bool"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="40" end="40" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
+ <field name="End Offset Enable" start="41" end="41" type="bool"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -732,234 +730,218 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Binding Table Pool Base Address" start="44" end="63" type="address"/>
- <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="39" end="42" type="uint"/>
+ <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="Binding Table Pool Base Address" start="44" end="63" type="address"/>
<field name="Binding Table Pool Upper Bound" start="76" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Blend State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field start="32" end="32" type="mbo"/>
+ <field name="Blend State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field start="32" end="32" type="mbo"/>
+ <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
<field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
<field name="ChromaKey High Value" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="uint"/>
<field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
</instruction>
<instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Front Winding" start="52" end="52" type="uint"/>
- <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint"/>
- <field name="Early Cull Enable" start="50" end="50" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
<field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<value name="BACK" value="3"/>
</field>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
- <field name="Clip Enable" start="95" end="95" type="bool"/>
- <field name="API Mode" start="94" end="94" type="uint">
- <value name="APIMODE_OGL" value="0"/>
- <value name="APIMODE_D3D" value="1"/>
- </field>
- <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
- <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
- <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
- <field name="Clip Mode" start="77" end="79" type="uint">
- <value name="CLIPMODE_NORMAL" value="0"/>
- <value name="CLIPMODE_REJECT_ALL" value="3"/>
- <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
- </field>
- <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
- <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
+ <field name="Early Cull Enable" start="50" end="50" type="bool"/>
+ <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint"/>
+ <field name="Front Winding" start="52" end="52" type="uint"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
@@ -968,68 +950,93 @@
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
</field>
- <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
- <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
- <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
+ <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
+ <field name="Clip Mode" start="77" end="79" type="uint">
+ <value name="CLIPMODE_NORMAL" value="0"/>
+ <value name="CLIPMODE_REJECT_ALL" value="3"/>
+ <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
+ </field>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
+ <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
+ <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
+ <field name="API Mode" start="94" end="94" type="uint">
+ <value name="APIMODE_OGL" value="0"/>
+ <value name="APIMODE_D3D" value="1"/>
+ </field>
+ <field name="Clip Enable" start="95" end="95" type="bool"/>
<field name="Maximum VP Index" start="96" end="99" type="uint"/>
+ <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
+ <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_HS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="49" type="uint"/>
+ <field name="Surface Format" start="50" end="52" type="uint">
+ <value name="D32_FLOAT" value="1"/>
+ <value name="D24_UNORM_X8_UINT" value="3"/>
+ <value name="D16_UNORM" value="5"/>
+ </field>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Write Enable" start="60" end="60" type="bool"/>
<field name="Surface Type" start="61" end="63" type="uint">
<value name="SURFTYPE_1D" value="0"/>
<value name="SURFTYPE_2D" value="1"/>
@@ -1037,67 +1044,67 @@
<value name="SURFTYPE_CUBE" value="3"/>
<value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Depth Write Enable" start="60" end="60" type="bool"/>
- <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
- <field name="Surface Format" start="50" end="52" type="uint">
- <value name="D32_FLOAT" value="1"/>
- <value name="D24_UNORM_X8_UINT" value="3"/>
- <value name="D16_UNORM" value="5"/>
- </field>
- <field name="Surface Pitch" start="32" end="49" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
- <field name="Height" start="114" end="127" type="uint"/>
- <field name="Width" start="100" end="113" type="uint"/>
<field name="LOD" start="96" end="99" type="uint"/>
+ <field name="Width" start="100" end="113" type="uint"/>
+ <field name="Height" start="114" end="127" type="uint"/>
+ <field name="MOCS" start="128" end="131" type="uint"/>
+ <field name="Minimum Array Element" start="138" end="148" type="uint"/>
<field name="Depth" start="149" end="159" type="uint">
<value name="SURFTYPE_CUBE (must be zero)" value="0"/>
</field>
- <field name="Minimum Array Element" start="138" end="148" type="uint"/>
- <field name="MOCS" start="128" end="131" type="uint"/>
- <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
<field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
+ <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
<field name="Render Target View Extent" start="213" end="223" type="uint"/>
</instruction>
<instruction name="3DSTATE_DEPTH_STENCIL_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="37"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pointer to DEPTH_STENCIL_STATE" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="37"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field start="32" end="32" type="mbo"/>
+ <field name="Pointer to DEPTH_STENCIL_STATE" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Core Mode Select" start="14" end="15" type="uint">
<value name="Legacy" value="0"/>
<value name="Core 0 Enabled" value="1"/>
<value name="Core 1 Enabled" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_DS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Domain Point Dispatch" start="95" end="95" type="uint"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Accesses UAV" start="78" end="78" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="81" end="81" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1105,37 +1112,28 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Thread Dispatch Priority" start="81" end="81" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Accesses UAV" start="78" end="78" type="bool"/>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Domain Point Dispatch" start="95" end="95" type="uint"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
- <field name="Patch URB Entry Read Length" start="139" end="145" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Patch URB Entry Read Offset" start="132" end="137" type="uint"/>
- <field name="Maximum Number of Threads" start="181" end="189" type="uint"/>
- <field name="Statistics Enable" start="170" end="170" type="bool"/>
- <field name="Compute W Coordinate Enable" start="162" end="162" type="bool"/>
- <field name="DS Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Patch URB Entry Read Length" start="139" end="145" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
<field name="Enable" start="160" end="160" type="bool"/>
+ <field name="DS Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Compute W Coordinate Enable" start="162" end="162" type="bool"/>
+ <field name="Statistics Enable" start="170" end="170" type="bool"/>
+ <field name="Maximum Number of Threads" start="181" end="189" type="uint"/>
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
@@ -1144,13 +1142,13 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
@@ -1159,13 +1157,13 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
@@ -1174,15 +1172,15 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1190,15 +1188,15 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1206,27 +1204,38 @@
</instruction>
<instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Gather Pool Base Address" start="44" end="63" type="address"/>
- <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
- <field start="36" end="37" type="mbo"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="35" type="uint"/>
+ <field start="36" end="37" type="mbo"/>
+ <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="Gather Pool Base Address" start="44" end="63" type="address"/>
<field name="Gather Pool Upper Bound" start="76" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_GS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Program Flow" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="GS accesses UAV" start="76" end="76" type="uint"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Priority" start="81" end="81" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1234,70 +1243,70 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Thread Priority" start="81" end="81" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="GS accesses UAV" start="76" end="76" type="uint"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Program Flow" start="95" end="95" type="bool"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Output Vertex Size" start="151" end="156" type="uint"/>
- <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/>
- <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
- <field name="Include Vertex Handles" start="138" end="138" type="bool"/>
- <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="128" end="131" type="uint"/>
- <field name="Maximum Number of Threads" start="184" end="191" type="uint"/>
- <field name="Control Data Header Size" start="180" end="183" type="uint"/>
- <field name="Instance Control" start="175" end="179" type="uint"/>
- <field name="Default StreamID" start="173" end="174" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
+ <field name="Include Vertex Handles" start="138" end="138" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/>
+ <field name="Output Vertex Size" start="151" end="156" type="uint"/>
+ <field name="Enable" start="160" end="160" type="bool"/>
+ <field name="Discard Adjacency" start="161" end="161" type="bool"/>
+ <field name="Reorder Mode" start="162" end="162" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Hint" start="163" end="163" type="uint"/>
+ <field name="Include Primitive ID" start="164" end="164" type="bool"/>
+ <field name="GS Invocations Increment Value" start="165" end="169" type="uint"/>
+ <field name="Statistics Enable" start="170" end="170" type="uint"/>
<field name="Dispatch Mode" start="171" end="172" type="uint" prefix="DISPATCH_MODE">
<value name="SINGLE" value="0"/>
<value name="DUAL_INSTANCE" value="1"/>
<value name="DUAL_OBJECT" value="2"/>
</field>
- <field name="Statistics Enable" start="170" end="170" type="uint"/>
- <field name="GS Invocations Increment Value" start="165" end="169" type="uint"/>
- <field name="Include Primitive ID" start="164" end="164" type="bool"/>
- <field name="Hint" start="163" end="163" type="uint"/>
- <field name="Reorder Mode" start="162" end="162" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="Discard Adjacency" start="161" end="161" type="bool"/>
- <field name="Enable" start="160" end="160" type="bool"/>
+ <field name="Default StreamID" start="173" end="174" type="uint"/>
+ <field name="Instance Control" start="175" end="179" type="uint"/>
+ <field name="Control Data Header Size" start="180" end="183" type="uint"/>
+ <field name="Maximum Number of Threads" start="184" end="191" type="uint"/>
+ <field name="Semaphore Handle" start="192" end="204" type="offset"/>
<field name="Control Data Format" start="223" end="223" type="uint">
<value name="GSCTL_CUT" value="0"/>
<value name="GSCTL_SID" value="1"/>
</field>
- <field name="Semaphore Handle" start="192" end="204" type="offset"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_HS" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Maximum Number of Threads" start="32" end="39" type="uint"/>
+ <field name="Software Exception Enable" start="44" end="44" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
+ <field name="Floating Point Mode" start="48" end="48" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
<field name="Sampler Count" start="59" end="61" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1305,241 +1314,230 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="48" end="48" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Software Exception Enable" start="44" end="44" type="bool"/>
- <field name="Maximum Number of Threads" start="32" end="39" type="uint"/>
- <field name="Enable" start="95" end="95" type="bool"/>
- <field name="Statistics Enable" start="93" end="93" type="bool"/>
<field name="Instance Count" start="64" end="67" type="uint"/>
+ <field name="Statistics Enable" start="93" end="93" type="bool"/>
+ <field name="Enable" start="95" end="95" type="bool"/>
<field name="Kernel Start Pointer" start="102" end="127" type="offset"/>
- <field name="Scratch Space Base Pointer" start="138" end="159" type="address"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Single Program Flow" start="187" end="187" type="bool"/>
- <field name="Vector Mask Enable" start="186" end="186" type="bool"/>
- <field name="HS accesses UAV" start="185" end="185" type="bool"/>
- <field name="Include Vertex Handles" start="184" end="184" type="bool"/>
- <field name="Dispatch GRF Start Register For URB Data" start="179" end="183" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="171" end="176" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="159" type="address"/>
<field name="Vertex URB Entry Read Offset" start="164" end="169" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="171" end="176" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="179" end="183" type="uint"/>
+ <field name="Include Vertex Handles" start="184" end="184" type="bool"/>
+ <field name="HS accesses UAV" start="185" end="185" type="bool"/>
+ <field name="Vector Mask Enable" start="186" end="186" type="bool"/>
+ <field name="Single Program Flow" start="187" end="187" type="bool"/>
<field name="Semaphore Handle" start="192" end="204" type="offset"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
- <field name="MOCS" start="12" end="15" type="uint"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MOCS" start="12" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Buffer Starting Address" start="32" end="63" type="address"/>
<field name="Buffer Ending Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
</instruction>
<instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
+ <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
</instruction>
<instruction name="3DSTATE_MULTISAMPLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Multi Sample Enable" start="37" end="37" type="bool"/>
- <field name="Pixel Location" start="36" end="36" type="uint">
- <value name="CENTER" value="0"/>
- <value name="UL_CORNER" value="1"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Multisamples" start="33" end="35" type="uint">
<value name="NUMSAMPLES_1" value="0"/>
<value name="NUMSAMPLES_4" value="2"/>
<value name="NUMSAMPLES_8" value="3"/>
</field>
- <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
- <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
- <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
- <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
- <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
- <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
- <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="Pixel Location" start="36" end="36" type="uint">
+ <value name="CENTER" value="0"/>
+ <value name="UL_CORNER" value="1"/>
+ </field>
+ <field name="Multi Sample Enable" start="37" end="37" type="bool"/>
<field name="Sample0 Y Offset" start="64" end="67" type="u0.4"/>
- <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/>
- <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/>
- <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/>
- <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/>
- <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/>
- <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/>
- <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
+ <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
+ <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
+ <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
+ <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
+ <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
<field name="Sample4 Y Offset" start="96" end="99" type="u0.4"/>
+ <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/>
+ <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/>
+ <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/>
+ <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/>
+ <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/>
+ <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_PS" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer 0" start="38" end="63" type="offset"/>
- <field name="Single Program Flow" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
- <field name="Sampler Count" start="91" end="93" type="uint"/>
- <field name="Denormal Mode" start="90" end="90" type="uint">
- <value name="FTZ" value="0"/>
- <value name="RET" value="1"/>
- </field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Thread Priority" start="81" end="81" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
<field name="Rounding Mode" start="78" end="79" type="uint">
<value name="RTNE" value="0"/>
<value name="RU" value="1"/>
<value name="RD" value="2"/>
<value name="RTZ" value="3"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Priority" start="81" end="81" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
+ <field name="Denormal Mode" start="90" end="90" type="uint">
+ <value name="FTZ" value="0"/>
+ <value name="RET" value="1"/>
+ </field>
+ <field name="Sampler Count" start="91" end="93" type="uint"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Program Flow" start="95" end="95" type="bool"/>
<field name="Per Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Maximum Number of Threads" start="151" end="159" type="uint"/>
- <field name="Sample Mask" start="140" end="147" type="uint"/>
- <field name="Push Constant Enable" start="139" end="139" type="bool"/>
- <field name="Attribute Enable" start="138" end="138" type="bool"/>
- <field name="oMask Present to RenderTarget" start="137" end="137" type="bool"/>
- <field name="Render Target Fast Clear Enable" start="136" end="136" type="bool"/>
- <field name="Dual Source Blend Enable" start="135" end="135" type="bool"/>
- <field name="Render Target Resolve Enable" start="134" end="134" type="bool"/>
- <field name="PS Accesses UAV" start="133" end="133" type="bool"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="128" end="128" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="129" end="129" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="130" end="130" type="bool"/>
<field name="Position XY Offset Select" start="131" end="132" type="uint">
<value name="POSOFFSET_NONE" value="0"/>
<value name="POSOFFSET_CENTROID" value="2"/>
<value name="POSOFFSET_SAMPLE" value="3"/>
</field>
- <field name="32 Pixel Dispatch Enable" start="130" end="130" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="129" end="129" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="128" end="128" type="bool"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="176" end="182" type="uint"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="168" end="174" type="uint"/>
+ <field name="PS Accesses UAV" start="133" end="133" type="bool"/>
+ <field name="Render Target Resolve Enable" start="134" end="134" type="bool"/>
+ <field name="Dual Source Blend Enable" start="135" end="135" type="bool"/>
+ <field name="Render Target Fast Clear Enable" start="136" end="136" type="bool"/>
+ <field name="oMask Present to RenderTarget" start="137" end="137" type="bool"/>
+ <field name="Attribute Enable" start="138" end="138" type="bool"/>
+ <field name="Push Constant Enable" start="139" end="139" type="bool"/>
+ <field name="Sample Mask" start="140" end="147" type="uint"/>
+ <field name="Maximum Number of Threads" start="151" end="159" type="uint"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="160" end="166" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="168" end="174" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="176" end="182" type="uint"/>
<field name="Kernel Start Pointer 1" start="198" end="223" type="offset"/>
<field name="Kernel Start Pointer 2" start="230" end="255" type="offset"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_RAST_MULTISAMPLE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Rasterization Multisamples" start="33" end="35" type="uint" prefix="NRM">
<value name="NUMRASTSAMPLES_1" value="0"/>
<value name="NUMRASTSAMPLES_2" value="1"/>
@@ -1547,57 +1545,57 @@
<value name="NUMRASTSAMPLES_8" value="3"/>
<value name="NUMRASTSAMPLES_16" value="4"/>
</field>
- <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
- <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
- <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
- <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
- <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
- <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
- <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
<field name="Sample0 Y Offset" start="64" end="67" type="u0.4"/>
- <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/>
- <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/>
- <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/>
- <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/>
- <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/>
- <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/>
- <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
+ <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
+ <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
+ <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
+ <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
+ <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
<field name="Sample4 Y Offset" start="96" end="99" type="u0.4"/>
- <field name="Sample11 X Offset" start="156" end="159" type="u0.4"/>
- <field name="Sample11 Y Offset" start="152" end="155" type="u0.4"/>
- <field name="Sample10 X Offset" start="148" end="151" type="u0.4"/>
- <field name="Sample10 Y Offset" start="144" end="147" type="u0.4"/>
- <field name="Sample9 X Offset" start="140" end="143" type="u0.4"/>
- <field name="Sample9 Y Offset" start="136" end="139" type="u0.4"/>
- <field name="Sample8 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/>
+ <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/>
+ <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/>
+ <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/>
+ <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/>
+ <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/>
<field name="Sample8 Y Offset" start="128" end="131" type="u0.4"/>
- <field name="Sample15 X Offset" start="188" end="191" type="u0.4"/>
- <field name="Sample15 Y Offset" start="184" end="187" type="u0.4"/>
- <field name="Sample14 X Offset" start="180" end="183" type="u0.4"/>
- <field name="Sample14 Y Offset" start="176" end="179" type="u0.4"/>
- <field name="Sample13 X Offset" start="172" end="175" type="u0.4"/>
- <field name="Sample13 Y Offset" start="168" end="171" type="u0.4"/>
- <field name="Sample12 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="Sample8 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="Sample9 Y Offset" start="136" end="139" type="u0.4"/>
+ <field name="Sample9 X Offset" start="140" end="143" type="u0.4"/>
+ <field name="Sample10 Y Offset" start="144" end="147" type="u0.4"/>
+ <field name="Sample10 X Offset" start="148" end="151" type="u0.4"/>
+ <field name="Sample11 Y Offset" start="152" end="155" type="u0.4"/>
+ <field name="Sample11 X Offset" start="156" end="159" type="u0.4"/>
<field name="Sample12 Y Offset" start="160" end="163" type="u0.4"/>
+ <field name="Sample12 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="Sample13 Y Offset" start="168" end="171" type="u0.4"/>
+ <field name="Sample13 X Offset" start="172" end="175" type="u0.4"/>
+ <field name="Sample14 Y Offset" start="176" end="179" type="u0.4"/>
+ <field name="Sample14 X Offset" start="180" end="183" type="u0.4"/>
+ <field name="Sample15 Y Offset" start="184" end="187" type="u0.4"/>
+ <field name="Sample15 X Offset" start="188" end="191" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
<field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
@@ -1607,265 +1605,270 @@
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Sample Mask" start="32" end="39" type="uint"/>
</instruction>
<instruction name="3DSTATE_SBE" bias="2" length="14" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
<field name="DWord Length" start="0" end="7" type="uint" default="12"/>
- <field name="Attribute Swizzle Control Mode" start="60" end="60" type="uint"/>
- <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
- <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
<field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
<value name="UPPERLEFT" value="0"/>
<value name="LOWERLEFT" value="1"/>
</field>
- <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
+ <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
+ <field name="Attribute Swizzle Control Mode" start="60" end="60" type="uint"/>
<group count="16" start="64" size="16">
<field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
</group>
<field name="Point Sprite Texture Coordinate Enable" start="320" end="351" type="uint"/>
<field name="Constant Interpolation Enable" start="352" end="383" type="uint"/>
- <field name="Attribute 7 WrapShortest Enables" start="412" end="415" type="uint"/>
- <field name="Attribute 6 WrapShortest Enables" start="408" end="411" type="uint"/>
- <field name="Attribute 5 WrapShortest Enables" start="404" end="407" type="uint"/>
- <field name="Attribute 4 WrapShortest Enables" start="400" end="403" type="uint"/>
- <field name="Attribute 3 WrapShortest Enables" start="396" end="399" type="uint"/>
- <field name="Attribute 2 WrapShortest Enables" start="392" end="395" type="uint"/>
- <field name="Attribute 1 WrapShortest Enables" start="388" end="391" type="uint"/>
<field name="Attribute 0 WrapShortest Enables" start="384" end="387" type="uint"/>
- <field name="Attribute 15 WrapShortest Enables" start="444" end="447" type="uint"/>
- <field name="Attribute 14 WrapShortest Enables" start="440" end="443" type="uint"/>
- <field name="Attribute 13 WrapShortest Enables" start="436" end="439" type="uint"/>
- <field name="Attribute 12 WrapShortest Enables" start="432" end="435" type="uint"/>
- <field name="Attribute 11 WrapShortest Enables" start="428" end="431" type="uint"/>
- <field name="Attribute 10 WrapShortest Enables" start="424" end="427" type="uint"/>
- <field name="Attribute 9 WrapShortest Enables" start="420" end="423" type="uint"/>
+ <field name="Attribute 1 WrapShortest Enables" start="388" end="391" type="uint"/>
+ <field name="Attribute 2 WrapShortest Enables" start="392" end="395" type="uint"/>
+ <field name="Attribute 3 WrapShortest Enables" start="396" end="399" type="uint"/>
+ <field name="Attribute 4 WrapShortest Enables" start="400" end="403" type="uint"/>
+ <field name="Attribute 5 WrapShortest Enables" start="404" end="407" type="uint"/>
+ <field name="Attribute 6 WrapShortest Enables" start="408" end="411" type="uint"/>
+ <field name="Attribute 7 WrapShortest Enables" start="412" end="415" type="uint"/>
<field name="Attribute 8 WrapShortest Enables" start="416" end="419" type="uint"/>
+ <field name="Attribute 9 WrapShortest Enables" start="420" end="423" type="uint"/>
+ <field name="Attribute 10 WrapShortest Enables" start="424" end="427" type="uint"/>
+ <field name="Attribute 11 WrapShortest Enables" start="428" end="431" type="uint"/>
+ <field name="Attribute 12 WrapShortest Enables" start="432" end="435" type="uint"/>
+ <field name="Attribute 13 WrapShortest Enables" start="436" end="439" type="uint"/>
+ <field name="Attribute 14 WrapShortest Enables" start="440" end="443" type="uint"/>
+ <field name="Attribute 15 WrapShortest Enables" start="444" end="447" type="uint"/>
</instruction>
<instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SF" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="Depth Buffer Surface Format" start="44" end="46" type="uint">
- <value name="D32_FLOAT_S8X24_UINT" value="0"/>
- <value name="D32_FLOAT" value="1"/>
- <value name="D24_UNORM_S8_UINT" value="2"/>
- <value name="D24_UNORM_X8_UINT" value="3"/>
- <value name="D16_UNORM" value="5"/>
- </field>
- <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
- <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
- <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
- <field name="FrontFace Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Front Winding" start="32" end="32" type="uint"/>
+ <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
+ <field name="BackFace Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
<value name="SOLID" value="0"/>
<value name="WIREFRAME" value="1"/>
<value name="POINT" value="2"/>
</field>
- <field name="BackFace Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
+ <field name="FrontFace Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
<value name="SOLID" value="0"/>
<value name="WIREFRAME" value="1"/>
<value name="POINT" value="2"/>
</field>
- <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
- <field name="Front Winding" start="32" end="32" type="uint"/>
- <field name="Anti-Aliasing Enable" start="95" end="95" type="bool"/>
- <field name="Cull Mode" start="93" end="94" type="uint" prefix="CULLMODE">
- <value name="BOTH" value="0"/>
- <value name="NONE" value="1"/>
- <value name="FRONT" value="2"/>
- <value name="BACK" value="3"/>
+ <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
+ <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
+ <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
+ <field name="Depth Buffer Surface Format" start="44" end="46" type="uint">
+ <value name="D32_FLOAT_S8X24_UINT" value="0"/>
+ <value name="D32_FLOAT" value="1"/>
+ <value name="D24_UNORM_S8_UINT" value="2"/>
+ <value name="D24_UNORM_X8_UINT" value="3"/>
+ <value name="D16_UNORM" value="5"/>
</field>
- <field name="Line Width" start="82" end="91" type="u3.7"/>
+ <field name="Multisample Rasterization Mode" start="72" end="73" type="uint"/>
+ <field name="RT Independent Rasterization Enable" start="74" end="74" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="75" end="75" type="bool"/>
+ <field name="Line Stipple Enable" start="78" end="78" type="bool"/>
<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"/>
- <field name="Multisample Rasterization Mode" start="72" end="73" type="uint"/>
- <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint">
+ <field name="Line Width" start="82" end="91" type="u3.7"/>
+ <field name="Cull Mode" start="93" end="94" type="uint" prefix="CULLMODE">
+ <value name="BOTH" value="0"/>
+ <value name="NONE" value="1"/>
+ <value name="FRONT" value="2"/>
+ <value name="BACK" value="3"/>
+ </field>
+ <field name="Anti-Aliasing Enable" start="95" end="95" type="bool"/>
+ <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Point Width Source" start="107" end="107" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
+ </field>
+ <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
+ <value name="8 Bit" value="0"/>
+ <value name="4 Bit" value="1"/>
+ </field>
+ <field name="AA Line Distance Mode" start="110" end="110" type="uint">
+ <value name="AALINEDISTANCE_TRUE" value="1"/>
+ </field>
+ <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
<field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint">
+ <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint">
<value name="Vertex 0" value="0"/>
<value name="Vertex 1" value="1"/>
<value name="Vertex 2" value="2"/>
</field>
- <field name="AA Line Distance Mode" start="110" end="110" type="uint">
- <value name="AALINEDISTANCE_TRUE" value="1"/>
- </field>
- <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
- <value name="8 Bit" value="0"/>
- <value name="4 Bit" value="1"/>
- </field>
- <field name="Point Width Source" start="107" end="107" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
- </field>
- <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
<field name="Global Depth Offset Constant" start="128" end="159" type="float"/>
<field name="Global Depth Offset Scale" start="160" end="191" type="float"/>
<field name="Global Depth Offset Clamp" start="192" end="223" type="float"/>
</instruction>
<instruction name="3DSTATE_SO_BUFFER" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="SO Buffer Index" start="61" end="62" type="uint"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="43" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="SO Buffer Index" start="61" end="62" type="uint"/>
<field name="Surface Base Address" start="66" end="95" type="address"/>
<field name="Surface End Address" start="98" end="127" type="address"/>
</instruction>
<instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="8" type="uint"/>
- <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
- <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
- <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
- <field name="Num Entries [3]" start="88" end="95" type="uint"/>
- <field name="Num Entries [2]" start="80" end="87" type="uint"/>
- <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
+ <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
<field name="Num Entries [0]" start="64" end="71" type="uint"/>
+ <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Num Entries [2]" start="80" end="87" type="uint"/>
+ <field name="Num Entries [3]" start="88" end="95" type="uint"/>
<group count="0" start="96" size="64">
<field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
- <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="60" type="uint"/>
+ <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="64" end="95" type="address"/>
</instruction>
<instruction name="3DSTATE_STREAMOUT" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="SO Function Enable" start="63" end="63" type="bool"/>
- <field name="Rendering Disable" start="62" end="62" type="bool"/>
- <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="SO Buffer Enable [0]" start="40" end="40" type="bool"/>
+ <field name="SO Buffer Enable [1]" start="41" end="41" type="bool"/>
+ <field name="SO Buffer Enable [2]" start="42" end="42" type="bool"/>
+ <field name="SO Buffer Enable [3]" start="43" end="43" type="bool"/>
+ <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
<field name="Reorder Mode" start="58" end="58" type="uint">
<value name="LEADING" value="0"/>
<value name="TRAILING" value="1"/>
</field>
- <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
- <field name="SO Buffer Enable [3]" start="43" end="43" type="bool"/>
- <field name="SO Buffer Enable [2]" start="42" end="42" type="bool"/>
- <field name="SO Buffer Enable [1]" start="41" end="41" type="bool"/>
- <field name="SO Buffer Enable [0]" start="40" end="40" type="bool"/>
- <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
- <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
- <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
- <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
- <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
- <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
- <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="Rendering Disable" start="62" end="62" type="bool"/>
+ <field name="SO Function Enable" start="63" end="63" type="bool"/>
<field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
+ <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
+ <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
+ <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
+ <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
+ <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
+ <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
</instruction>
<instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Partitioning" start="44" end="45" type="uint">
- <value name="INTEGER" value="0"/>
- <value name="ODD_FRACTIONAL" value="1"/>
- <value name="EVEN_FRACTIONAL" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="TE Enable" start="32" end="32" type="bool"/>
+ <field name="TE Mode" start="33" end="34" type="uint">
+ <value name="HW_TESS" value="0"/>
+ <value name="SW_TESS" value="1"/>
+ </field>
+ <field name="TE Domain" start="36" end="37" type="uint">
+ <value name="QUAD" value="0"/>
+ <value name="TRI" value="1"/>
+ <value name="ISOLINE" value="2"/>
</field>
<field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
<value name="POINT" value="0"/>
@@ -1873,131 +1876,136 @@
<value name="TRI_CW" value="2"/>
<value name="TRI_CCW" value="3"/>
</field>
- <field name="TE Domain" start="36" end="37" type="uint">
- <value name="QUAD" value="0"/>
- <value name="TRI" value="1"/>
- <value name="ISOLINE" value="2"/>
- </field>
- <field name="TE Mode" start="33" end="34" type="uint">
- <value name="HW_TESS" value="0"/>
- <value name="SW_TESS" value="1"/>
+ <field name="Partitioning" start="44" end="45" type="uint">
+ <value name="INTEGER" value="0"/>
+ <value name="ODD_FRACTIONAL" value="1"/>
+ <value name="EVEN_FRACTIONAL" value="2"/>
</field>
- <field name="TE Enable" start="32" end="32" type="bool"/>
<field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
<field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
</instruction>
<instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="DS URB Starting Address" start="57" end="62" type="uint"/>
- <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="DS URB Starting Address" start="57" end="62" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="GS URB Starting Address" start="57" end="62" type="uint"/>
- <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="GS URB Starting Address" start="57" end="62" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="HS URB Starting Address" start="57" end="62" type="uint"/>
- <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="HS URB Starting Address" start="57" end="62" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="VS URB Starting Address" start="57" end="62" type="uint"/>
- <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="VS URB Starting Address" start="57" end="62" type="uint"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
- <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cut Index" start="32" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VS" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
- <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
- <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="VS accesses UAV" start="76" end="76" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Priority" start="81" end="81" type="uint">
+ <value name="Normal Priority" value="0"/>
+ <value name="High Priority" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
<field name="Sampler Count" start="91" end="93" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -2005,129 +2013,119 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
- <field name="Thread Priority" start="81" end="81" type="uint">
- <value name="Normal Priority" value="0"/>
- <value name="High Priority" value="1"/>
- </field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="VS accesses UAV" start="76" end="76" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
+ <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
+ <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
<field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
<field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
- <field name="Maximum Number of Threads" start="183" end="191" type="uint"/>
- <field name="Statistics Enable" start="170" end="170" type="bool"/>
- <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
<field name="Enable" start="160" end="160" type="bool"/>
+ <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
+ <field name="Statistics Enable" start="170" end="170" type="bool"/>
+ <field name="Maximum Number of Threads" start="183" end="191" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Statistics Enable" start="63" end="63" type="bool"/>
- <field name="Depth Buffer Clear" start="62" end="62" type="bool"/>
- <field name="Thread Dispatch Enable" start="61" end="61" type="bool"/>
- <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 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"/>
- <value name="PSCDEPTH_ON_GE" value="2"/>
- <value name="PSCDEPTH_ON_LE" value="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Multisample Rasterization Mode" start="32" end="33" type="uint">
+ <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ON_PATTERN" value="3"/>
</field>
- <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
- <value name="EDSC_NORMAL" value="0"/>
- <value name="EDSC_PSEXEC" value="1"/>
- <value name="EDSC_PREPS" value="2"/>
+ <field name="Point Rasterization Rule" start="34" end="34" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Pixel Shader Uses Source Depth" start="52" end="52" type="bool"/>
- <field name="Pixel Shader Uses Source W" start="51" end="51" type="bool"/>
- <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
- <value name="INTERP_PIXEL" value="0"/>
- <value name="INTERP_CENTROID" value="2"/>
- <value name="INTERP_SAMPLE" value="3"/>
+ <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
+ <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
+ <field name="RT Independent Rasterization Enable" start="37" end="37" type="bool"/>
+ <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="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint"/>
+ <field name="Pixel Shader Uses Input Coverage Mask" start="42" end="42" type="bool"/>
<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_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">
- <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"/>
- <field name="Point Rasterization Rule" start="34" end="34" type="uint">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
+ <value name="INTERP_PIXEL" value="0"/>
+ <value name="INTERP_CENTROID" value="2"/>
+ <value name="INTERP_SAMPLE" value="3"/>
</field>
- <field name="Multisample Rasterization Mode" start="32" end="33" type="uint">
- <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ON_PATTERN" value="3"/>
+ <field name="Pixel Shader Uses Source W" start="51" end="51" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="52" end="52" type="bool"/>
+ <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
</field>
- <field name="Multisample Dispatch Mode" start="95" end="95" type="uint">
- <value name="MSDISPMODE_PERSAMPLE" value="0"/>
- <value name="MSDISPMODE_PERPIXEL" value="1"/>
+ <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"/>
+ <value name="PSCDEPTH_ON_GE" value="2"/>
+ <value name="PSCDEPTH_ON_LE" value="3"/>
</field>
+ <field name="Pixel Shader Kills Pixel" start="57" end="57" type="bool"/>
+ <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Thread Dispatch Enable" start="61" end="61" type="bool"/>
+ <field name="Depth Buffer Clear" start="62" end="62" type="bool"/>
+ <field name="Statistics Enable" start="63" end="63" type="bool"/>
<field name="PS UAV-only" start="94" end="94" type="uint">
<value name="OFF" value="0"/>
<value name="ON" value="1"/>
</field>
+ <field name="Multisample Dispatch Mode" start="95" end="95" type="uint">
+ <value name="MSDISPMODE_PERSAMPLE" value="0"/>
+ <value name="MSDISPMODE_PERPIXEL" value="1"/>
+ </field>
</instruction>
<instruction name="GPGPU_CSR_BASE_ADDRESS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GPGPU CSR Base Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="GPGPU_OBJECT" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="Shared Local Memory Fixed Offset" start="39" end="39" type="uint"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Shared Local Memory Offset" start="92" end="95" type="uint"/>
- <field name="End of Thread Group" start="88" end="88" type="uint"/>
- <field name="Slice Destination Select" start="83" end="83" type="uint">
- <value name="Slice 0" value="0"/>
- <value name="Slice 1" value="1"/>
- </field>
+ <field name="Shared Local Memory Fixed Offset" start="39" end="39" type="uint"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Half-Slice Destination Select" start="81" end="82" type="uint">
<value name="Half-Slice 1" value="2"/>
<value name="Half-Slice 0" value="1"/>
<value name="Either Half-Slice" value="0"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Slice Destination Select" start="83" end="83" type="uint">
+ <value name="Slice 0" value="0"/>
+ <value name="Slice 1" value="1"/>
+ </field>
+ <field name="End of Thread Group" start="88" end="88" type="uint"/>
+ <field name="Shared Local Memory Offset" start="92" end="95" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<field name="Thread Group ID X" start="128" end="159" type="uint"/>
<field name="Thread Group ID Y" start="160" end="191" type="uint"/>
@@ -2136,22 +2134,22 @@
</instruction>
<instruction name="GPGPU_WALKER" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="16" end="23" type="uint" default="5"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="SubOpcode A" start="16" end="23" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Thread Width Counter Maximum" start="64" end="69" type="uint"/>
+ <field name="Thread Height Counter Maximum" start="72" end="77" type="uint"/>
+ <field name="Thread Depth Counter Maximum" start="80" end="85" type="uint"/>
<field name="SIMD Size" start="94" end="95" type="uint">
<value name="SIMD8" value="0"/>
<value name="SIMD16" value="1"/>
<value name="SIMD32" value="2"/>
</field>
- <field name="Thread Depth Counter Maximum" start="80" end="85" type="uint"/>
- <field name="Thread Height Counter Maximum" start="72" end="77" type="uint"/>
- <field name="Thread Width Counter Maximum" start="64" end="69" type="uint"/>
<field name="Thread Group ID Starting X" start="96" end="127" type="uint"/>
<field name="Thread Group ID X Dimension" start="128" end="159" type="uint"/>
<field name="Thread Group ID Starting Y" start="160" end="191" type="uint"/>
@@ -2163,198 +2161,198 @@
</instruction>
<instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
<field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
<field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
</instruction>
<instruction name="MEDIA_OBJECT" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="4"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
- <field name="Use Scoreboard" start="85" end="85" type="uint">
- <value name="Not using scoreboard" value="0"/>
- <value name="Using scoreboard" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Half-Slice Destination Select" start="81" end="82" type="uint">
+ <value name="Half-Slice 1" value="2"/>
+ <value name="Half-Slice 0" value="1"/>
+ <value name="Either half-slice" value="0"/>
</field>
<field name="Slice Destination Select" start="83" end="83" type="uint">
<value name="Slice 0" value="0"/>
<value name="Slice 1" value="1"/>
<value name="Either Slice" value="0"/>
</field>
- <field name="Half-Slice Destination Select" start="81" end="82" type="uint">
- <value name="Half-Slice 1" value="2"/>
- <value name="Half-Slice 0" value="1"/>
- <value name="Either half-slice" value="0"/>
+ <field name="Use Scoreboard" start="85" end="85" type="uint">
+ <value name="Not using scoreboard" value="0"/>
+ <value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<group count="0" start="192" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="14"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
<field name="PRT_FenceType" start="86" end="86" type="uint">
<value name="Root thread queue" value="0"/>
<value name="VFE state flush" value="1"/>
</field>
+ <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<group count="12" start="128" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="15" type="uint" default="15"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Children Present" start="95" end="95" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Dual Mode" start="223" end="223" type="uint"/>
- <field name="Repel" start="222" end="222" type="uint"/>
- <field name="Quad Mode" start="221" end="221" type="uint"/>
- <field name="Color Count Minus One" start="216" end="219" type="uint"/>
- <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
- <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
<field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
- <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
+ <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
+ <field name="Color Count Minus One" start="216" end="219" type="uint"/>
+ <field name="Quad Mode" start="221" end="221" type="uint"/>
+ <field name="Repel" start="222" end="222" type="uint"/>
+ <field name="Dual Mode" start="223" end="223" type="uint"/>
<field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
- <field name="Block Resolution Y" start="272" end="280" type="uint"/>
+ <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
<field name="Block Resolution X" start="256" end="264" type="uint"/>
- <field name="Local Start Y" start="304" end="312" type="uint"/>
+ <field name="Block Resolution Y" start="272" end="280" type="uint"/>
<field name="Local Start X" start="288" end="296" type="uint"/>
- <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
+ <field name="Local Start Y" start="304" end="312" type="uint"/>
<field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
- <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
+ <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
<field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
- <field name="Global Resolution Y" start="432" end="440" type="uint"/>
+ <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
<field name="Global Resolution X" start="416" end="424" type="uint"/>
- <field name="Global Start Y" start="464" end="473" type="int"/>
+ <field name="Global Resolution Y" start="432" end="440" type="uint"/>
<field name="Global Start X" start="448" end="457" type="int"/>
- <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
+ <field name="Global Start Y" start="464" end="473" type="int"/>
<field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
- <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
+ <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
<field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
+ <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
<group count="0" start="544" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="Disable Preemption" start="40" end="40" type="bool"/>
- <field name="Flush to GO" start="39" end="39" type="bool"/>
- <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="Flush to GO" start="39" end="39" type="bool"/>
+ <field name="Disable Preemption" start="40" end="40" type="bool"/>
</instruction>
<instruction name="MEDIA_VFE_STATE" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="6"/>
- <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
- <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
- <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
- <field name="Number of URB Entries" start="72" end="79" type="uint"/>
- <field name="Reset Gateway Timer" start="71" end="71" type="uint">
- <value name="Maintaining the existing timestamp state" value="0"/>
- <value name="Resetting relative timer and latching the global timestamp" value="1"/>
- </field>
+ <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
+ <field name="GPGPU Mode" start="66" end="66" type="uint"/>
<field name="Bypass Gateway Control" start="70" end="70" type="uint">
<value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
<value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
</field>
- <field name="GPGPU Mode" start="66" end="66" type="uint"/>
+ <field name="Reset Gateway Timer" start="71" end="71" type="uint">
+ <value name="Maintaining the existing timestamp state" value="0"/>
+ <value name="Resetting relative timer and latching the global timestamp" value="1"/>
+ </field>
+ <field name="Number of URB Entries" start="72" end="79" type="uint"/>
+ <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
<field name="Half-Slice Disable" start="96" end="97" type="uint"/>
- <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
<field name="CURBE Allocation Size" start="128" end="143" type="uint"/>
- <field name="Scoreboard Enable" start="191" end="191" type="uint">
- <value name="Scoreboard disabled" value="0"/>
- <value name="Scoreboard enabled" value="1"/>
- </field>
+ <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
+ <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
<field name="Scoreboard Type" start="190" end="190" type="uint">
<value name="Stalling Scoreboard" value="0"/>
<value name="Non-Stalling Scoreboard" value="1"/>
</field>
- <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
- <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
- <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
- <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
- <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
- <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
- <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
+ <field name="Scoreboard Enable" start="191" end="191" type="uint">
+ <value name="Scoreboard disabled" value="0"/>
+ <value name="Scoreboard enabled" value="1"/>
+ </field>
<field name="Scoreboard 0 Delta X" start="192" end="195" type="int"/>
- <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
- <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
- <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
- <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
- <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
- <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
- <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
+ <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
+ <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
+ <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
+ <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
+ <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
+ <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
<field name="Scoreboard 4 Delta X" start="224" end="227" type="int"/>
+ <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
+ <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
+ <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
+ <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
+ <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
+ <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
</instruction>
<instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="12" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="10"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<group count="8" start="96" size="32">
@@ -2363,137 +2361,137 @@
</instruction>
<instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="7"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="8" start="32" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
- <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
- <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Stream ID" start="32" end="33" type="uint"/>
+ <field name="Slice ID" start="36" end="39" type="uint"/>
+ <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
+ <field name="Intra Slice" start="45" end="45" type="bool"/>
+ <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
+ <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
+ <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
+ <field name="Header Insertion Present" start="49" end="49" type="bool"/>
+ <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
+ <field name="Last Slice" start="51" end="51" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
+ <field name="Rate Control Panic Type" start="54" end="54" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
<field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
- <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
- <field name="Rate Control Panic Type" start="54" end="54" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
- <field name="Last Slice" start="51" end="51" type="bool"/>
- <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
- <field name="Header Insertion Present" start="49" end="49" type="bool"/>
- <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
- <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
- <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
- <field name="Intra Slice" start="45" end="45" type="bool"/>
- <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
- <field name="Slice ID" start="36" end="39" type="uint"/>
- <field name="Stream ID" start="32" end="33" type="uint"/>
- <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
- <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
- <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
<field name="First MB X Count" start="64" end="71" type="uint"/>
- <field name="Slice Group Skip" start="104" end="104" type="bool"/>
+ <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
+ <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
<field name="Slice Group QP" start="96" end="101" type="uint"/>
+ <field name="Slice Group Skip" start="104" end="104" type="bool"/>
<field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
- <field name="Shrink Resistance" start="172" end="175" type="uint"/>
- <field name="Shrink Init" start="168" end="171" type="uint"/>
- <field name="Grow Resistance" start="164" end="167" type="uint"/>
<field name="Grow Init" start="160" end="163" type="uint"/>
- <field name="Correct 6" start="212" end="215" type="uint"/>
- <field name="Correct 5" start="208" end="211" type="uint"/>
- <field name="Correct 4" start="204" end="207" type="uint"/>
- <field name="Correct 3" start="200" end="203" type="uint"/>
- <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Grow Resistance" start="164" end="167" type="uint"/>
+ <field name="Shrink Init" start="168" end="171" type="uint"/>
+ <field name="Shrink Resistance" start="172" end="175" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
<field name="Correct 1" start="192" end="195" type="uint"/>
- <field name="CV7" start="252" end="255" type="uint"/>
- <field name="CV6" start="248" end="251" type="uint"/>
- <field name="CV5" start="244" end="247" type="uint"/>
- <field name="CV4" start="240" end="243" type="uint"/>
- <field name="CV3" start="236" end="239" type="uint"/>
- <field name="CV2" start="232" end="235" type="uint"/>
- <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Correct 3" start="200" end="203" type="uint"/>
+ <field name="Correct 4" start="204" end="207" type="uint"/>
+ <field name="Correct 5" start="208" end="211" type="uint"/>
+ <field name="Correct 6" start="212" end="215" type="uint"/>
<field name="CV0" start="224" end="227" type="uint"/>
+ <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="CV2" start="232" end="235" type="uint"/>
+ <field name="CV3" start="236" end="239" type="uint"/>
+ <field name="CV4" start="240" end="243" type="uint"/>
+ <field name="CV5" start="244" end="247" type="uint"/>
+ <field name="CV6" start="248" end="251" type="uint"/>
+ <field name="CV7" start="252" end="255" type="uint"/>
</instruction>
<instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
<field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
</instruction>
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <group count="16" start="48" size="1">
- <field name="Long Term Frame" start="0" end="0" type="uint"/>
- </group>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="1">
- <field name="Non-Existing Frame" start="0" end="0" type="uint">
- <value name="INVALID" value="1"/>
- <value name="VALID" value="0"/>
- </field>
+ <field name="Non-Existing Frame" start="0" end="0" type="uint">
+ <value name="INVALID" value="1"/>
+ <value name="VALID" value="0"/>
+ </field>
+ </group>
+ <group count="16" start="48" size="1">
+ <field name="Long Term Frame" start="0" end="0" type="uint"/>
</group>
<group count="16" start="64" size="2">
- <field name="Used for Reference" start="0" end="1" type="uint">
- <value name="NOT_REFERENCE" value="0"/>
- <value name="TOP_FIELD" value="1"/>
- <value name="BOTTOM_FIELD" value="2"/>
- <value name="FRAME" value="3"/>
- </field>
+ <field name="Used for Reference" start="0" end="1" type="uint">
+ <value name="NOT_REFERENCE" value="0"/>
+ <value name="TOP_FIELD" value="1"/>
+ <value name="BOTTOM_FIELD" value="2"/>
+ <value name="FRAME" value="3"/>
+ </field>
</group>
<group count="16" start="96" size="16">
- <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
- <value name="Long Term Frame" value="1"/>
- <value name="Short Term Frame" value="0"/>
- </field>
+ <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
+ <value name="Long Term Frame" value="1"/>
+ <value name="Short Term Frame" value="0"/>
+ </field>
</group>
<group count="16" start="352" size="16">
- <field name="View ID" start="0" end="15" type="uint"/>
+ <field name="View ID" start="0" end="15" type="uint"/>
</group>
<group count="16" start="608" size="8">
- <field name="L0 View Order" start="0" end="7" type="uint"/>
+ <field name="L0 View Order" start="0" end="7" type="uint"/>
</group>
<group count="16" start="736" size="8">
- <field name="L1 View Order" start="0" end="7" type="uint"/>
+ <field name="L1 View Order" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFD_AVC_PICID_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="PictureID Remapping Disable" start="32" end="32" type="uint">
<value name="Use 16 bits Picture ID" value="0"/>
<value name="Use 4 bits FrameStoreID" value="1"/>
@@ -2504,23 +2502,23 @@
</instruction>
<instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
</instruction>
<instruction name="MFD_IT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
@@ -2533,322 +2531,322 @@
</instruction>
<instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="63" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
- <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="Scan Vertical Position" start="96" end="108" type="uint"/>
- <field name="Interleaved" start="158" end="158" type="bool"/>
- <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="MCU Count" start="128" end="153" type="uint"/>
+ <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Interleaved" start="158" end="158" type="bool"/>
<field name="Restart Interval" start="160" end="175" type="uint"/>
</instruction>
<instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
</instruction>
<instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
- <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
- <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="First MB Bit Offset" start="128" end="130" type="uint"/>
+ <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
</instruction>
<instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width In MBs" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
- <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
- <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
- <field name="Sync Marker" start="76" end="76" type="bool"/>
- <field name="MV Mode" start="72" end="75" type="uint"/>
- <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
- <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
- <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
- <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
<field name="VC1 Profile" start="64" end="64" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="CONDOVER" start="125" end="126" type="uint"/>
- <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
+ <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
+ <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
+ <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
+ <field name="MV Mode" start="72" end="75" type="uint"/>
+ <field name="Sync Marker" start="76" end="76" type="bool"/>
+ <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
+ <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="B Scale Factor" start="96" end="103" type="uint"/>
+ <field name="PQ Value" start="104" end="108" type="uint"/>
+ <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
<field name="Frame Coding Mode" start="120" end="121" type="uint">
<value name="Progressive Frame Picture" value="0"/>
<value name="Interlaced Frame Picture" value="1"/>
<value name="Field Picture with Top Field First" value="2"/>
<value name="Field Picture with Bottom Field First" value="3"/>
</field>
- <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
- <field name="PQ Value" start="104" end="108" type="uint"/>
- <field name="B Scale Factor" start="96" end="103" type="uint"/>
- <field name="Unified MV Mode" start="156" end="157" type="uint">
- <value name="1-MV half-pel bilinear" value="3"/>
- <value name="1-MV" value="1"/>
- <value name="1-MV half-pel" value="2"/>
- <value name="Mixed MV" value="0"/>
+ <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="CONDOVER" start="125" end="126" type="uint"/>
+ <field name="PQ Uniform" start="128" end="128" type="bool"/>
+ <field name="Half QP" start="129" end="129" type="bool"/>
+ <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
+ <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
+ <field name="Extended MV Range" start="136" end="137" type="uint"/>
+ <field name="Extended DMV Range" start="138" end="139" type="uint"/>
+ <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
+ <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
+ <field name="Number of References" start="152" end="152" type="uint">
+ <value name="One field referenced" value="0"/>
+ <value name="Two fields referenced" value="1"/>
</field>
- <field name="Four MV Switch" start="155" end="155" type="uint">
- <value name="Only 1-MV" value="0"/>
- <value name="1, 2, or 4 MVs" value="1"/>
+ <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
+ <value name="Top (even) Field" value="0"/>
+ <value name="Bottom (odd) Field" value="1"/>
</field>
<field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
- <value name="Top (even) Field" value="0"/>
- <value name="Bottom (odd) Field" value="1"/>
+ <field name="Four MV Switch" start="155" end="155" type="uint">
+ <value name="Only 1-MV" value="0"/>
+ <value name="1, 2, or 4 MVs" value="1"/>
</field>
- <field name="Number of References" start="152" end="152" type="uint">
- <value name="One field referenced" value="0"/>
- <value name="Two fields referenced" value="1"/>
+ <field name="Unified MV Mode" start="156" end="157" type="uint">
+ <value name="1-MV half-pel bilinear" value="3"/>
+ <value name="1-MV" value="1"/>
+ <value name="1-MV half-pel" value="2"/>
+ <value name="Mixed MV" value="0"/>
</field>
- <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
- <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
- <field name="Extended DMV Range" start="138" end="139" type="uint"/>
- <field name="Extended MV Range" start="136" end="137" type="uint"/>
- <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
- <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
- <field name="Half QP" start="129" end="129" type="bool"/>
- <field name="PQ Uniform" start="128" end="128" type="bool"/>
- <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
- <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
- <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
- <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
- <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
- <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
- <field name="ACPRED Raw" start="185" end="185" type="bool"/>
- <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
- <field name="MV Table" start="180" end="182" type="uint"/>
- <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
- <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
+ <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
+ <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
+ <field name="MB Mode Table" start="168" end="170" type="uint"/>
+ <field name="MB Transform Type" start="171" end="171" type="bool"/>
<field name="Picture-level Transform Type" start="172" end="173" type="uint">
<value name="8x8 Transform" value="0"/>
<value name="8x4 Transform" value="1"/>
<value name="4x8 Transform" value="2"/>
<value name="4x4 Transform" value="3"/>
</field>
- <field name="MB Transform Type" start="171" end="171" type="bool"/>
- <field name="MB Mode Table" start="168" end="170" type="uint"/>
- <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
- <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
- <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
- <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
+ <field name="MV Table" start="180" end="182" type="uint"/>
+ <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
+ <field name="ACPRED Raw" start="185" end="185" type="bool"/>
+ <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
+ <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
+ <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
+ <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
+ <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
+ <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
</instruction>
<instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
- <field name="MV Mode" start="80" end="83" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="Picture Structure" start="64" end="65" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Intra Picture" start="68" end="68" type="bool"/>
+ <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
<field name="VC1 Profile" start="75" end="75" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
- <field name="Intra Picture" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
- <field name="Picture Structure" start="64" end="65" type="uint"/>
- <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
- <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
- <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
- <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
- <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
- <field name="QUANTIZER" start="110" end="111" type="uint"/>
- <field name="MULTIRES Present" start="109" end="109" type="bool"/>
- <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
- <field name="RANGERED Present" start="107" end="107" type="bool"/>
- <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
- <field name="PANSCAN Present" start="103" end="103" type="bool"/>
- <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
- <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="MV Mode" start="80" end="83" type="uint"/>
+ <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
+ <field name="DQUANT" start="97" end="98" type="uint"/>
+ <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
<field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
- <field name="DQUANT" start="97" end="98" type="uint"/>
- <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
- <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
- <field name="4-MV Allowed" start="136" end="136" type="bool"/>
- <field name="POSTPROC" start="135" end="135" type="bool"/>
- <field name="PULLDOWN" start="134" end="134" type="bool"/>
- <field name="INTERLACE" start="133" end="133" type="bool"/>
- <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
- <field name="FINTERFLAG" start="131" end="131" type="bool"/>
- <field name="REFPIC" start="130" end="130" type="bool"/>
- <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
+ <field name="PANSCAN Present" start="103" end="103" type="bool"/>
+ <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
+ <field name="RANGERED Present" start="107" end="107" type="bool"/>
+ <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
+ <field name="MULTIRES Present" start="109" end="109" type="bool"/>
+ <field name="QUANTIZER" start="110" end="111" type="uint"/>
+ <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
+ <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
+ <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
+ <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
+ <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
<field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
+ <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="REFPIC" start="130" end="130" type="bool"/>
+ <field name="FINTERFLAG" start="131" end="131" type="bool"/>
+ <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
+ <field name="INTERLACE" start="133" end="133" type="bool"/>
+ <field name="PULLDOWN" start="134" end="134" type="bool"/>
+ <field name="POSTPROC" start="135" end="135" type="bool"/>
+ <field name="4-MV Allowed" start="136" end="136" type="bool"/>
+ <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
</instruction>
<instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="71" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="69"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="34" start="1184" size="32">
<field name="POC List" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="12"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Size" start="32" end="47" type="uint"/>
- <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Frame Width" start="64" end="71" type="uint"/>
- <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
- <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
- <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
- <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
- <value name="DEFAULT" value="0"/>
- <value name="EXPLICIT" value="1"/>
- <value name="IMPLICIT" value="2"/>
- </field>
+ <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Image Structure" start="104" end="105" type="uint">
<value name="Frame Picture" value="0"/>
<value name="Top Field Picture" value="1"/>
<value name="Bottom Field Picture" value="3"/>
<value name="Invalid, not allowed." value="2"/>
</field>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="MB Status Read" start="143" end="143" type="bool"/>
- <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
- <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
+ <value name="DEFAULT" value="0"/>
+ <value name="EXPLICIT" value="1"/>
+ <value name="IMPLICIT" value="2"/>
+ </field>
+ <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
+ <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
+ <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
+ <field name="Field Picure" start="128" end="128" type="bool"/>
+ <field name="MBAFF Mode" start="129" end="129" type="bool"/>
+ <field name="Frame MB Only" start="130" end="130" type="bool"/>
+ <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
+ <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
+ <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
+ <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
+ <field name="MB MV Format" start="136" end="136" type="uint">
+ <value name="IGNORE" value="0"/>
+ <value name="FOLLOW" value="1"/>
+ </field>
<field name="Chroma Format IDC" start="138" end="139" type="uint">
<value name="Monochrome picture" value="0"/>
<value name="4:2:0 picture" value="1"/>
<value name="4:2:2 picture (not supported)" value="2"/>
<value name="4:4:4 picture (not supported)" value="3"/>
</field>
- <field name="MB MV Format" start="136" end="136" type="uint">
- <value name="IGNORE" value="0"/>
- <value name="FOLLOW" value="1"/>
- </field>
- <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
- <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
- <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
- <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
- <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
- <field name="Frame MB Only" start="130" end="130" type="bool"/>
- <field name="MBAFF Mode" start="129" end="129" type="bool"/>
- <field name="Field Picure" start="128" end="128" type="bool"/>
- <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
- <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
- <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
- <field name="Non First Pass" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
+ <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
+ <field name="MB Status Read" start="143" end="143" type="bool"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
+ <field name="Force IPCM Control" start="167" end="167" type="bool"/>
+ <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
- <field name="Force IPCM Control" start="167" end="167" type="bool"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
+ <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
+ <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
+ <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
- <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
- <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
- <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
- <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
<field name="Initial QP Value" start="416" end="423" type="int"/>
- <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
- <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
- <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
- <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
- <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
- <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
- <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
- <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
+ <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
+ <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
<field name="Pic Order Present" start="448" end="448" type="bool"/>
- <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
+ <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
+ <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
+ <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
+ <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
+ <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
+ <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
+ <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
<field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
- <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
- <field name="Max View IDXL1" start="530" end="533" type="uint"/>
- <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
<field name="Current Frame View ID" start="512" end="521" type="uint"/>
+ <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Max View IDXL1" start="530" end="533" type="uint"/>
+ <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
</instruction>
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="32" start="64" size="8">
<field name="Reference List Entry" start="0" end="7" type="uint"/>
@@ -2856,68 +2854,73 @@
</instruction>
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Type" start="32" end="35" type="uint">
<value name="P Slice" value="0"/>
<value name="B Slice" value="1"/>
<value name="I Slice" value="2"/>
</field>
- <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
- <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
- <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
+ <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
+ <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
+ <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
+ <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
+ <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
+ <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
<field name="Direct Prediction Type" start="125" end="125" type="uint">
<value name="Temporal" value="0"/>
<value name="Spatial" value="1"/>
</field>
- <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
- <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
- <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
- <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
- <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
- <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
- <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
<field name="Slice Start MB Number" start="128" end="142" type="uint"/>
- <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
<field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
- <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
- <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Slice ID" start="196" end="199" type="uint"/>
+ <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
+ <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
+ <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
+ <field name="Header Insertion Present" start="209" end="209" type="bool"/>
+ <field name="Last Slice Group" start="211" end="211" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
+ <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
+ <field name="Rate Control Panic Type" start="214" end="214" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
<field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
- <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
- <field name="Rate Control Panic Type" start="214" end="214" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
- <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
- <field name="Last Slice Group" start="211" end="211" type="bool"/>
- <field name="Header Insertion Present" start="209" end="209" type="bool"/>
- <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
- <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
- <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
- <field name="Slice ID" start="196" end="199" type="uint"/>
- <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
<field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
- <field name="Shrink Resistance" start="268" end="271" type="uint"/>
- <field name="Shrink Init" start="264" end="267" type="uint"/>
- <field name="Grow Resistance" start="260" end="263" type="uint"/>
<field name="Grow Init" start="256" end="259" type="uint"/>
- <field name="Round Inter Enable" start="319" end="319" type="bool"/>
- <field name="Round Inter" start="316" end="318" type="uint">
+ <field name="Grow Resistance" start="260" end="263" type="uint"/>
+ <field name="Shrink Init" start="264" end="267" type="uint"/>
+ <field name="Shrink Resistance" start="268" end="271" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
+ <field name="Correct 1" start="288" end="291" type="uint"/>
+ <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Correct 3" start="296" end="299" type="uint"/>
+ <field name="Correct 4" start="300" end="303" type="uint"/>
+ <field name="Correct 5" start="304" end="307" type="uint"/>
+ <field name="Correct 6" start="308" end="311" type="uint"/>
+ <field name="Round Intra" start="312" end="314" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -2928,7 +2931,7 @@
<value name="+8/16" value="7"/>
</field>
<field name="Round Intra Enable" start="315" end="315" type="bool"/>
- <field name="Round Intra" start="312" end="314" type="uint">
+ <field name="Round Inter" start="316" end="318" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -2938,29 +2941,24 @@
<value name="+7/16" value="6"/>
<value name="+8/16" value="7"/>
</field>
- <field name="Correct 6" start="308" end="311" type="uint"/>
- <field name="Correct 5" start="304" end="307" type="uint"/>
- <field name="Correct 4" start="300" end="303" type="uint"/>
- <field name="Correct 3" start="296" end="299" type="uint"/>
- <field name="Correct 2" start="292" end="295" type="uint"/>
- <field name="Correct 1" start="288" end="291" type="uint"/>
- <field name="CV7" start="348" end="351" type="uint"/>
- <field name="CV6" start="344" end="347" type="uint"/>
- <field name="CV5" start="340" end="343" type="uint"/>
- <field name="CV4" start="336" end="339" type="uint"/>
- <field name="CV3" start="332" end="335" type="uint"/>
- <field name="CV2" start="328" end="331" type="uint"/>
- <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="Round Inter Enable" start="319" end="319" type="bool"/>
<field name="CV0" start="320" end="323" type="uint"/>
+ <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="CV2" start="328" end="331" type="uint"/>
+ <field name="CV3" start="332" end="335" type="uint"/>
+ <field name="CV4" start="336" end="339" type="uint"/>
+ <field name="CV5" start="340" end="343" type="uint"/>
+ <field name="CV6" start="344" end="347" type="uint"/>
+ <field name="CV7" start="348" end="351" type="uint"/>
</instruction>
<instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="96"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weight and Offset Select" start="32" end="32" type="uint">
<value name="L0 table" value="0"/>
<value name="L1 table" value="1"/>
@@ -2971,86 +2969,86 @@
</instruction>
<instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
- <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="BSD/MPC Row Store Scratch Buffer - MOCS" start="32" end="35" type="uint"/>
<field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second Highest priority" value="1"/>
<value name="Third Highest Priority" value="2"/>
<value name="Lowest Priority" value="3"/>
</field>
- <field name="BSD/MPC Row Store Scratch Buffer - MOCS" start="32" end="35" type="uint"/>
- <field name="MPR Row Store Scratch Buffer - Address" start="134" end="159" type="uint"/>
+ <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="uint"/>
+ <field name="MPR Row Store Scratch Buffer - MOCS" start="128" end="131" type="uint"/>
<field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="132" end="133" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MPR Row Store Scratch Buffer - MOCS" start="128" end="131" type="uint"/>
- <field name="Bitplane Read Buffer - Address" start="230" end="255" type="uint"/>
+ <field name="MPR Row Store Scratch Buffer - Address" start="134" end="159" type="uint"/>
+ <field name="Bitplane Read Buffer - MOCS" start="224" end="227" type="uint"/>
<field name="Bitplane Read Buffer - Arbitration Priority Control" start="228" end="229" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Bitplane Read Buffer - MOCS" start="224" end="227" type="uint"/>
+ <field name="Bitplane Read Buffer - Address" start="230" end="255" type="uint"/>
</instruction>
<instruction name="MFX_DBK_OBJECT" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="11"/>
- <field name="Pre Deblocking Source - Address" start="38" end="63" type="address"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Pre Deblocking Source - MOCS" start="32" end="35" type="uint"/>
<field name="Pre Deblocking Source - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Pre Deblocking Source - MOCS" start="32" end="35" type="uint"/>
- <field name="Deblocking Control - Address" start="134" end="159" type="address"/>
+ <field name="Pre Deblocking Source - Address" start="38" end="63" type="address"/>
+ <field name="Deblocking Control - MOCS" start="128" end="131" type="uint"/>
<field name="Deblocking Control - Arbitration Priority Control" start="132" end="133" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Control - MOCS" start="128" end="131" type="uint"/>
- <field name="Deblocking Destination - Address" start="230" end="255" type="address"/>
+ <field name="Deblocking Control - Address" start="134" end="159" type="address"/>
+ <field name="Deblocking Destination - MOCS" start="224" end="227" type="uint"/>
<field name="Deblocking Destination - Arbitration Priority Control" start="228" end="229" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Destination - MOCS" start="224" end="227" type="uint"/>
- <field name="Deblock Row Store - Address" start="326" end="351" type="address"/>
+ <field name="Deblocking Destination - Address" start="230" end="255" type="address"/>
+ <field name="Deblock Row Store - MOCS" start="320" end="323" type="uint"/>
<field name="Deblock Row Store - Arbitration Priority Control" start="324" end="325" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblock Row Store - MOCS" start="320" end="323" type="uint"/>
+ <field name="Deblock Row Store - Address" start="326" end="351" type="address"/>
</instruction>
<instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -3065,138 +3063,140 @@
</instruction>
<instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="26" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="24"/>
- <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="MFX Indirect Bitstream Object - MOCS" start="32" end="35" type="uint"/>
<field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFX Indirect Bitstream Object - MOCS" start="32" end="35" type="uint"/>
+ <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
<field name="MFX Indirect Bitstream Object - Access Upper Bound" start="140" end="159" type="address"/>
- <field name="MFX Indirect MV Object - Address" start="204" end="223" type="address"/>
+ <field name="MFX Indirect MV Object - MOCS" start="192" end="195" type="uint"/>
<field name="MFX Indirect MV Object - Arbitration Priority Control" start="196" end="197" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFX Indirect MV Object - MOCS" start="192" end="195" type="uint"/>
+ <field name="MFX Indirect MV Object - Address" start="204" end="223" type="address"/>
<field name="MFX Indirect MV Object - Access Upper Bound" start="300" end="319" type="address"/>
- <field name="MFD Indirect IT-COEFF Object - Address" start="364" end="383" type="address"/>
+ <field name="MFD Indirect IT-COEFF Object - MOCS" start="352" end="355" type="uint"/>
<field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="356" end="357" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFD Indirect IT-COEFF Object - MOCS" start="352" end="355" type="uint"/>
+ <field name="MFD Indirect IT-COEFF Object - Address" start="364" end="383" type="address"/>
<field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="460" end="479" type="address"/>
- <field name="MFD Indirect IT-DBLK Object - Address" start="524" end="543" type="address"/>
+ <field name="MFD Indirect IT-DBLK Object - MOCS" start="512" end="515" type="uint"/>
<field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="516" end="517" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFD Indirect IT-DBLK Object - MOCS" start="512" end="515" type="uint"/>
+ <field name="MFD Indirect IT-DBLK Object - Address" start="524" end="543" type="address"/>
<field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="620" end="639" type="address"/>
- <field name="MFC Indirect PAK-BSE Object - Address" start="684" end="703" type="address"/>
+ <field name="MFC Indirect PAK-BSE Object - MOCS" start="672" end="675" type="uint"/>
<field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="676" end="677" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MFC Indirect PAK-BSE Object - MOCS" start="672" end="675" type="uint"/>
+ <field name="MFC Indirect PAK-BSE Object - Address" start="684" end="703" type="address"/>
</instruction>
<instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="829"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huffman Table ID" start="32" end="32" type="uint"/>
<group count="12" start="64" size="8">
- <field name="DC_BITS" start="0" end="7" type="uint"/>
+ <field name="DC_BITS" start="0" end="7" type="uint"/>
</group>
<group count="12" start="160" size="8">
- <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="16" start="256" size="8">
- <field name="AC_BITS" start="0" end="15" type="uint"/>
+ <field name="AC_BITS" start="0" end="15" type="uint"/>
</group>
<group count="160" start="384" size="8">
- <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="2" start="1664" size="8">
- <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
- <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
- <field name="Average Down Sampling" start="48" end="48" type="uint"/>
- <field name="Output Format YUV" start="40" end="43" type="uint"/>
- <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Format YUV" start="32" end="34" type="uint"/>
- <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="Output Format YUV" start="40" end="43" type="uint"/>
+ <field name="Average Down Sampling" start="48" end="48" type="uint"/>
+ <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
+ <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
<field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
+ <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
</instruction>
<instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="F_code[1][1]" start="60" end="63" type="uint"/>
- <field name="F_code[1][0]" start="56" end="59" type="uint"/>
- <field name="F_code[0][1]" start="52" end="55" type="uint"/>
- <field name="F_code[0][0]" start="48" end="51" type="uint"/>
- <field name="Intra DC Precision" start="46" end="47" type="uint"/>
- <field name="Picture Structure" start="44" end="45" type="uint">
- <value name="MPEG_TOP_FIELD" value="1"/>
- <value name="MPEG_BOTTOM_FIELD" value="2"/>
- <value name="MPEG_FRAME" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Scan Order" start="38" end="38" type="uint">
+ <value name="MPEG_ZIGZAG_SCAN" value="0"/>
+ <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
</field>
- <field name="Top Field First" start="43" end="43" type="bool"/>
- <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
- <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Intra VLC Format" start="39" end="39" type="uint"/>
<field name="Quantizer Scale Type" start="40" end="40" type="uint">
<value name="MPEG_QSCALE_LINEAR" value="0"/>
<value name="MPEG_QSCALE_NONLINEAR" value="1"/>
</field>
- <field name="Intra VLC Format" start="39" end="39" type="uint"/>
- <field name="Scan Order" start="38" end="38" type="uint">
- <value name="MPEG_ZIGZAG_SCAN" value="0"/>
- <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
+ <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
+ <field name="Top Field First" start="43" end="43" type="bool"/>
+ <field name="Picture Structure" start="44" end="45" type="uint">
+ <value name="MPEG_TOP_FIELD" value="1"/>
+ <value name="MPEG_BOTTOM_FIELD" value="2"/>
+ <value name="MPEG_FRAME" value="3"/>
</field>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
- <value name="Intra Concealment" value="0"/>
- <value name="Inter Concealment" value="1"/>
+ <field name="Intra DC Precision" start="46" end="47" type="uint"/>
+ <field name="F_code[0][0]" start="48" end="51" type="uint"/>
+ <field name="F_code[0][1]" start="52" end="55" type="uint"/>
+ <field name="F_code[1][0]" start="56" end="59" type="uint"/>
+ <field name="F_code[1][1]" start="60" end="63" type="uint"/>
+ <field name="Disable Mismatch" start="64" end="64" type="bool"/>
+ <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
+ <field name="Picture Coding Type" start="73" end="74" type="uint">
+ <value name="MPEG_I_PICTURE" value="1"/>
+ <value name="MPEG_P_PICTURE" value="2"/>
+ <value name="MPEG_B_PICTURE" value="3"/>
</field>
- <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
- <value name="INTER" value="0"/>
- <value name="LEFT" value="1"/>
- <value name="ZERO" value="2"/>
- <value name="INTRA" value="3"/>
+ <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
+ <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
+ <value name="Predicted" value="0"/>
+ <value name="ZERO" value="1"/>
</field>
<field name="P/B Slice Predicted Bi-direction MV Type Override" start="89" end="90" type="uint" prefix="MPEG2_MVTO">
<value name="BID" value="0"/>
@@ -3204,219 +3204,217 @@
<value name="FWD" value="2"/>
<value name="BWD" value="3"/>
</field>
- <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
- <value name="Predicted" value="0"/>
- <value name="ZERO" value="1"/>
+ <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
+ <value name="INTER" value="0"/>
+ <value name="LEFT" value="1"/>
+ <value name="ZERO" value="2"/>
+ <value name="INTRA" value="3"/>
</field>
- <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
- <field name="Picture Coding Type" start="73" end="74" type="uint">
- <value name="MPEG_I_PICTURE" value="1"/>
- <value name="MPEG_P_PICTURE" value="2"/>
- <value name="MPEG_B_PICTURE" value="3"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
+ <value name="Intra Concealment" value="0"/>
+ <value name="Inter Concealment" value="1"/>
</field>
- <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
- <field name="Disable Mismatch" start="64" end="64" type="bool"/>
- <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
- <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
<field name="Frame Width In MBs" start="96" end="103" type="uint"/>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="Round Inter AC," start="140" end="142" type="uint"/>
- <field name="Round Intra AC" start="136" end="138" type="uint"/>
- <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
+ <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
<field name="Round Intra DC" start="129" end="130" type="uint"/>
- <field name="Frame Size Control" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Round Intra AC" start="136" end="138" type="uint"/>
+ <field name="Round Inter AC," start="140" end="142" type="uint"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
+ <field name="MBRateControlMask" start="169" end="169" type="uint"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MBRateControlMask" start="169" end="169" type="uint"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Frame Size Control" start="176" end="176" type="uint"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New mode" value="1"/>
+ <value name="New Mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New Mode" value="1"/>
+ <value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
</instruction>
<instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
- <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
- <value name="NO_ACCUMULATION" value="1"/>
- <value name="ACCUMULATE" value="0"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
<field name="Slice Header Indicator" start="46" end="46" type="uint">
<value name="SLICE_HEADER" value="1"/>
<value name="LEGACY" value="0"/>
</field>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
- <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
+ <value name="NO_ACCUMULATION" value="1"/>
+ <value name="ACCUMULATE" value="0"/>
+ </field>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
<group count="0" start="64" size="32">
<field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="61" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="59"/>
- <field name="Pre Deblocking Destination - Address" start="38" end="63" type="address"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Pre Deblocking Destination - MOCS" start="32" end="35" type="uint"/>
<field name="Pre Deblocking Destination - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Pre Deblocking Destination - MOCS" start="32" end="35" type="uint"/>
- <field name="Post Deblocking Destination - Address" start="134" end="159" type="address"/>
+ <field name="Pre Deblocking Destination - Address" start="38" end="63" type="address"/>
+ <field name="Post Deblocking Destination - MOCS" start="128" end="131" type="uint"/>
<field name="Post Deblocking Destination - Arbitration Priority Control" start="132" end="133" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Post Deblocking Destination - MOCS" start="128" end="131" type="uint"/>
- <field name="Original Uncompressed Picture Source - Address" start="230" end="255" type="address"/>
+ <field name="Post Deblocking Destination - Address" start="134" end="159" type="address"/>
+ <field name="Original Uncompressed Picture Source - MOCS" start="224" end="227" type="uint"/>
<field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="228" end="229" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Original Uncompressed Picture Source - MOCS" start="224" end="227" type="uint"/>
- <field name="Stream-Out Data Destination - Address" start="326" end="351" type="address"/>
+ <field name="Original Uncompressed Picture Source - Address" start="230" end="255" type="address"/>
+ <field name="Stream-Out Data Destination - MOCS" start="320" end="323" type="uint"/>
<field name="Stream-Out Data Destination - Arbitration Priority Control" start="324" end="325" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Stream-Out Data Destination - MOCS" start="320" end="323" type="uint"/>
- <field name="Intra Row Store Scratch Buffer - Address" start="422" end="447" type="address"/>
+ <field name="Stream-Out Data Destination - Address" start="326" end="351" type="address"/>
+ <field name="Intra Row Store Scratch Buffer - MOCS" start="416" end="419" type="uint"/>
<field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="420" end="421" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Intra Row Store Scratch Buffer - MOCS" start="416" end="419" type="uint"/>
- <field name="Deblocking Filter Row Store Scratch - Address" start="518" end="543" type="address"/>
+ <field name="Intra Row Store Scratch Buffer - Address" start="422" end="447" type="address"/>
+ <field name="Deblocking Filter Row Store Scratch - MOCS" start="512" end="515" type="uint"/>
<field name="Deblocking Filter Row Store Scratch - Arbitration Priority Control" start="516" end="517" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Filter Row Store Scratch - MOCS" start="512" end="515" type="uint"/>
+ <field name="Deblocking Filter Row Store Scratch - Address" start="518" end="543" type="address"/>
<group count="16" start="608" size="64">
<field name="Reference Picture - Address" start="0" end="63" type="address"/>
</group>
- <field name="MB Status Buffer - Address" start="1670" end="1695" type="address"/>
+ <field name="MB Status Buffer - MOCS" start="1664" end="1667" type="uint"/>
<field name="MB Status Buffer - Arbitration Priority Control" start="1668" end="1669" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MB Status Buffer - MOCS" start="1664" end="1667" type="uint"/>
- <field name="MB ILDB Stream-Out Buffer - Address" start="1766" end="1791" type="address"/>
+ <field name="MB Status Buffer - Address" start="1670" end="1695" type="address"/>
+ <field name="MB ILDB Stream-Out Buffer - MOCS" start="1760" end="1763" type="uint"/>
<field name="MB ILDB Stream-Out Buffer - Arbitration Priority Control" start="1764" end="1765" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MB ILDB Stream-Out Buffer - MOCS" start="1760" end="1763" type="uint"/>
- <field name="Second MB ILDB Stream-Out Buffer - Address" start="1862" end="1887" type="address"/>
+ <field name="MB ILDB Stream-Out Buffer - Address" start="1766" end="1791" type="address"/>
<field name="Second MB ILDB Stream-Out Buffer - Arbitration Priority Control" start="1860" end="1861" type="uint">
<value name="Highest Priority" value="0"/>
<value name="Second Highest Priority" value="1"/>
<value name="Third Highest Priority" value="2"/>
<value name="Lowest Priority" value="3"/>
</field>
+ <field name="Second MB ILDB Stream-Out Buffer - Address" start="1862" end="1887" type="address"/>
</instruction>
<instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
- <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
- <value name="Short Format Driver Interface" value="0"/>
- <value name="Long Format Driver Interface" value="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
+ <value name="MPEG2" value="0"/>
+ <value name="VC1" value="1"/>
+ <value name="AVC" value="2"/>
+ <value name="JPEG" value="3"/>
+ </field>
+ <field name="Codec Select" start="36" end="36" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
</field>
+ <field name="Stitch Mode" start="37" end="37" type="bool"/>
+ <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
+ <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
+ <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
+ <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
+ <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
<field name="Decoder Mode select" start="47" end="48" type="uint">
<value name="VLD Mode" value="0"/>
<value name="IT Mode" value="1"/>
<value name="Deblocker Mode" value="2"/>
<value name="Interlayer Mode" value="3"/>
</field>
- <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
- <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
- <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
- <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
- <field name="Stitch Mode" start="37" end="37" type="bool"/>
- <field name="Codec Select" start="36" end="36" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
- </field>
- <field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
- <value name="MPEG2" value="0"/>
- <value name="VC1" value="1"/>
- <value name="AVC" value="2"/>
- <value name="JPEG" value="3"/>
+ <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
+ <value name="Short Format Driver Interface" value="0"/>
+ <value name="Long Format Driver Interface" value="1"/>
</field>
+ <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -3431,27 +3429,27 @@
</instruction>
<instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="State Pointer" start="37" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="State Pointer Index" start="32" end="33" type="uint"/>
+ <field name="State Pointer" start="37" end="63" type="uint"/>
</instruction>
<instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
- <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
+ <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
<field name="Indirect Data Length" start="64" end="82" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<group count="0" start="128" size="32">
@@ -3460,15 +3458,23 @@
</instruction>
<instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Height" start="82" end="95" type="uint"/>
- <field name="Width" start="68" end="81" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="uint"/>
+ <field name="Width" start="68" end="81" type="uint"/>
+ <field name="Height" start="82" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Interleave Chroma" start="123" end="123" type="bool"/>
<field name="Surface Format" start="124" end="127" type="uint">
<value name="YCRCB_NORMAL" value="0"/>
<value name="YCRCB_SWAPUVY" value="1"/>
@@ -3484,126 +3490,118 @@
<value name="R8_UNORM (Cr/Cb)" value="11"/>
<value name="Y8_UNORM" value="12"/>
</field>
- <field name="Interleave Chroma" start="123" end="123" type="bool"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
- <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
- <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
+ <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
+ <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
</instruction>
<instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
- <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Direct MV Write Buffer - MOCS" start="32" end="35" type="uint"/>
<field name="Direct MV Write Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Direct MV Write Buffer - MOCS" start="32" end="35" type="uint"/>
- <field name="Direct MV Read Buffer - Address" start="134" end="159" type="address"/>
+ <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
+ <field name="Direct MV Read Buffer - MOCS" start="128" end="131" type="uint"/>
<field name="Direct MV Read Buffer - Arbitration Priority Control" start="132" end="133" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Direct MV Read Buffer - MOCS" start="128" end="131" type="uint"/>
+ <field name="Direct MV Read Buffer - Address" start="134" end="159" type="address"/>
</instruction>
<instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
- <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
- <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
- <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
- <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
- <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
- <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
+ <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
+ <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
<field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
- <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
- <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
- <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
+ <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
<field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
- <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
- <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
- <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
+ <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
<field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
- <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
- <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
- <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
+ <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
<field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
+ <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
+ <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
</instruction>
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
- <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
+ <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
+ <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="MI_ARB_CHECK" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ARB_ON_OFF" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
<field name="Arbitration Enable" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_START" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
- <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
- <value name="First level batch" value="0"/>
- <value name="Second level batch" value="1"/>
- </field>
- <field name="Add Offset Enable" start="16" end="16" type="bool"/>
- <field name="Predication Enable" start="15" end="15" type="bool"/>
- <field name="Non-Privileged" start="13" end="13" type="bool"/>
- <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
- <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
<value name="GGTT" value="0"/>
<value name="PPGTT" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
+ <field name="Non-Privileged" start="13" end="13" type="bool"/>
+ <field name="Predication Enable" start="15" end="15" type="bool"/>
+ <field name="Add Offset Enable" start="16" end="16" type="bool"/>
+ <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
+ <value name="First level batch" value="0"/>
+ <value name="Second level batch" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Batch Buffer Start Address" start="34" end="63" type="address"/>
</instruction>
<instruction name="MI_CLFLUSH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="9" type="uint" default="1"/>
- <field name="Page Base Address" start="44" end="63" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
+ <field name="Page Base Address" start="44" end="63" type="address"/>
<field name="Page Base Address High" start="64" end="79" type="address"/>
<group count="0" start="96" size="32">
<field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
@@ -3611,59 +3609,59 @@
</instruction>
<instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Compare Data Dword" start="32" end="63" type="uint"/>
<field name="Compare Address" start="67" end="95" type="address"/>
</instruction>
<instruction name="MI_FLUSH" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
- <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
- <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
- <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
- <value name="Don't Reset" value="0"/>
- <value name="Reset" value="1"/>
+ <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
+ <value name="Don't Invalidate" value="0"/>
+ <value name="Invalidate" value="1"/>
</field>
<field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
<value name="Flush" value="0"/>
<value name="Don't Flush" value="1"/>
</field>
- <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
- <value name="Don't Invalidate" value="0"/>
- <value name="Invalidate" value="1"/>
+ <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
+ <value name="Don't Reset" value="0"/>
+ <value name="Reset" value="1"/>
</field>
+ <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_FLUSH_DW" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
- <field name="Store Data Index" start="21" end="21" type="bool"/>
- <field name="TLB Invalidate" start="18" end="18" type="bool"/>
- <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
- <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint"/>
- <field name="Address" start="35" end="63" type="address"/>
+ <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
+ <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
+ <field name="TLB Invalidate" start="18" end="18" type="bool"/>
+ <field name="Store Data Index" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="63" type="address"/>
<group count="2" start="64" size="32">
<field name="Immediate Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="54" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -3673,80 +3671,79 @@
</instruction>
<instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Async Mode Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Async Mode Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Source Register Address" start="34" end="54" type="offset"/>
<field name="Destination Register Address" start="66" end="86" type="offset"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
</field>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
</field>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_URB_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="34" end="46" type="uint"/>
<field name="Memory Address" start="70" end="95" type="address"/>
</instruction>
<instruction name="MI_MATH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<group count="0" start="32" size="32">
<field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
</group>
</instruction>
<instruction name="MI_NOOP" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
- <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
<field name="Identification Number" start="0" end="21" type="uint"/>
+ <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
- <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
- <value name="KEEP" value="0"/>
- <value name="LOAD" value="2"/>
- <value name="LOADINV" value="3"/>
+ <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
+ <value name="TRUE" value="0"/>
+ <value name="FALSE" value="1"/>
+ <value name="SRCS_EQUAL" value="2"/>
+ <value name="DELTAS_EQUAL" value="3"/>
</field>
<field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
<value name="SET" value="0"/>
@@ -3754,345 +3751,397 @@
<value name="OR" value="2"/>
<value name="XOR" value="3"/>
</field>
- <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
- <value name="TRUE" value="0"/>
- <value name="FALSE" value="1"/>
- <value name="SRCS_EQUAL" value="2"/>
- <value name="DELTAS_EQUAL" value="3"/>
+ <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
+ <value name="KEEP" value="0"/>
+ <value name="LOAD" value="2"/>
+ <value name="LOADINV" value="3"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_HEAD" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_PERF_COUNT" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
<field name="DWord Length" start="0" end="5" type="uint" default="1"/>
- <field name="Memory Address" start="38" end="63" type="address"/>
- <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Use Global GTT" start="32" end="32" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="Memory Address" start="38" end="63" type="address"/>
<field name="Report ID" start="64" end="95" type="uint"/>
</instruction>
<instruction name="MI_RS_CONTEXT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
<field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
<value name="Restore" value="0"/>
<value name="Save" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_CONTROL" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
<field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
<value name="Stop" value="0"/>
<value name="Start" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Destination Address" start="66" end="95" type="address"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="64" end="64" type="uint"/>
+ <field name="Destination Address" start="66" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_MBOX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="General Register Select" start="8" end="13" type="uint"/>
<field name="Register Select" start="16" end="17" type="uint">
<value name="RVSYNC" value="0"/>
<value name="RVESYNC" value="1"/>
<value name="RBSYNC" value="2"/>
<value name="Use General Register Select" value="3"/>
</field>
- <field name="General Register Select" start="8" end="13" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
</instruction>
<instruction name="MI_SET_CONTEXT" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Logical Context Address" start="44" end="63" type="address"/>
- <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
- <field name="Core Mode Enable" start="36" end="36" type="bool"/>
- <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
- <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
- <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Restore Inhibit" start="32" end="32" type="uint"/>
+ <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
+ <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="bool"/>
+ <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
+ <field name="Logical Context Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="MI_SET_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
<field name="PREDICATE ENABLE" start="0" end="1" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
- <field name="Address" start="66" end="95" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="64" end="64" type="uint"/>
+ <field name="Address" start="66" end="95" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Offset" start="34" end="43" type="uint"/>
<field name="Data DWord 0" start="64" end="95" type="uint"/>
<field name="Data DWord 1" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Predicate Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Predicate Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="95" type="address"/>
</instruction>
<instruction name="MI_STORE_URB_MEM" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="34" end="46" type="uint"/>
<field name="Memory Address" start="70" end="95" type="address"/>
</instruction>
<instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
<field name="Suspend Flush" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
<field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
- <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
<field name="URB Atomic Storage Size" start="0" end="8" type="uint"/>
+ <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Clear Length" start="48" end="61" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="32" end="46" type="offset"/>
+ <field name="URB Clear Length" start="48" end="61" type="uint"/>
</instruction>
<instruction name="MI_USER_INTERRUPT" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter|video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
- <field name="Display Pipe C Horizontal Blank Wait Enable" start="22" end="22" type="bool"/>
- <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
- <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
+ <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
+ <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
+ <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
+ <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
+ <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
+ <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
+ <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
+ <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
+ <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
+ <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
<field name="Condition Code Wait Select" start="16" end="19" type="uint">
<value name="Not enabled" value="0"/>
</field>
- <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
- <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
- <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
- <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
- <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
- <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
- <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
- <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
- <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
- <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
- <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
- <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
+ <field name="Display Pipe C Horizontal Blank Wait Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="Pipeline Selection" start="0" end="1" type="uint">
<value name="3D" value="0"/>
<value name="Media" value="1"/>
<value name="GPGPU" value="2"/>
</field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
- <value name="No LRI Operation" value="0"/>
- <value name="MMIO Write Immediate Data" value="1"/>
- </field>
- <field name="Store Data Index" start="53" end="53" type="uint"/>
- <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
- <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
- <field name="TLB Invalidate" start="50" end="50" type="bool"/>
- <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
+ <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
+ <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
+ <field name="DC Flush Enable" start="37" end="37" type="bool"/>
+ <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
+ <field name="Notify Enable" start="40" end="40" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
+ <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
+ <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
+ <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
<field name="Post Sync Operation" start="46" end="47" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
- <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
- <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
- <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
- <field name="Notify Enable" start="40" end="40" type="bool"/>
- <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
- <field name="DC Flush Enable" start="37" end="37" type="bool"/>
- <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
- <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
- <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
- <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+ <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+ <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
+ <field name="Store Data Index" start="53" end="53" type="uint"/>
+ <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
+ <value name="No LRI Operation" value="0"/>
+ <value name="MMIO Write Immediate Data" value="1"/>
+ </field>
+ <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
<field name="Address" start="66" end="95" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="10" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="8"/>
- <field name="General State Base Address" start="44" end="63" type="address"/>
- <field name="General State MOCS" start="40" end="43" type="uint"/>
- <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
- <field name="Surface State Base Address" start="76" end="95" type="address"/>
- <field name="Surface State MOCS" start="72" end="75" type="uint"/>
+ <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
+ <field name="General State MOCS" start="40" end="43" type="uint"/>
+ <field name="General State Base Address" start="44" end="63" type="address"/>
<field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
- <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
- <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
+ <field name="Surface State MOCS" start="72" end="75" type="uint"/>
+ <field name="Surface State Base Address" start="76" end="95" type="address"/>
<field name="Dynamic State Base Address Modify Enable" start="96" end="96" type="bool"/>
- <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
- <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
+ <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
+ <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="Instruction Base Address" start="172" end="191" type="address"/>
- <field name="Instruction MOCS" start="168" end="171" type="uint"/>
+ <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
+ <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
<field name="Instruction Base Address Modify Enable" start="160" end="160" type="bool"/>
- <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
+ <field name="Instruction MOCS" start="168" end="171" type="uint"/>
+ <field name="Instruction Base Address" start="172" end="191" type="address"/>
<field name="General State Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
- <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
+ <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
<field name="Dynamic State Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
- <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
+ <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
<field name="Indirect Object Access Upper Bound Modify Enable" start="256" end="256" type="bool"/>
- <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
+ <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
<field name="Instruction Access Upper Bound Modify Enable" start="288" end="288" type="bool"/>
+ <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
</instruction>
<instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Prefetch Pointer" start="38" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Prefetch Count" start="32" end="34" type="uint"/>
+ <field name="Prefetch Pointer" start="38" end="63" type="address"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="63" type="offset"/>
</instruction>
<instruction name="SWTESS_BASE_ADDRESS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="SW Tessellation Base Address" start="44" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SW Tessellation MOCS" start="40" end="43" type="uint"/>
+ <field name="SW Tessellation Base Address" start="44" end="63" type="address"/>
</instruction>
- <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
- <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_FAULT_REG" length="1" num="0x4294">
+ <field name="Valid Bit" start="0" end="0" type="bool"/>
+ <field name="Fault Type" start="1" end="2" type="uint">
+ <value name="Page Fault" value="0"/>
+ <value name="Invalid PD Fault" value="1"/>
+ <value name="Unloaded PD Fault" value="2"/>
+ <value name="Invalid and Unloaded PD fault" value="3"/>
+ </field>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="GTTSEL" start="11" end="11" type="uint">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
</register>
- <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
- <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_INSTDONE" length="1" num="0x2206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
+ <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
+ <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
</register>
- <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
- <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
- <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CHICKEN3" length="1" num="0xe49c">
+ <field name="L3 Atomic Disable" start="6" end="6" type="uint"/>
+ <field name="L3 Atomic Disable Mask" start="22" end="22" type="uint"/>
+ </register>
+
+ <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
+ <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
+ <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
+ <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
<register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
<field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
- <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="ERR_INT" length="1" num="0x44040">
+ <field name="Primary A GTT Fault Status" start="0" end="0" type="bool"/>
+ <field name="Primary B GTT Fault Status" start="1" end="1" type="bool"/>
+ <field name="Sprite A GTT Fault Status" start="2" end="2" type="bool"/>
+ <field name="Sprite B GTT Fault Status" start="3" end="3" type="bool"/>
+ <field name="Cursor A GTT Fault Status" start="4" end="4" type="bool"/>
+ <field name="Cursor B GTT Fault Status" start="5" end="5" type="bool"/>
+ <field name="Invalid page table entry data" start="6" end="6" type="bool"/>
+ <field name="Invalid GTT page table entry" start="7" end="7" type="bool"/>
</register>
- <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
- <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
+ <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
+ <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
+ <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
+ <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
+ <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
+ <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
+ <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
+ <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
+ <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
+ <field name="Pending Page Faults" start="9" end="15" type="uint"/>
</register>
- <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
- <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
+ <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
- <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
+ <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
- <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
+ <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
- <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
+ <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="BCS_INSTDONE" length="1" num="0x2206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
- <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
- <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
+ <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
+ <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
</register>
<register name="INSTDONE_1" length="1" num="0x206c">
@@ -4120,62 +4169,73 @@
<field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
</register>
- <register name="VCS_INSTDONE" length="1" num="0x1206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="USB Done" start="1" end="1" type="uint" default="1"/>
- <field name="QRC Done" start="2" end="2" type="uint" default="1"/>
- <field name="SEC Done" start="3" end="3" type="uint" default="1"/>
- <field name="MPC Done" start="4" end="4" type="uint" default="1"/>
- <field name="VFT Done" start="5" end="5" type="uint" default="1"/>
- <field name="BSP Done" start="6" end="6" type="uint" default="1"/>
- <field name="VLF Done" start="7" end="7" type="uint" default="1"/>
- <field name="VOP Done" start="8" end="8" type="uint" default="1"/>
- <field name="VMC Done" start="9" end="9" type="uint" default="1"/>
- <field name="VIP Done" start="10" end="10" type="uint" default="1"/>
- <field name="VIT Done" start="11" end="11" type="uint" default="1"/>
- <field name="VDS Done" start="12" end="12" type="uint" default="1"/>
- <field name="VMX Done" start="13" end="13" type="uint" default="1"/>
- <field name="VCP Done" start="14" end="14" type="uint" default="1"/>
- <field name="VCD Done" start="15" end="15" type="uint" default="1"/>
- <field name="VAD Done" start="16" end="16" type="uint" default="1"/>
- <field name="VMD Done" start="17" end="17" type="uint" default="1"/>
- <field name="VIS Done" start="18" end="18" type="uint" default="1"/>
- <field name="VAC Done" start="19" end="19" type="uint" default="1"/>
- <field name="VAM Done" start="20" end="20" type="uint" default="1"/>
- <field name="JPG Done" start="21" end="21" type="uint" default="1"/>
- <field name="VBP Done" start="22" end="22" type="uint" default="1"/>
- <field name="VHR Done" start="23" end="23" type="uint" default="1"/>
- <field name="VCI Done" start="24" end="24" type="uint" default="1"/>
- <field name="VCR Done" start="25" end="25" type="uint" default="1"/>
- <field name="VIN Done" start="26" end="26" type="uint" default="1"/>
- <field name="VPR Done" start="27" end="27" type="uint" default="1"/>
- <field name="VTQ Done" start="28" end="28" type="uint" default="1"/>
- <field name="Reserved" start="29" end="29" type="uint" default="1"/>
- <field name="VCS Done" start="30" end="30" type="uint" default="1"/>
- <field name="GAC Done" start="31" end="31" type="uint" default="1"/>
+ <register name="INSTPM" length="1" num="0x20c0">
+ <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
+ <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
+ <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
+ <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
+ <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
+ <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
</register>
- <register name="VECS_INSTDONE" length="1" num="0x1a06c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="VECS Done" start="30" end="30" type="uint" default="1"/>
- <field name="GAM Done" start="31" end="31" type="uint" default="1"/>
+ <register name="L3CNTLREG2" length="1" num="0xb020">
+ <field name="SLM Enable" start="0" end="0" type="uint"/>
+ <field name="URB Allocation" start="1" end="6" type="uint"/>
+ <field name="URB Low Bandwidth" start="7" end="7" type="uint"/>
+ <field name="RO Allocation" start="14" end="19" type="uint"/>
+ <field name="RO Low Bandwidth" start="20" end="20" type="uint"/>
+ <field name="DC Allocation" start="21" end="26" type="uint"/>
+ <field name="DC Low Bandwidth" start="27" end="27" type="uint"/>
</register>
- <register name="SC_INSTDONE" length="1" num="0x7100">
- <field name="SVL Done" start="0" end="0" type="bool"/>
- <field name="WMFE Done" start="1" end="1" type="bool"/>
- <field name="WMBE Done" start="2" end="2" type="bool"/>
- <field name="HIZ Done" start="3" end="3" type="bool"/>
- <field name="STC Done" start="4" end="4" type="bool"/>
- <field name="IZ Done" start="5" end="5" type="bool"/>
- <field name="SBE Done" start="6" end="6" type="bool"/>
- <field name="RCZ Done" start="8" end="8" type="bool"/>
- <field name="RCC Done" start="9" end="9" type="bool"/>
- <field name="RCPBE Done" start="10" end="10" type="bool"/>
- <field name="RCPFE Done" start="11" end="11" type="bool"/>
- <field name="DAPB Done" start="12" end="12" type="bool"/>
- <field name="DAPRBE Done" start="13" end="13" type="bool"/>
- <field name="SARB Done" start="15" end="15" type="bool"/>
+ <register name="L3CNTLREG3" length="1" num="0xb024">
+ <field name="IS Allocation" start="1" end="6" type="uint"/>
+ <field name="IS Low Bandwidth" start="7" end="7" type="uint"/>
+ <field name="C Allocation" start="8" end="13" type="uint"/>
+ <field name="C Low Bandwidth" start="14" end="14" type="uint"/>
+ <field name="T Allocation" start="15" end="20" type="uint"/>
+ <field name="T Low Bandwidth" start="21" end="21" type="uint"/>
+ </register>
+
+ <register name="L3SQCREG1" length="1" num="0xb010">
+ <field name="Convert DC_UC" start="24" end="24" type="uint"/>
+ <field name="Convert IS_UC" start="25" end="25" type="uint"/>
+ <field name="Convert C_UC" start="26" end="26" type="uint"/>
+ <field name="Convert T_UC" start="27" end="27" type="uint"/>
+ </register>
+
+ <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
+ <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="RCS_FAULT_REG" length="1" num="0x4094">
+ <field name="Valid Bit" start="0" end="0" type="bool"/>
+ <field name="Fault Type" start="1" end="2" type="uint">
+ <value name="Page Fault" value="0"/>
+ <value name="Invalid PD Fault" value="1"/>
+ <value name="Unloaded PD Fault" value="2"/>
+ <value name="Invalid and Unloaded PD fault" value="3"/>
+ </field>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="GTTSEL" start="11" end="11" type="uint">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
+ </register>
+
+ <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
<register name="ROW_INSTDONE" length="1" num="0xe164">
@@ -4225,39 +4285,25 @@
<field name="MT1 Done" start="21" end="21" type="bool"/>
</register>
- <register name="L3SQCREG1" length="1" num="0xb010">
- <field name="Convert DC_UC" start="24" end="24" type="uint"/>
- <field name="Convert IS_UC" start="25" end="25" type="uint"/>
- <field name="Convert C_UC" start="26" end="26" type="uint"/>
- <field name="Convert T_UC" start="27" end="27" type="uint"/>
- </register>
-
- <register name="L3CNTLREG2" length="1" num="0xb020">
- <field name="SLM Enable" start="0" end="0" type="uint"/>
- <field name="URB Allocation" start="1" end="6" type="uint"/>
- <field name="URB Low Bandwidth" start="7" end="7" type="uint"/>
- <field name="RO Allocation" start="14" end="19" type="uint"/>
- <field name="RO Low Bandwidth" start="20" end="20" type="uint"/>
- <field name="DC Allocation" start="21" end="26" type="uint"/>
- <field name="DC Low Bandwidth" start="27" end="27" type="uint"/>
- </register>
-
- <register name="L3CNTLREG3" length="1" num="0xb024">
- <field name="IS Allocation" start="1" end="6" type="uint"/>
- <field name="IS Low Bandwidth" start="7" end="7" type="uint"/>
- <field name="C Allocation" start="8" end="13" type="uint"/>
- <field name="C Low Bandwidth" start="14" end="14" type="uint"/>
- <field name="T Allocation" start="15" end="20" type="uint"/>
- <field name="T Low Bandwidth" start="21" end="21" type="uint"/>
- </register>
-
<register name="SCRATCH1" length="1" num="0xb038">
<field name="L3 Atomic Disable" start="27" end="27" type="uint"/>
</register>
- <register name="CHICKEN3" length="1" num="0xe49c">
- <field name="L3 Atomic Disable" start="6" end="6" type="uint"/>
- <field name="L3 Atomic Disable Mask" start="22" end="22" type="uint"/>
+ <register name="SC_INSTDONE" length="1" num="0x7100">
+ <field name="SVL Done" start="0" end="0" type="bool"/>
+ <field name="WMFE Done" start="1" end="1" type="bool"/>
+ <field name="WMBE Done" start="2" end="2" type="bool"/>
+ <field name="HIZ Done" start="3" end="3" type="bool"/>
+ <field name="STC Done" start="4" end="4" type="bool"/>
+ <field name="IZ Done" start="5" end="5" type="bool"/>
+ <field name="SBE Done" start="6" end="6" type="bool"/>
+ <field name="RCZ Done" start="8" end="8" type="bool"/>
+ <field name="RCC Done" start="9" end="9" type="bool"/>
+ <field name="RCPBE Done" start="10" end="10" type="bool"/>
+ <field name="RCPFE Done" start="11" end="11" type="bool"/>
+ <field name="DAPB Done" start="12" end="12" type="bool"/>
+ <field name="DAPRBE Done" start="13" end="13" type="bool"/>
+ <field name="SARB Done" start="15" end="15" type="bool"/>
</register>
<register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
@@ -4308,31 +4354,7 @@
<field name="Write Offset" start="2" end="31" type="offset"/>
</register>
- <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
- <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
- <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
- <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
- <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
- <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
- <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
- <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
- <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
- <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
- <field name="Pending Page Faults" start="9" end="15" type="uint"/>
- </register>
-
- <register name="ERR_INT" length="1" num="0x44040">
- <field name="Primary A GTT Fault Status" start="0" end="0" type="bool"/>
- <field name="Primary B GTT Fault Status" start="1" end="1" type="bool"/>
- <field name="Sprite A GTT Fault Status" start="2" end="2" type="bool"/>
- <field name="Sprite B GTT Fault Status" start="3" end="3" type="bool"/>
- <field name="Cursor A GTT Fault Status" start="4" end="4" type="bool"/>
- <field name="Cursor B GTT Fault Status" start="5" end="5" type="bool"/>
- <field name="Invalid page table entry data" start="6" end="6" type="bool"/>
- <field name="Invalid GTT page table entry" start="7" end="7" type="bool"/>
- </register>
-
- <register name="BCS_FAULT_REG" length="1" num="0x4294">
+ <register name="VCS_FAULT_REG" length="1" num="0x4194">
<field name="Valid Bit" start="0" end="0" type="bool"/>
<field name="Fault Type" start="1" end="2" type="uint">
<value name="Page Fault" value="0"/>
@@ -4340,7 +4362,7 @@
<value name="Unloaded PD Fault" value="2"/>
<value name="Invalid and Unloaded PD fault" value="3"/>
</field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
<field name="GTTSEL" start="11" end="11" type="uint">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
@@ -4348,39 +4370,56 @@
<field name="Virtual Address of Fault" start="12" end="31" type="address"/>
</register>
- <register name="RCS_FAULT_REG" length="1" num="0x4094">
- <field name="Valid Bit" start="0" end="0" type="bool"/>
- <field name="Fault Type" start="1" end="2" type="uint">
- <value name="Page Fault" value="0"/>
- <value name="Invalid PD Fault" value="1"/>
- <value name="Unloaded PD Fault" value="2"/>
- <value name="Invalid and Unloaded PD fault" value="3"/>
- </field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
- <field name="GTTSEL" start="11" end="11" type="uint">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
+ <register name="VCS_INSTDONE" length="1" num="0x1206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="USB Done" start="1" end="1" type="uint" default="1"/>
+ <field name="QRC Done" start="2" end="2" type="uint" default="1"/>
+ <field name="SEC Done" start="3" end="3" type="uint" default="1"/>
+ <field name="MPC Done" start="4" end="4" type="uint" default="1"/>
+ <field name="VFT Done" start="5" end="5" type="uint" default="1"/>
+ <field name="BSP Done" start="6" end="6" type="uint" default="1"/>
+ <field name="VLF Done" start="7" end="7" type="uint" default="1"/>
+ <field name="VOP Done" start="8" end="8" type="uint" default="1"/>
+ <field name="VMC Done" start="9" end="9" type="uint" default="1"/>
+ <field name="VIP Done" start="10" end="10" type="uint" default="1"/>
+ <field name="VIT Done" start="11" end="11" type="uint" default="1"/>
+ <field name="VDS Done" start="12" end="12" type="uint" default="1"/>
+ <field name="VMX Done" start="13" end="13" type="uint" default="1"/>
+ <field name="VCP Done" start="14" end="14" type="uint" default="1"/>
+ <field name="VCD Done" start="15" end="15" type="uint" default="1"/>
+ <field name="VAD Done" start="16" end="16" type="uint" default="1"/>
+ <field name="VMD Done" start="17" end="17" type="uint" default="1"/>
+ <field name="VIS Done" start="18" end="18" type="uint" default="1"/>
+ <field name="VAC Done" start="19" end="19" type="uint" default="1"/>
+ <field name="VAM Done" start="20" end="20" type="uint" default="1"/>
+ <field name="JPG Done" start="21" end="21" type="uint" default="1"/>
+ <field name="VBP Done" start="22" end="22" type="uint" default="1"/>
+ <field name="VHR Done" start="23" end="23" type="uint" default="1"/>
+ <field name="VCI Done" start="24" end="24" type="uint" default="1"/>
+ <field name="VCR Done" start="25" end="25" type="uint" default="1"/>
+ <field name="VIN Done" start="26" end="26" type="uint" default="1"/>
+ <field name="VPR Done" start="27" end="27" type="uint" default="1"/>
+ <field name="VTQ Done" start="28" end="28" type="uint" default="1"/>
+ <field name="Reserved" start="29" end="29" type="uint" default="1"/>
+ <field name="VCS Done" start="30" end="30" type="uint" default="1"/>
+ <field name="GAC Done" start="31" end="31" type="uint" default="1"/>
</register>
- <register name="VECS_FAULT_REG" length="1" num="0x4394">
- <field name="Valid Bit" start="0" end="0" type="bool"/>
- <field name="Fault Type" start="1" end="2" type="uint">
- <value name="Page Fault" value="0"/>
- <value name="Invalid PD Fault" value="1"/>
- <value name="Unloaded PD Fault" value="2"/>
- <value name="Invalid and Unloaded PD fault" value="3"/>
- </field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
- <field name="GTTSEL" start="11" end="11" type="uint">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
+ <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
</field>
- <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
+ <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="VCS_FAULT_REG" length="1" num="0x4194">
+ <register name="VECS_FAULT_REG" length="1" num="0x4394">
<field name="Valid Bit" start="0" end="0" type="bool"/>
<field name="Fault Type" start="1" end="2" type="uint">
<value name="Page Fault" value="0"/>
@@ -4388,7 +4427,7 @@
<value name="Unloaded PD Fault" value="2"/>
<value name="Invalid and Unloaded PD fault" value="3"/>
</field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
<field name="GTTSEL" start="11" end="11" type="uint">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
@@ -4396,30 +4435,10 @@
<field name="Virtual Address of Fault" start="12" end="31" type="address"/>
</register>
- <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
- </register>
-
- <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ <register name="VECS_INSTDONE" length="1" num="0x1a06c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="VECS Done" start="30" end="30" type="uint" default="1"/>
+ <field name="GAM Done" start="31" end="31" type="uint" default="1"/>
</register>
<register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
@@ -4436,30 +4455,7 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
- </register>
-
- <register name="INSTPM" length="1" num="0x20c0">
- <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
- <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
- <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
-
- <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
- <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
- <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
+ <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
+ <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
-
</genxml>
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
index e6555f154fd..7eab7b3e2fe 100644
--- a/src/intel/genxml/gen8.xml
+++ b/src/intel/genxml/gen8.xml
@@ -1,5 +1,66 @@
<?xml version="1.0" ?>
<genxml name="BDW" gen="8">
+
+ <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"/>
+ <value name="LESS" value="2"/>
+ <value name="EQUAL" value="3"/>
+ <value name="LEQUAL" value="4"/>
+ <value name="GREATER" value="5"/>
+ <value name="NOTEQUAL" value="6"/>
+ <value name="GEQUAL" value="7"/>
+ </enum>
+
+ <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
+ <value name="CLEAR" value="0"/>
+ <value name="NOR" value="1"/>
+ <value name="AND_INVERTED" value="2"/>
+ <value name="COPY_INVERTED" value="3"/>
+ <value name="AND_REVERSE" value="4"/>
+ <value name="INVERT" value="5"/>
+ <value name="XOR" value="6"/>
+ <value name="NAND" value="7"/>
+ <value name="AND" value="8"/>
+ <value name="EQUIV" value="9"/>
+ <value name="NOOP" value="10"/>
+ <value name="OR_INVERTED" value="11"/>
+ <value name="COPY" value="12"/>
+ <value name="OR_REVERSE" value="13"/>
+ <value name="OR" value="14"/>
+ <value name="SET" value="15"/>
+ </enum>
+
<enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
<value name="POINTLIST" value="1"/>
<value name="LINELIST" value="2"/>
@@ -56,33 +117,6 @@
<value name="PATCHLIST_32" value="63"/>
</enum>
- <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
- <value name="NOSTORE" value="0"/>
- <value name="STORE_SRC" value="1"/>
- <value name="STORE_0" value="2"/>
- <value name="STORE_1_FP" value="3"/>
- <value name="STORE_1_INT" value="4"/>
- <value name="STORE_PID" value="7"/>
- </enum>
-
- <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
- <value name="X" value="1"/>
- <value name="Y" value="2"/>
- <value name="XY" value="3"/>
- <value name="Z" value="4"/>
- <value name="XZ" value="5"/>
- <value name="YZ" value="6"/>
- <value name="XYZ" value="7"/>
- <value name="W" value="8"/>
- <value name="XW" value="9"/>
- <value name="YW" value="10"/>
- <value name="XYW" value="11"/>
- <value name="ZW" value="12"/>
- <value name="XZW" value="13"/>
- <value name="YZW" value="14"/>
- <value name="XYZW" value="15"/>
- </enum>
-
<enum name="3D_Stencil_Operation" prefix="STENCILOP">
<value name="KEEP" value="0"/>
<value name="ZERO" value="1"/>
@@ -94,64 +128,18 @@
<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"/>
- <value name="LESS" value="2"/>
- <value name="EQUAL" value="3"/>
- <value name="LEQUAL" value="4"/>
- <value name="GREATER" value="5"/>
- <value name="NOTEQUAL" value="6"/>
- <value name="GEQUAL" value="7"/>
+ <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
+ <value name="NOSTORE" value="0"/>
+ <value name="STORE_SRC" value="1"/>
+ <value name="STORE_0" value="2"/>
+ <value name="STORE_1_FP" value="3"/>
+ <value name="STORE_1_INT" value="4"/>
+ <value name="STORE_PID" value="7"/>
</enum>
- <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
- <value name="CLEAR" value="0"/>
- <value name="NOR" value="1"/>
- <value name="AND_INVERTED" value="2"/>
- <value name="COPY_INVERTED" value="3"/>
- <value name="AND_REVERSE" value="4"/>
- <value name="INVERT" value="5"/>
- <value name="XOR" value="6"/>
- <value name="NAND" value="7"/>
- <value name="AND" value="8"/>
- <value name="EQUIV" value="9"/>
- <value name="NOOP" value="10"/>
- <value name="OR_INVERTED" value="11"/>
- <value name="COPY" value="12"/>
- <value name="OR_REVERSE" value="13"/>
- <value name="OR" value="14"/>
- <value name="SET" value="15"/>
+ <enum name="Clear Color">
+ <value name="CC_ZERO" value="0"/>
+ <value name="CC_ONE" value="1"/>
</enum>
<enum name="Shader Channel Select" prefix="SCS">
@@ -163,11 +151,6 @@
<value name="ALPHA" value="7"/>
</enum>
- <enum name="Clear Color">
- <value name="CC_ZERO" value="0"/>
- <value name="CC_ONE" value="1"/>
- </enum>
-
<enum name="Texture Coordinate Mode" prefix="TCM">
<value name="WRAP" value="0"/>
<value name="MIRROR" value="1"/>
@@ -178,6 +161,24 @@
<value name="HALF_BORDER" value="6"/>
</enum>
+ <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
+ <value name="X" value="1"/>
+ <value name="Y" value="2"/>
+ <value name="XY" value="3"/>
+ <value name="Z" value="4"/>
+ <value name="XZ" value="5"/>
+ <value name="YZ" value="6"/>
+ <value name="XYZ" value="7"/>
+ <value name="W" value="8"/>
+ <value name="XW" value="9"/>
+ <value name="YW" value="10"/>
+ <value name="XYW" value="11"/>
+ <value name="ZW" value="12"/>
+ <value name="XZW" value="13"/>
+ <value name="YZW" value="14"/>
+ <value name="XYZW" value="15"/>
+ </enum>
+
<struct name="3DSTATE_CONSTANT_BODY" length="10">
<group count="4" start="0" size="16">
<field name="Read Length" start="0" end="15" type="uint"/>
@@ -188,147 +189,48 @@
</struct>
<struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
- <field name="Binding Table Index" start="16" end="23" type="uint"/>
<field name="Surface State Pointer" start="0" end="15" type="offset"/>
+ <field name="Binding Table Index" start="16" end="23" type="uint"/>
</struct>
- <struct name="GATHER_CONSTANT_ENTRY" length="1">
- <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
- <field name="Channel Mask" start="4" end="7" type="uint"/>
- <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
- </struct>
-
- <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
- <field name="Memory Type:LLC/eLLC Cacheability Control" start="5" end="6" type="uint">
- <value name=" UC with Fence (if coherent cycle)" value="0"/>
- <value name="UC (Uncacheable)" value="1"/>
- <value name="WT" value="2"/>
- <value name="WB" value="3"/>
- </field>
- <field name="Target Cache" start="3" end="4" type="uint">
- <value name="eLLC Only (when eDRAM is present, else gets allocated in LLC)" value="0"/>
- <value name="LLC Only" value="1"/>
- <value name="LLC/eLLC Allowed" value="2"/>
- <value name="L3 + Defer to PAT for LLC/eLLC selection" value="3"/>
- </field>
- <field name="Age for QUADLRU" start="0" end="1" type="uint"/>
- </struct>
-
- <struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="MOCS" start="16" end="22" type="uint"/>
- <field name="Address Modify Enable" start="14" end="14" type="bool"/>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
- <field name="Buffer Starting Address" start="32" end="95" type="address"/>
- <field name="Buffer Size" start="96" end="127" type="uint"/>
- </struct>
-
- <struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Valid" start="25" end="25" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
- <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
- <field name="Source Element Offset" start="0" end="11" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
- <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
- </struct>
-
- <struct name="SO_DECL" length="1">
- <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
- <field name="Hole Flag" start="11" end="11" type="uint"/>
- <field name="Register Index" start="4" end="9" type="uint"/>
- <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
- </struct>
-
- <struct name="SO_DECL_ENTRY" length="2">
- <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
- <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
- <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
- <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
- </struct>
-
- <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
- <field name="Component Override W" start="15" end="15" type="bool"/>
- <field name="Component Override Z" start="14" end="14" type="bool"/>
- <field name="Component Override Y" start="13" end="13" type="bool"/>
- <field name="Component Override X" start="12" end="12" type="bool"/>
- <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
- <field name="Constant Source" start="9" end="10" type="uint">
- <value name="CONST_0000" value="0"/>
- <value name="CONST_0001_FLOAT" value="1"/>
- <value name="CONST_1111_FLOAT" value="2"/>
- <value name="PRIM_ID" value="3"/>
- </field>
- <field name="Swizzle Select" start="6" end="7" type="uint">
- <value name="INPUTATTR" value="0"/>
- <value name="INPUTATTR_FACING" value="1"/>
- <value name="INPUTATTR_W" value="2"/>
- <value name="INPUTATTR_FACING_W" value="3"/>
- </field>
- <field name="Source Attribute" start="0" end="4" type="uint"/>
- </struct>
-
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
- <struct name="SF_CLIP_VIEWPORT" length="16">
- <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
- <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
- <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
- <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
- <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
- <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
- <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
- <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
- <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
- <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
- <field name="X Min ViewPort" start="384" end="415" type="float"/>
- <field name="X Max ViewPort" start="416" end="447" type="float"/>
- <field name="Y Min ViewPort" start="448" end="479" type="float"/>
- <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ <struct name="BINDING_TABLE_STATE" length="1">
+ <field name="Surface State Pointer" start="6" end="31" type="offset"/>
</struct>
<struct name="BLEND_STATE_ENTRY" length="2">
- <field name="Logic Op Enable" start="63" end="63" type="bool"/>
- <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
- <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Write Disable Green" start="1" end="1" type="bool"/>
+ <field name="Write Disable Red" start="2" end="2" type="bool"/>
+ <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
+ <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
<field name="Color Clamp Range" start="34" end="35" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
- <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
- <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
- <field name="Write Disable Red" start="2" end="2" type="bool"/>
- <field name="Write Disable Green" start="1" end="1" type="bool"/>
- <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
+ <field name="Logic Op Enable" start="63" end="63" type="bool"/>
</struct>
<struct name="BLEND_STATE" length="1">
- <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
- <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
- <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
- <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
- <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
- <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
- <field name="Color Dither Enable" start="23" end="23" type="bool"/>
- <field name="X Dither Offset" start="21" end="22" type="uint"/>
<field name="Y Dither Offset" start="19" end="20" type="uint"/>
+ <field name="X Dither Offset" start="21" end="22" type="uint"/>
+ <field name="Color Dither Enable" start="23" end="23" type="bool"/>
+ <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
+ <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
+ <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
+ <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
<group count="0" start="32" size="64">
<field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
</group>
@@ -340,13 +242,13 @@
</struct>
<struct name="COLOR_CALC_STATE" length="6">
- <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
- <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
- <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Test Format" start="0" end="0" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
+ <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
+ <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
+ <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
<field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
<field name="Blend Constant Color Red" start="64" end="95" type="float"/>
@@ -355,25 +257,77 @@
<field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
</struct>
+ <struct name="FILTER_COEFFICIENT" length="1">
+ <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
+ </struct>
+
+ <struct name="GATHER_CONSTANT_ENTRY" length="1">
+ <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
+ <field name="Channel Mask" start="4" end="7" type="uint"/>
+ <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
+ </struct>
+
+ <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
+ <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
+ <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
+ <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
+ <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
+ <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
+ <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
+ <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
+ <field name="MPR Error Handling" start="12" end="12" type="bool"/>
+ <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
+ <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
+ <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
+ <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
+ <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
+ <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
+ <field name="Init Current MB Number" start="30" end="30" type="bool"/>
+ <field name="Concealment Method" start="31" end="31" type="uint"/>
+ <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
+ <field name="Last Slice" start="35" end="35" type="bool"/>
+ <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
+ <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
+ <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
+ <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
+ <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
+ <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
+ <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
+ <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
+ <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ </struct>
+
<struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
<field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
- <field name="Denorm Mode" start="83" end="83" type="uint">
- <value name="Ftz" value="0"/>
- <value name="SetByKernel" value="1"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Single Program Flow" start="82" end="82" type="bool"/>
<field name="Thread Priority" start="81" end="81" type="uint">
<value name="Normal Priority" value="0"/>
<value name="High Priority" value="1"/>
</field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Single Program Flow" start="82" end="82" type="bool"/>
+ <field name="Denorm Mode" start="83" end="83" type="uint">
+ <value name="Ftz" value="0"/>
+ <value name="SetByKernel" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
<field name="Sampler Count" start="98" end="100" type="uint">
<value name="No samplers used" value="0"/>
<value name="Between 1 and 4 samplers used" value="1"/>
@@ -381,17 +335,12 @@
<value name="Between 9 and 12 samplers used" value="3"/>
<value name="Between 13 and 16 samplers used" value="4"/>
</field>
- <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
+ <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
<field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
- <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
<field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
- <field name="Rounding Mode" start="214" end="215" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
- </field>
- <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
<field name="Shared Local Memory Size" start="208" end="212" type="uint">
<value name="Encodes 0k" value="0"/>
<value name="Encodes 4k" value="1"/>
@@ -400,184 +349,281 @@
<value name="Encodes 32k" value="8"/>
<value name="Encodes 64k" value="16"/>
</field>
- <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
+ <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Rounding Mode" start="214" end="215" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
+ </field>
<field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
</struct>
- <struct name="PALETTE_ENTRY" length="1">
- <field name="Alpha" start="24" end="31" type="uint"/>
- <field name="Red" start="16" end="23" type="uint"/>
- <field name="Green" start="8" end="15" type="uint"/>
- <field name="Blue" start="0" end="7" type="uint"/>
+ <struct name="MEMORYADDRESSATTRIBUTES" length="1">
+ <field name="Age for QUADLRU" start="0" end="1" type="uint"/>
+ <field name="Target Cache" start="3" end="4" type="uint">
+ <value name="eLLC Only" value="0"/>
+ <value name="LLC Only" value="1"/>
+ <value name="LLC/eLLC" value="2"/>
+ <value name="L3, LLC, eLLC" value="3"/>
+ </field>
+ <field name="Arbitration Priority Control" start="7" end="8" type="uint"/>
</struct>
- <struct name="BINDING_TABLE_STATE" length="1">
- <field name="Surface State Pointer" start="6" end="31" type="offset"/>
+ <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
+ <field name="Age for QUADLRU" start="0" end="1" type="uint"/>
+ <field name="Target Cache" start="3" end="4" type="uint">
+ <value name="eLLC Only (when eDRAM is present, else gets allocated in LLC)" value="0"/>
+ <value name="LLC Only" value="1"/>
+ <value name="LLC/eLLC Allowed" value="2"/>
+ <value name="L3 + Defer to PAT for LLC/eLLC selection" value="3"/>
+ </field>
+ <field name="Memory Type:LLC/eLLC Cacheability Control" start="5" end="6" type="uint">
+ <value name=" UC with Fence (if coherent cycle)" value="0"/>
+ <value name="UC (Uncacheable)" value="1"/>
+ <value name="WT" value="2"/>
+ <value name="WB" value="3"/>
+ </field>
</struct>
- <struct name="RENDER_SURFACE_STATE" length="16">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_STRBUF" value="5"/>
- <value name="SURFTYPE_NULL" value="7"/>
+ <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
+ <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
+ <field name="Last MB" start="3" end="3" type="bool"/>
+ <field name="Last Pic Slice" start="5" end="5" type="bool"/>
+ <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
+ <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
+ <field name="MB Count" start="8" end="15" type="uint"/>
+ <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
+ <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
+ <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
+ <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
+ </struct>
+
+ <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
+ <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
</field>
- <field name="Surface Array" start="28" end="28" type="bool"/>
- <field name="Surface Format" start="18" end="26" type="uint"/>
- <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
- <value name="VALIGN 4" value="1"/>
- <value name="VALIGN 8" value="2"/>
- <value name="VALIGN 16" value="3"/>
+ <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
</field>
- <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
- <value name="HALIGN 4" value="1"/>
- <value name="HALIGN 8" value="2"/>
- <value name="HALIGN 16" value="3"/>
+ <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
+ <value name="NOOP" value="0x000"/>
+ <value name="LOAD" value="0x080"/>
+ <value name="LOADINV" value="0x480"/>
+ <value name="LOAD0" value="0x081"/>
+ <value name="LOAD1" value="0x481"/>
+ <value name="ADD" value="0x100"/>
+ <value name="SUB" value="0x101"/>
+ <value name="AND" value="0x102"/>
+ <value name="OR" value="0x103"/>
+ <value name="XOR" value="0x104"/>
+ <value name="STORE" value="0x180"/>
+ <value name="STOREINV" value="0x580"/>
</field>
+ </struct>
+
+ <struct name="PALETTE_ENTRY" length="1">
+ <field name="Blue" start="0" end="7" type="uint"/>
+ <field name="Green" start="8" end="15" type="uint"/>
+ <field name="Red" start="16" end="23" type="uint"/>
+ <field name="Alpha" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="RENDER_SURFACE_STATE" length="16">
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
+ </field>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="Write-Only Cache" value="0"/>
+ <value name="Read-Write Cache" value="1"/>
+ </field>
+ <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
+ <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
+ <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
<field name="Tile Mode" start="12" end="13" type="uint">
<value name="LINEAR" value="0"/>
<value name="WMAJOR" value="1"/>
<value name="XMAJOR" value="2"/>
<value name="YMAJOR" value="3"/>
</field>
- <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
- <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
- <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="Write-Only Cache" value="0"/>
- <value name="Read-Write Cache" value="1"/>
+ <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
+ <value name="HALIGN 4" value="1"/>
+ <value name="HALIGN 8" value="2"/>
+ <value name="HALIGN 16" value="3"/>
</field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
+ <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
+ <value name="VALIGN 4" value="1"/>
+ <value name="VALIGN 8" value="2"/>
+ <value name="VALIGN 16" value="3"/>
+ </field>
+ <field name="Surface Format" start="18" end="26" type="uint"/>
+ <field name="Surface Array" start="28" end="28" type="bool"/>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_STRBUF" value="5"/>
+ <value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
- <field name="MOCS" start="56" end="62" type="uint"/>
- <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
<field name="Surface QPitch" start="32" end="46" type="uint"/>
- <field name="Height" start="80" end="93" type="uint"/>
+ <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
+ <field name="MOCS" start="56" end="62" type="uint"/>
<field name="Width" start="64" end="77" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Height" start="80" end="93" type="uint"/>
<field name="Surface Pitch" start="96" end="113" type="uint"/>
- <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
- <value name="0DEG" value="0"/>
- <value name="90DEG" value="1"/>
- <value name="270DEG" value="3"/>
- </field>
- <field name="Minimum Array Element" start="146" end="156" type="uint"/>
- <field name="Render Target View Extent" start="135" end="145" type="uint"/>
- <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
- <value name="MSFMT_MSS" value="0"/>
- <value name="MSFMT_DEPTH_STENCIL" value="1"/>
- </field>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
<field name="Number of Multisamples" start="131" end="133" type="uint">
<value name="MULTISAMPLECOUNT_1" value="0"/>
<value name="MULTISAMPLECOUNT_2" value="1"/>
<value name="MULTISAMPLECOUNT_4" value="2"/>
<value name="MULTISAMPLECOUNT_8" value="3"/>
</field>
- <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
- <field name="Y Offset" start="181" end="183" type="uint"/>
- <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
+ <value name="MSFMT_MSS" value="0"/>
+ <value name="MSFMT_DEPTH_STENCIL" value="1"/>
+ </field>
+ <field name="Render Target View Extent" start="135" end="145" type="uint"/>
+ <field name="Minimum Array Element" start="146" end="156" type="uint"/>
+ <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
+ <value name="0DEG" value="0"/>
+ <value name="90DEG" value="1"/>
+ <value name="270DEG" value="3"/>
+ </field>
+ <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
+ <field name="Surface Min LOD" start="164" end="167" type="uint"/>
<field name="Coherency Type" start="174" end="174" type="uint">
<value name="GPU coherent" value="0"/>
<value name="IA coherent" value="1"/>
</field>
- <field name="Surface Min LOD" start="164" end="167" type="uint"/>
- <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
- <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
- <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Y Offset" start="181" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
<field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
<value name="AUX_NONE" value="0"/>
<value name="AUX_MCS" value="1"/>
<value name="AUX_APPEND" value="2"/>
<value name="AUX_HIZ" value="3"/>
</field>
- <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
- <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
<field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
- <field name="Red Clear Color" start="255" end="255" type="Clear Color"/>
- <field name="Green Clear Color" start="254" end="254" type="Clear Color"/>
- <field name="Blue Clear Color" start="253" end="253" type="Clear Color"/>
- <field name="Alpha Clear Color" start="252" end="252" type="Clear Color"/>
- <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
- <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
- <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
- <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
+ <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
+ <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
+ <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
<field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
+ <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
+ <field name="Alpha Clear Color" start="252" end="252" type="Clear Color"/>
+ <field name="Blue Clear Color" start="253" end="253" type="Clear Color"/>
+ <field name="Green Clear Color" start="254" end="254" type="Clear Color"/>
+ <field name="Red Clear Color" start="255" end="255" type="Clear Color"/>
<field name="Surface Base Address" start="256" end="319" type="address"/>
- <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
- <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
- <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
<field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
- </struct>
-
- <struct name="FILTER_COEFFICIENT" length="1">
- <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
+ <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
+ <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
+ <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
<field name="Border Color Float Red" start="0" end="31" type="float"/>
- <field name="Border Color Float Green" start="32" end="63" type="float"/>
- <field name="Border Color Float Blue" start="64" end="95" type="float"/>
- <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
-
<field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
<field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
<field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
<field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="Texture Border Color Mode" start="29" end="29" type="uint">
- <value name="DX10/OGL" value="0"/>
- <value name="DX9" value="1"/>
- </field>
- <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
- <value name="NONE" value="0"/>
- <value name="OGL" value="2"/>
- </field>
- <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
+ <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
+ <value name="LEGACY" value="0"/>
+ <value name="EWA Approximation" value="1"/>
</field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
- <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
- <value name="LEGACY" value="0"/>
- <value name="EWA Approximation" value="1"/>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
</field>
- <field name="Min LOD" start="52" end="63" type="u4.8"/>
- <field name="Max LOD" start="40" end="51" type="u4.8"/>
- <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
- <field name="ChromaKey Index" start="37" end="38" type="uint"/>
- <field name="ChromaKey Mode" start="36" end="36" type="uint">
- <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
- <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
+ <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
+ <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
+ <value name="NONE" value="0"/>
+ <value name="OGL" value="2"/>
+ </field>
+ <field name="Texture Border Color Mode" start="29" end="29" type="uint">
+ <value name="DX10/OGL" value="0"/>
+ <value name="DX9" value="1"/>
+ </field>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
+ <value name="PROGRAMMED" value="0"/>
+ <value name="OVERRIDE" value="1"/>
</field>
<field name="Shadow Function" start="33" end="35" type="uint">
<value name="PREFILTEROP ALWAYS" value="0"/>
@@ -589,15 +635,35 @@
<value name="PREFILTEROP NOTEQUAL" value="6"/>
<value name="PREFILTEROP GEQUAL" value="7"/>
</field>
- <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
- <value name="PROGRAMMED" value="0"/>
- <value name="OVERRIDE" value="1"/>
+ <field name="ChromaKey Mode" start="36" end="36" type="uint">
+ <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
+ <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
</field>
- <field name="Border Color Pointer" start="70" end="87" type="offset"/>
+ <field name="ChromaKey Index" start="37" end="38" type="uint"/>
+ <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
+ <field name="Max LOD" start="40" end="51" type="u4.8"/>
+ <field name="Min LOD" start="52" end="63" type="u4.8"/>
<field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
<value name="MIPNONE" value="0"/>
<value name="MIPFILTER" value="1"/>
</field>
+ <field name="Border Color Pointer" start="70" end="87" type="offset"/>
+ <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
+ <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
+ <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
+ <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
+ <value name="FULL" value="0"/>
+ <value name="HIGH" value="1"/>
+ <value name="MED" value="2"/>
+ <value name="LOW" value="3"/>
+ </field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -608,197 +674,131 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
- <value name="FULL" value="0"/>
- <value name="HIGH" value="1"/>
- <value name="MED" value="2"/>
- <value name="LOW" value="3"/>
- </field>
- <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
- <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
- <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
- <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
</struct>
<struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
- <field name="Table 0Y Filter Coefficient[n,1]" start="24" end="31" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[n,1]" start="16" end="23" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[n,0]" start="8" end="15" type="s1.6"/>
<field name="Table 0X Filter Coefficient[n,0]" start="0" end="7" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[n,3]" start="56" end="63" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[n,3]" start="48" end="55" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[n,2]" start="40" end="47" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,0]" start="8" end="15" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[n,1]" start="16" end="23" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,1]" start="24" end="31" type="s1.6"/>
<field name="Table 0X Filter Coefficient[n,2]" start="32" end="39" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[n,5]" start="88" end="95" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[n,5]" start="80" end="87" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[n,4]" start="72" end="79" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,2]" start="40" end="47" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[n,3]" start="48" end="55" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,3]" start="56" end="63" type="s1.6"/>
<field name="Table 0X Filter Coefficient[n,4]" start="64" end="71" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[n,7]" start="120" end="127" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[n,7]" start="112" end="119" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[n,6]" start="104" end="111" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,4]" start="72" end="79" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[n,5]" start="80" end="87" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,5]" start="88" end="95" type="s1.6"/>
<field name="Table 0X Filter Coefficient[n,6]" start="96" end="103" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[n,3]" start="152" end="159" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,6]" start="104" end="111" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[n,7]" start="112" end="119" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[n,7]" start="120" end="127" type="s1.6"/>
<field name="Table 1X Filter Coefficient[n,2]" start="144" end="151" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[n,5]" start="168" end="175" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[n,3]" start="152" end="159" type="s1.6"/>
<field name="Table 1X Filter Coefficient[n,4]" start="160" end="167" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[n,3]" start="216" end="223" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[n,5]" start="168" end="175" type="s1.6"/>
<field name="Table 1Y Filter Coefficient[n,2]" start="208" end="215" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[n,5]" start="232" end="239" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[n,3]" start="216" end="223" type="s1.6"/>
<field name="Table 1Y Filter Coefficient[n,4]" start="224" end="231" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[n,5]" start="232" end="239" type="s1.6"/>
</struct>
- <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
- <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
- <value name="NOOP" value="0x000"/>
- <value name="LOAD" value="0x080"/>
- <value name="LOADINV" value="0x480"/>
- <value name="LOAD0" value="0x081"/>
- <value name="LOAD1" value="0x481"/>
- <value name="ADD" value="0x100"/>
- <value name="SUB" value="0x101"/>
- <value name="AND" value="0x102"/>
- <value name="OR" value="0x103"/>
- <value name="XOR" value="0x104"/>
- <value name="STORE" value="0x180"/>
- <value name="STOREINV" value="0x580"/>
- </field>
- <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
- <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
- <field name="Concealment Method" start="31" end="31" type="uint"/>
- <field name="Init Current MB Number" start="30" end="30" type="bool"/>
- <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
- <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
- <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
- <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
- <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
- <field name="MPR Error Handling" start="12" end="12" type="bool"/>
- <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
- <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
- <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
- <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
- <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
- <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
- <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
- <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
- <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
- <field name="Last Slice" start="35" end="35" type="bool"/>
- <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
- <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
+ <struct name="SF_CLIP_VIEWPORT" length="16">
+ <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
+ <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
+ <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
+ <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
+ <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
+ <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
+ <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
+ <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
+ <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ <field name="X Min ViewPort" start="384" end="415" type="float"/>
+ <field name="X Max ViewPort" start="416" end="447" type="float"/>
+ <field name="Y Min ViewPort" start="448" end="479" type="float"/>
+ <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ </struct>
+
+ <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
+ <field name="Source Attribute" start="0" end="4" type="uint"/>
+ <field name="Swizzle Select" start="6" end="7" type="uint">
+ <value name="INPUTATTR" value="0"/>
+ <value name="INPUTATTR_FACING" value="1"/>
+ <value name="INPUTATTR_W" value="2"/>
+ <value name="INPUTATTR_FACING_W" value="3"/>
</field>
- <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
- <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
+ <field name="Constant Source" start="9" end="10" type="uint">
+ <value name="CONST_0000" value="0"/>
+ <value name="CONST_0001_FLOAT" value="1"/>
+ <value name="CONST_1111_FLOAT" value="2"/>
+ <value name="PRIM_ID" value="3"/>
</field>
- <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
- <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
- <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
- <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
- <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
+ <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
+ <field name="Component Override X" start="12" end="12" type="bool"/>
+ <field name="Component Override Y" start="13" end="13" type="bool"/>
+ <field name="Component Override Z" start="14" end="14" type="bool"/>
+ <field name="Component Override W" start="15" end="15" type="bool"/>
</struct>
- <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
- <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
- <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
- <field name="MB Count" start="8" end="15" type="uint"/>
- <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
- <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
- <field name="Last Pic Slice" start="5" end="5" type="bool"/>
- <field name="Last MB" start="3" end="3" type="bool"/>
- <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
- <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
- <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
- <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <struct name="SO_DECL" length="1">
+ <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
+ <field name="Register Index" start="4" end="9" type="uint"/>
+ <field name="Hole Flag" start="11" end="11" type="uint"/>
+ <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
</struct>
- <struct name="MEMORYADDRESSATTRIBUTES" length="1">
- <field name="Arbitration Priority Control" start="7" end="8" type="uint"/>
- <field name="Target Cache" start="3" end="4" type="uint">
- <value name="eLLC Only" value="0"/>
- <value name="LLC Only" value="1"/>
- <value name="LLC/eLLC" value="2"/>
- <value name="L3, LLC, eLLC" value="3"/>
- </field>
- <field name="Age for QUADLRU" start="0" end="1" type="uint"/>
+ <struct name="SO_DECL_ENTRY" length="2">
+ <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
+ <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
+ <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
+ <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
+ </struct>
+
+ <struct name="VERTEX_BUFFER_STATE" length="4">
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
+ <field name="Address Modify Enable" start="14" end="14" type="bool"/>
+ <field name="MOCS" start="16" end="22" type="uint"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Buffer Starting Address" start="32" end="95" type="address"/>
+ <field name="Buffer Size" start="96" end="127" type="uint"/>
+ </struct>
+
+ <struct name="VERTEX_ELEMENT_STATE" length="2">
+ <field name="Source Element Offset" start="0" end="11" type="uint"/>
+ <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="25" end="25" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="End Offset Enable" start="41" end="41" type="bool"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="40" end="40" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
+ <field name="End Offset Enable" start="41" end="41" type="bool"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -807,302 +807,311 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
- <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
- <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
- <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
<field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
<value name="No Valid Data" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Blend State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Blend State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
<field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
<field name="ChromaKey High Value" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="float"/>
<field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
</instruction>
<instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Force Clip Mode" start="48" end="48" type="bool"/>
+ <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
+ <field name="Early Cull Enable" start="50" end="50" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Early Cull Enable" start="50" end="50" type="bool"/>
- <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
- <field name="Force Clip Mode" start="48" end="48" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
- <field name="Clip Enable" start="95" end="95" type="bool"/>
- <field name="API Mode" start="94" end="94" type="uint">
- <value name="APIMODE_OGL" value="0"/>
- <value name="APIMODE_D3D" value="1"/>
- </field>
- <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
- <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
+ <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
+ <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
<field name="Clip Mode" start="77" end="79" type="uint">
<value name="CLIPMODE_NORMAL" value="0"/>
<value name="CLIPMODE_REJECT_ALL" value="3"/>
<value name="CLIPMODE_ACCEPT_ALL" value="4"/>
</field>
- <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
- <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
- <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
- <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
- <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
+ <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
+ <field name="API Mode" start="94" end="94" type="uint">
+ <value name="APIMODE_OGL" value="0"/>
+ <value name="APIMODE_D3D" value="1"/>
+ </field>
+ <field name="Clip Enable" start="95" end="95" type="bool"/>
<field name="Maximum VP Index" start="96" end="99" type="uint"/>
+ <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
+ <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="49" type="uint"/>
+ <field name="Surface Format" start="50" end="52" type="uint">
+ <value name="D32_FLOAT" value="1"/>
+ <value name="D24_UNORM_X8_UINT" value="3"/>
+ <value name="D16_UNORM" value="5"/>
+ </field>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Write Enable" start="60" end="60" type="bool"/>
<field name="Surface Type" start="61" end="63" type="uint">
<value name="SURFTYPE_1D" value="0"/>
<value name="SURFTYPE_2D" value="1"/>
@@ -1110,54 +1119,54 @@
<value name="SURFTYPE_CUBE" value="3"/>
<value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Depth Write Enable" start="60" end="60" type="bool"/>
- <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
- <field name="Surface Format" start="50" end="52" type="uint">
- <value name="D32_FLOAT" value="1"/>
- <value name="D24_UNORM_X8_UINT" value="3"/>
- <value name="D16_UNORM" value="5"/>
- </field>
- <field name="Surface Pitch" start="32" end="49" type="uint"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
- <field name="Height" start="146" end="159" type="uint"/>
- <field name="Width" start="132" end="145" type="uint"/>
<field name="LOD" start="128" end="131" type="uint"/>
- <field name="Depth" start="181" end="191" type="uint"/>
- <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Width" start="132" end="145" type="uint"/>
+ <field name="Height" start="146" end="159" type="uint"/>
<field name="MOCS" start="160" end="166" type="uint"/>
- <field name="Render Target View Extent" start="245" end="255" type="uint"/>
+ <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Depth" start="181" end="191" type="uint"/>
<field name="Surface QPitch" start="224" end="238" type="uint"/>
+ <field name="Render Target View Extent" start="245" end="255" type="uint"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Core Mode Select" start="14" end="15" type="uint">
<value name="Legacy" value="0"/>
<value name="Core 0 Enabled" value="1"/>
<value name="Core 1 Enabled" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_DS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Domain Point Dispatch" start="127" end="127" type="uint"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Accesses UAV" start="110" end="110" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1165,47 +1174,38 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Accesses UAV" start="110" end="110" type="bool"/>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Domain Point Dispatch" start="127" end="127" type="uint"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
<field name="Dispatch Mode" start="227" end="227" type="uint" prefix="DISPATCH_MODE">
<value name="SIMD4X2" value="0"/>
<value name="SIMD8_SINGLE_PATCH" value="1"/>
</field>
- <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
- <field name="Cache Disable" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1213,15 +1213,15 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1229,15 +1229,15 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1245,16 +1245,16 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1262,16 +1262,16 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1279,26 +1279,37 @@
</instruction>
<instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
- <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
<field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_GS" bias="2" length="10" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1306,76 +1317,75 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Output Vertex Size" start="215" end="220" type="uint"/>
- <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
- <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
- <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
- <field name="Maximum Number of Threads" start="248" end="255" type="uint"/>
- <field name="Control Data Header Size" start="244" end="247" type="uint"/>
- <field name="Instance Control" start="239" end="243" type="uint"/>
- <field name="Default Stream Id" start="237" end="238" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
+ <field name="Output Vertex Size" start="215" end="220" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Discard Adjacency" start="225" end="225" type="bool"/>
+ <field name="Reorder Mode" start="226" end="226" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Hint" start="227" end="227" type="uint"/>
+ <field name="Include Primitive ID" start="228" end="228" type="bool"/>
+ <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
<field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
<value name="Dual Instance" value="1"/>
<value name="Dual Object" value="2"/>
<value name="SIMD8" value="3"/>
</field>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
- <field name="Include Primitive ID" start="228" end="228" type="bool"/>
- <field name="Hint" start="227" end="227" type="uint"/>
- <field name="Reorder Mode" start="226" end="226" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="Discard Adjacency" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Default Stream Id" start="237" end="238" type="uint"/>
+ <field name="Instance Control" start="239" end="243" type="uint"/>
+ <field name="Control Data Header Size" start="244" end="247" type="uint"/>
+ <field name="Maximum Number of Threads" start="248" end="255" type="uint"/>
+ <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
+ <field name="Static Output" start="286" end="286" type="bool"/>
<field name="Control Data Format" start="287" end="287" type="uint">
<value name="CUT" value="0"/>
<value name="SID" value="1"/>
</field>
- <field name="Static Output" start="286" end="286" type="bool"/>
- <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="MOCS" start="57" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="63" type="uint"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_HS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Software Exception Enable" start="44" end="44" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
+ <field name="Floating Point Mode" start="48" end="48" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
<field name="Sampler Count" start="59" end="61" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1383,334 +1393,324 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="48" end="48" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Software Exception Enable" start="44" end="44" type="bool"/>
- <field name="Enable" start="95" end="95" type="bool"/>
- <field name="Statistics Enable" start="93" end="93" type="bool"/>
- <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
<field name="Instance Count" start="64" end="67" type="uint"/>
+ <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
+ <field name="Statistics Enable" start="93" end="93" type="bool"/>
+ <field name="Enable" start="95" end="95" type="bool"/>
<field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
- <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
<field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
- <field name="Single Program Flow" start="251" end="251" type="bool"/>
- <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
- <field name="Accesses UAV" start="249" end="249" type="bool"/>
- <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
- <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
<field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
+ <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
+ <field name="Accesses UAV" start="249" end="249" type="bool"/>
+ <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
+ <field name="Single Program Flow" start="251" end="251" type="bool"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Buffer Starting Address" start="64" end="127" type="address"/>
<field name="Buffer Size" start="128" end="159" type="uint"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
</instruction>
<instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
+ <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
</instruction>
<instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Number of Multisamples" start="33" end="35" type="uint"/>
<field name="Pixel Location" start="36" end="36" type="uint">
<value name="CENTER" value="0"/>
<value name="UL_CORNER" value="1"/>
</field>
- <field name="Number of Multisamples" start="33" end="35" type="uint"/>
+ <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_PS" bias="2" length="12" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
<field name="DWord Length" start="0" end="7" type="uint" default="10"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
- <field name="Sampler Count" start="123" end="125" type="uint">
- <value name="No Samplers" value="0"/>
- <value name="1-4 Samplers" value="1"/>
- <value name="5-8 Samplers" value="2"/>
- <value name="9-12 Samplers" value="3"/>
- <value name="13-16 Samplers" value="4"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Rounding Mode" start="110" end="111" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
</field>
- <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
- <value name="Flushed to Zero" value="0"/>
- <value name="Retained" value="1"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Thread Dispatch Priority" start="113" end="113" type="uint">
<value name="High" value="1"/>
</field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
+ <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
+ <value name="Flushed to Zero" value="0"/>
+ <value name="Retained" value="1"/>
</field>
- <field name="Rounding Mode" start="110" end="111" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
+ <field name="Sampler Count" start="123" end="125" type="uint">
+ <value name="No Samplers" value="0"/>
+ <value name="1-4 Samplers" value="1"/>
+ <value name="5-8 Samplers" value="2"/>
+ <value name="9-12 Samplers" value="3"/>
+ <value name="13-16 Samplers" value="4"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
- <field name="Push Constant Enable" start="203" end="203" type="bool"/>
- <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
- <field name="Render Target Resolve Enable" start="198" end="198" type="bool"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
<field name="Position XY Offset Select" start="195" end="196" type="uint">
<value name="POSOFFSET_NONE" value="0"/>
<value name="POSOFFSET_CENTROID" value="2"/>
<value name="POSOFFSET_SAMPLE" value="3"/>
</field>
- <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Render Target Resolve Enable" start="198" end="198" type="bool"/>
+ <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
+ <field name="Push Constant Enable" start="203" end="203" type="bool"/>
+ <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
<field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
<field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
</instruction>
<instruction name="3DSTATE_PS_BLEND" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
- <field name="Has Writeable RT" start="62" end="62" type="bool"/>
- <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
- <field name="Source Alpha Blend Factor" start="56" end="60" type="uint"/>
- <field name="Destination Alpha Blend Factor" start="51" end="55" type="uint"/>
- <field name="Source Blend Factor" start="46" end="50" type="uint"/>
- <field name="Destination Blend Factor" start="41" end="45" type="uint"/>
- <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
+ <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="Destination Blend Factor" start="41" end="45" type="uint"/>
+ <field name="Source Blend Factor" start="46" end="50" type="uint"/>
+ <field name="Destination Alpha Blend Factor" start="51" end="55" type="uint"/>
+ <field name="Source Alpha Blend Factor" start="56" end="60" type="uint"/>
+ <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
+ <field name="Has Writeable RT" start="62" end="62" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
- <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
- <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
- <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Pixel Shader Uses Input Coverage Mask" start="33" end="33" type="bool"/>
+ <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
+ <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
+ <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
+ <field name="Attribute Enable" start="40" end="40" type="bool"/>
+ <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
+ <field name="Force Computed Depth" start="57" end="57" type="bool"/>
<field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
<value name="PSCDEPTH_OFF" value="0"/>
<value name="PSCDEPTH_ON" value="1"/>
<value name="PSCDEPTH_ON_GE" value="2"/>
<value name="PSCDEPTH_ON_LE" value="3"/>
</field>
- <field name="Force Computed Depth" start="57" end="57" type="bool"/>
- <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
- <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
- <field name="Attribute Enable" start="40" end="40" type="bool"/>
- <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
- <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
- <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
- <field name="Pixel Shader Uses Input Coverage Mask" start="33" end="33" type="bool"/>
+ <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
+ <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
+ <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
+ <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_RASTER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="API Mode" start="54" end="55" type="uint">
- <value name="DX9/OGL" value="0"/>
- <value name="DX10.0" value="1"/>
- <value name="DX10.1+" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Viewport Z Clip Test Enable" start="32" end="32" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
+ <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
+ <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Front Winding" start="53" end="53" type="uint">
- <value name="Clockwise" value="0"/>
- <value name="Counter Clockwise" value="1"/>
+ <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
- <value name="NUMRASTSAMPLES_0" value="0"/>
- <value name="NUMRASTSAMPLES_1" value="1"/>
- <value name="NUMRASTSAMPLES_2" value="2"/>
- <value name="NUMRASTSAMPLES_4" value="3"/>
- <value name="NUMRASTSAMPLES_8" value="4"/>
- <value name="NUMRASTSAMPLES_16" value="5"/>
+ <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
+ <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
+ <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
+ <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
+ <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
</field>
+ <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
+ <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
+ <field name="Force Multisampling" start="46" end="46" type="uint"/>
<field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<value name="BACK" value="3"/>
</field>
- <field name="Force Multisampling" start="46" end="46" type="uint"/>
- <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
- <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
- <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
- <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
+ <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
+ <value name="NUMRASTSAMPLES_0" value="0"/>
+ <value name="NUMRASTSAMPLES_1" value="1"/>
+ <value name="NUMRASTSAMPLES_2" value="2"/>
+ <value name="NUMRASTSAMPLES_4" value="3"/>
+ <value name="NUMRASTSAMPLES_8" value="4"/>
+ <value name="NUMRASTSAMPLES_16" value="5"/>
</field>
- <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
- <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
- <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
- <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="Front Winding" start="53" end="53" type="uint">
+ <value name="Clockwise" value="0"/>
+ <value name="Counter Clockwise" value="1"/>
</field>
- <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="API Mode" start="54" end="55" type="uint">
+ <value name="DX9/OGL" value="0"/>
+ <value name="DX10.0" value="1"/>
+ <value name="DX10.1+" value="2"/>
</field>
- <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
- <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
- <field name="Viewport Z Clip Test Enable" start="32" end="32" type="bool"/>
<field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
<field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
<field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
<field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
@@ -1720,128 +1720,128 @@
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Sample Mask" start="32" end="47" type="uint"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
- <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
- <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
- <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
- <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
- <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
- <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
- <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
- <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
- <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
- <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
- <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
- <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
- <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
- <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
+ <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
+ <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
+ <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
+ <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
+ <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
<field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
- <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
- <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
- <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
- <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
- <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
- <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
- <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
+ <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
+ <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
+ <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
+ <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
+ <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
<field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
- <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
- <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
- <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
- <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
- <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
+ <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
+ <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
+ <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
+ <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
+ <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
<field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
+ <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
+ <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
+ <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
+ <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_SBE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
- <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
- <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
- <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
+ <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
+ <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
+ <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
+ <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
<field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
<value name="UPPERLEFT" value="0"/>
<value name="LOWERLEFT" value="1"/>
</field>
- <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
- <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
- <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
- <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
- <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
- <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
+ <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
+ <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
<field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
<field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="16">
<field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
</group>
@@ -1851,61 +1851,61 @@
</instruction>
<instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SF" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
<field name="CHV Line Width" start="44" end="61" type="u11.7"/>
- <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">
<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="Last Pixel Enable" start="127" end="127" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
- <field name="AA Line Distance Mode" start="110" end="110" type="uint">
- <value name="AALINEDISTANCE_TRUE" value="1"/>
+ <field name="Line Width" start="82" end="91" type="u3.7"/>
+ <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Point Width Source" start="107" end="107" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
</field>
- <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Point Width Source" start="107" end="107" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
+ <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
+ <field name="AA Line Distance Mode" start="110" end="110" type="uint">
+ <value name="AALINEDISTANCE_TRUE" value="1"/>
</field>
- <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
+ <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
</instruction>
<instruction name="3DSTATE_SO_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
- <field name="SO Buffer Index" start="61" end="62" type="uint"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
- <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
+ <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="SO Buffer Index" start="61" end="62" type="uint"/>
+ <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="66" end="111" type="address"/>
<field name="Surface Size" start="128" end="157" type="uint"/>
<field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
@@ -1913,80 +1913,85 @@
</instruction>
<instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="8" type="uint"/>
- <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
- <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
- <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
- <field name="Num Entries [3]" start="88" end="95" type="uint"/>
- <field name="Num Entries [2]" start="80" end="87" type="uint"/>
- <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
+ <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
<field name="Num Entries [0]" start="64" end="71" type="uint"/>
+ <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Num Entries [2]" start="80" end="87" type="uint"/>
+ <field name="Num Entries [3]" start="88" end="95" type="uint"/>
<group count="0" start="96" size="64">
<field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_STREAMOUT" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="SO Function Enable" start="63" end="63" type="bool"/>
- <field name="Rendering Disable" start="62" end="62" type="bool"/>
- <field name="Render Stream Select" start="59" end="60" type="uint"/>
- <field name="Reorder Mode" start="58" end="58" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Force Rendering" start="55" end="56" type="uint">
<value name="Resreved" value="1"/>
<value name="Force_Off" value="2"/>
<value name="Force_on" value="3"/>
</field>
- <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
- <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
- <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
- <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
- <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
- <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
- <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="Reorder Mode" start="58" end="58" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="Rendering Disable" start="62" end="62" type="bool"/>
+ <field name="SO Function Enable" start="63" end="63" type="bool"/>
<field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
- <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
+ <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
+ <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
+ <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
+ <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
+ <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
+ <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
<field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
- <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
+ <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
<field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
+ <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
</instruction>
<instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Partitioning" start="44" end="45" type="uint">
- <value name="INTEGER" value="0"/>
- <value name="ODD_FRACTIONAL" value="1"/>
- <value name="EVEN_FRACTIONAL" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="TE Enable" start="32" end="32" type="bool"/>
+ <field name="TE Mode" start="33" end="34" type="uint">
+ <value name="HW_TESS" value="0"/>
+ <value name="SW_TESS" value="1"/>
+ </field>
+ <field name="TE Domain" start="36" end="37" type="uint">
+ <value name="QUAD" value="0"/>
+ <value name="TRI" value="1"/>
+ <value name="ISOLINE" value="2"/>
</field>
<field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
<value name="POINT" value="0"/>
@@ -1994,175 +1999,179 @@
<value name="TRI_CW" value="2"/>
<value name="TRI_CCW" value="3"/>
</field>
- <field name="TE Domain" start="36" end="37" type="uint">
- <value name="QUAD" value="0"/>
- <value name="TRI" value="1"/>
- <value name="ISOLINE" value="2"/>
- </field>
- <field name="TE Mode" start="33" end="34" type="uint">
- <value name="HW_TESS" value="0"/>
- <value name="SW_TESS" value="1"/>
+ <field name="Partitioning" start="44" end="45" type="uint">
+ <value name="INTEGER" value="0"/>
+ <value name="ODD_FRACTIONAL" value="1"/>
+ <value name="EVEN_FRACTIONAL" value="2"/>
</field>
- <field name="TE Enable" start="32" end="32" type="bool"/>
<field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
<field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
</instruction>
<instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
- <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cut Index" start="32" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Instancing Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Element Index" start="32" end="37" type="uint"/>
+ <field name="Instancing Enable" start="40" end="40" type="bool"/>
<field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_SGVS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="InstanceID Enable" start="63" end="63" type="bool"/>
- <field name="InstanceID Component Number" start="61" end="62" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="VertexID Component Number" start="45" end="46" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
<field name="VertexID Enable" start="47" end="47" type="bool"/>
- <field name="VertexID Component Number" start="45" end="46" type="uint">
+ <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
+ <field name="InstanceID Component Number" start="61" end="62" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="InstanceID Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -2170,175 +2179,166 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
- <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
<field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Statistics Enable" start="63" end="63" type="bool"/>
- <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
- <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="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">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
- <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
- <value name="INTERP_PIXEL" value="0"/>
- <value name="INTERP_CENTROID" value="2"/>
- <value name="INTERP_SAMPLE" value="3"/>
- </field>
- <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 name="Point Rasterization Rule" start="34" end="34" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
+ <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
+ <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
+ <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="Line Antialiasing Region Width" start="38" end="39" type="uint">
+ <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"/>
<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">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <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="Force Kill Pixel Enable" start="32" end="33" type="uint">
+ <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
+ <value name="INTERP_PIXEL" value="0"/>
+ <value name="INTERP_CENTROID" value="2"/>
+ <value name="INTERP_SAMPLE" value="3"/>
+ </field>
+ <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
+ <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
+ </field>
+ <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
+ <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Statistics Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
- <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
- <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
- <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
- <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
- <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
- <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
- <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
- <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
- <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
+ <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
+ <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
+ <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
+ <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
+ <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
+ <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
+ <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
+ <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
- <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
- <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="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
- <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
- <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Multisamples" start="45" end="47" type="uint"/>
- <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
+ <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
+ <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
+ <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
<field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
- <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
+ <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
<field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
+ <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
<field name="Sample Mask" start="128" end="143" type="uint"/>
</instruction>
<instruction name="GPGPU_CSR_BASE_ADDRESS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GPGPU CSR Base Address" start="44" end="95" type="address"/>
</instruction>
<instruction name="GPGPU_WALKER" bias="2" length="15" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="13"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
<field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
+ <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
+ <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
+ <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
<field name="SIMD Size" start="158" end="159" type="uint">
<value name="SIMD8" value="0"/>
<value name="SIMD16" value="1"/>
<value name="SIMD32" value="2"/>
</field>
- <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
- <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
- <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
<field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
<field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
<field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
@@ -2350,92 +2350,92 @@
</instruction>
<instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
<field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
<field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
</instruction>
<instruction name="MEDIA_OBJECT" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="4"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
- <field name="Force Destination" start="86" end="86" type="uint"/>
- <field name="Use Scoreboard" start="85" end="85" type="uint">
- <value name="Not using scoreboard" value="0"/>
- <value name="Using scoreboard" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="SubSlice Destination Select" start="81" end="82" type="uint">
+ <value name="SubSlice 2" value="2"/>
+ <value name="SubSlice 1" value="1"/>
+ <value name="SubSlice 0" value="0"/>
</field>
<field name="Slice Destination Select" start="83" end="84" type="uint">
<value name="Slice 0" value="0"/>
<value name="Slice 1" value="1"/>
<value name="Slice 2" value="2"/>
</field>
- <field name="SubSlice Destination Select" start="81" end="82" type="uint">
- <value name="SubSlice 2" value="2"/>
- <value name="SubSlice 1" value="1"/>
- <value name="SubSlice 0" value="0"/>
+ <field name="Use Scoreboard" start="85" end="85" type="uint">
+ <value name="Not using scoreboard" value="0"/>
+ <value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Force Destination" start="86" end="86" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<group count="0" start="192" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_GRPID" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="15" type="uint" default="5"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="End of Thread Group" start="87" end="87" type="uint"/>
- <field name="Force Destination" start="86" end="86" type="uint"/>
- <field name="Use Scoreboard" start="85" end="85" type="uint">
- <value name="Not using scoreboard" value="0"/>
- <value name="Using scoreboard" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="SubSlice Destination Select" start="81" end="82" type="uint">
+ <value name="SubSlice 2" value="2"/>
+ <value name="SubSlice 1" value="1"/>
+ <value name="SubSlice 0" value="0"/>
</field>
<field name="Slice Destination Select" start="83" end="84" type="uint">
<value name="Slice 0" value="0"/>
<value name="Slice 1" value="1"/>
<value name="Slice 2" value="2"/>
</field>
- <field name="SubSlice Destination Select" start="81" end="82" type="uint">
- <value name="SubSlice 2" value="2"/>
- <value name="SubSlice 1" value="1"/>
- <value name="SubSlice 0" value="0"/>
+ <field name="Use Scoreboard" start="85" end="85" type="uint">
+ <value name="Not using scoreboard" value="0"/>
+ <value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Force Destination" start="86" end="86" type="uint"/>
+ <field name="End of Thread Group" start="87" end="87" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoreboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoreboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<field name="GroupID" start="192" end="223" type="uint"/>
<group count="0" start="224" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
@@ -2443,138 +2443,138 @@
</instruction>
<instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="14"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
<field name="PRT_FenceType" start="86" end="86" type="uint">
<value name="Root thread queue" value="0"/>
<value name="VFE state flush" value="1"/>
</field>
+ <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<group count="12" start="128" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="15" type="uint" default="15"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Children Present" start="95" end="95" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
- <field name="Group ID Loop Select" start="168" end="191" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Color Count Minus One" start="216" end="219" type="uint"/>
- <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
- <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Group ID Loop Select" start="168" end="191" type="uint"/>
<field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
- <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
+ <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
+ <field name="Color Count Minus One" start="216" end="219" type="uint"/>
<field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
- <field name="Block Resolution Y" start="272" end="280" type="uint"/>
+ <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
<field name="Block Resolution X" start="256" end="264" type="uint"/>
- <field name="Local Start Y" start="304" end="312" type="uint"/>
+ <field name="Block Resolution Y" start="272" end="280" type="uint"/>
<field name="Local Start X" start="288" end="296" type="uint"/>
- <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
+ <field name="Local Start Y" start="304" end="312" type="uint"/>
<field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
- <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
+ <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
<field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
- <field name="Global Resolution Y" start="432" end="440" type="uint"/>
+ <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
<field name="Global Resolution X" start="416" end="424" type="uint"/>
- <field name="Global Start Y" start="464" end="473" type="int"/>
+ <field name="Global Resolution Y" start="432" end="440" type="uint"/>
<field name="Global Start X" start="448" end="457" type="int"/>
- <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
+ <field name="Global Start Y" start="464" end="473" type="int"/>
<field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
- <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
+ <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
<field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
+ <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
<group count="0" start="544" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="Flush to GO" start="39" end="39" type="bool"/>
- <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="Flush to GO" start="39" end="39" type="bool"/>
</instruction>
<instruction name="MEDIA_VFE_STATE" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="7"/>
- <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
- <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
- <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
- <field name="Number of URB Entries" start="104" end="111" type="uint"/>
- <field name="Reset Gateway Timer" start="103" end="103" type="uint">
- <value name="Maintaining the existing timestamp state" value="0"/>
- <value name="Resetting relative timer and latching the global timestamp" value="1"/>
- </field>
+ <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
<field name="Bypass Gateway Control" start="102" end="102" type="uint">
<value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
<value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
</field>
+ <field name="Reset Gateway Timer" start="103" end="103" type="uint">
+ <value name="Maintaining the existing timestamp state" value="0"/>
+ <value name="Resetting relative timer and latching the global timestamp" value="1"/>
+ </field>
+ <field name="Number of URB Entries" start="104" end="111" type="uint"/>
+ <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
<field name="Slice Disable" start="128" end="129" type="uint">
<value name="All Subslices Enabled" value="0"/>
<value name="Only Slice 0 Enabled" value="1"/>
<value name="Only Slice 0 Subslice 0 Enabled" value="3"/>
</field>
- <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
<field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
- <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
+ <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
+ <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
<field name="Scoreboard Type" start="222" end="222" type="uint">
<value name="Stalling Scoreboard" value="0"/>
<value name="Non-Stalling Scoreboard" value="1"/>
</field>
- <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
- <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
- <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
- <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
- <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
- <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
- <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
- <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
<field name="Scoreboard 0 Delta X" start="224" end="227" type="int"/>
- <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
- <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
- <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
- <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
- <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
- <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
- <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
+ <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
+ <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
+ <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
+ <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
+ <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
+ <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
<field name="Scoreboard 4 Delta X" start="256" end="259" type="int"/>
+ <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
+ <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
+ <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
+ <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
+ <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
+ <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
+ <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
</instruction>
<instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="12" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="10"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<group count="8" start="96" size="32">
@@ -2583,137 +2583,137 @@
</instruction>
<instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="7"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="8" start="32" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
- <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
- <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Stream ID" start="32" end="33" type="uint"/>
+ <field name="Slice ID" start="36" end="39" type="uint"/>
+ <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
+ <field name="Intra Slice" start="45" end="45" type="bool"/>
+ <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
+ <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
+ <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
+ <field name="Header Insertion Present" start="49" end="49" type="bool"/>
+ <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
+ <field name="Last Slice" start="51" end="51" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
+ <field name="Rate Control Panic Type" start="54" end="54" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
<field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
- <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
- <field name="Rate Control Panic Type" start="54" end="54" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
- <field name="Last Slice" start="51" end="51" type="bool"/>
- <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
- <field name="Header Insertion Present" start="49" end="49" type="bool"/>
- <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
- <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
- <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
- <field name="Intra Slice" start="45" end="45" type="bool"/>
- <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
- <field name="Slice ID" start="36" end="39" type="uint"/>
- <field name="Stream ID" start="32" end="33" type="uint"/>
- <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
- <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
- <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
<field name="First MB X Count" start="64" end="71" type="uint"/>
- <field name="Slice Group Skip" start="104" end="104" type="bool"/>
+ <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
+ <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
<field name="Slice Group QP" start="96" end="101" type="uint"/>
+ <field name="Slice Group Skip" start="104" end="104" type="bool"/>
<field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
- <field name="Shrink Resistance" start="172" end="175" type="uint"/>
- <field name="Shrink Init" start="168" end="171" type="uint"/>
- <field name="Grow Resistance" start="164" end="167" type="uint"/>
<field name="Grow Init" start="160" end="163" type="uint"/>
- <field name="Correct 6" start="212" end="215" type="uint"/>
- <field name="Correct 5" start="208" end="211" type="uint"/>
- <field name="Correct 4" start="204" end="207" type="uint"/>
- <field name="Correct 3" start="200" end="203" type="uint"/>
- <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Grow Resistance" start="164" end="167" type="uint"/>
+ <field name="Shrink Init" start="168" end="171" type="uint"/>
+ <field name="Shrink Resistance" start="172" end="175" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
<field name="Correct 1" start="192" end="195" type="uint"/>
- <field name="CV7" start="252" end="255" type="uint"/>
- <field name="CV6" start="248" end="251" type="uint"/>
- <field name="CV5" start="244" end="247" type="uint"/>
- <field name="CV4" start="240" end="243" type="uint"/>
- <field name="CV3" start="236" end="239" type="uint"/>
- <field name="CV2" start="232" end="235" type="uint"/>
- <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Correct 3" start="200" end="203" type="uint"/>
+ <field name="Correct 4" start="204" end="207" type="uint"/>
+ <field name="Correct 5" start="208" end="211" type="uint"/>
+ <field name="Correct 6" start="212" end="215" type="uint"/>
<field name="CV0" start="224" end="227" type="uint"/>
+ <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="CV2" start="232" end="235" type="uint"/>
+ <field name="CV3" start="236" end="239" type="uint"/>
+ <field name="CV4" start="240" end="243" type="uint"/>
+ <field name="CV5" start="244" end="247" type="uint"/>
+ <field name="CV6" start="248" end="251" type="uint"/>
+ <field name="CV7" start="252" end="255" type="uint"/>
</instruction>
<instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
<field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
</instruction>
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <group count="16" start="48" size="1">
- <field name="Long Term Frame" start="0" end="0" type="uint"/>
- </group>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="1">
- <field name="Non-Existing Frame" start="0" end="0" type="uint">
- <value name="INVALID" value="1"/>
- <value name="VALID" value="0"/>
- </field>
+ <field name="Non-Existing Frame" start="0" end="0" type="uint">
+ <value name="INVALID" value="1"/>
+ <value name="VALID" value="0"/>
+ </field>
+ </group>
+ <group count="16" start="48" size="1">
+ <field name="Long Term Frame" start="0" end="0" type="uint"/>
</group>
<group count="16" start="64" size="2">
- <field name="Used for Reference" start="0" end="1" type="uint">
- <value name="NOT_REFERENCE" value="0"/>
- <value name="TOP_FIELD" value="1"/>
- <value name="BOTTOM_FIELD" value="2"/>
- <value name="FRAME" value="3"/>
- </field>
+ <field name="Used for Reference" start="0" end="1" type="uint">
+ <value name="NOT_REFERENCE" value="0"/>
+ <value name="TOP_FIELD" value="1"/>
+ <value name="BOTTOM_FIELD" value="2"/>
+ <value name="FRAME" value="3"/>
+ </field>
</group>
<group count="16" start="96" size="16">
- <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
- <value name="Long Term Frame" value="1"/>
- <value name="Short Term Frame" value="0"/>
- </field>
+ <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
+ <value name="Long Term Frame" value="1"/>
+ <value name="Short Term Frame" value="0"/>
+ </field>
</group>
<group count="16" start="352" size="16">
- <field name="View ID" start="0" end="15" type="uint"/>
+ <field name="View ID" start="0" end="15" type="uint"/>
</group>
<group count="16" start="608" size="8">
- <field name="L0 View Order" start="0" end="7" type="uint"/>
+ <field name="L0 View Order" start="0" end="7" type="uint"/>
</group>
<group count="16" start="736" size="8">
- <field name="L1 View Order" start="0" end="7" type="uint"/>
+ <field name="L1 View Order" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFD_AVC_PICID_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="PictureID Remapping Disable" start="32" end="32" type="uint">
<value name="Use 16 bits Picture ID" value="0"/>
<value name="Use 4 bits FrameStoreID" value="1"/>
@@ -2724,23 +2724,23 @@
</instruction>
<instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
</instruction>
<instruction name="MFD_IT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
@@ -2753,204 +2753,204 @@
</instruction>
<instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="63" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
- <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="Scan Vertical Position" start="96" end="108" type="uint"/>
- <field name="Interleaved" start="158" end="158" type="bool"/>
- <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="MCU Count" start="128" end="153" type="uint"/>
+ <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Interleaved" start="158" end="158" type="bool"/>
<field name="Restart Interval" start="160" end="175" type="uint"/>
</instruction>
<instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
</instruction>
<instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
- <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
- <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="First MB Bit Offset" start="128" end="130" type="uint"/>
+ <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
</instruction>
<instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width In MBs" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
- <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
- <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
- <field name="Sync Marker" start="76" end="76" type="bool"/>
- <field name="MV Mode" start="72" end="75" type="uint"/>
- <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
- <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
- <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
- <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
<field name="VC1 Profile" start="64" end="64" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="CONDOVER" start="125" end="126" type="uint"/>
- <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
+ <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
+ <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
+ <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
+ <field name="MV Mode" start="72" end="75" type="uint"/>
+ <field name="Sync Marker" start="76" end="76" type="bool"/>
+ <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
+ <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="B Scale Factor" start="96" end="103" type="uint"/>
+ <field name="PQ Value" start="104" end="108" type="uint"/>
+ <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
<field name="Frame Coding Mode" start="120" end="121" type="uint">
<value name="Progressive Frame Picture" value="0"/>
<value name="Interlaced Frame Picture" value="1"/>
<value name="Field Picture with Top Field First" value="2"/>
<value name="Field Picture with Bottom Field First" value="3"/>
</field>
- <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
- <field name="PQ Value" start="104" end="108" type="uint"/>
- <field name="B Scale Factor" start="96" end="103" type="uint"/>
- <field name="Unified MV Mode" start="156" end="157" type="uint">
- <value name="1-MV half-pel bilinear" value="3"/>
- <value name="1-MV" value="1"/>
- <value name="1-MV half-pel" value="2"/>
- <value name="Mixed MV" value="0"/>
+ <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="CONDOVER" start="125" end="126" type="uint"/>
+ <field name="PQ Uniform" start="128" end="128" type="bool"/>
+ <field name="Half QP" start="129" end="129" type="bool"/>
+ <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
+ <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
+ <field name="Extended MV Range" start="136" end="137" type="uint"/>
+ <field name="Extended DMV Range" start="138" end="139" type="uint"/>
+ <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
+ <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
+ <field name="Number of References" start="152" end="152" type="uint">
+ <value name="One field referenced" value="0"/>
+ <value name="Two fields referenced" value="1"/>
</field>
- <field name="Four MV Switch" start="155" end="155" type="uint">
- <value name="Only 1-MV" value="0"/>
- <value name="1, 2, or 4 MVs" value="1"/>
+ <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
+ <value name="Top (even) Field" value="0"/>
+ <value name="Bottom (odd) Field" value="1"/>
</field>
<field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
- <value name="Top (even) Field" value="0"/>
- <value name="Bottom (odd) Field" value="1"/>
+ <field name="Four MV Switch" start="155" end="155" type="uint">
+ <value name="Only 1-MV" value="0"/>
+ <value name="1, 2, or 4 MVs" value="1"/>
</field>
- <field name="Number of References" start="152" end="152" type="uint">
- <value name="One field referenced" value="0"/>
- <value name="Two fields referenced" value="1"/>
+ <field name="Unified MV Mode" start="156" end="157" type="uint">
+ <value name="1-MV half-pel bilinear" value="3"/>
+ <value name="1-MV" value="1"/>
+ <value name="1-MV half-pel" value="2"/>
+ <value name="Mixed MV" value="0"/>
</field>
- <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
- <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
- <field name="Extended DMV Range" start="138" end="139" type="uint"/>
- <field name="Extended MV Range" start="136" end="137" type="uint"/>
- <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
- <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
- <field name="Half QP" start="129" end="129" type="bool"/>
- <field name="PQ Uniform" start="128" end="128" type="bool"/>
- <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
- <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
- <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
- <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
- <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
- <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
- <field name="ACPRED Raw" start="185" end="185" type="bool"/>
- <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
- <field name="MV Table" start="180" end="182" type="uint"/>
- <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
- <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
+ <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
+ <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
+ <field name="MB Mode Table" start="168" end="170" type="uint"/>
+ <field name="MB Transform Type" start="171" end="171" type="bool"/>
<field name="Picture-level Transform Type" start="172" end="173" type="uint">
<value name="8x8 Transform" value="0"/>
<value name="8x4 Transform" value="1"/>
<value name="4x8 Transform" value="2"/>
<value name="4x4 Transform" value="3"/>
</field>
- <field name="MB Transform Type" start="171" end="171" type="bool"/>
- <field name="MB Mode Table" start="168" end="170" type="uint"/>
- <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
- <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
- <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
- <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
+ <field name="MV Table" start="180" end="182" type="uint"/>
+ <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
+ <field name="ACPRED Raw" start="185" end="185" type="bool"/>
+ <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
+ <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
+ <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
+ <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
+ <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
+ <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
</instruction>
<instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
- <field name="MV Mode" start="80" end="83" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="Picture Structure" start="64" end="65" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Intra Picture" start="68" end="68" type="bool"/>
+ <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
<field name="VC1 Profile" start="75" end="75" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
- <field name="Intra Picture" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
- <field name="Picture Structure" start="64" end="65" type="uint"/>
- <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
- <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
- <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
- <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
- <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
- <field name="QUANTIZER" start="110" end="111" type="uint"/>
- <field name="MULTIRES Present" start="109" end="109" type="bool"/>
- <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
- <field name="RANGERED Present" start="107" end="107" type="bool"/>
- <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
- <field name="PANSCAN Present" start="103" end="103" type="bool"/>
- <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
- <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="MV Mode" start="80" end="83" type="uint"/>
+ <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
+ <field name="DQUANT" start="97" end="98" type="uint"/>
+ <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
<field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
- <field name="DQUANT" start="97" end="98" type="uint"/>
- <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
- <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
- <field name="4-MV Allowed" start="136" end="136" type="bool"/>
- <field name="POSTPROC" start="135" end="135" type="bool"/>
- <field name="PULLDOWN" start="134" end="134" type="bool"/>
- <field name="INTERLACE" start="133" end="133" type="bool"/>
- <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
- <field name="FINTERFLAG" start="131" end="131" type="bool"/>
- <field name="REFPIC" start="130" end="130" type="bool"/>
- <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
+ <field name="PANSCAN Present" start="103" end="103" type="bool"/>
+ <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
+ <field name="RANGERED Present" start="107" end="107" type="bool"/>
+ <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
+ <field name="MULTIRES Present" start="109" end="109" type="bool"/>
+ <field name="QUANTIZER" start="110" end="111" type="uint"/>
+ <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
+ <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
+ <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
+ <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
+ <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
<field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
+ <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="REFPIC" start="130" end="130" type="bool"/>
+ <field name="FINTERFLAG" start="131" end="131" type="bool"/>
+ <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
+ <field name="INTERLACE" start="133" end="133" type="bool"/>
+ <field name="PULLDOWN" start="134" end="134" type="bool"/>
+ <field name="POSTPROC" start="135" end="135" type="bool"/>
+ <field name="4-MV Allowed" start="136" end="136" type="bool"/>
+ <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
</instruction>
<instruction name="MFD_VP8_BSD_OBJECT" bias="2" length="22" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="20"/>
- <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
- <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
- <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Partition0 First MB Bit Offset from Frame Header" start="32" end="34" type="uint"/>
+ <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
<field name="Partition0 CPBAC Entropy Value" start="88" end="95" type="uint"/>
<field name="Indirect Partition0 Data Length" start="96" end="119" type="uint"/>
<field name="Indirect Partition0 Data Start Offset" start="128" end="159" type="uint"/>
@@ -2970,24 +2970,24 @@
<field name="Indirect Partition7 Data Start Offset" start="576" end="607" type="uint"/>
<field name="Indirect Partition8 Data Length" start="608" end="631" type="uint"/>
<field name="Indirect Partition8 Data Start Offset" start="640" end="671" type="uint"/>
+ <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
+ <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
+ <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
+ <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
+ <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
<field name="Concealment Method" start="703" end="703" type="uint">
<value name="Intra 16x16 Prediction" value="0"/>
<value name="Inter P Copy" value="1"/>
</field>
- <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
- <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
- <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
- <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
</instruction>
<instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="71" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="69"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="64">
<field name="Direct MV Buffer - Address" start="0" end="63" type="address"/>
</group>
@@ -3000,121 +3000,121 @@
</instruction>
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="12"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Size" start="32" end="47" type="uint"/>
- <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Frame Width" start="64" end="71" type="uint"/>
- <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
- <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
- <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
- <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
- <value name="DEFAULT" value="0"/>
- <value name="EXPLICIT" value="1"/>
- <value name="IMPLICIT" value="2"/>
- </field>
+ <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Image Structure" start="104" end="105" type="uint">
<value name="Frame Picture" value="0"/>
<value name="Top Field Picture" value="1"/>
<value name="Bottom Field Picture" value="3"/>
<value name="Invalid, not allowed." value="2"/>
</field>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="MB Status Read" start="143" end="143" type="bool"/>
- <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
- <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
+ <value name="DEFAULT" value="0"/>
+ <value name="EXPLICIT" value="1"/>
+ <value name="IMPLICIT" value="2"/>
+ </field>
+ <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
+ <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
+ <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
+ <field name="Field Picure" start="128" end="128" type="bool"/>
+ <field name="MBAFF Mode" start="129" end="129" type="bool"/>
+ <field name="Frame MB Only" start="130" end="130" type="bool"/>
+ <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
+ <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
+ <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
+ <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
+ <field name="MB MV Format" start="136" end="136" type="uint">
+ <value name="IGNORE" value="0"/>
+ <value name="FOLLOW" value="1"/>
+ </field>
<field name="Chroma Format IDC" start="138" end="139" type="uint">
<value name="Monochrome picture" value="0"/>
<value name="4:2:0 picture" value="1"/>
<value name="4:2:2 picture (not supported)" value="2"/>
<value name="4:4:4 picture (not supported)" value="3"/>
</field>
- <field name="MB MV Format" start="136" end="136" type="uint">
- <value name="IGNORE" value="0"/>
- <value name="FOLLOW" value="1"/>
- </field>
- <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
- <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
- <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
- <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
- <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
- <field name="Frame MB Only" start="130" end="130" type="bool"/>
- <field name="MBAFF Mode" start="129" end="129" type="bool"/>
- <field name="Field Picure" start="128" end="128" type="bool"/>
- <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
- <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
- <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
- <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
+ <field name="MB Status Read" start="143" end="143" type="bool"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
+ <field name="Force IPCM Control" start="167" end="167" type="bool"/>
+ <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
- <field name="Force IPCM Control" start="167" end="167" type="bool"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
+ <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
+ <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
- <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
- <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
- <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
- <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
<field name="Initial QP Value" start="416" end="423" type="int"/>
- <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
- <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
- <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
- <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
- <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
- <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
- <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
- <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
+ <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
+ <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
<field name="Pic Order Present" start="448" end="448" type="bool"/>
- <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
+ <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
+ <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
+ <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
+ <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
+ <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
+ <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
+ <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
<field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
- <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
- <field name="Max View IDXL1" start="530" end="533" type="uint"/>
- <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
<field name="Current Frame View ID" start="512" end="521" type="uint"/>
+ <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Max View IDXL1" start="530" end="533" type="uint"/>
+ <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
</instruction>
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="32" start="64" size="8">
<field name="Reference List Entry" start="0" end="7" type="uint"/>
@@ -3122,68 +3122,73 @@
</instruction>
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Type" start="32" end="35" type="uint">
<value name="P Slice" value="0"/>
<value name="B Slice" value="1"/>
<value name="I Slice" value="2"/>
</field>
- <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
- <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
- <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
+ <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
+ <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
+ <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
+ <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
+ <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
+ <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
<field name="Direct Prediction Type" start="125" end="125" type="uint">
<value name="Temporal" value="0"/>
<value name="Spatial" value="1"/>
</field>
- <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
- <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
- <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
- <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
- <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
- <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
- <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
<field name="Slice Start MB Number" start="128" end="142" type="uint"/>
- <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
<field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
- <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
- <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Slice ID" start="196" end="199" type="uint"/>
+ <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
+ <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
+ <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
+ <field name="Header Insertion Present" start="209" end="209" type="bool"/>
+ <field name="Last Slice Group" start="211" end="211" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
+ <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
+ <field name="Rate Control Panic Type" start="214" end="214" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
<field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
- <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
- <field name="Rate Control Panic Type" start="214" end="214" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
- <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
- <field name="Last Slice Group" start="211" end="211" type="bool"/>
- <field name="Header Insertion Present" start="209" end="209" type="bool"/>
- <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
- <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
- <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
- <field name="Slice ID" start="196" end="199" type="uint"/>
- <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
<field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
- <field name="Shrink Resistance" start="268" end="271" type="uint"/>
- <field name="Shrink Init" start="264" end="267" type="uint"/>
- <field name="Grow Resistance" start="260" end="263" type="uint"/>
<field name="Grow Init" start="256" end="259" type="uint"/>
- <field name="Round Inter Enable" start="319" end="319" type="bool"/>
- <field name="Round Inter" start="316" end="318" type="uint">
+ <field name="Grow Resistance" start="260" end="263" type="uint"/>
+ <field name="Shrink Init" start="264" end="267" type="uint"/>
+ <field name="Shrink Resistance" start="268" end="271" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
+ <field name="Correct 1" start="288" end="291" type="uint"/>
+ <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Correct 3" start="296" end="299" type="uint"/>
+ <field name="Correct 4" start="300" end="303" type="uint"/>
+ <field name="Correct 5" start="304" end="307" type="uint"/>
+ <field name="Correct 6" start="308" end="311" type="uint"/>
+ <field name="Round Intra" start="312" end="314" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -3194,7 +3199,7 @@
<value name="+8/16" value="7"/>
</field>
<field name="Round Intra Enable" start="315" end="315" type="bool"/>
- <field name="Round Intra" start="312" end="314" type="uint">
+ <field name="Round Inter" start="316" end="318" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -3204,29 +3209,24 @@
<value name="+7/16" value="6"/>
<value name="+8/16" value="7"/>
</field>
- <field name="Correct 6" start="308" end="311" type="uint"/>
- <field name="Correct 5" start="304" end="307" type="uint"/>
- <field name="Correct 4" start="300" end="303" type="uint"/>
- <field name="Correct 3" start="296" end="299" type="uint"/>
- <field name="Correct 2" start="292" end="295" type="uint"/>
- <field name="Correct 1" start="288" end="291" type="uint"/>
- <field name="CV7" start="348" end="351" type="uint"/>
- <field name="CV6" start="344" end="347" type="uint"/>
- <field name="CV5" start="340" end="343" type="uint"/>
- <field name="CV4" start="336" end="339" type="uint"/>
- <field name="CV3" start="332" end="335" type="uint"/>
- <field name="CV2" start="328" end="331" type="uint"/>
- <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="Round Inter Enable" start="319" end="319" type="bool"/>
<field name="CV0" start="320" end="323" type="uint"/>
+ <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="CV2" start="328" end="331" type="uint"/>
+ <field name="CV3" start="332" end="335" type="uint"/>
+ <field name="CV4" start="336" end="339" type="uint"/>
+ <field name="CV5" start="340" end="343" type="uint"/>
+ <field name="CV6" start="344" end="347" type="uint"/>
+ <field name="CV7" start="348" end="351" type="uint"/>
</instruction>
<instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="96"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weight and Offset Select" start="32" end="32" type="uint">
<value name="L0 table" value="0"/>
<value name="L1 table" value="1"/>
@@ -3237,18 +3237,19 @@
</instruction>
<instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="79" type="address"/>
- <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="103" end="104" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
+ <field name="BSD/MPC Row Store Scratch Buffer - Age for QUADLRU" start="96" end="97" type="uint"/>
+ <field name="BSD/MPC Row Store Scratch Buffer - Target Cache" start="99" end="100" type="uint">
+ <value name="eLLC Only" value="0"/>
+ <value name="LLC Only" value="1"/>
+ <value name="LLC/eLLC" value="2"/>
+ <value name="L3, LLC, eLLC" value="3"/>
</field>
<field name="BSD/MPC Row Store Scratch Buffer - Cacheability Control" start="101" end="102" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
@@ -3256,68 +3257,68 @@
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
- <field name="BSD/MPC Row Store Scratch Buffer - Target Cache" start="99" end="100" type="uint">
- <value name="eLLC Only" value="0"/>
- <value name="LLC Only" value="1"/>
- <value name="LLC/eLLC" value="2"/>
- <value name="L3, LLC, eLLC" value="3"/>
- </field>
- <field name="BSD/MPC Row Store Scratch Buffer - Age for QUADLRU" start="96" end="97" type="uint"/>
- <field name="MPR Row Store Scratch Buffer - Address" start="134" end="175" type="address"/>
- <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="199" end="200" type="uint">
+ <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="103" end="104" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MPR Row Store Scratch Buffer - Cacheability Control" start="197" end="198" type="uint">
- <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
- <value name="Uncacheable" value="1"/>
- <value name="Writethrough" value="2"/>
- <value name="Writeback" value="3"/>
- </field>
+ <field name="MPR Row Store Scratch Buffer - Address" start="134" end="175" type="address"/>
+ <field name="MPR Row Store Scratch Buffer - Age for QUADLRU" start="192" end="193" type="uint"/>
<field name="MPR Row Store Scratch Buffer - Target Cache" start="195" end="196" type="uint">
<value name="eLLC Only" value="0"/>
<value name="LLC Only" value="1"/>
<value name="LLC/eLLC" value="2"/>
<value name="L3, LLC, eLLC" value="3"/>
</field>
- <field name="MPR Row Store Scratch Buffer - Age for QUADLRU" start="192" end="193" type="uint"/>
- <field name="Bitplane Read Buffer - Address" start="230" end="271" type="uint"/>
- <field name="Bitplane Read Buffer - Arbitration Priority Control" start="295" end="296" type="uint">
+ <field name="MPR Row Store Scratch Buffer - Cacheability Control" start="197" end="198" type="uint">
+ <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
+ <value name="Uncacheable" value="1"/>
+ <value name="Writethrough" value="2"/>
+ <value name="Writeback" value="3"/>
+ </field>
+ <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="199" end="200" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
+ <field name="Bitplane Read Buffer - Address" start="230" end="271" type="uint"/>
+ <field name="Bitplane Read Buffer - Age for QUADLRU" start="288" end="289" type="uint"/>
+ <field name="Bitplane Read Buffer - Target Cache" start="291" end="292" type="uint">
+ <value name="eLLC Only" value="0"/>
+ <value name="LLC Only" value="1"/>
+ <value name="LLC/eLLC" value="2"/>
+ <value name="L3, LLC, eLLC" value="3"/>
+ </field>
<field name="Bitplane Read Buffer - Cacheability Control" start="293" end="294" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence (if coherent cycle)" value="0"/>
<value name="Uncacheable" value="1"/>
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
- <field name="Bitplane Read Buffer - Target Cache" start="291" end="292" type="uint">
- <value name="eLLC Only" value="0"/>
- <value name="LLC Only" value="1"/>
- <value name="LLC/eLLC" value="2"/>
- <value name="L3, LLC, eLLC" value="3"/>
+ <field name="Bitplane Read Buffer - Arbitration Priority Control" start="295" end="296" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
</field>
- <field name="Bitplane Read Buffer - Age for QUADLRU" start="288" end="289" type="uint"/>
</instruction>
<instruction name="MFX_DBK_OBJECT" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="11"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Source - Address" start="38" end="79" type="address"/>
- <field name="Pre Deblocking Source - Arbitration Priority Control" start="103" end="104" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
+ <field name="Pre Deblocking Source - Age for QUADLRU" start="96" end="97" type="uint"/>
+ <field name="Pre Deblocking Source - Target Cache" start="99" end="100" type="uint">
+ <value name="eLLC Only" value="0"/>
+ <value name="LLC Only" value="1"/>
+ <value name="LLC/eLLC" value="2"/>
+ <value name="L3, LLC, eLLC" value="3"/>
</field>
<field name="Pre Deblocking Source - Cacheability Control" start="101" end="102" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
@@ -3325,82 +3326,81 @@
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
- <field name="Pre Deblocking Source - Target Cache" start="99" end="100" type="uint">
- <value name="eLLC Only" value="0"/>
- <value name="LLC Only" value="1"/>
- <value name="LLC/eLLC" value="2"/>
- <value name="L3, LLC, eLLC" value="3"/>
- </field>
- <field name="Pre Deblocking Source - Age for QUADLRU" start="96" end="97" type="uint"/>
- <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
- <field name="Deblocking Control - Arbitration Priority Control" start="199" end="200" type="uint">
+ <field name="Pre Deblocking Source - Arbitration Priority Control" start="103" end="104" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Control - Cacheability Control" start="197" end="198" type="uint">
- <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
- <value name="Uncacheable" value="1"/>
- <value name="Writethrough" value="2"/>
- <value name="Writeback" value="3"/>
- </field>
+ <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
+ <field name="Deblocking Control - Age for QUADLRU" start="192" end="193" type="uint"/>
<field name="Deblocking Control - Target Cache" start="195" end="196" type="uint">
<value name="eLLC Only" value="0"/>
<value name="LLC Only" value="1"/>
<value name="LLC/eLLC" value="2"/>
<value name="L3, LLC, eLLC" value="3"/>
</field>
- <field name="Deblocking Control - Age for QUADLRU" start="192" end="193" type="uint"/>
- <field name="Deblocking Destination - Address" start="230" end="271" type="address"/>
- <field name="Deblocking Destination - Arbitration Priority Control" start="295" end="296" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="Deblocking Destination - Cacheability Control" start="293" end="294" type="uint">
+ <field name="Deblocking Control - Cacheability Control" start="197" end="198" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
<value name="Uncacheable" value="1"/>
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
+ <field name="Deblocking Control - Arbitration Priority Control" start="199" end="200" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="Deblocking Destination - Address" start="230" end="271" type="address"/>
+ <field name="Deblocking Destination - Age for QUADLRU" start="288" end="289" type="uint"/>
<field name="Deblocking Destination - Target Cache" start="291" end="292" type="uint">
<value name="eLLC Only" value="0"/>
<value name="LLC Only" value="1"/>
<value name="LLC/eLLC" value="2"/>
<value name="L3, LLC, eLLC" value="3"/>
</field>
- <field name="Deblocking Destination - Age for QUADLRU" start="288" end="289" type="uint"/>
- <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
- <field name="Deblock Row Store - Arbitration Priority Control" start="391" end="392" type="uint">
+ <field name="Deblocking Destination - Cacheability Control" start="293" end="294" type="uint">
+ <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
+ <value name="Uncacheable" value="1"/>
+ <value name="Writethrough" value="2"/>
+ <value name="Writeback" value="3"/>
+ </field>
+ <field name="Deblocking Destination - Arbitration Priority Control" start="295" end="296" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
+ <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
+ <field name="Deblock Row Store - Age for QUADLRU" start="384" end="385" type="uint"/>
+ <field name="Deblock Row Store - Target Cache" start="387" end="388" type="uint">
+ <value name="eLLC Only" value="0"/>
+ <value name="LLC Only" value="1"/>
+ <value name="LLC/eLLC" value="2"/>
+ <value name="L3, LLC, eLLC" value="3"/>
+ </field>
<field name="Deblock Row Store - Cacheability Control" start="389" end="390" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
<value name="Uncacheable" value="1"/>
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
- <field name="Deblock Row Store - Target Cache" start="387" end="388" type="uint">
- <value name="eLLC Only" value="0"/>
- <value name="LLC Only" value="1"/>
- <value name="LLC/eLLC" value="2"/>
- <value name="L3, LLC, eLLC" value="3"/>
+ <field name="Deblock Row Store - Arbitration Priority Control" start="391" end="392" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
</field>
- <field name="Deblock Row Store - Age for QUADLRU" start="384" end="385" type="uint"/>
</instruction>
<instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -3415,12 +3415,12 @@
</instruction>
<instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="26" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="24"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MFX Indirect Bitstream Object - Address" start="32" end="95" type="address"/>
<field name="MFX Indirect Bitstream Object - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="MFX Indirect Bitstream Object - Upper Bound" start="128" end="191" type="address"/>
@@ -3439,86 +3439,88 @@
</instruction>
<instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="829"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huffman Table ID" start="32" end="32" type="uint"/>
<group count="12" start="64" size="8">
- <field name="DC_BITS" start="0" end="7" type="uint"/>
+ <field name="DC_BITS" start="0" end="7" type="uint"/>
</group>
<group count="12" start="160" size="8">
- <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="16" start="256" size="8">
- <field name="AC_BITS" start="0" end="15" type="uint"/>
+ <field name="AC_BITS" start="0" end="15" type="uint"/>
</group>
<group count="160" start="384" size="8">
- <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="2" start="1664" size="8">
- <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
- <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
- <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
- <field name="Average Down Sampling" start="48" end="48" type="uint"/>
- <field name="Output Format YUV" start="40" end="43" type="uint"/>
- <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Format YUV" start="32" end="34" type="uint"/>
- <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="Output Format YUV" start="40" end="43" type="uint"/>
+ <field name="Average Down Sampling" start="48" end="48" type="uint"/>
+ <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
+ <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
+ <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
<field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
+ <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
</instruction>
<instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="F_code[1][1]" start="60" end="63" type="uint"/>
- <field name="F_code[1][0]" start="56" end="59" type="uint"/>
- <field name="F_code[0][1]" start="52" end="55" type="uint"/>
- <field name="F_code[0][0]" start="48" end="51" type="uint"/>
- <field name="Intra DC Precision" start="46" end="47" type="uint"/>
- <field name="Picture Structure" start="44" end="45" type="uint">
- <value name="MPEG_TOP_FIELD" value="1"/>
- <value name="MPEG_BOTTOM_FIELD" value="2"/>
- <value name="MPEG_FRAME" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Scan Order" start="38" end="38" type="uint">
+ <value name="MPEG_ZIGZAG_SCAN" value="0"/>
+ <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
</field>
- <field name="Top Field First" start="43" end="43" type="bool"/>
- <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
- <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Intra VLC Format" start="39" end="39" type="uint"/>
<field name="Quantizer Scale Type" start="40" end="40" type="uint">
<value name="MPEG_QSCALE_LINEAR" value="0"/>
<value name="MPEG_QSCALE_NONLINEAR" value="1"/>
</field>
- <field name="Intra VLC Format" start="39" end="39" type="uint"/>
- <field name="Scan Order" start="38" end="38" type="uint">
- <value name="MPEG_ZIGZAG_SCAN" value="0"/>
- <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
+ <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
+ <field name="Top Field First" start="43" end="43" type="bool"/>
+ <field name="Picture Structure" start="44" end="45" type="uint">
+ <value name="MPEG_TOP_FIELD" value="1"/>
+ <value name="MPEG_BOTTOM_FIELD" value="2"/>
+ <value name="MPEG_FRAME" value="3"/>
</field>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
- <value name="Intra Concealment" value="0"/>
- <value name="Inter Concealment" value="1"/>
+ <field name="Intra DC Precision" start="46" end="47" type="uint"/>
+ <field name="F_code[0][0]" start="48" end="51" type="uint"/>
+ <field name="F_code[0][1]" start="52" end="55" type="uint"/>
+ <field name="F_code[1][0]" start="56" end="59" type="uint"/>
+ <field name="F_code[1][1]" start="60" end="63" type="uint"/>
+ <field name="Disable Mismatch" start="64" end="64" type="bool"/>
+ <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
+ <field name="Picture Coding Type" start="73" end="74" type="uint">
+ <value name="MPEG_I_PICTURE" value="1"/>
+ <value name="MPEG_P_PICTURE" value="2"/>
+ <value name="MPEG_B_PICTURE" value="3"/>
</field>
- <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
- <value name="INTER" value="0"/>
- <value name="LEFT" value="1"/>
- <value name="ZERO" value="2"/>
- <value name="INTRA" value="3"/>
+ <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
+ <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
+ <value name="Predicted" value="0"/>
+ <value name="ZERO" value="1"/>
</field>
<field name="P/B Slice Predicted Bi-direction MV Type Override" start="89" end="90" type="uint" prefix="MPEG2_MVTO">
<value name="BID" value="0"/>
@@ -3526,211 +3528,188 @@
<value name="FWD" value="2"/>
<value name="BWD" value="3"/>
</field>
- <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
- <value name="Predicted" value="0"/>
- <value name="ZERO" value="1"/>
+ <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
+ <value name="INTER" value="0"/>
+ <value name="LEFT" value="1"/>
+ <value name="ZERO" value="2"/>
+ <value name="INTRA" value="3"/>
</field>
- <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
- <field name="Picture Coding Type" start="73" end="74" type="uint">
- <value name="MPEG_I_PICTURE" value="1"/>
- <value name="MPEG_P_PICTURE" value="2"/>
- <value name="MPEG_B_PICTURE" value="3"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
+ <value name="Intra Concealment" value="0"/>
+ <value name="Inter Concealment" value="1"/>
</field>
- <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
- <field name="Disable Mismatch" start="64" end="64" type="bool"/>
- <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
- <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
<field name="Frame Width In MBs" start="96" end="103" type="uint"/>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="Round Inter AC," start="140" end="142" type="uint"/>
- <field name="Round Intra AC" start="136" end="138" type="uint"/>
- <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
+ <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
<field name="Round Intra DC" start="129" end="130" type="uint"/>
- <field name="Frame Size Control" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Round Intra AC" start="136" end="138" type="uint"/>
+ <field name="Round Inter AC," start="140" end="142" type="uint"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
+ <field name="MBRateControlMask" start="169" end="169" type="uint"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MBRateControlMask" start="169" end="169" type="uint"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Frame Size Control" start="176" end="176" type="uint"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New mode" value="1"/>
+ <value name="New Mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New Mode" value="1"/>
+ <value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
</instruction>
<instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
- <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
- <value name="NO_ACCUMULATION" value="1"/>
- <value name="ACCUMULATE" value="0"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
<field name="Slice Header Indicator" start="46" end="46" type="uint">
<value name="SLICE_HEADER" value="1"/>
<value name="LEGACY" value="0"/>
</field>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
- <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
+ <value name="NO_ACCUMULATION" value="1"/>
+ <value name="ACCUMULATE" value="0"/>
+ </field>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
<group count="0" start="64" size="32">
<field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="61" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="59"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Destination - Address" start="38" end="79" type="address"/>
+ <field name="Pre Deblocking Destination - MOCS" start="96" end="102" type="uint"/>
<field name="Pre Deblocking Destination - Arbitration Priority Control" start="103" end="104" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Pre Deblocking Destination - MOCS" start="96" end="102" type="uint"/>
<field name="Post Deblocking Destination - Address" start="134" end="175" type="address"/>
+ <field name="Post Deblocking Destination - MOCS" start="192" end="198" type="uint"/>
<field name="Post Deblocking Destination - Arbitration Priority Control" start="199" end="200" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Post Deblocking Destination - MOCS" start="192" end="198" type="uint"/>
<field name="Original Uncompressed Picture Source - Address" start="230" end="271" type="address"/>
+ <field name="Original Uncompressed Picture Source - MOCS" start="288" end="294" type="uint"/>
<field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="295" end="296" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Original Uncompressed Picture Source - MOCS" start="288" end="294" type="uint"/>
<field name="Stream-Out Data Destination - Address" start="326" end="367" type="address"/>
+ <field name="Stream-Out Data Destination - MOCS" start="384" end="390" type="uint"/>
<field name="Stream-Out Data Destination - Arbitration Priority Control" start="391" end="392" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Stream-Out Data Destination - MOCS" start="384" end="390" type="uint"/>
<field name="Intra Row Store Scratch Buffer - Address High" start="422" end="463" type="address"/>
+ <field name="Intra Row Store Scratch Buffer - MOCS" start="480" end="486" type="uint"/>
<field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="487" end="488" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Intra Row Store Scratch Buffer - MOCS" start="480" end="486" type="uint"/>
<field name="Deblocking Filter Row Store Scratch - Address High" start="518" end="559" type="address"/>
+ <field name="Deblocking Filter Row Store Scratch - MOCS" start="576" end="582" type="uint"/>
<field name="Deblocking Filter Row Store Scratch - Arbitration Priority Control" start="583" end="584" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Filter Row Store Scratch - MOCS" start="576" end="582" type="uint"/>
<group count="16" start="608" size="64">
<field name="Reference Picture - Address" start="0" end="63" type="address"/>
</group>
+ <field name="Reference Picture - MOCS" start="1632" end="1638" type="uint"/>
<field name="Reference Picture - Arbitration Priority Control" start="1639" end="1640" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Reference Picture - MOCS" start="1632" end="1638" type="uint"/>
<field name="MB Status Buffer - Address" start="1670" end="1711" type="address"/>
+ <field name="MB Status Buffer - MOCS" start="1728" end="1734" type="uint"/>
<field name="MB Status Buffer - Arbitration Priority Control" start="1735" end="1736" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MB Status Buffer - MOCS" start="1728" end="1734" type="uint"/>
<field name="MB ILDB Stream-Out Buffer - Address" start="1766" end="1807" type="address"/>
+ <field name="MB ILDB Stream-Out Buffer - MOCS" start="1824" end="1830" type="uint"/>
<field name="MB ILDB Stream-Out Buffer - Arbitration Priority Control" start="1831" end="1832" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MB ILDB Stream-Out Buffer - MOCS" start="1824" end="1830" type="uint"/>
<field name="Second MB ILDB Stream-Out Buffer - Address High" start="1862" end="1903" type="address"/>
+ <field name="Second MB ILDB Stream-Out Buffer - MOCS" start="1920" end="1926" type="uint"/>
<field name="Second MB ILDB Stream-Out Buffer - Arbitration Priority Control" start="1927" end="1928" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Second MB ILDB Stream-Out Buffer - MOCS" start="1920" end="1926" type="uint"/>
</instruction>
<instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
- <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
- <value name="Short Format Driver Interface" value="0"/>
- <value name="Long Format Driver Interface" value="1"/>
- </field>
- <field name="Decoder Mode select" start="47" end="48" type="uint">
- <value name="VLD Mode" value="0"/>
- <value name="IT Mode" value="1"/>
- <value name="Deblocker Mode" value="2"/>
- <value name="Interlayer Mode" value="3"/>
- </field>
- <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
- <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
- <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
- <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
- <field name="Stitch Mode" start="37" end="37" type="bool"/>
- <field name="Codec Select" start="36" end="36" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
<value name="MPEG2" value="0"/>
<value name="VC1" value="1"/>
@@ -3739,16 +3718,37 @@
<value name="VP8" value="5"/>
<value name="UVLD" value="15"/>
</field>
+ <field name="Codec Select" start="36" end="36" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
+ </field>
+ <field name="Stitch Mode" start="37" end="37" type="bool"/>
+ <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
+ <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
+ <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
+ <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
+ <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
+ <field name="Decoder Mode select" start="47" end="48" type="uint">
+ <value name="VLD Mode" value="0"/>
+ <value name="IT Mode" value="1"/>
+ <value name="Deblocker Mode" value="2"/>
+ <value name="Interlayer Mode" value="3"/>
+ </field>
+ <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
+ <value name="Short Format Driver Interface" value="0"/>
+ <value name="Long Format Driver Interface" value="1"/>
+ </field>
+ <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -3763,27 +3763,27 @@
</instruction>
<instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="State Pointer" start="37" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="State Pointer Index" start="32" end="33" type="uint"/>
+ <field name="State Pointer" start="37" end="63" type="uint"/>
</instruction>
<instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
- <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
+ <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
<field name="Indirect Data Length" start="64" end="82" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<group count="0" start="128" size="32">
@@ -3792,19 +3792,27 @@
</instruction>
<instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface ID" start="32" end="35" type="uint">
<value name="Source Input Picture" value="4"/>
<value name="Reconstructed Scaled Reference Picture" value="5"/>
</field>
- <field name="Height" start="82" end="95" type="uint"/>
- <field name="Width" start="68" end="81" type="uint"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="u0.2"/>
+ <field name="Width" start="68" end="81" type="uint"/>
+ <field name="Height" start="82" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Interleave Chroma" start="123" end="123" type="bool"/>
<field name="Surface Format" start="124" end="127" type="uint">
<value name="YCRCB_NORMAL" value="0"/>
<value name="YCRCB_SWAPUVY" value="1"/>
@@ -3820,27 +3828,19 @@
<value name="R8_UNORM (Cr/Cb)" value="11"/>
<value name="Y8_UNORM" value="12"/>
</field>
- <field name="Interleave Chroma" start="123" end="123" type="bool"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
- <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
- <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
+ <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
+ <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
</instruction>
<instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Direct MV Write Buffer - Address" start="32" end="95" type="address"/>
<field name="Direct MV Write Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Direct MV Read Buffer - Address" start="128" end="191" type="address"/>
@@ -3848,109 +3848,110 @@
</instruction>
<instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
- <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
- <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
- <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
- <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
- <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
- <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
+ <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
+ <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
<field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
- <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
- <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
- <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
+ <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
<field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
- <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
- <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
- <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
+ <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
<field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
- <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
- <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
- <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
+ <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
<field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
+ <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
+ <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
</instruction>
<instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="223" type="uint"/>
</instruction>
<instruction name="MFX_VP8_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width" start="32" end="39" type="uint"/>
+ <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="MC Filter Select" start="64" end="64" type="uint"/>
+ <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
+ <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
+ <field name="Key Frame" start="69" end="69" type="bool"/>
+ <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
+ <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
+ <field name="Segment Enable" start="72" end="72" type="bool"/>
+ <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
+ <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
+ <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
+ <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
+ <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
+ <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
<field name="Log2 Num of Partition" start="88" end="89" type="uint">
<value name="1 Token partition" value="0"/>
<value name="2 Token partition" value="1"/>
<value name="4 Token partition" value="2"/>
<value name="8 Token partition" value="3"/>
</field>
- <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
- <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
- <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
- <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
- <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
- <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
- <field name="Segment Enable" start="72" end="72" type="bool"/>
- <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
- <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
- <field name="Key Frame" start="69" end="69" type="bool"/>
- <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
- <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
- <field name="MC Filter Select" start="64" end="64" type="uint"/>
- <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
- <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
- <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
<field name="DBLK Filter Level for Segment0" start="96" end="101" type="uint"/>
- <field name="Quantizer Value [0][Y1AC]" start="144" end="152" type="uint"/>
+ <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
+ <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
+ <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
<field name="Quantizer Value [0][Y1DC]" start="128" end="136" type="uint"/>
- <field name="Quantizer Value [0][UVAC]" start="176" end="184" type="uint"/>
+ <field name="Quantizer Value [0][Y1AC]" start="144" end="152" type="uint"/>
<field name="Quantizer Value [0][UVDC]" start="160" end="168" type="uint"/>
- <field name="Quantizer Value [0][Y2AC]" start="208" end="216" type="uint"/>
+ <field name="Quantizer Value [0][UVAC]" start="176" end="184" type="uint"/>
<field name="Quantizer Value [0][Y2DC]" start="192" end="200" type="uint"/>
- <field name="Quantizer Value [1][Y1AC]" start="240" end="248" type="uint"/>
+ <field name="Quantizer Value [0][Y2AC]" start="208" end="216" type="uint"/>
<field name="Quantizer Value [1][Y1DC]" start="224" end="232" type="uint"/>
- <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
+ <field name="Quantizer Value [1][Y1AC]" start="240" end="248" type="uint"/>
<field name="Quantizer Value [1][UVDC]" start="256" end="264" type="uint"/>
- <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
+ <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
<field name="Quantizer Value [1][Y2DC]" start="288" end="296" type="uint"/>
- <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
+ <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
<field name="Quantizer Value [2][Y1DC]" start="320" end="328" type="uint"/>
- <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
+ <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
<field name="Quantizer Value [2][UVDC]" start="352" end="360" type="uint"/>
- <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
+ <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
<field name="Quantizer Value [2][Y2DC]" start="384" end="392" type="uint"/>
- <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
+ <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
<field name="Quantizer Value [3][Y1DC]" start="416" end="424" type="uint"/>
- <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
+ <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
<field name="Quantizer Value [3][UVDC]" start="448" end="456" type="uint"/>
- <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
+ <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
<field name="Quantizer Value [3][Y2DC]" start="480" end="488" type="uint"/>
+ <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
<field name="CoeffProbability Stream-In - Address" start="518" end="559" type="address"/>
- <field name="CoeffProbability Stream-In - Arbitration Priority Control" start="583" end="584" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
+ <field name="CoeffProbability Stream-In - Age for QUADLRU" start="576" end="577" type="uint"/>
+ <field name="CoeffProbability Stream-In - Target Cache" start="579" end="580" type="uint">
+ <value name="eLLC Only" value="0"/>
+ <value name="LLC Only" value="1"/>
+ <value name="LLC/eLLC" value="2"/>
+ <value name="L3, LLC, eLLC" value="3"/>
</field>
<field name="CoeffProbability Stream-In - Cacheability Control" start="581" end="582" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
@@ -3958,133 +3959,132 @@
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - Target Cache" start="579" end="580" type="uint">
- <value name="eLLC Only" value="0"/>
- <value name="LLC Only" value="1"/>
- <value name="LLC/eLLC" value="2"/>
- <value name="L3, LLC, eLLC" value="3"/>
+ <field name="CoeffProbability Stream-In - Arbitration Priority Control" start="583" end="584" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - Age for QUADLRU" start="576" end="577" type="uint"/>
- <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
- <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
<field name="MBSegmentIDTreeProbs[0]" start="608" end="615" type="uint"/>
- <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
- <field name="IntraMBProb" start="656" end="663" type="uint"/>
- <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
<field name="InterPredFromGRefRefProb" start="640" end="647" type="uint"/>
- <field name="YModeProb[3]" start="696" end="703" type="uint"/>
- <field name="YModeProb[2]" start="688" end="695" type="uint"/>
- <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="IntraMBProb" start="656" end="663" type="uint"/>
+ <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
<field name="YModeProb[0]" start="672" end="679" type="uint"/>
- <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
- <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="YModeProb[2]" start="688" end="695" type="uint"/>
+ <field name="YModeProb[3]" start="696" end="703" type="uint"/>
<field name="UVModeProb[0]" start="704" end="711" type="uint"/>
- <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
- <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
- <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
<field name="MVUpdateProbs[0][0]" start="736" end="743" type="uint"/>
- <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
- <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
- <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
+ <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
<field name="MVUpdateProbs[0][4]" start="768" end="775" type="uint"/>
- <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
- <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
- <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
+ <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
<field name="MVUpdateProbs[0][8]" start="800" end="807" type="uint"/>
- <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
- <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
- <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
+ <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
<field name="MVUpdateProbs[0][12]" start="832" end="839" type="uint"/>
- <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
- <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
+ <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
<field name="MVUpdateProbs[0][16]" start="864" end="871" type="uint"/>
- <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
- <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
- <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
<field name="MVUpdateProbs[1][0]" start="896" end="903" type="uint"/>
- <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
- <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
- <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
+ <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
<field name="MVUpdateProbs[1][4]" start="928" end="935" type="uint"/>
- <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
- <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
- <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
+ <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
<field name="MVUpdateProbs[1][8]" start="960" end="967" type="uint"/>
- <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
- <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
- <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
+ <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
<field name="MVUpdateProbs[1][12]" start="992" end="999" type="uint"/>
- <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
- <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
+ <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
<field name="MVUpdateProbs[1][16]" start="1024" end="1031" type="uint"/>
- <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
- <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
- <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
<field name="RefLFDelta0" start="1056" end="1062" type="int"/>
- <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
- <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
- <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
+ <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
<field name="ModeLFDelta0" start="1088" end="1094" type="int"/>
+ <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
+ <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
<field name="Segmentation ID Stream - Address" start="1120" end="1167" type="uint"/>
- <field name="Segmentation ID Stream - Arbitration Priority Control" start="1191" end="1192" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="Segmentation ID Stream - Cacheability Control" start="1189" end="1190" type="uint">
+ <field name="Segmentation ID Stream - Age for QUADLRU" start="1184" end="1185" type="uint"/>
+ <field name="Segmentation ID Stream - Target Cache" start="1187" end="1188" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
<value name="Uncacheable" value="1"/>
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
- <field name="Segmentation ID Stream - Target Cache" start="1187" end="1188" type="uint">
+ <field name="Segmentation ID Stream - Cacheability Control" start="1189" end="1190" type="uint">
<value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
<value name="Uncacheable" value="1"/>
<value name="Writethrough" value="2"/>
<value name="Writeback" value="3"/>
</field>
- <field name="Segmentation ID Stream - Age for QUADLRU" start="1184" end="1185" type="uint"/>
+ <field name="Segmentation ID Stream - Arbitration Priority Control" start="1191" end="1192" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
</instruction>
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
- <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
+ <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
+ <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="MI_ARB_CHECK" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ARB_ON_OFF" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
<field name="Arbitration Enable" start="0" end="0" type="bool" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ATOMIC" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
+ <field name="Return Data Control" start="16" end="16" type="uint"/>
+ <field name="CS STALL" start="17" end="17" type="uint"/>
+ <field name="Inline Data" start="18" end="18" type="uint"/>
<field name="Data Size" start="19" end="20" type="uint">
<value name="DWORD" value="0"/>
<value name="QWORD" value="1"/>
<value name="OCTWORD" value="2"/>
<value name="RESERVED" value="3"/>
</field>
- <field name="Inline Data" start="18" end="18" type="uint"/>
- <field name="CS STALL" start="17" end="17" type="uint"/>
- <field name="Return Data Control" start="16" end="16" type="uint"/>
- <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Memory Address" start="34" end="79" type="address"/>
<field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
<field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
@@ -4097,82 +4097,82 @@
</instruction>
<instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
- <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
- <value name="First level batch" value="0"/>
- <value name="Second level batch" value="1"/>
- </field>
- <field name="Add Offset Enable" start="16" end="16" type="bool"/>
- <field name="Predication Enable" start="15" end="15" type="bool"/>
- <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
<value name="GGTT" value="0"/>
<value name="PPGTT" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="Predication Enable" start="15" end="15" type="bool"/>
+ <field name="Add Offset Enable" start="16" end="16" type="bool"/>
+ <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
+ <value name="First level batch" value="0"/>
+ <value name="Second level batch" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Batch Buffer Start Address" start="34" end="79" type="address"/>
</instruction>
<instruction name="MI_CLFLUSH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="9" type="uint" default="1"/>
- <field name="Page Base Address" start="44" end="79" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
+ <field name="Page Base Address" start="44" end="79" type="address"/>
<group count="0" start="96" size="32">
<field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Compare Data Dword" start="32" end="63" type="uint"/>
<field name="Compare Address" start="67" end="111" type="address"/>
</instruction>
<instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
- <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
- <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Memory Address" start="34" end="95" type="address"/>
<field name="Source Memory Address" start="98" end="159" type="address"/>
</instruction>
<instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
- <field name="Store Data Index" start="21" end="21" type="uint"/>
- <field name="TLB Invalidate" start="18" end="18" type="bool"/>
- <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint"/>
- <field name="Address" start="35" end="79" type="address"/>
+ <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
+ <field name="TLB Invalidate" start="18" end="18" type="bool"/>
+ <field name="Store Data Index" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="54" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="64" size="64">
@@ -4182,81 +4182,80 @@
</instruction>
<instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Async Mode Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Async Mode Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Source Register Address" start="34" end="54" type="offset"/>
<field name="Destination Register Address" start="66" end="86" type="offset"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
</field>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
</field>
- <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_URB_MEM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="34" end="46" type="uint"/>
<field name="Memory Address" start="70" end="127" type="address"/>
</instruction>
<instruction name="MI_MATH" bias="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<group count="0" start="32" size="32">
<field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
</group>
</instruction>
<instruction name="MI_NOOP" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
- <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
<field name="Identification Number" start="0" end="21" type="uint"/>
+ <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
- <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
- <value name="KEEP" value="0"/>
- <value name="LOAD" value="2"/>
- <value name="LOADINV" value="3"/>
+ <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
+ <value name="TRUE" value="0"/>
+ <value name="FALSE" value="1"/>
+ <value name="SRCS_EQUAL" value="2"/>
+ <value name="DELTAS_EQUAL" value="3"/>
</field>
<field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
<value name="SET" value="0"/>
@@ -4264,60 +4263,59 @@
<value name="OR" value="2"/>
<value name="XOR" value="3"/>
</field>
- <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
- <value name="TRUE" value="0"/>
- <value name="FALSE" value="1"/>
- <value name="SRCS_EQUAL" value="2"/>
- <value name="DELTAS_EQUAL" value="3"/>
+ <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
+ <value name="KEEP" value="0"/>
+ <value name="LOAD" value="2"/>
+ <value name="LOADINV" value="3"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_HEAD" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
- <field name="Memory Address" start="38" end="95" type="address"/>
- <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Use Global GTT" start="32" end="32" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="Memory Address" start="38" end="95" type="address"/>
<field name="Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_RS_CONTEXT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
<field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
<value name="Restore" value="0"/>
<value name="Save" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_CONTROL" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
<field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
<value name="Stop" value="0"/>
<value name="Start" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Destination Address" start="34" end="95" type="address"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Destination Address" start="34" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Target Engine Select" start="15" end="17" type="uint">
<value name="RCS" value="0"/>
<value name="VCS0" value="1"/>
@@ -4325,21 +4323,14 @@
<value name="VECS" value="3"/>
<value name="VCS1" value="4"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Target Context ID" start="32" end="63" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Wait Mode" start="15" end="15" type="uint">
- <value name="Polling Mode" value="1"/>
- <value name="Signal Mode" value="0"/>
- </field>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
<value name="SAD_GREATER_THAN_SDD" value="0"/>
<value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
@@ -4348,28 +4339,35 @@
<value name="SAD_EQUAL_SDD" value="4"/>
<value name="SAD_NOT_EQUAL_SDD" value="5"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Wait Mode" start="15" end="15" type="uint">
+ <value name="Polling Mode" value="1"/>
+ <value name="Signal Mode" value="0"/>
+ </field>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
<field name="Semaphore Address" start="66" end="95" type="address"/>
<field name="Semaphore Address High" start="96" end="111" type="address"/>
</instruction>
<instruction name="MI_SET_CONTEXT" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Logical Context Address" start="44" end="63" type="address"/>
- <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
- <field name="Core Mode Enable" start="36" end="36" type="bool"/>
- <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
- <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
- <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Restore Inhibit" start="32" end="32" type="uint"/>
+ <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
+ <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="bool"/>
+ <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
+ <field name="Logical Context Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="MI_SET_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
<field name="PREDICATE ENABLE" start="0" end="3" type="uint">
<value name="NOOP Never" value="0"/>
<value name="NOOP on Result2 clear" value="1"/>
@@ -4381,260 +4379,338 @@
<value name="Execute when three slices are enabled." value="7"/>
<value name="NOOP Always" value="15"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Store Qword" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="9" type="uint" default="2"/>
- <field name="Address" start="34" end="79" type="address"/>
+ <field name="Store Qword" start="21" end="21" type="uint"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Address" start="34" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
- <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Offset" start="34" end="43" type="uint"/>
<field name="Data DWord 0" start="64" end="95" type="uint"/>
<field name="Data DWord 1" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Predicate Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Predicate Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_STORE_URB_MEM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="34" end="46" type="uint"/>
<field name="Memory Address" start="70" end="127" type="address"/>
</instruction>
<instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
<field name="Suspend Flush" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
<field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
- <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
<field name="URB Atomic Storage Size" start="0" end="8" type="uint"/>
+ <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Clear Length" start="48" end="61" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="32" end="46" type="offset"/>
+ <field name="URB Clear Length" start="48" end="61" type="uint"/>
</instruction>
<instruction name="MI_USER_INTERRUPT" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
- <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
- <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
- <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
- <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
- <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
- <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
- <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
- <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
- <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
- <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
- <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
<field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
+ <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
+ <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
+ <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
+ <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
+ <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
+ <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
+ <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
+ <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
+ <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="Pipeline Selection" start="0" end="1" type="uint">
<value name="3D" value="0"/>
<value name="Media" value="1"/>
<value name="GPGPU" value="2"/>
</field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
- <value name="No LRI Operation" value="0"/>
- <value name="MMIO Write Immediate Data" value="1"/>
- </field>
- <field name="Store Data Index" start="53" end="53" type="uint"/>
- <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
- <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
- <field name="TLB Invalidate" start="50" end="50" type="bool"/>
- <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
+ <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
+ <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
+ <field name="DC Flush Enable" start="37" end="37" type="bool"/>
+ <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
+ <field name="Notify Enable" start="40" end="40" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
+ <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
+ <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
+ <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
<field name="Post Sync Operation" start="46" end="47" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
- <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
- <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
- <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
- <field name="Notify Enable" start="40" end="40" type="bool"/>
- <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
- <field name="DC Flush Enable" start="37" end="37" type="bool"/>
- <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
- <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
- <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
- <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+ <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+ <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
+ <field name="Store Data Index" start="53" end="53" type="uint"/>
+ <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
+ <value name="No LRI Operation" value="0"/>
+ <value name="MMIO Write Immediate Data" value="1"/>
+ </field>
+ <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
<field name="Address" start="66" end="111" type="address"/>
<field name="Immediate Data" start="128" end="191" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="14"/>
- <field name="General State Base Address" start="44" end="95" type="address"/>
- <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
+ <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="General State Base Address" start="44" end="95" type="address"/>
<field name="Stateless Data Port Access MOCS" start="112" end="118" type="uint"/>
- <field name="Surface State Base Address" start="140" end="191" type="address"/>
- <field name="Surface State MOCS" start="132" end="138" type="uint"/>
<field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
- <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Surface State MOCS" start="132" end="138" type="uint"/>
+ <field name="Surface State Base Address" start="140" end="191" type="address"/>
<field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
- <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
- <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
- <field name="Instruction Base Address" start="332" end="383" type="address"/>
- <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
<field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
- <field name="General State Buffer Size" start="396" end="415" type="uint"/>
+ <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Instruction Base Address" start="332" end="383" type="address"/>
<field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
- <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
+ <field name="General State Buffer Size" start="396" end="415" type="uint"/>
<field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
- <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
+ <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
<field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
- <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
+ <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
<field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
+ <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
</instruction>
<instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Prefetch Pointer" start="38" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Prefetch Count" start="32" end="34" type="uint"/>
+ <field name="Prefetch Pointer" start="38" end="63" type="address"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="95" type="offset"/>
</instruction>
<instruction name="SWTESS_BASE_ADDRESS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="SW Tessellation Base Address" start="44" end="79" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SW Tessellation MOCS" start="40" end="43" type="uint"/>
+ <field name="SW Tessellation Base Address" start="44" end="79" type="address"/>
</instruction>
- <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
- <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
+ <register name="ACTHD_UDW" length="1" num="0x205c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
</register>
- <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
- <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
</register>
- <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
- <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_INSTDONE" length="1" num="0x2206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
+ <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
+ <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
</register>
- <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
- <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ </register>
+
+ <register name="CACHE_MODE_1" length="1" num="0x7004">
+ <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
+ <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
+ <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
+ <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
+ <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
+ <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
+ <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
+ <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
+ <field name="MSC Resolve Optimization Disable" start="14" end="14" type="uint"/>
+ <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
+ <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
+ <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
+ <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
+ <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
+ <field name="NP PMA Fix Enable Mask" start="27" end="27" type="uint"/>
+ <field name="HIZ Eviction Policy Mask" start="28" end="28" type="uint"/>
+ <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="uint"/>
+ <field name="MSC Resolve Optimization Disable Mask" start="30" end="30" type="uint"/>
+ </register>
+
+ <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
+ <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
+ <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
+ <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
<register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
<field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
- <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="FAULT_REG" length="1" num="0x4094">
+ <field name="Valid Bit" start="0" end="0" type="bool"/>
+ <field name="Fault Type" start="1" end="2" type="uint">
+ <value name="Invalid PTE Fault" value="0"/>
+ <value name="Invalid PDE Fault" value="1"/>
+ <value name="Invalid PDPE Fault" value="2"/>
+ <value name="Invalid PML4E Fault" value="3"/>
+ </field>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="GTTSEL" start="11" end="11" type="uint">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Engine ID" start="12" end="14" type="uint">
+ <value name="GFX" value="0"/>
+ <value name="MFX0" value="1"/>
+ <value name="MFX1" value="2"/>
+ <value name="VEBX" value="3"/>
+ <value name="BLT" value="4"/>
+ <value name="GUC" value="5"/>
+ </field>
</register>
- <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
- <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
+ <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
+ <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
+ <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
+ <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
+ <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
+ <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
+ <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
+ <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
+ <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
+ <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
+ <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
+ <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
+ <field name="PASID Not Valid" start="13" end="13" type="bool"/>
+ <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
+ <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
</register>
- <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
- <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
+ <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
- <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
+ <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
- <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
+ <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
- <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
+ <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="BCS_INSTDONE" length="1" num="0x2206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
- <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
- <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
+ <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
+ <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
</register>
<register name="INSTDONE_1" length="1" num="0x206c">
@@ -4662,69 +4738,40 @@
<field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
</register>
- <register name="VCS_INSTDONE" length="1" num="0x1206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="USB Done" start="1" end="1" type="bool"/>
- <field name="QRC Done" start="2" end="2" type="bool"/>
- <field name="SEC Done" start="3" end="3" type="bool"/>
- <field name="MPC Done" start="4" end="4" type="bool"/>
- <field name="VFT Done" start="5" end="5" type="bool"/>
- <field name="BSP Done" start="6" end="6" type="bool"/>
- <field name="VLF Done" start="7" end="7" type="bool"/>
- <field name="VOP Done" start="8" end="8" type="bool"/>
- <field name="VMC Done" start="9" end="9" type="bool"/>
- <field name="VIP Done" start="10" end="10" type="bool"/>
- <field name="VIT Done" start="11" end="11" type="bool"/>
- <field name="VDS Done" start="12" end="12" type="bool"/>
- <field name="VMX Done" start="13" end="13" type="bool"/>
- <field name="VCP Done" start="14" end="14" type="bool"/>
- <field name="VCD Done" start="15" end="15" type="bool"/>
- <field name="VAD Done" start="16" end="16" type="bool"/>
- <field name="VMD Done" start="17" end="17" type="bool"/>
- <field name="VIS Done" start="18" end="18" type="bool"/>
- <field name="VAC Done" start="19" end="19" type="bool"/>
- <field name="VAM Done" start="20" end="20" type="bool"/>
- <field name="JPG Done" start="21" end="21" type="bool"/>
- <field name="VBP Done" start="22" end="22" type="bool"/>
- <field name="VHR Done" start="23" end="23" type="bool"/>
- <field name="VCI Done" start="24" end="24" type="bool"/>
- <field name="VCR Done" start="25" end="25" type="bool"/>
- <field name="VIN Done" start="26" end="26" type="bool"/>
- <field name="VPR Done" start="27" end="27" type="bool"/>
- <field name="VTQ Done" start="28" end="28" type="bool"/>
- <field name="Reserved" start="29" end="29" type="bool"/>
- <field name="VCS Done" start="30" end="30" type="bool"/>
- <field name="GAC Done" start="31" end="31" type="bool"/>
+ <register name="INSTPM" length="1" num="0x20c0">
+ <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
+ <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
+ <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
+ <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
+ <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
+ <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
</register>
- <register name="VECS_INSTDONE" length="1" num="0x1a06c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="VECS Done" start="30" end="30" type="bool"/>
- <field name="GAM Done" start="31" end="31" type="bool"/>
+ <register name="L3CNTLREG" length="1" num="0x7034">
+ <field name="SLM Enable" start="0" end="0" type="bool"/>
+ <field name="URB Allocation" start="1" end="7" type="uint"/>
+ <field name="RO Allocation" start="11" end="17" type="uint"/>
+ <field name="DC Allocation" start="18" end="24" type="uint"/>
+ <field name="All Allocation" start="25" end="31" type="uint"/>
</register>
- <register name="SC_INSTDONE" length="1" num="0x7100">
- <field name="SVL Done" start="0" end="0" type="bool"/>
- <field name="WMFE Done" start="1" end="1" type="bool"/>
- <field name="WMBE Done" start="2" end="2" type="bool"/>
- <field name="HIZ Done" start="3" end="3" type="bool"/>
- <field name="STC Done" start="4" end="4" type="bool"/>
- <field name="IZ Done" start="5" end="5" type="bool"/>
- <field name="SBE Done" start="6" end="6" type="bool"/>
- <field name="RCZ Done" start="8" end="8" type="bool"/>
- <field name="RCC Done" start="9" end="9" type="bool"/>
- <field name="RCPBE Done" start="10" end="10" type="bool"/>
- <field name="RCPFE Done" start="11" end="11" type="bool"/>
- <field name="DAPB Done" start="12" end="12" type="bool"/>
- <field name="DAPRBE Done" start="13" end="13" type="bool"/>
- <field name="SARB Done" start="15" end="15" type="bool"/>
- <field name="DC0 Done" start="16" end="16" type="bool"/>
- <field name="DC1 Done" start="17" end="17" type="bool"/>
- <field name="DC2 Done" start="18" end="18" type="bool"/>
- <field name="GW0 Done" start="20" end="20" type="bool"/>
- <field name="GW1 Done" start="21" end="21" type="bool"/>
- <field name="GW2 Done" start="22" end="22" type="bool"/>
- <field name="TDC Done" start="24" end="24" type="bool"/>
+ <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
+ <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
<register name="ROW_INSTDONE" length="1" num="0xe164">
@@ -4768,12 +4815,28 @@
<field name="BDM Done" start="19" end="19" type="bool"/>
</register>
- <register name="L3CNTLREG" length="1" num="0x7034">
- <field name="SLM Enable" start="0" end="0" type="bool"/>
- <field name="URB Allocation" start="1" end="7" type="uint"/>
- <field name="RO Allocation" start="11" end="17" type="uint"/>
- <field name="DC Allocation" start="18" end="24" type="uint"/>
- <field name="All Allocation" start="25" end="31" type="uint"/>
+ <register name="SC_INSTDONE" length="1" num="0x7100">
+ <field name="SVL Done" start="0" end="0" type="bool"/>
+ <field name="WMFE Done" start="1" end="1" type="bool"/>
+ <field name="WMBE Done" start="2" end="2" type="bool"/>
+ <field name="HIZ Done" start="3" end="3" type="bool"/>
+ <field name="STC Done" start="4" end="4" type="bool"/>
+ <field name="IZ Done" start="5" end="5" type="bool"/>
+ <field name="SBE Done" start="6" end="6" type="bool"/>
+ <field name="RCZ Done" start="8" end="8" type="bool"/>
+ <field name="RCC Done" start="9" end="9" type="bool"/>
+ <field name="RCPBE Done" start="10" end="10" type="bool"/>
+ <field name="RCPFE Done" start="11" end="11" type="bool"/>
+ <field name="DAPB Done" start="12" end="12" type="bool"/>
+ <field name="DAPRBE Done" start="13" end="13" type="bool"/>
+ <field name="SARB Done" start="15" end="15" type="bool"/>
+ <field name="DC0 Done" start="16" end="16" type="bool"/>
+ <field name="DC1 Done" start="17" end="17" type="bool"/>
+ <field name="DC2 Done" start="18" end="18" type="bool"/>
+ <field name="GW0 Done" start="20" end="20" type="bool"/>
+ <field name="GW1 Done" start="21" end="21" type="bool"/>
+ <field name="GW2 Done" start="22" end="22" type="bool"/>
+ <field name="TDC Done" start="24" end="24" type="bool"/>
</register>
<register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
@@ -4824,85 +4887,7 @@
<field name="Write Offset" start="2" end="31" type="offset"/>
</register>
- <register name="CACHE_MODE_1" length="1" num="0x7004">
- <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
- <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
- <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
- <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
- <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
- <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
- <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
- <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
- <field name="MSC Resolve Optimization Disable" start="14" end="14" type="uint"/>
- <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
- <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
- <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
- <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
- <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
- <field name="NP PMA Fix Enable Mask" start="27" end="27" type="uint"/>
- <field name="HIZ Eviction Policy Mask" start="28" end="28" type="uint"/>
- <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="uint"/>
- <field name="MSC Resolve Optimization Disable Mask" start="30" end="30" type="uint"/>
- </register>
-
- <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
- <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
- <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
- <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
- <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
- <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
- <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
- <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
- <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
- <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
- <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
- <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
- <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
- <field name="PASID Not Valid" start="13" end="13" type="bool"/>
- <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
- <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
- </register>
-
- <register name="ACTHD_UDW" length="1" num="0x205c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="FAULT_REG" length="1" num="0x4094">
- <field name="Valid Bit" start="0" end="0" type="bool"/>
- <field name="Fault Type" start="1" end="2" type="uint">
- <value name="Invalid PTE Fault" value="0"/>
- <value name="Invalid PDE Fault" value="1"/>
- <value name="Invalid PDPE Fault" value="2"/>
- <value name="Invalid PML4E Fault" value="3"/>
- </field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
- <field name="GTTSEL" start="11" end="11" type="uint">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="Engine ID" start="12" end="14" type="uint">
- <value name="GFX" value="0"/>
- <value name="MFX0" value="1"/>
- <value name="MFX1" value="2"/>
- <value name="VEBX" value="3"/>
- <value name="BLT" value="4"/>
- <value name="GUC" value="5"/>
- </field>
- </register>
-
- <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
+ <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
<field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
<field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
<value name="MI_AUTOREPORT_OFF" value="0"/>
@@ -4916,31 +4901,43 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
</register>
- <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ <register name="VCS_INSTDONE" length="1" num="0x1206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="USB Done" start="1" end="1" type="bool"/>
+ <field name="QRC Done" start="2" end="2" type="bool"/>
+ <field name="SEC Done" start="3" end="3" type="bool"/>
+ <field name="MPC Done" start="4" end="4" type="bool"/>
+ <field name="VFT Done" start="5" end="5" type="bool"/>
+ <field name="BSP Done" start="6" end="6" type="bool"/>
+ <field name="VLF Done" start="7" end="7" type="bool"/>
+ <field name="VOP Done" start="8" end="8" type="bool"/>
+ <field name="VMC Done" start="9" end="9" type="bool"/>
+ <field name="VIP Done" start="10" end="10" type="bool"/>
+ <field name="VIT Done" start="11" end="11" type="bool"/>
+ <field name="VDS Done" start="12" end="12" type="bool"/>
+ <field name="VMX Done" start="13" end="13" type="bool"/>
+ <field name="VCP Done" start="14" end="14" type="bool"/>
+ <field name="VCD Done" start="15" end="15" type="bool"/>
+ <field name="VAD Done" start="16" end="16" type="bool"/>
+ <field name="VMD Done" start="17" end="17" type="bool"/>
+ <field name="VIS Done" start="18" end="18" type="bool"/>
+ <field name="VAC Done" start="19" end="19" type="bool"/>
+ <field name="VAM Done" start="20" end="20" type="bool"/>
+ <field name="JPG Done" start="21" end="21" type="bool"/>
+ <field name="VBP Done" start="22" end="22" type="bool"/>
+ <field name="VHR Done" start="23" end="23" type="bool"/>
+ <field name="VCI Done" start="24" end="24" type="bool"/>
+ <field name="VCR Done" start="25" end="25" type="bool"/>
+ <field name="VIN Done" start="26" end="26" type="bool"/>
+ <field name="VPR Done" start="27" end="27" type="bool"/>
+ <field name="VTQ Done" start="28" end="28" type="bool"/>
+ <field name="Reserved" start="29" end="29" type="bool"/>
+ <field name="VCS Done" start="30" end="30" type="bool"/>
+ <field name="GAC Done" start="31" end="31" type="bool"/>
</register>
<register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
@@ -4957,7 +4954,17 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
+ <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
+ </register>
+
+ <register name="VECS_INSTDONE" length="1" num="0x1a06c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="VECS Done" start="30" end="30" type="bool"/>
+ <field name="GAM Done" start="31" end="31" type="bool"/>
+ </register>
+
+ <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
<field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
<field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
<value name="MI_AUTOREPORT_OFF" value="0"/>
@@ -4971,16 +4978,7 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="INSTPM" length="1" num="0x20c0">
- <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
- <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
- <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
-
- <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
- <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
- <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
+ <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
+ <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
-
</genxml>
diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index a90f48508a6..d4e09602e50 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -1,5 +1,66 @@
<?xml version="1.0" ?>
<genxml name="SKL" gen="9">
+
+ <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"/>
+ <value name="LESS" value="2"/>
+ <value name="EQUAL" value="3"/>
+ <value name="LEQUAL" value="4"/>
+ <value name="GREATER" value="5"/>
+ <value name="NOTEQUAL" value="6"/>
+ <value name="GEQUAL" value="7"/>
+ </enum>
+
+ <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
+ <value name="CLEAR" value="0"/>
+ <value name="NOR" value="1"/>
+ <value name="AND_INVERTED" value="2"/>
+ <value name="COPY_INVERTED" value="3"/>
+ <value name="AND_REVERSE" value="4"/>
+ <value name="INVERT" value="5"/>
+ <value name="XOR" value="6"/>
+ <value name="NAND" value="7"/>
+ <value name="AND" value="8"/>
+ <value name="EQUIV" value="9"/>
+ <value name="NOOP" value="10"/>
+ <value name="OR_INVERTED" value="11"/>
+ <value name="COPY" value="12"/>
+ <value name="OR_REVERSE" value="13"/>
+ <value name="OR" value="14"/>
+ <value name="SET" value="15"/>
+ </enum>
+
<enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
<value name="POINTLIST" value="1"/>
<value name="LINELIST" value="2"/>
@@ -56,6 +117,17 @@
<value name="PATCHLIST_32" value="63"/>
</enum>
+ <enum name="3D_Stencil_Operation" prefix="STENCILOP">
+ <value name="KEEP" value="0"/>
+ <value name="ZERO" value="1"/>
+ <value name="REPLACE" value="2"/>
+ <value name="INCRSAT" value="3"/>
+ <value name="DECRSAT" value="4"/>
+ <value name="INCR" value="5"/>
+ <value name="DECR" value="6"/>
+ <value name="INVERT" value="7"/>
+ </enum>
+
<enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
<value name="NOSTORE" value="0"/>
<value name="STORE_SRC" value="1"/>
@@ -65,25 +137,6 @@
<value name="STORE_PID" value="7"/>
</enum>
- <enum name="COMPONENT_ENABLES" prefix="CE">
- <value name="NONE" value="0"/>
- <value name="X" value="1"/>
- <value name="Y" value="2"/>
- <value name="XY" value="3"/>
- <value name="Z" value="4"/>
- <value name="XZ" value="5"/>
- <value name="YZ" value="6"/>
- <value name="XYZ" value="7"/>
- <value name="W" value="8"/>
- <value name="XW" value="9"/>
- <value name="YW" value="10"/>
- <value name="XYW" value="11"/>
- <value name="ZW" value="12"/>
- <value name="XZW" value="13"/>
- <value name="YZW" value="14"/>
- <value name="XYZW" value="15"/>
- </enum>
-
<enum name="Attribute_Component_Format" prefix="ACF">
<value name="disabled" value="0"/>
<value name=".xy" value="1"/>
@@ -91,7 +144,8 @@
<value name=".xyzw" value="3"/>
</enum>
- <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
+ <enum name="COMPONENT_ENABLES" prefix="CE">
+ <value name="NONE" value="0"/>
<value name="X" value="1"/>
<value name="Y" value="2"/>
<value name="XY" value="3"/>
@@ -109,77 +163,6 @@
<value name="XYZW" value="15"/>
</enum>
- <enum name="3D_Stencil_Operation" prefix="STENCILOP">
- <value name="KEEP" value="0"/>
- <value name="ZERO" value="1"/>
- <value name="REPLACE" value="2"/>
- <value name="INCRSAT" value="3"/>
- <value name="DECRSAT" value="4"/>
- <value name="INCR" value="5"/>
- <value name="DECR" value="6"/>
- <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"/>
- <value name="LESS" value="2"/>
- <value name="EQUAL" value="3"/>
- <value name="LEQUAL" value="4"/>
- <value name="GREATER" value="5"/>
- <value name="NOTEQUAL" value="6"/>
- <value name="GEQUAL" value="7"/>
- </enum>
-
- <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
- <value name="CLEAR" value="0"/>
- <value name="NOR" value="1"/>
- <value name="AND_INVERTED" value="2"/>
- <value name="COPY_INVERTED" value="3"/>
- <value name="AND_REVERSE" value="4"/>
- <value name="INVERT" value="5"/>
- <value name="XOR" value="6"/>
- <value name="NAND" value="7"/>
- <value name="AND" value="8"/>
- <value name="EQUIV" value="9"/>
- <value name="NOOP" value="10"/>
- <value name="OR_INVERTED" value="11"/>
- <value name="COPY" value="12"/>
- <value name="OR_REVERSE" value="13"/>
- <value name="OR" value="14"/>
- <value name="SET" value="15"/>
- </enum>
-
<enum name="Shader Channel Select" prefix="SCS">
<value name="ZERO" value="0"/>
<value name="ONE" value="1"/>
@@ -199,6 +182,24 @@
<value name="HALF_BORDER" value="6"/>
</enum>
+ <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
+ <value name="X" value="1"/>
+ <value name="Y" value="2"/>
+ <value name="XY" value="3"/>
+ <value name="Z" value="4"/>
+ <value name="XZ" value="5"/>
+ <value name="YZ" value="6"/>
+ <value name="XYZ" value="7"/>
+ <value name="W" value="8"/>
+ <value name="XW" value="9"/>
+ <value name="YW" value="10"/>
+ <value name="XYW" value="11"/>
+ <value name="ZW" value="12"/>
+ <value name="XZW" value="13"/>
+ <value name="YZW" value="14"/>
+ <value name="XYZW" value="15"/>
+ </enum>
+
<struct name="3DSTATE_CONSTANT_BODY" length="10">
<group count="4" start="0" size="16">
<field name="Read Length" start="0" end="15" type="uint"/>
@@ -209,131 +210,48 @@
</struct>
<struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
- <field name="Binding Table Index" start="16" end="23" type="uint"/>
<field name="Surface State Pointer" start="0" end="15" type="offset"/>
+ <field name="Binding Table Index" start="16" end="23" type="uint"/>
</struct>
- <struct name="GATHER_CONSTANT_ENTRY" length="1">
- <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
- <field name="Channel Mask" start="4" end="7" type="uint"/>
- <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
- </struct>
-
- <struct name="VERTEX_BUFFER_STATE" length="4">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="MOCS" start="16" end="22" type="uint"/>
- <field name="Address Modify Enable" start="14" end="14" type="bool"/>
- <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
- <field name="Buffer Pitch" start="0" end="11" type="uint"/>
- <field name="Buffer Starting Address" start="32" end="95" type="address"/>
- <field name="Buffer Size" start="96" end="127" type="uint"/>
- </struct>
-
- <struct name="VERTEX_ELEMENT_STATE" length="2">
- <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
- <field name="Valid" start="25" end="25" type="bool"/>
- <field name="Source Element Format" start="16" end="24" type="uint"/>
- <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
- <field name="Source Element Offset" start="0" end="11" type="uint"/>
- <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
- <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
- <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
- <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
- </struct>
-
- <struct name="SO_DECL" length="1">
- <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
- <field name="Hole Flag" start="11" end="11" type="uint"/>
- <field name="Register Index" start="4" end="9" type="uint"/>
- <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
- </struct>
-
- <struct name="SO_DECL_ENTRY" length="2">
- <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
- <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
- <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
- <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
- </struct>
-
- <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
- <field name="Component Override W" start="15" end="15" type="bool"/>
- <field name="Component Override Z" start="14" end="14" type="bool"/>
- <field name="Component Override Y" start="13" end="13" type="bool"/>
- <field name="Component Override X" start="12" end="12" type="bool"/>
- <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
- <field name="Constant Source" start="9" end="10" type="uint">
- <value name="CONST_0000" value="0"/>
- <value name="CONST_0001_FLOAT" value="1"/>
- <value name="CONST_1111_FLOAT" value="2"/>
- <value name="PRIM_ID" value="3"/>
- </field>
- <field name="Swizzle Select" start="6" end="7" type="uint">
- <value name="INPUTATTR" value="0"/>
- <value name="INPUTATTR_FACING" value="1"/>
- <value name="INPUTATTR_W" value="2"/>
- <value name="INPUTATTR_FACING_W" value="3"/>
- </field>
- <field name="Source Attribute" start="0" end="4" type="uint"/>
- </struct>
-
- <struct name="SCISSOR_RECT" length="2">
- <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
- <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
- <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
- <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
- </struct>
-
- <struct name="SF_CLIP_VIEWPORT" length="16">
- <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
- <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
- <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
- <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
- <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
- <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
- <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
- <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
- <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
- <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
- <field name="X Min ViewPort" start="384" end="415" type="float"/>
- <field name="X Max ViewPort" start="416" end="447" type="float"/>
- <field name="Y Min ViewPort" start="448" end="479" type="float"/>
- <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ <struct name="BINDING_TABLE_STATE" length="1">
+ <field name="Surface State Pointer" start="6" end="31" type="offset"/>
</struct>
<struct name="BLEND_STATE_ENTRY" length="2">
- <field name="Logic Op Enable" start="63" end="63" type="bool"/>
- <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
- <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Write Disable Green" start="1" end="1" type="bool"/>
+ <field name="Write Disable Red" start="2" end="2" type="bool"/>
+ <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
+ <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
+ <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
+ <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
+ <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
<field name="Color Clamp Range" start="34" end="35" type="uint">
<value name="COLORCLAMP_UNORM" value="0"/>
<value name="COLORCLAMP_SNORM" value="1"/>
<value name="COLORCLAMP_RTFORMAT" value="2"/>
</field>
- <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
- <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
- <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
- <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
- <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
- <field name="Write Disable Red" start="2" end="2" type="bool"/>
- <field name="Write Disable Green" start="1" end="1" type="bool"/>
- <field name="Write Disable Blue" start="0" end="0" type="bool"/>
+ <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
+ <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
+ <field name="Logic Op Enable" start="63" end="63" type="bool"/>
</struct>
<struct name="BLEND_STATE" length="1">
- <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
- <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
- <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
- <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
- <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
- <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
- <field name="Color Dither Enable" start="23" end="23" type="bool"/>
- <field name="X Dither Offset" start="21" end="22" type="uint"/>
<field name="Y Dither Offset" start="19" end="20" type="uint"/>
+ <field name="X Dither Offset" start="21" end="22" type="uint"/>
+ <field name="Color Dither Enable" start="23" end="23" type="bool"/>
+ <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
+ <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
+ <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
+ <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
+ <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
<group count="0" start="32" size="64">
<field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
</group>
@@ -345,11 +263,11 @@
</struct>
<struct name="COLOR_CALC_STATE" length="6">
- <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Test Format" start="0" end="0" type="uint">
<value name="ALPHATEST_UNORM8" value="0"/>
<value name="ALPHATEST_FLOAT32" value="1"/>
</field>
+ <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
<field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
<field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
<field name="Blend Constant Color Red" start="64" end="95" type="float"/>
@@ -359,33 +277,177 @@
</struct>
<struct name="EXECUTION_UNIT_EXTENDED_MESSAGE_DESCRIPTOR" length="1">
- <field name="Extended Message Length" start="6" end="9" type="uint"/>
+ <field name="Target Function ID" start="0" end="3" type="uint"/>
<field name="End Of Thread" start="5" end="5" type="uint">
<value name="No Termination" value="0"/>
<value name="EOT" value="1"/>
</field>
- <field name="Target Function ID" start="0" end="3" type="uint"/>
+ <field name="Extended Message Length" start="6" end="9" type="uint"/>
+ </struct>
+
+ <struct name="FILTER_COEFFICIENT" length="1">
+ <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
+ </struct>
+
+ <struct name="FRAMEDELTAQP" length="2">
+ <group count="8" start="0" size="8">
+ <field name="Frame Delta QP" start="0" end="7" type="int"/>
+ </group>
+ </struct>
+
+ <struct name="FRAMEDELTAQPRANGE" length="2">
+ <group count="8" start="0" size="8">
+ <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
+ </group>
+ </struct>
+
+ <struct name="GATHER_CONSTANT_ENTRY" length="1">
+ <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
+ <field name="Channel Mask" start="4" end="7" type="uint"/>
+ <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
+ </struct>
+
+ <struct name="MEMORYADDRESSATTRIBUTES" length="1">
+ <field name="MOCS" start="1" end="6" type="uint"/>
+ <field name="Arbitration Priority Control" start="7" end="8" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint">
+ <value name="LLC" value="0"/>
+ <value name="Internal Media Storage" value="1"/>
+ </field>
+ <field name="Tiled Resource Mode" start="13" end="14" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
+ </struct>
+
+ <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
+ <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
+ <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
+ <field name="Indirect Payload Base Address2" start="96" end="128" type="MEMORYADDRESSATTRIBUTES"/>
+ </struct>
+
+ <struct name="HCP_REF_LIST_ENTRY" length="1">
+ <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
+ <field name="List Entry" start="8" end="10" type="uint"/>
+ <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
+ <value name="Default" value="0"/>
+ <value name="Explicit" value="1"/>
+ </field>
+ <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
+ <value name="Default" value="0"/>
+ <value name="Explicit" value="1"/>
+ </field>
+ <field name="Long Term Reference" start="13" end="13" type="bool"/>
+ <field name="Field Pic" start="14" end="14" type="bool"/>
+ <field name="Top Field" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
+ <field name="CtbPos0+i" start="0" end="7" type="uint"/>
+ <field name="CtbPos1+i" start="8" end="15" type="uint"/>
+ <field name="CtbPos2+i" start="16" end="23" type="uint"/>
+ <field name="CtbPos3+i" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
+ <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
+ <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
+ <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
+ <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
+ <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
+ <field name="Luma Offset LX" start="8" end="15" type="uint"/>
+ </struct>
+
+ <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
+ <field name="Priority" start="0" end="1" type="uint">
+ <value name="Highest priority" value="0"/>
+ <value name="Second highest priority" value="1"/>
+ <value name="Third highest priority" value="2"/>
+ <value name="Lowest priority" value="3"/>
+ </field>
+ </struct>
+
+ <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
+ <field name="Lambda Value 0" start="0" end="15" type="uint"/>
+ <field name="Lambda Value 1" start="16" end="31" type="uint"/>
+ </struct>
+
+ <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
+ <field name="Address" start="0" end="63" type="address"/>
+ <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
+ </struct>
+
+ <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
+ <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
+ <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
+ <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
+ <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
+ <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
+ <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
+ <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
+ <field name="MPR Error Handling" start="12" end="12" type="bool"/>
+ <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
+ <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
+ <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
+ <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
+ <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
+ <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="uint"/>
+ <field name="Init Current MB Number" start="30" end="30" type="bool"/>
+ <field name="Concealment Method" start="31" end="31" type="uint"/>
+ <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
+ <field name="Last Slice" start="35" end="35" type="bool"/>
+ <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
+ <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
+ <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
+ <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
+ <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
+ <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
+ <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
+ <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
+ <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
+ <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
+ <value name="Intra Concealment" value="1"/>
+ <value name="Inter Concealment" value="0"/>
+ </field>
</struct>
<struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
<field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
- <field name="Denorm Mode" start="83" end="83" type="uint">
- <value name="Ftz" value="0"/>
- <value name="SetByKernel" value="1"/>
+ <field name="Software Exception Enable" start="71" end="71" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
+ <field name="Floating Point Mode" start="80" end="80" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Single Program Flow" start="82" end="82" type="bool"/>
<field name="Thread Priority" start="81" end="81" type="uint">
<value name="Normal Priority" value="0"/>
<value name="High Priority" value="1"/>
</field>
- <field name="Floating Point Mode" start="80" end="80" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Single Program Flow" start="82" end="82" type="bool"/>
+ <field name="Denorm Mode" start="83" end="83" type="uint">
+ <value name="Ftz" value="0"/>
+ <value name="SetByKernel" value="1"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
- <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
- <field name="Software Exception Enable" start="71" end="71" type="bool"/>
- <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
<field name="Sampler Count" start="98" end="100" type="uint">
<value name="No samplers used" value="0"/>
<value name="Between 1 and 4 samplers used" value="1"/>
@@ -393,17 +455,13 @@
<value name="Between 9 and 12 samplers used" value="3"/>
<value name="Between 13 and 16 samplers used" value="4"/>
</field>
- <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
+ <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
<field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
- <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
<field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
- <field name="Rounding Mode" start="214" end="215" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
- </field>
- <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
+ <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
+ <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
<field name="Shared Local Memory Size" start="208" end="212" type="uint">
<value name="Encodes 0K" value="0"/>
<value name="Encodes 1K" value="1"/>
@@ -414,100 +472,154 @@
<value name="Encodes 32K" value="6"/>
<value name="Encodes 64K" value="7"/>
</field>
- <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
- <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
+ <field name="Barrier Enable" start="213" end="213" type="bool"/>
+ <field name="Rounding Mode" start="214" end="215" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
+ </field>
<field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
</struct>
- <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
- <field name="Rounding Precision" start="0" end="2" type="uint">
- <value name="+1/16" value="0"/>
- <value name="+2/16" value="1"/>
- <value name="+3/16" value="2"/>
- <value name="+4/16" value="3"/>
- <value name="+5/16" value="4"/>
- <value name="+6/16" value="5"/>
- <value name="+7/16" value="6"/>
- <value name="+8/16" value="7"/>
+ <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
+ <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
+ <field name="Last MB" start="3" end="3" type="bool"/>
+ <field name="Last Pic Slice" start="5" end="5" type="bool"/>
+ <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
+ <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
+ <field name="MB Count" start="8" end="15" type="uint"/>
+ <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
+ <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
+ <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
+ <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
+ </struct>
+
+ <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
+ <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
+ <value name="REG0" value="0x00"/>
+ <value name="REG1" value="0x01"/>
+ <value name="REG2" value="0x02"/>
+ <value name="REG3" value="0x03"/>
+ <value name="REG4" value="0x04"/>
+ <value name="REG5" value="0x05"/>
+ <value name="REG6" value="0x06"/>
+ <value name="REG7" value="0x07"/>
+ <value name="REG8" value="0x08"/>
+ <value name="REG9" value="0x09"/>
+ <value name="REG10" value="0x0a"/>
+ <value name="REG11" value="0x0b"/>
+ <value name="REG12" value="0x0c"/>
+ <value name="REG13" value="0x0d"/>
+ <value name="REG14" value="0x0e"/>
+ <value name="REG15" value="0x0f"/>
+ <value name="SRCA" value="0x20"/>
+ <value name="SRCB" value="0x21"/>
+ <value name="ACCU" value="0x31"/>
+ <value name="ZF" value="0x32"/>
+ <value name="CF" value="0x33"/>
+ </field>
+ <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
+ <value name="NOOP" value="0x000"/>
+ <value name="LOAD" value="0x080"/>
+ <value name="LOADINV" value="0x480"/>
+ <value name="LOAD0" value="0x081"/>
+ <value name="LOAD1" value="0x481"/>
+ <value name="ADD" value="0x100"/>
+ <value name="SUB" value="0x101"/>
+ <value name="AND" value="0x102"/>
+ <value name="OR" value="0x103"/>
+ <value name="XOR" value="0x104"/>
+ <value name="STORE" value="0x180"/>
+ <value name="STOREINV" value="0x580"/>
</field>
</struct>
<struct name="PALETTE_ENTRY" length="1">
- <field name="Alpha" start="24" end="31" type="uint"/>
- <field name="Red" start="16" end="23" type="uint"/>
- <field name="Green" start="8" end="15" type="uint"/>
<field name="Blue" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="BINDING_TABLE_STATE" length="1">
- <field name="Surface State Pointer" start="6" end="31" type="offset"/>
+ <field name="Green" start="8" end="15" type="uint"/>
+ <field name="Red" start="16" end="23" type="uint"/>
+ <field name="Alpha" start="24" end="31" type="uint"/>
</struct>
<struct name="RENDER_SURFACE_STATE" length="16">
- <field name="Surface Type" start="29" end="31" type="uint">
- <value name="SURFTYPE_1D" value="0"/>
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_3D" value="2"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_BUFFER" value="4"/>
- <value name="SURFTYPE_STRBUF" value="5"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Surface Array" start="28" end="28" type="bool"/>
- <field name="Surface Format" start="18" end="27" type="uint"/>
- <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
- <value name="VALIGN 4" value="1"/>
- <value name="VALIGN 8" value="2"/>
- <value name="VALIGN 16" value="3"/>
+ <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
+ <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
+ <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
+ <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
+ <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
+ <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
+ <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
+ <value name="NORMAL_MODE" value="0"/>
+ <value name="PROGRESSIVE_FRAME" value="2"/>
+ <value name="INTERLACED_FRAME" value="3"/>
</field>
- <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
- <value name="HALIGN 4" value="1"/>
- <value name="HALIGN 8" value="2"/>
- <value name="HALIGN 16" value="3"/>
+ <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
+ <value name="Write-Only Cache" value="0"/>
+ <value name="Read-Write Cache" value="1"/>
</field>
+ <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
+ <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
+ <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
<field name="Tile Mode" start="12" end="13" type="uint">
<value name="LINEAR" value="0"/>
<value name="WMAJOR" value="1"/>
<value name="XMAJOR" value="2"/>
<value name="YMAJOR" value="3"/>
</field>
- <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
- <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
- <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
- <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
- <value name="Write-Only Cache" value="0"/>
- <value name="Read-Write Cache" value="1"/>
+ <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
+ <value name="HALIGN 4" value="1"/>
+ <value name="HALIGN 8" value="2"/>
+ <value name="HALIGN 16" value="3"/>
</field>
- <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
- <value name="NORMAL_MODE" value="0"/>
- <value name="PROGRESSIVE_FRAME" value="2"/>
- <value name="INTERLACED_FRAME" value="3"/>
+ <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
+ <value name="VALIGN 4" value="1"/>
+ <value name="VALIGN 8" value="2"/>
+ <value name="VALIGN 16" value="3"/>
+ </field>
+ <field name="Surface Format" start="18" end="27" type="uint"/>
+ <field name="Surface Array" start="28" end="28" type="bool"/>
+ <field name="Surface Type" start="29" end="31" type="uint">
+ <value name="SURFTYPE_1D" value="0"/>
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_3D" value="2"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_BUFFER" value="4"/>
+ <value name="SURFTYPE_STRBUF" value="5"/>
+ <value name="SURFTYPE_NULL" value="7"/>
</field>
- <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
- <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
- <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
- <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
- <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
- <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
- <field name="MOCS" start="56" end="62" type="uint"/>
- <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
<field name="Surface QPitch" start="32" end="46" type="uint"/>
- <field name="Height" start="80" end="93" type="uint"/>
+ <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
+ <field name="MOCS" start="56" end="62" type="uint"/>
<field name="Width" start="64" end="77" type="uint"/>
- <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Height" start="80" end="93" type="uint"/>
<field name="Surface Pitch" start="96" end="113" type="uint"/>
- <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
- <value name="0DEG" value="0"/>
- <value name="90DEG" value="1"/>
- <value name="180DEG" value="2"/>
- <value name="270DEG" value="3"/>
- </field>
- <field name="Minimum Array Element" start="146" end="156" type="uint"/>
- <field name="Render Target View Extent" start="135" end="145" type="uint"/>
- <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
- <value name="MSFMT_MSS" value="0"/>
- <value name="MSFMT_DEPTH_STENCIL" value="1"/>
- </field>
+ <field name="Depth" start="117" end="127" type="uint"/>
+ <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
<field name="Number of Multisamples" start="131" end="133" type="uint">
<value name="MULTISAMPLECOUNT_1" value="0"/>
<value name="MULTISAMPLECOUNT_2" value="1"/>
@@ -515,10 +627,25 @@
<value name="MULTISAMPLECOUNT_8" value="3"/>
<value name="MULTISAMPLECOUNT_16" value="4"/>
</field>
- <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
- <field name="X Offset" start="185" end="191" type="uint"/>
- <field name="Y Offset" start="181" end="183" type="uint"/>
- <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
+ <value name="MSFMT_MSS" value="0"/>
+ <value name="MSFMT_DEPTH_STENCIL" value="1"/>
+ </field>
+ <field name="Render Target View Extent" start="135" end="145" type="uint"/>
+ <field name="Minimum Array Element" start="146" end="156" type="uint"/>
+ <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
+ <value name="0DEG" value="0"/>
+ <value name="90DEG" value="1"/>
+ <value name="180DEG" value="2"/>
+ <value name="270DEG" value="3"/>
+ </field>
+ <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
+ <field name="Surface Min LOD" start="164" end="167" type="uint"/>
+ <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
+ <field name="Coherency Type" start="174" end="174" type="uint">
+ <value name="GPU coherent" value="0"/>
+ <value name="IA coherent" value="1"/>
+ </field>
<field name="Tiled Resource Mode" start="178" end="179" type="uint">
<value name="NONE" value="0"/>
<value name="4KB" value="1"/>
@@ -526,15 +653,9 @@
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
- <field name="Coherency Type" start="174" end="174" type="uint">
- <value name="GPU coherent" value="0"/>
- <value name="IA coherent" value="1"/>
- </field>
- <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
- <field name="Surface Min LOD" start="164" end="167" type="uint"/>
- <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
- <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
- <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
+ <field name="Y Offset" start="181" end="183" type="uint"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
<field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
<value name="AUX_NONE" value="0"/>
<value name="AUX_CCS_D" value="1"/>
@@ -542,26 +663,28 @@
<value name="AUX_HIZ" value="3"/>
<value name="AUX_CCS_E" value="5"/>
</field>
- <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
- <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
<field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
+ <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
+ <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
+ <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
+ <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
+ <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
+ <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
+ <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
+ <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
<field name="Memory Compression Mode" start="255" end="255" type="uint">
<value name="Horizontal" value="0"/>
<value name="Vertical" value="1"/>
</field>
- <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
- <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
- <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
- <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
- <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
- <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
<field name="Surface Base Address" start="256" end="319" type="address"/>
- <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
- <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
- <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
- <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
- <field name="Quilt Height" start="325" end="329" type="uint"/>
<field name="Quilt Width" start="320" end="324" type="uint"/>
+ <field name="Quilt Height" start="325" end="329" type="uint"/>
+ <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
+ <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
+ <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
+ <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
<field name="Hierarchical Depth Clear Value" start="384" end="415" type="float"/>
<field name="Red Clear Color" start="384" end="415" type="int"/>
<field name="Green Clear Color" start="416" end="447" type="int"/>
@@ -569,62 +692,66 @@
<field name="Alpha Clear Color" start="480" end="511" type="int"/>
</struct>
- <struct name="FILTER_COEFFICIENT" length="1">
- <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
+ <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
+ <field name="Rounding Precision" start="0" end="2" type="uint">
+ <value name="+1/16" value="0"/>
+ <value name="+2/16" value="1"/>
+ <value name="+3/16" value="2"/>
+ <value name="+4/16" value="3"/>
+ <value name="+5/16" value="4"/>
+ <value name="+6/16" value="5"/>
+ <value name="+7/16" value="6"/>
+ <value name="+8/16" value="7"/>
+ </field>
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
<field name="Border Color Float Red" start="0" end="31" type="float"/>
- <field name="Border Color Float Green" start="32" end="63" type="float"/>
- <field name="Border Color Float Blue" start="64" end="95" type="float"/>
- <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
-
<field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
+ <field name="Border Color Float Green" start="32" end="63" type="float"/>
<field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
+ <field name="Border Color Float Blue" start="64" end="95" type="float"/>
<field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
+ <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
<field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
</struct>
<struct name="SAMPLER_STATE" length="4">
- <field name="Sampler Disable" start="31" end="31" type="bool"/>
- <field name="Texture Border Color Mode" start="29" end="29" type="uint">
- <value name="DX10/OGL" value="0"/>
- <value name="DX9" value="1"/>
- </field>
- <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
- <value name="NONE" value="0"/>
- <value name="OGL" value="2"/>
- </field>
- <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
- <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
- <value name="NONE" value="0"/>
- <value name="NEAREST" value="1"/>
- <value name="LINEAR" value="3"/>
+ <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
+ <value name="LEGACY" value="0"/>
+ <value name="EWA Approximation" value="1"/>
</field>
- <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
+ <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
+ <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
+ <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0"/>
<value name="LINEAR" value="1"/>
<value name="ANISOTROPIC" value="2"/>
<value name="MONO" value="6"/>
</field>
- <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
- <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
- <value name="LEGACY" value="0"/>
- <value name="EWA Approximation" value="1"/>
+ <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
+ <value name="NONE" value="0"/>
+ <value name="NEAREST" value="1"/>
+ <value name="LINEAR" value="3"/>
</field>
- <field name="Min LOD" start="52" end="63" type="u4.8"/>
- <field name="Max LOD" start="40" end="51" type="u4.8"/>
- <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
- <field name="ChromaKey Index" start="37" end="38" type="uint"/>
- <field name="ChromaKey Mode" start="36" end="36" type="uint">
- <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
- <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
+ <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
+ <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
+ <value name="NONE" value="0"/>
+ <value name="OGL" value="2"/>
+ </field>
+ <field name="Texture Border Color Mode" start="29" end="29" type="uint">
+ <value name="DX10/OGL" value="0"/>
+ <value name="DX9" value="1"/>
+ </field>
+ <field name="Sampler Disable" start="31" end="31" type="bool"/>
+ <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
+ <value name="PROGRAMMED" value="0"/>
+ <value name="OVERRIDE" value="1"/>
</field>
<field name="Shadow Function" start="33" end="35" type="uint">
<value name="PREFILTEROP ALWAYS" value="0"/>
@@ -636,21 +763,36 @@
<value name="PREFILTEROP NOTEQUAL" value="6"/>
<value name="PREFILTEROP GEQUAL" value="7"/>
</field>
- <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
- <value name="PROGRAMMED" value="0"/>
- <value name="OVERRIDE" value="1"/>
+ <field name="ChromaKey Mode" start="36" end="36" type="uint">
+ <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
+ <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
</field>
- <field name="Border Color Pointer" start="70" end="87" type="offset"/>
+ <field name="ChromaKey Index" start="37" end="38" type="uint"/>
+ <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
+ <field name="Max LOD" start="40" end="51" type="u4.8"/>
+ <field name="Min LOD" start="52" end="63" type="u4.8"/>
<field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
<value name="MIPNONE" value="0"/>
<value name="MIPFILTER" value="1"/>
</field>
- <field name="Reduction Type" start="118" end="119" type="uint">
- <value name="STD_FILTER" value="0"/>
- <value name="COMPARISON" value="1"/>
- <value name="MINIMUM" value="2"/>
- <value name="MAXIMUM" value="3"/>
+ <field name="Border Color Pointer" start="70" end="87" type="offset"/>
+ <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
+ <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
+ <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
+ <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
+ <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
+ <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
+ <value name="FULL" value="0"/>
+ <value name="HIGH" value="1"/>
+ <value name="MED" value="2"/>
+ <value name="LOW" value="3"/>
</field>
+ <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
+ <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
+ <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
+ <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
+ <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
+ <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
<field name="Maximum Anisotropy" start="115" end="117" type="uint">
<value name="RATIO 2:1" value="0"/>
<value name="RATIO 4:1" value="1"/>
@@ -661,23 +803,12 @@
<value name="RATIO 14:1" value="6"/>
<value name="RATIO 16:1" value="7"/>
</field>
- <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
- <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
- <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
- <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
- <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
- <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
- <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
- <value name="FULL" value="0"/>
- <value name="HIGH" value="1"/>
- <value name="MED" value="2"/>
- <value name="LOW" value="3"/>
+ <field name="Reduction Type" start="118" end="119" type="uint">
+ <value name="STD_FILTER" value="0"/>
+ <value name="COMPARISON" value="1"/>
+ <value name="MINIMUM" value="2"/>
+ <value name="MAXIMUM" value="3"/>
</field>
- <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
- <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
- <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
- <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
- <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
</struct>
<struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
@@ -690,358 +821,211 @@
</group>
</struct>
- <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
- <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
- <value name="NOOP" value="0x000"/>
- <value name="LOAD" value="0x080"/>
- <value name="LOADINV" value="0x480"/>
- <value name="LOAD0" value="0x081"/>
- <value name="LOAD1" value="0x481"/>
- <value name="ADD" value="0x100"/>
- <value name="SUB" value="0x101"/>
- <value name="AND" value="0x102"/>
- <value name="OR" value="0x103"/>
- <value name="XOR" value="0x104"/>
- <value name="STORE" value="0x180"/>
- <value name="STOREINV" value="0x580"/>
- </field>
- <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
- <value name="REG0" value="0x00"/>
- <value name="REG1" value="0x01"/>
- <value name="REG2" value="0x02"/>
- <value name="REG3" value="0x03"/>
- <value name="REG4" value="0x04"/>
- <value name="REG5" value="0x05"/>
- <value name="REG6" value="0x06"/>
- <value name="REG7" value="0x07"/>
- <value name="REG8" value="0x08"/>
- <value name="REG9" value="0x09"/>
- <value name="REG10" value="0x0a"/>
- <value name="REG11" value="0x0b"/>
- <value name="REG12" value="0x0c"/>
- <value name="REG13" value="0x0d"/>
- <value name="REG14" value="0x0e"/>
- <value name="REG15" value="0x0f"/>
- <value name="SRCA" value="0x20"/>
- <value name="SRCB" value="0x21"/>
- <value name="ACCU" value="0x31"/>
- <value name="ZF" value="0x32"/>
- <value name="CF" value="0x33"/>
- </field>
- </struct>
-
- <struct name="MEMORYADDRESSATTRIBUTES" length="1">
- <field name="Tiled Resource Mode" start="13" end="14" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint">
- <value name="LLC" value="0"/>
- <value name="Internal Media Storage" value="1"/>
- </field>
- <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
- <field name="Arbitration Priority Control" start="7" end="8" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- <field name="MOCS" start="1" end="6" type="uint"/>
- </struct>
-
- <struct name="FRAMEDELTAQP" length="2">
- <group count="8" start="0" size="8">
- <field name="Frame Delta QP" start="0" end="7" type="int"/>
- </group>
- </struct>
-
- <struct name="FRAMEDELTAQPRANGE" length="2">
- <group count="8" start="0" size="8">
- <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
- </group>
- </struct>
-
- <struct name="HCP_REF_LIST_ENTRY" length="1">
- <field name="Top Field" start="15" end="15" type="bool"/>
- <field name="Field Pic" start="14" end="14" type="bool"/>
- <field name="Long Term Reference" start="13" end="13" type="bool"/>
- <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
- <value name="Default" value="0"/>
- <value name="Explicit" value="1"/>
- </field>
- <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
- <value name="Default" value="0"/>
- <value name="Explicit" value="1"/>
- </field>
- <field name="List Entry" start="8" end="10" type="uint"/>
- <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
- <field name="CtbPos3+i" start="24" end="31" type="uint"/>
- <field name="CtbPos2+i" start="16" end="23" type="uint"/>
- <field name="CtbPos1+i" start="8" end="15" type="uint"/>
- <field name="CtbPos0+i" start="0" end="7" type="uint"/>
- </struct>
-
- <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
- <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
- <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
- <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
- <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
- </struct>
-
- <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
- <field name="Luma Offset LX" start="8" end="15" type="uint"/>
- <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
- </struct>
-
- <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
- <field name="Priority" start="0" end="1" type="uint">
- <value name="Highest priority" value="0"/>
- <value name="Second highest priority" value="1"/>
- <value name="Third highest priority" value="2"/>
- <value name="Lowest priority" value="3"/>
- </field>
- </struct>
-
- <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
- <field name="Lambda Value 1" start="16" end="31" type="uint"/>
- <field name="Lambda Value 0" start="0" end="15" type="uint"/>
- </struct>
-
- <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
- <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
- <field name="Address" start="0" end="63" type="address"/>
- </struct>
-
- <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
- <field name="Concealment Method" start="31" end="31" type="uint"/>
- <field name="Init Current MB Number" start="30" end="30" type="bool"/>
- <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="uint"/>
- <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
- <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
- <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
- <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
- <field name="MPR Error Handling" start="12" end="12" type="bool"/>
- <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
- <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
- <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
- <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
- <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
- <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
- <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
- <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
- <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
- <field name="Last Slice" start="35" end="35" type="bool"/>
- <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
- <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
- <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
- <value name="Intra Concealment" value="1"/>
- <value name="Inter Concealment" value="0"/>
- </field>
- <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
- <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
- <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
- <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
- <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
- </struct>
-
- <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
- <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
- <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
- <field name="MB Count" start="8" end="15" type="uint"/>
- <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
- <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
- <field name="Last Pic Slice" start="5" end="5" type="bool"/>
- <field name="Last MB" start="3" end="3" type="bool"/>
- <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
- <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
- <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
- <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
+ <struct name="SCISSOR_RECT" length="2">
+ <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
+ <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
+ <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
+ <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
</struct>
<struct name="SFC_AVS_CHROMA_COEFF_TABLE_BODY" length="64">
- <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
- <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
- <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
<field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
+ <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
+ <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
<group count="31" start="64" size="64">
<field name="Filter Coefficients" start="0" end="63" type="uint"/>
</group>
</struct>
<struct name="SFC_AVS_LUMA_COEFF_TABLE_BODY" length="128">
- <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
- <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
- <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
<field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
+ <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
+ <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
<group count="31" start="128" size="128">
<field name="Filter Coefficients" start="0" end="127" type="uint"/>
</group>
</struct>
<struct name="SFC_AVS_STATE_BODY" length="2">
- <field name="Sharpness Level" start="24" end="31" type="uint"/>
- <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
<field name="Transition Area with 8 Pixels" start="0" end="2" type="uint"/>
- <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
+ <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
+ <field name="Sharpness Level" start="24" end="31" type="uint"/>
<field name="Max Derivative 8 Pixels" start="32" end="39" type="uint"/>
+ <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
</struct>
<struct name="SFC_IEF_STATE_BODY" length="23">
- <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
- <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
- <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
- <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
<field name="Gain Factor" start="0" end="5" type="uint" default="44"/>
- <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
- <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
- <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
- <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
- <field name="Regular Weight" start="43" end="45" type="uint"/>
- <field name="Non Edge Weight" start="40" end="42" type="uint"/>
+ <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
+ <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
+ <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
+ <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
<field name="Global Noise Estimation" start="32" end="39" type="uint"/>
- <field name="Hue_Max" start="86" end="91" type="uint"/>
- <field name="Sat_Max" start="80" end="85" type="uint"/>
- <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
+ <field name="Non Edge Weight" start="40" end="42" type="uint"/>
+ <field name="Regular Weight" start="43" end="45" type="uint"/>
+ <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
+ <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
+ <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
+ <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
<field name="STD Sin(alpha)" start="64" end="71" type="s0.7"/>
- <field name="V_Mid" start="120" end="127" type="uint"/>
- <field name="U_Mid" start="112" end="119" type="uint"/>
- <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
- <field name="Diamond Margin" start="108" end="110" type="uint"/>
+ <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
+ <field name="Sat_Max" start="80" end="85" type="uint"/>
+ <field name="Hue_Max" start="86" end="91" type="uint"/>
<field name="S3U" start="96" end="106" type="s2.8"/>
+ <field name="Diamond Margin" start="108" end="110" type="uint"/>
+ <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
+ <field name="U_Mid" start="112" end="119" type="uint"/>
+ <field name="V_Mid" start="120" end="127" type="uint"/>
+ <field name="Diamond_dv" start="128" end="134" type="int"/>
+ <field name="Diamond_Th" start="135" end="140" type="uint"/>
+ <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
+ <field name="HS_margin" start="149" end="151" type="uint"/>
+ <field name="Diamond_du" start="152" end="158" type="int"/>
<field name="Skin Detail Factor" start="159" end="159" type="uint">
<value name="Detail Revealed" value="0"/>
<value name="Not Detail Revealed" value="1"/>
</field>
- <field name="Diamond_du" start="152" end="158" type="int"/>
- <field name="HS_margin" start="149" end="151" type="uint"/>
- <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
- <field name="Diamond_Th" start="135" end="140" type="uint"/>
- <field name="Diamond_dv" start="128" end="134" type="int"/>
- <field name="Y_point_4" start="184" end="191" type="uint"/>
- <field name="Y_point_3" start="176" end="183" type="uint"/>
- <field name="Y_point_2" start="168" end="175" type="uint"/>
<field name="Y_point_1" start="160" end="167" type="uint"/>
+ <field name="Y_point_2" start="168" end="175" type="uint"/>
+ <field name="Y_point_3" start="176" end="183" type="uint"/>
+ <field name="Y_point_4" start="184" end="191" type="uint"/>
<field name="INV_Margin_VYL" start="192" end="207" type="u0.16"/>
- <field name="P1L" start="248" end="255" type="uint"/>
- <field name="P0L" start="240" end="247" type="uint"/>
<field name="INV_Margin_VYU" start="224" end="239" type="u0.16"/>
- <field name="B1L" start="280" end="287" type="uint"/>
- <field name="B0L" start="272" end="279" type="uint"/>
- <field name="P3L" start="264" end="271" type="uint"/>
+ <field name="P0L" start="240" end="247" type="uint"/>
+ <field name="P1L" start="248" end="255" type="uint"/>
<field name="P2L" start="256" end="263" type="uint"/>
- <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
- <field name="S0L" start="304" end="314" type="s2.8"/>
- <field name="B3L" start="296" end="303" type="uint"/>
+ <field name="P3L" start="264" end="271" type="uint"/>
+ <field name="B0L" start="272" end="279" type="uint"/>
+ <field name="B1L" start="280" end="287" type="uint"/>
<field name="B2L" start="288" end="295" type="uint"/>
- <field name="S2L" start="331" end="341" type="s2.8"/>
+ <field name="B3L" start="296" end="303" type="uint"/>
+ <field name="S0L" start="304" end="314" type="s2.8"/>
+ <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
<field name="S1L" start="320" end="330" type="s2.8"/>
- <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
- <field name="P1U" start="371" end="378" type="uint"/>
- <field name="P0U" start="363" end="370" type="uint"/>
+ <field name="S2L" start="331" end="341" type="s2.8"/>
<field name="S3L" start="352" end="362" type="s2.8"/>
- <field name="B1U" start="408" end="415" type="uint"/>
- <field name="B0U" start="400" end="407" type="uint"/>
- <field name="P3U" start="392" end="399" type="uint"/>
+ <field name="P0U" start="363" end="370" type="uint"/>
+ <field name="P1U" start="371" end="378" type="uint"/>
+ <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
<field name="P2U" start="384" end="391" type="uint"/>
- <field name="S0U" start="432" end="442" type="s2.8"/>
- <field name="B3U" start="424" end="431" type="uint"/>
+ <field name="P3U" start="392" end="399" type="uint"/>
+ <field name="B0U" start="400" end="407" type="uint"/>
+ <field name="B1U" start="408" end="415" type="uint"/>
<field name="B2U" start="416" end="423" type="uint"/>
- <field name="S2U" start="459" end="469" type="s2.8"/>
+ <field name="B3U" start="424" end="431" type="uint"/>
+ <field name="S0U" start="432" end="442" type="s2.8"/>
<field name="S1U" start="448" end="458" type="s2.8"/>
- <field name="C1" start="496" end="508" type="s2.10"/>
- <field name="C0" start="483" end="495" type="s2.10"/>
- <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
+ <field name="S2U" start="459" end="469" type="s2.8"/>
<field name="Transform Enable" start="480" end="480" type="bool"/>
- <field name="C3" start="525" end="537" type="s2.10"/>
+ <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
+ <field name="C0" start="483" end="495" type="s2.10"/>
+ <field name="C1" start="496" end="508" type="s2.10"/>
<field name="C2" start="512" end="524" type="s2.10"/>
- <field name="C5" start="557" end="569" type="s2.10"/>
+ <field name="C3" start="525" end="537" type="s2.10"/>
<field name="C4" start="544" end="556" type="s2.10"/>
- <field name="C7" start="589" end="601" type="s2.10"/>
+ <field name="C5" start="557" end="569" type="s2.10"/>
<field name="C6" start="576" end="588" type="s2.10"/>
+ <field name="C7" start="589" end="601" type="s2.10"/>
<field name="C8" start="608" end="620" type="s2.10"/>
- <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
<field name="Offset In 1" start="640" end="650" type="s2.8"/>
- <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
+ <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
<field name="Offset In 2" start="672" end="682" type="s2.8"/>
- <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
+ <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
<field name="Offset In 3" start="704" end="714" type="s2.8"/>
+ <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
</struct>
<struct name="SFC_LOCK_BODY" length="1">
- <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
<field name="VE-SFC Pipe Select" start="0" end="0" type="uint"/>
+ <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
</struct>
- <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
- <field name="Tiled Resource Mode" start="13" end="14" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
+ <struct name="SF_CLIP_VIEWPORT" length="16">
+ <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
+ <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
+ <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
+ <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
+ <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
+ <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
+ <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
+ <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
+ <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
+ <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
+ <field name="X Min ViewPort" start="384" end="415" type="float"/>
+ <field name="X Max ViewPort" start="416" end="447" type="float"/>
+ <field name="Y Min ViewPort" start="448" end="479" type="float"/>
+ <field name="Y Max ViewPort" start="480" end="511" type="float"/>
+ </struct>
+
+ <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
+ <field name="Source Attribute" start="0" end="4" type="uint"/>
+ <field name="Swizzle Select" start="6" end="7" type="uint">
+ <value name="INPUTATTR" value="0"/>
+ <value name="INPUTATTR_FACING" value="1"/>
+ <value name="INPUTATTR_W" value="2"/>
+ <value name="INPUTATTR_FACING_W" value="3"/>
</field>
- <field name="Cache Select" start="12" end="12" type="uint"/>
- <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
- <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Constant Source" start="9" end="10" type="uint">
+ <value name="CONST_0000" value="0"/>
+ <value name="CONST_0001_FLOAT" value="1"/>
+ <value name="CONST_1111_FLOAT" value="2"/>
+ <value name="PRIM_ID" value="3"/>
+ </field>
+ <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
+ <field name="Component Override X" start="12" end="12" type="bool"/>
+ <field name="Component Override Y" start="13" end="13" type="bool"/>
+ <field name="Component Override Z" start="14" end="14" type="bool"/>
+ <field name="Component Override W" start="15" end="15" type="bool"/>
+ </struct>
+
+ <struct name="SO_DECL" length="1">
+ <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
+ <field name="Register Index" start="4" end="9" type="uint"/>
+ <field name="Hole Flag" start="11" end="11" type="uint"/>
+ <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
+ </struct>
+
+ <struct name="SO_DECL_ENTRY" length="2">
+ <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
+ <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
+ <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
+ <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
+ </struct>
+
+ <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
+ <field name="MOCS" start="1" end="6" type="uint"/>
<field name="Arbitration Priority Control" start="7" end="8" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MOCS" start="1" end="6" type="uint"/>
+ <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
+ <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
+ <field name="Cache Select" start="12" end="12" type="uint"/>
+ <field name="Tiled Resource Mode" start="13" end="14" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</struct>
<struct name="VDENC_PICTURE" length="3">
@@ -1050,11 +1034,19 @@
</struct>
<struct name="VDENC_SURFACE_STATE_FIELDS" length="4">
- <field name="Height" start="18" end="31" type="uint"/>
- <field name="Width" start="4" end="17" type="uint"/>
- <field name="Color space selection" start="3" end="3" type="uint"/>
- <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="0" end="1" type="u0.2"/>
+ <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
+ <field name="Color space selection" start="3" end="3" type="uint"/>
+ <field name="Width" start="4" end="17" type="uint"/>
+ <field name="Height" start="18" end="31" type="uint"/>
+ <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="33" end="33" type="uint"/>
+ <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
+ <field name="Surface Pitch" start="35" end="51" type="uint"/>
+ <field name="Format" start="59" end="63" type="uint"/>
<field name="Surface Format" start="60" end="63" type="uint" prefix="VDENC">
<value name="YUV 4:2:2" value="0"/>
<value name="RGBA 4:4:4:4" value="1"/>
@@ -1062,41 +1054,49 @@
<value name="Y8_UNORM" value="3"/>
<value name="PLANAR_420_8" value="4"/>
</field>
- <field name="Format" start="59" end="63" type="uint"/>
- <field name="Surface Pitch" start="35" end="51" type="uint"/>
- <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
- <field name="Tiled Surface" start="33" end="33" type="uint"/>
- <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
<field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
- <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
+ <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
<field name="Y Offset for V(Cr)" start="96" end="111" type="uint"/>
+ <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
</struct>
- <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
- <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
- <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
- <field name="Indirect Payload Base Address2" start="96" end="128" type="MEMORYADDRESSATTRIBUTES"/>
+ <struct name="VERTEX_BUFFER_STATE" length="4">
+ <field name="Buffer Pitch" start="0" end="11" type="uint"/>
+ <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
+ <field name="Address Modify Enable" start="14" end="14" type="bool"/>
+ <field name="MOCS" start="16" end="22" type="uint"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Buffer Starting Address" start="32" end="95" type="address"/>
+ <field name="Buffer Size" start="96" end="127" type="uint"/>
+ </struct>
+
+ <struct name="VERTEX_ELEMENT_STATE" length="2">
+ <field name="Source Element Offset" start="0" end="11" type="uint"/>
+ <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
+ <field name="Source Element Format" start="16" end="24" type="uint"/>
+ <field name="Valid" start="25" end="25" type="bool"/>
+ <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
+ <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
+ <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
+ <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
+ <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="5"/>
- <field name="End Offset Enable" start="41" end="41" type="bool"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
<field name="Vertex Access Type" start="40" end="40" type="uint">
<value name="SEQUENTIAL" value="0"/>
<value name="RANDOM" value="1"/>
</field>
- <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
+ <field name="End Offset Enable" start="41" end="41" type="bool"/>
<field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
<field name="Start Vertex Location" start="96" end="127" type="uint"/>
<field name="Instance Count" start="128" end="159" type="uint"/>
@@ -1105,360 +1105,370 @@
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
- <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
- <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
- <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
- <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
- <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
+ <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
+ <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
<field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
+ <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
+ <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
<field name="DWord Length" start="0" end="8" type="uint" default="0"/>
- <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Binding Table Edit Target" start="32" end="33" type="uint">
<value name="All Cores" value="3"/>
<value name="Core 1" value="2"/>
<value name="Core 0" value="1"/>
</field>
+ <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
<group count="0" start="64" size="32">
<field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
</instruction>
<instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
- <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
+ <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
<field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
<value name="No Valid Data" value="0"/>
</field>
</instruction>
<instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Blend State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Blend State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
+ <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
<field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
<field name="ChromaKey High Value" start="96" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Clear Value" start="32" end="63" type="float"/>
<field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
</instruction>
<instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Force Clip Mode" start="48" end="48" type="bool"/>
+ <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
+ <field name="Early Cull Enable" start="50" end="50" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Early Cull Enable" start="50" end="50" type="bool"/>
- <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
- <field name="Force Clip Mode" start="48" end="48" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
- <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
- <field name="Clip Enable" start="95" end="95" type="bool"/>
- <field name="API Mode" start="94" end="94" type="uint">
- <value name="APIMODE_OGL" value="0"/>
- <value name="APIMODE_D3D" value="1"/>
- </field>
- <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
- <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
+ <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
+ <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
<field name="Clip Mode" start="77" end="79" type="uint">
<value name="CLIPMODE_NORMAL" value="0"/>
<value name="CLIPMODE_REJECT_ALL" value="3"/>
<value name="CLIPMODE_ACCEPT_ALL" value="4"/>
</field>
- <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
- <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
- <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
- <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
- <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
+ <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
+ <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
+ <field name="API Mode" start="94" end="94" type="uint">
+ <value name="APIMODE_OGL" value="0"/>
+ <value name="APIMODE_D3D" value="1"/>
+ </field>
+ <field name="Clip Enable" start="95" end="95" type="bool"/>
<field name="Maximum VP Index" start="96" end="99" type="uint"/>
+ <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
+ <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
+ <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
- <field name="MOCS" start="8" end="14" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="MOCS" start="8" end="14" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="Surface Type" start="61" end="63" type="uint">
- <value name="SURFTYPE_2D" value="1"/>
- <value name="SURFTYPE_CUBE" value="3"/>
- <value name="SURFTYPE_NULL" value="7"/>
- </field>
- <field name="Depth Write Enable" start="60" end="60" type="bool"/>
- <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
- <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="49" type="uint"/>
<field name="Surface Format" start="50" end="52" type="uint">
<value name="D32_FLOAT" value="1"/>
<value name="D24_UNORM_X8_UINT" value="3"/>
<value name="D16_UNORM" value="5"/>
</field>
- <field name="Surface Pitch" start="32" end="49" type="uint"/>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Write Enable" start="60" end="60" type="bool"/>
+ <field name="Surface Type" start="61" end="63" type="uint">
+ <value name="SURFTYPE_2D" value="1"/>
+ <value name="SURFTYPE_CUBE" value="3"/>
+ <value name="SURFTYPE_NULL" value="7"/>
+ </field>
<field name="Surface Base Address" start="64" end="127" type="address"/>
- <field name="Height" start="146" end="159" type="uint"/>
- <field name="Width" start="132" end="145" type="uint"/>
<field name="LOD" start="128" end="131" type="uint"/>
- <field name="Depth" start="181" end="191" type="uint"/>
- <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Width" start="132" end="145" type="uint"/>
+ <field name="Height" start="146" end="159" type="uint"/>
<field name="MOCS" start="160" end="166" type="uint"/>
+ <field name="Minimum Array Element" start="170" end="180" type="uint"/>
+ <field name="Depth" start="181" end="191" type="uint"/>
+ <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
<field name="Tiled Resource Mode" start="222" end="223" type="uint">
<value name="NONE" value="0"/>
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
- <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
- <field name="Render Target View Extent" start="245" end="255" type="uint"/>
<field name="Surface QPitch" start="224" end="238" type="uint"/>
+ <field name="Render Target View Extent" start="245" end="255" type="uint"/>
</instruction>
<instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Core Mode Select" start="14" end="15" type="uint">
<value name="Legacy" value="0"/>
<value name="Core 0 Enabled" value="1"/>
<value name="Core 1 Enabled" value="2"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
- <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
+ <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
<field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
- <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
+ <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
<field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
+ <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
</instruction>
<instruction name="3DSTATE_DS" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Accesses UAV" start="110" end="110" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1466,57 +1476,47 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Accesses UAV" start="110" end="110" type="bool"/>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
<field name="Dispatch Mode" start="227" end="228" type="uint" prefix="DISPATCH_MODE">
<value name="SIMD4X2" value="0"/>
<value name="SIMD8_SINGLE_PATCH" value="1"/>
<value name="SIMD8_SINGLE_OR_DUAL_PATCH" value="2"/>
</field>
- <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
- <field name="Cache Disable" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
<field name="DUAL_PATCH Kernel Start Pointer" start="294" end="351" type="offset"/>
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1524,23 +1524,23 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1548,23 +1548,23 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1572,25 +1572,25 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
- <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1598,25 +1598,25 @@
</instruction>
<instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
- <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
<field name="Update Gather Table Only" start="33" end="33" type="uint">
<value name="Commit Gather" value="0"/>
<value name="Non-Commit Gather" value="1"/>
</field>
- <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
- <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
- <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
- <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
+ <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
<field name="On-Die Table" start="67" end="67" type="uint">
<value name="Load" value="0"/>
<value name="Read" value="1"/>
</field>
+ <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
+ <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
+ <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
<group count="0" start="96" size="32">
<field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
<field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
@@ -1624,26 +1624,37 @@
</instruction>
<instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
- <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
+ <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
<field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
</instruction>
<instruction name="3DSTATE_GS" bias="2" length="10" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="8"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1651,77 +1662,76 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
- <field name="Output Vertex Size" start="215" end="220" type="uint"/>
- <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
- <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
- <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
- <field name="Control Data Header Size" start="244" end="247" type="uint"/>
- <field name="Instance Control" start="239" end="243" type="uint"/>
- <field name="Default Stream Id" start="237" end="238" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
+ <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
+ <field name="Output Vertex Size" start="215" end="220" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
+ <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Discard Adjacency" start="225" end="225" type="bool"/>
+ <field name="Reorder Mode" start="226" end="226" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Hint" start="227" end="227" type="uint"/>
+ <field name="Include Primitive ID" start="228" end="228" type="bool"/>
+ <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
<field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
<value name="Dual Instance" value="1"/>
<value name="Dual Object" value="2"/>
<value name="SIMD8" value="3"/>
</field>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
- <field name="Include Primitive ID" start="228" end="228" type="bool"/>
- <field name="Hint" start="227" end="227" type="uint"/>
- <field name="Reorder Mode" start="226" end="226" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="Discard Adjacency" start="225" end="225" type="bool"/>
- <field name="Enable" start="224" end="224" type="bool"/>
+ <field name="Default Stream Id" start="237" end="238" type="uint"/>
+ <field name="Instance Control" start="239" end="243" type="uint"/>
+ <field name="Control Data Header Size" start="244" end="247" type="uint"/>
+ <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
+ <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
+ <field name="Static Output" start="286" end="286" type="bool"/>
<field name="Control Data Format" start="287" end="287" type="uint">
<value name="CUT" value="0"/>
<value name="SID" value="1"/>
</field>
- <field name="Static Output" start="286" end="286" type="bool"/>
- <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
- <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
- <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="MOCS" start="57" end="63" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="57" end="63" type="uint"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_HS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Software Exception Enable" start="44" end="44" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
+ <field name="Floating Point Mode" start="48" end="48" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
<field name="Sampler Count" start="59" end="61" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -1729,372 +1739,362 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
- <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="48" end="48" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
- <field name="Software Exception Enable" start="44" end="44" type="bool"/>
- <field name="Enable" start="95" end="95" type="bool"/>
- <field name="Statistics Enable" start="93" end="93" type="bool"/>
- <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
<field name="Instance Count" start="64" end="67" type="uint"/>
+ <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
+ <field name="Statistics Enable" start="93" end="93" type="bool"/>
+ <field name="Enable" start="95" end="95" type="bool"/>
<field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
- <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
<field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
- <field name="Single Program Flow" start="251" end="251" type="bool"/>
- <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
- <field name="Accesses UAV" start="249" end="249" type="bool"/>
- <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
- <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
+ <field name="Include Primitive ID" start="224" end="224" type="bool"/>
+ <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
<field name="Dispatch Mode" start="241" end="242" type="uint" prefix="DISPATCH_MODE">
<value name="SINGLE_PATCH" value="0"/>
<value name="DUAL_PATCH" value="1"/>
<value name="8_PATCH" value="2"/>
</field>
- <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
- <field name="Include Primitive ID" start="224" end="224" type="bool"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
+ <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
+ <field name="Accesses UAV" start="249" end="249" type="bool"/>
+ <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
+ <field name="Single Program Flow" start="251" end="251" type="bool"/>
+ <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
</instruction>
<instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
<value name="BYTE" value="0"/>
<value name="WORD" value="1"/>
<value name="DWORD" value="2"/>
</field>
- <field name="MOCS" start="32" end="38" type="uint"/>
<field name="Buffer Starting Address" start="64" end="127" type="address"/>
<field name="Buffer Size" start="128" end="159" type="uint"/>
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
- <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
- <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
- <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
+ <field name="Current Stipple Index" start="48" end="51" type="uint"/>
+ <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
+ <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
<field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
+ <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
</instruction>
<instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
+ <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
</instruction>
<instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Number of Multisamples" start="33" end="35" type="uint"/>
<field name="Pixel Location" start="36" end="36" type="uint">
<value name="CENTER" value="0"/>
<value name="UL_CORNER" value="1"/>
</field>
- <field name="Number of Multisamples" start="33" end="35" type="uint"/>
+ <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
+ <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
</instruction>
<instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
<field name="DWord Length" start="0" end="7" type="uint" default="31"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="32" start="32" size="32">
<field name="Pattern Row" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="3DSTATE_PS" bias="2" length="12" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
<field name="DWord Length" start="0" end="7" type="uint" default="10"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
- <field name="Single Program Flow" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
- <field name="Sampler Count" start="123" end="125" type="uint">
- <value name="No Samplers" value="0"/>
- <value name="1-4 Samplers" value="1"/>
- <value name="5-8 Samplers" value="2"/>
- <value name="9-12 Samplers" value="3"/>
- <value name="13-16 Samplers" value="4"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Rounding Mode" start="110" end="111" type="uint">
+ <value name="RTNE" value="0"/>
+ <value name="RU" value="1"/>
+ <value name="RD" value="2"/>
+ <value name="RTZ" value="3"/>
</field>
- <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
- <value name="Flushed to Zero" value="0"/>
- <value name="Retained" value="1"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Thread Dispatch Priority" start="113" end="113" type="uint">
<value name="High" value="1"/>
</field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
+ <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
+ <value name="Flushed to Zero" value="0"/>
+ <value name="Retained" value="1"/>
</field>
- <field name="Rounding Mode" start="110" end="111" type="uint">
- <value name="RTNE" value="0"/>
- <value name="RU" value="1"/>
- <value name="RD" value="2"/>
- <value name="RTZ" value="3"/>
+ <field name="Sampler Count" start="123" end="125" type="uint">
+ <value name="No Samplers" value="0"/>
+ <value name="1-4 Samplers" value="1"/>
+ <value name="5-8 Samplers" value="2"/>
+ <value name="9-12 Samplers" value="3"/>
+ <value name="13-16 Samplers" value="4"/>
</field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Program Flow" start="127" end="127" type="bool"/>
<field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
- <field name="Push Constant Enable" start="203" end="203" type="bool"/>
- <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
- <field name="Render Target Resolve Type" start="198" end="199" type="uint">
- <value name="RESOLVE_DISABLED" value="0"/>
- <value name="RESOLVE_PARTIAL" value="1"/>
- <value name="RESOLVE_FULL" value="3"/>
- </field>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
+ <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
+ <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
<field name="Position XY Offset Select" start="195" end="196" type="uint">
<value name="POSOFFSET_NONE" value="0"/>
<value name="POSOFFSET_CENTROID" value="2"/>
<value name="POSOFFSET_SAMPLE" value="3"/>
</field>
- <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
- <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
- <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
- <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Render Target Resolve Type" start="198" end="199" type="uint">
+ <value name="RESOLVE_DISABLED" value="0"/>
+ <value name="RESOLVE_PARTIAL" value="1"/>
+ <value name="RESOLVE_FULL" value="3"/>
+ </field>
+ <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
+ <field name="Push Constant Enable" start="203" end="203" type="bool"/>
+ <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
<field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
+ <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
<field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
<field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
</instruction>
<instruction name="3DSTATE_PS_BLEND" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
- <field name="Has Writeable RT" start="62" end="62" type="bool"/>
- <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
- <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
- <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
+ <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
+ <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
+ <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
+ <field name="Has Writeable RT" start="62" end="62" type="bool"/>
+ <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
- <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
- <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
- <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
- <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
- <value name="PSCDEPTH_OFF" value="0"/>
- <value name="PSCDEPTH_ON" value="1"/>
- <value name="PSCDEPTH_ON_GE" value="2"/>
- <value name="PSCDEPTH_ON_LE" value="3"/>
- </field>
- <field name="Force Computed Depth" start="57" end="57" type="bool"/>
- <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
- <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
- <field name="Attribute Enable" start="40" end="40" type="bool"/>
- <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
- <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
- <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
- <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
- <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Coverage Mask State" start="32" end="33" type="uint" prefix="ICMS">
<value name="NONE" value="0"/>
<value name="NORMAL" value="1"/>
<value name="INNER_CONSERVATIVE" value="2"/>
<value name="DEPTH_COVERAGE" value="3"/>
</field>
+ <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
+ <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
+ <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
+ <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
+ <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
+ <field name="Attribute Enable" start="40" end="40" type="bool"/>
+ <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
+ <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
+ <field name="Force Computed Depth" start="57" end="57" type="bool"/>
+ <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
+ <value name="PSCDEPTH_OFF" value="0"/>
+ <value name="PSCDEPTH_ON" value="1"/>
+ <value name="PSCDEPTH_ON_GE" value="2"/>
+ <value name="PSCDEPTH_ON_LE" value="3"/>
+ </field>
+ <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
+ <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
+ <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
+ <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Constant Buffer Size" start="32" end="37" type="uint"/>
+ <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
</instruction>
<instruction name="3DSTATE_RASTER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
- <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
- <field name="API Mode" start="54" end="55" type="uint">
- <value name="DX9/OGL" value="0"/>
- <value name="DX10.0" value="1"/>
- <value name="DX10.1+" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
+ <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
+ <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Front Winding" start="53" end="53" type="uint">
- <value name="Clockwise" value="0"/>
- <value name="Counter Clockwise" value="1"/>
+ <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
+ <value name="SOLID" value="0"/>
+ <value name="WIREFRAME" value="1"/>
+ <value name="POINT" value="2"/>
</field>
- <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
- <value name="NUMRASTSAMPLES_0" value="0"/>
- <value name="NUMRASTSAMPLES_1" value="1"/>
- <value name="NUMRASTSAMPLES_2" value="2"/>
- <value name="NUMRASTSAMPLES_4" value="3"/>
- <value name="NUMRASTSAMPLES_8" value="4"/>
- <value name="NUMRASTSAMPLES_16" value="5"/>
+ <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
+ <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
+ <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
+ <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
+ <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
+ <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
+ <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
+ <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
</field>
+ <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
+ <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
+ <field name="Force Multisampling" start="46" end="46" type="uint"/>
<field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0"/>
<value name="NONE" value="1"/>
<value name="FRONT" value="2"/>
<value name="BACK" value="3"/>
</field>
- <field name="Force Multisampling" start="46" end="46" type="uint"/>
- <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
- <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
- <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
- <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
- <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
- <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
- <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
+ <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
+ <value name="NUMRASTSAMPLES_0" value="0"/>
+ <value name="NUMRASTSAMPLES_1" value="1"/>
+ <value name="NUMRASTSAMPLES_2" value="2"/>
+ <value name="NUMRASTSAMPLES_4" value="3"/>
+ <value name="NUMRASTSAMPLES_8" value="4"/>
+ <value name="NUMRASTSAMPLES_16" value="5"/>
</field>
- <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
- <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
- <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
- <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="Front Winding" start="53" end="53" type="uint">
+ <value name="Clockwise" value="0"/>
+ <value name="Counter Clockwise" value="1"/>
</field>
- <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
- <value name="SOLID" value="0"/>
- <value name="WIREFRAME" value="1"/>
- <value name="POINT" value="2"/>
+ <field name="API Mode" start="54" end="55" type="uint">
+ <value name="DX9/OGL" value="0"/>
+ <value name="DX10.0" value="1"/>
+ <value name="DX10.1+" value="2"/>
</field>
- <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
- <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
- <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
+ <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
+ <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
<field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
<field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
<field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
</instruction>
<instruction name="3DSTATE_RS_CONSTANT_POINTER" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Shader Select" start="60" end="62" type="uint">
- <value name="VS" value="0"/>
- <value name="PS" value="4"/>
- </field>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Operation Load or Store" start="44" end="44" type="uint" prefix="RS">
<value name="Store" value="0"/>
<value name="Load" value="1"/>
</field>
+ <field name="Shader Select" start="60" end="62" type="uint">
+ <value name="VS" value="0"/>
+ <value name="PS" value="4"/>
+ </field>
<field name="Global Constant Buffer Address" start="70" end="95" type="address"/>
<field name="Global Constant Buffer Address High" start="96" end="127" type="address"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="32">
<field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
<field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
@@ -2104,168 +2104,168 @@
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Sample Mask" start="32" end="47" type="uint"/>
</instruction>
<instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
- <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
- <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
- <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
- <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
- <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
- <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
- <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="16x Sample0 Y Offset" start="32" end="35" type="u0.4"/>
- <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
- <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
- <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
- <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
- <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
- <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
- <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
+ <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
+ <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
+ <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
+ <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
+ <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
+ <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
<field name="16x Sample4 Y Offset" start="64" end="67" type="u0.4"/>
- <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
- <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
- <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
- <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
- <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
- <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
- <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
+ <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
+ <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
+ <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
+ <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
+ <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
+ <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
<field name="16x Sample8 Y Offset" start="96" end="99" type="u0.4"/>
- <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
- <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
- <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
- <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
- <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
- <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
- <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
+ <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
+ <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
+ <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
+ <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
+ <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
+ <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
<field name="16x Sample12 Y Offset" start="128" end="131" type="u0.4"/>
- <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
- <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
- <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
- <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
- <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
- <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
- <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
+ <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
+ <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
+ <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
+ <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
+ <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
+ <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
<field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
- <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
- <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
- <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
- <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
- <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
- <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
- <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
+ <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
+ <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
+ <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
+ <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
+ <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
+ <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
<field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
- <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
- <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
- <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
- <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
- <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
- <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
- <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
+ <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
+ <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
+ <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
+ <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
+ <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
+ <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
<field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
- <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
- <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
- <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
- <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
- <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
+ <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
+ <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
+ <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
+ <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
+ <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
+ <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
<field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
+ <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
+ <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
+ <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
+ <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
+ <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
</instruction>
<instruction name="3DSTATE_SBE" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
- <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
- <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
- <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
+ <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
+ <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
+ <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
+ <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
+ <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
<field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
<value name="UPPERLEFT" value="0"/>
<value name="LOWERLEFT" value="1"/>
</field>
- <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
- <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
- <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
- <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
- <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
- <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
- <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
+ <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
+ <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
+ <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
+ <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
<field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
<field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
<group count="32" start="128" size="2">
<field name="Attribute Active Component Format" start="0" end="1" type="uint" prefix="ACTIVE_COMPONENT">
- <value name="DISABLED" value="0"/>
- <value name="XY" value="1"/>
- <value name="XYZ" value="2"/>
- <value name="XYZW" value="3"/>
+ <value name="DISABLED" value="0"/>
+ <value name="XY" value="1"/>
+ <value name="XYZ" value="2"/>
+ <value name="XYZW" value="3"/>
</field>
</group>
</instruction>
<instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="16">
<field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
</group>
@@ -2275,60 +2275,60 @@
</instruction>
<instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_SF" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Line Width" start="44" end="61" type="u11.7"/>
- <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
- <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
+ <field name="Statistics Enable" start="42" end="42" type="bool"/>
+ <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
+ <field name="Line Width" start="44" end="61" type="u11.7"/>
<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="Last Pixel Enable" start="127" end="127" type="bool"/>
- <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
- <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
- <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
- <field name="AA Line Distance Mode" start="110" end="110" type="uint">
- <value name="AALINEDISTANCE_TRUE" value="1"/>
+ <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Point Width Source" start="107" end="107" type="uint">
+ <value name="Vertex" value="0"/>
+ <value name="State" value="1"/>
</field>
- <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
<field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
<value name="8 Bit" value="0"/>
<value name="4 Bit" value="1"/>
</field>
- <field name="Point Width Source" start="107" end="107" type="uint">
- <value name="Vertex" value="0"/>
- <value name="State" value="1"/>
+ <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
+ <field name="AA Line Distance Mode" start="110" end="110" type="uint">
+ <value name="AALINEDISTANCE_TRUE" value="1"/>
</field>
- <field name="Point Width" start="96" end="106" type="u8.3"/>
+ <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
+ <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
+ <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
+ <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
</instruction>
<instruction name="3DSTATE_SO_BUFFER" bias="2" length="8" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
- <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
- <field name="SO Buffer Index" start="61" end="62" type="uint"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
- <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
+ <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="SO Buffer Index" start="61" end="62" type="uint"/>
+ <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="66" end="111" type="address"/>
<field name="Surface Size" start="128" end="157" type="uint"/>
<field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
@@ -2336,80 +2336,84 @@
</instruction>
<instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
<field name="DWord Length" start="0" end="8" type="uint"/>
- <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
- <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
- <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
- <field name="Num Entries [3]" start="88" end="95" type="uint"/>
- <field name="Num Entries [2]" start="80" end="87" type="uint"/>
- <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
+ <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
+ <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
<field name="Num Entries [0]" start="64" end="71" type="uint"/>
+ <field name="Num Entries [1]" start="72" end="79" type="uint"/>
+ <field name="Num Entries [2]" start="80" end="87" type="uint"/>
+ <field name="Num Entries [3]" start="88" end="95" type="uint"/>
<group count="0" start="96" size="64">
<field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
</group>
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
- <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="MOCS" start="54" end="60" type="uint"/>
+ <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
<instruction name="3DSTATE_STREAMOUT" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="SO Function Enable" start="63" end="63" type="bool"/>
- <field name="Rendering Disable" start="62" end="62" type="bool"/>
- <field name="Render Stream Select" start="59" end="60" type="uint"/>
- <field name="Reorder Mode" start="58" end="58" type="uint">
- <value name="LEADING" value="0"/>
- <value name="TRAILING" value="1"/>
- </field>
- <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Force Rendering" start="55" end="56" type="uint">
<value name="Resreved" value="1"/>
<value name="Force_Off" value="2"/>
<value name="Force_on" value="3"/>
</field>
- <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
- <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
- <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
- <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
- <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
- <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
- <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
+ <field name="Reorder Mode" start="58" end="58" type="uint">
+ <value name="LEADING" value="0"/>
+ <value name="TRAILING" value="1"/>
+ </field>
+ <field name="Render Stream Select" start="59" end="60" type="uint"/>
+ <field name="Rendering Disable" start="62" end="62" type="bool"/>
+ <field name="SO Function Enable" start="63" end="63" type="bool"/>
<field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
- <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
+ <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
+ <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
+ <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
+ <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
+ <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
+ <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
+ <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
<field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
- <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
+ <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
<field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
+ <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
</instruction>
<instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Partitioning" start="44" end="45" type="uint">
- <value name="INTEGER" value="0"/>
- <value name="ODD_FRACTIONAL" value="1"/>
- <value name="EVEN_FRACTIONAL" value="2"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="TE Enable" start="32" end="32" type="bool"/>
+ <field name="TE Mode" start="33" end="34" type="uint">
+ <value name="HW_TESS" value="0"/>
+ </field>
+ <field name="TE Domain" start="36" end="37" type="uint">
+ <value name="QUAD" value="0"/>
+ <value name="TRI" value="1"/>
+ <value name="ISOLINE" value="2"/>
</field>
<field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
<value name="POINT" value="0"/>
@@ -2417,226 +2421,231 @@
<value name="TRI_CW" value="2"/>
<value name="TRI_CCW" value="3"/>
</field>
- <field name="TE Domain" start="36" end="37" type="uint">
- <value name="QUAD" value="0"/>
- <value name="TRI" value="1"/>
- <value name="ISOLINE" value="2"/>
- </field>
- <field name="TE Mode" start="33" end="34" type="uint">
- <value name="HW_TESS" value="0"/>
+ <field name="Partitioning" start="44" end="45" type="uint">
+ <value name="INTEGER" value="0"/>
+ <value name="ODD_FRACTIONAL" value="1"/>
+ <value name="EVEN_FRACTIONAL" value="2"/>
</field>
- <field name="TE Enable" start="32" end="32" type="bool"/>
<field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
<field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
</instruction>
<instruction name="3DSTATE_URB_CLEAR" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="URB Clear Length" start="48" end="61" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="URB Address" start="32" end="46" type="offset"/>
+ <field name="URB Clear Length" start="48" end="61" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
- <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
+ <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
+ <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="128">
<field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="0" start="32" size="64">
<field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
</group>
</instruction>
<instruction name="3DSTATE_VF" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
- <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
- <field name="Component Packing Enable" start="9" end="9" type="bool"/>
- <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
+ <field name="Component Packing Enable" start="9" end="9" type="bool"/>
+ <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Cut Index" start="32" end="63" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_COMPONENT_PACKING" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
- <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
- <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
- <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
- <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
- <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
- <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Element 00 Enables" start="32" end="35" type="uint"/>
- <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
- <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
- <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
- <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
- <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
- <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
- <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
+ <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
+ <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
+ <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
+ <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
+ <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
+ <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
+ <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
<field name="Vertex Element 08 Enables" start="64" end="67" type="uint"/>
- <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
- <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
- <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
- <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
- <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
- <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
- <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
+ <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
+ <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
+ <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
+ <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
+ <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
+ <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
+ <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
<field name="Vertex Element 16 Enables" start="96" end="99" type="uint"/>
- <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
- <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
- <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
- <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
- <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
- <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
- <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
+ <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
+ <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
+ <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
+ <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
+ <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
+ <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
+ <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
<field name="Vertex Element 24 Enables" start="128" end="131" type="uint"/>
+ <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
+ <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
+ <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
+ <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
+ <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
+ <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
+ <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Instancing Enable" start="40" end="40" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Vertex Element Index" start="32" end="37" type="uint"/>
+ <field name="Instancing Enable" start="40" end="40" type="bool"/>
<field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
</instruction>
<instruction name="3DSTATE_VF_SGVS" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="InstanceID Enable" start="63" end="63" type="bool"/>
- <field name="InstanceID Component Number" start="61" end="62" type="uint">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="VertexID Component Number" start="45" end="46" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
<field name="VertexID Enable" start="47" end="47" type="bool"/>
- <field name="VertexID Component Number" start="45" end="46" type="uint">
+ <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
+ <field name="InstanceID Component Number" start="61" end="62" type="uint">
<value name="COMP_0" value="0"/>
<value name="COMP_1" value="1"/>
<value name="COMP_2" value="2"/>
<value name="COMP_3" value="3"/>
</field>
- <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
+ <field name="InstanceID Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
<field name="Statistics Enable" start="0" end="0" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
</instruction>
<instruction name="3DSTATE_VS" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
<field name="DWord Length" start="0" end="7" type="uint" default="7"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
- <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
- <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Software Exception Enable" start="103" end="103" type="bool"/>
+ <field name="Accesses UAV" start="108" end="108" type="bool"/>
+ <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
+ <field name="Floating Point Mode" start="112" end="112" type="uint">
+ <value name="IEEE-754" value="0"/>
+ <value name="Alternate" value="1"/>
+ </field>
+ <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
+ <value name="High" value="1"/>
+ </field>
+ <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
<field name="Sampler Count" start="123" end="125" type="uint">
<value name="No Samplers" value="0"/>
<value name="1-4 Samplers" value="1"/>
@@ -2644,177 +2653,168 @@
<value name="9-12 Samplers" value="3"/>
<value name="13-16 Samplers" value="4"/>
</field>
- <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
- <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
- <value name="High" value="1"/>
- </field>
- <field name="Floating Point Mode" start="112" end="112" type="uint">
- <value name="IEEE-754" value="0"/>
- <value name="Alternate" value="1"/>
- </field>
- <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
- <field name="Accesses UAV" start="108" end="108" type="bool"/>
- <field name="Software Exception Enable" start="103" end="103" type="bool"/>
- <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
+ <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
+ <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
<field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
- <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
- <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
<field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
- <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
- <field name="Statistics Enable" start="234" end="234" type="bool"/>
- <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
- <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
+ <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
<field name="Enable" start="224" end="224" type="bool"/>
- <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
- <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
- <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
+ <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
+ <field name="Statistics Enable" start="234" end="234" type="bool"/>
+ <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
<field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
+ <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
+ <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
+ <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Statistics Enable" start="63" end="63" type="bool"/>
- <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
- <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="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">
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
- <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
- <value name="INTERP_PIXEL" value="0"/>
- <value name="INTERP_CENTROID" value="2"/>
- <value name="INTERP_SAMPLE" value="3"/>
- </field>
- <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 name="Point Rasterization Rule" start="34" end="34" type="uint">
+ <value name="RASTRULE_UPPER_LEFT" value="0"/>
+ <value name="RASTRULE_UPPER_RIGHT" value="1"/>
</field>
- <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
+ <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
+ <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
+ <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="Line Antialiasing Region Width" start="38" end="39" type="uint">
+ <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"/>
<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">
- <value name="RASTRULE_UPPER_LEFT" value="0"/>
- <value name="RASTRULE_UPPER_RIGHT" value="1"/>
+ <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="Force Kill Pixel Enable" start="32" end="33" type="uint">
+ <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
+ <value name="INTERP_PIXEL" value="0"/>
+ <value name="INTERP_CENTROID" value="2"/>
+ <value name="INTERP_SAMPLE" value="3"/>
+ </field>
+ <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
<value name="ForceOff" value="1"/>
<value name="ForceON" value="2"/>
</field>
+ <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
+ <value name="EDSC_NORMAL" value="0"/>
+ <value name="EDSC_PSEXEC" value="1"/>
+ <value name="EDSC_PREPS" value="2"/>
+ </field>
+ <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
+ <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Statistics Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
</instruction>
<instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
- <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
- <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
- <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
- <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
- <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
- <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
- <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
- <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
- <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
- <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
- <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
- <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Depth Test Enable" start="33" end="33" type="bool"/>
+ <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
+ <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
+ <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
+ <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
+ <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
+ <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
+ <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
+ <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
+ <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
+ <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
<field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
- <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
+ <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
+ <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
+ <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
<field name="Backface Stencil Reference Value" start="96" end="103" type="uint"/>
+ <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
</instruction>
<instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
- <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
- <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
- <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
- <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="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
- <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
- <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Multisamples" start="45" end="47" type="uint"/>
- <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
+ <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
+ <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
+ <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
+ <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
+ <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
+ <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
+ <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
+ <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
<field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
- <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
+ <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
<field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
+ <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
<field name="Sample Mask" start="128" end="143" type="uint"/>
</instruction>
<instruction name="GPGPU_CSR_BASE_ADDRESS" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="GPGPU CSR Base Address" start="44" end="95" type="address"/>
</instruction>
<instruction name="GPGPU_WALKER" bias="2" length="15" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
- <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
- <field name="Predicate Enable" start="8" end="8" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="13"/>
+ <field name="Predicate Enable" start="8" end="8" type="bool"/>
+ <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
<field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
+ <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
+ <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
+ <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
<field name="SIMD Size" start="158" end="159" type="uint">
<value name="SIMD8" value="0"/>
<value name="SIMD16" value="1"/>
<value name="SIMD32" value="2"/>
</field>
- <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
- <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
- <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
<field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
<field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
<field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
@@ -2826,26 +2826,24 @@
</instruction>
<instruction name="HCP_BSD_OBJECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
</instruction>
<instruction name="HCP_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="FQM DC Value" start="48" end="63" type="uint"/>
- <field name="Color Component" start="35" end="36" type="uint">
- <value name="Luma" value="0"/>
- <value name="Chroma Cb" value="1"/>
- <value name="Chroma Cr" value="2"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Intra/Inter" start="32" end="32" type="uint">
+ <value name="Intra" value="0"/>
+ <value name="Inter" value="1"/>
</field>
<field name="SizeID" start="33" end="34" type="uint">
<value name="4x4" value="0"/>
@@ -2853,21 +2851,23 @@
<value name="16x16" value="2"/>
<value name="32x32" value="3"/>
</field>
- <field name="Intra/Inter" start="32" end="32" type="uint">
- <value name="Intra" value="0"/>
- <value name="Inter" value="1"/>
+ <field name="Color Component" start="35" end="36" type="uint">
+ <value name="Luma" value="0"/>
+ <value name="Chroma Cb" value="1"/>
+ <value name="Chroma Cr" value="2"/>
</field>
+ <field name="FQM DC Value" start="48" end="63" type="uint"/>
<group count="64" start="64" size="8">
<field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="HCP_IND_OBJ_BASE_ADDR_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HCP Indirect Bitstream Object - Base Address" start="32" end="95" type="address"/>
<field name="HCP Indirect Bitstream Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HCP Indirect Bitstream Object - Access Upper Bound" start="128" end="191" type="address"/>
@@ -2879,22 +2879,22 @@
</instruction>
<instruction name="HCP_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="34"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Indirect Payload Enable" start="63" end="63" type="bool"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="34"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
<field name="Header Length Excluded From Size" start="47" end="47" type="uint">
<value name="ACCUMULATE" value="0"/>
<value name="NO_ACCUMULATION" value="1"/>
</field>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
+ <field name="Indirect Payload Enable" start="63" end="63" type="bool"/>
<group count="0" start="64" size="128">
<field name="Indirect Payload" start="0" end="127" type="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD"/>
<field name="Inline PayLoad" start="0" end="31" type="uint"/>
@@ -2902,142 +2902,142 @@
</instruction>
<instruction name="HCP_PAK_OBJECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Last LCU of Slice" start="63" end="63" type="bool"/>
- <field name="Last LCU of Tile" start="62" end="62" type="bool"/>
- <field name="CU Count" start="56" end="61" type="uint"/>
- <field name="Split Level 0" start="52" end="52" type="uint"/>
- <field name="Split Level 1" start="48" end="51" type="uint"/>
- <field name="Split Level 2 Part 3" start="44" end="47" type="uint"/>
- <field name="Split Level 2 Part 2" start="40" end="43" type="uint"/>
- <field name="Split Level 2 Part 1" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Split Level 2 Part 0" start="32" end="35" type="uint"/>
- <field name="Current LCU Y Address" start="80" end="95" type="uint"/>
+ <field name="Split Level 2 Part 1" start="36" end="39" type="uint"/>
+ <field name="Split Level 2 Part 2" start="40" end="43" type="uint"/>
+ <field name="Split Level 2 Part 3" start="44" end="47" type="uint"/>
+ <field name="Split Level 1" start="48" end="51" type="uint"/>
+ <field name="Split Level 0" start="52" end="52" type="uint"/>
+ <field name="CU Count" start="56" end="61" type="uint"/>
+ <field name="Last LCU of Tile" start="62" end="62" type="bool"/>
+ <field name="Last LCU of Slice" start="63" end="63" type="bool"/>
<field name="Current LCU X Address" start="64" end="79" type="uint"/>
+ <field name="Current LCU Y Address" start="80" end="95" type="uint"/>
</instruction>
<instruction name="HCP_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="16"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Frame Height In Minimum Coding Block Size" start="48" end="57" type="uint"/>
- <field name="PAK Transform Skip Enable" start="47" end="47" type="bool"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="16"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width In Minimum Coding Block Size" start="32" end="41" type="uint"/>
- <field name="Max PCM Size" start="74" end="75" type="uint" prefix="PCM">
+ <field name="PAK Transform Skip Enable" start="47" end="47" type="bool"/>
+ <field name="Frame Height In Minimum Coding Block Size" start="48" end="57" type="uint"/>
+ <field name="Min CU Size" start="64" end="65" type="uint" prefix="LCU">
+ <value name="64x64" value="3"/>
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
<value name="8x8" value="0"/>
</field>
- <field name="Min PCM Size" start="72" end="73" type="uint" prefix="PCM">
+ <field name="LCU Size" start="66" end="67" type="uint" prefix="LCU">
+ <value name="64x64" value="3"/>
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
- <value name="8x8" value="0"/>
+ <value name="Illegal/reserved" value="0"/>
</field>
- <field name="Max TU Size" start="70" end="71" type="uint" prefix="TU">
+ <field name="Min TU Size" start="68" end="69" type="uint" prefix="TU">
<value name="32x32" value="3"/>
<value name="16x16" value="2"/>
<value name="8x8" value="1"/>
<value name="4x4" value="0"/>
</field>
- <field name="Min TU Size" start="68" end="69" type="uint" prefix="TU">
+ <field name="Max TU Size" start="70" end="71" type="uint" prefix="TU">
<value name="32x32" value="3"/>
<value name="16x16" value="2"/>
<value name="8x8" value="1"/>
<value name="4x4" value="0"/>
</field>
- <field name="LCU Size" start="66" end="67" type="uint" prefix="LCU">
- <value name="64x64" value="3"/>
+ <field name="Min PCM Size" start="72" end="73" type="uint" prefix="PCM">
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
- <value name="Illegal/reserved" value="0"/>
+ <value name="8x8" value="0"/>
</field>
- <field name="Min CU Size" start="64" end="65" type="uint" prefix="LCU">
- <value name="64x64" value="3"/>
+ <field name="Max PCM Size" start="74" end="75" type="uint" prefix="PCM">
<value name="32x32" value="2"/>
<value name="16x16" value="1"/>
<value name="8x8" value="0"/>
</field>
- <field name="CABAC Zero Word Insertion Test Enable" start="98" end="98" type="bool"/>
- <field name="Current Picture Is I Slice" start="97" end="97" type="bool"/>
<field name="Collocated Picture Is I Slice" start="96" end="96" type="bool"/>
+ <field name="Current Picture Is I Slice" start="97" end="97" type="bool"/>
+ <field name="CABAC Zero Word Insertion Test Enable" start="98" end="98" type="bool"/>
+ <field name="Sample Adaptive Offset Enable" start="131" end="131" type="bool"/>
+ <field name="PCM Enable" start="132" end="132" type="bool"/>
+ <field name="CU QP Delta Enable" start="133" end="133" type="bool"/>
+ <field name="Max DQP Depth" start="134" end="135" type="uint"/>
+ <field name="PCM Loop Filter Disable" start="136" end="136" type="bool"/>
+ <field name="Constrained Intra Prediction" start="137" end="137" type="bool"/>
+ <field name="Log2 Parallel Merge Level" start="138" end="140" type="uint"/>
+ <field name="Sign Data Hiding" start="141" end="141" type="bool"/>
+ <field name="Loop Filter Enable" start="143" end="143" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="144" end="144" type="bool"/>
+ <field name="Tiling Enable" start="145" end="145" type="bool"/>
+ <field name="Weighted BiPredication Enable" start="146" end="146" type="bool"/>
+ <field name="Weighted Predication Enable" start="147" end="147" type="bool"/>
+ <field name="Field Pic" start="148" end="148" type="bool"/>
+ <field name="Top Field" start="149" end="149" type="bool"/>
+ <field name="Transform Skip Enable" start="150" end="150" type="bool"/>
+ <field name="AMP Enable" start="151" end="151" type="bool"/>
+ <field name="Transquant Bypass Enable" start="153" end="153" type="bool"/>
+ <field name="Strong Intra Smoothing Enable" start="154" end="154" type="bool"/>
<field name="CU Packet Structure" start="155" end="155" type="uint">
<value name="VME" value="0"/>
<value name="ExtEnc" value="1"/>
</field>
- <field name="Strong Intra Smoothing Enable" start="154" end="154" type="bool"/>
- <field name="Transquant Bypass Enable" start="153" end="153" type="bool"/>
- <field name="AMP Enable" start="151" end="151" type="bool"/>
- <field name="Transform Skip Enable" start="150" end="150" type="bool"/>
- <field name="Top Field" start="149" end="149" type="bool"/>
- <field name="Field Pic" start="148" end="148" type="bool"/>
- <field name="Weighted Predication Enable" start="147" end="147" type="bool"/>
- <field name="Weighted BiPredication Enable" start="146" end="146" type="bool"/>
- <field name="Tiling Enable" start="145" end="145" type="bool"/>
- <field name="Entropy Coding Sync Enable" start="144" end="144" type="bool"/>
- <field name="Loop Filter Enable" start="143" end="143" type="bool"/>
- <field name="Sign Data Hiding" start="141" end="141" type="bool"/>
- <field name="Log2 Parallel Merge Level" start="138" end="140" type="uint"/>
- <field name="Constrained Intra Prediction" start="137" end="137" type="bool"/>
- <field name="PCM Loop Filter Disable" start="136" end="136" type="bool"/>
- <field name="Max DQP Depth" start="134" end="135" type="uint"/>
- <field name="CU QP Delta Enable" start="133" end="133" type="bool"/>
- <field name="PCM Enable" start="132" end="132" type="bool"/>
- <field name="Sample Adaptive Offset Enable" start="131" end="131" type="bool"/>
- <field name="Luma Bit Depth" start="187" end="189" type="uint">
+ <field name="Picture Cb QP Offset" start="160" end="164" type="int"/>
+ <field name="Picture Cr QP Offset" start="165" end="169" type="int"/>
+ <field name="Intra Max Transform Hierarchy Depth" start="170" end="172" type="uint"/>
+ <field name="Inter Max Transform Hierarchy Depth" start="173" end="175" type="uint"/>
+ <field name="Chroma PCM Sample Bit Depth" start="176" end="179" type="uint"/>
+ <field name="Luma PCM Sample Bit Depth" start="180" end="183" type="uint"/>
+ <field name="Chroma Bit Depth" start="184" end="186" type="uint">
<value name="8-bit" value="0"/>
<value name="9-bit" value="1"/>
<value name="10-bit" value="2"/>
<value name="11-bit" value="3"/>
<value name="12-bit" value="4"/>
</field>
- <field name="Chroma Bit Depth" start="184" end="186" type="uint">
+ <field name="Luma Bit Depth" start="187" end="189" type="uint">
<value name="8-bit" value="0"/>
<value name="9-bit" value="1"/>
<value name="10-bit" value="2"/>
<value name="11-bit" value="3"/>
<value name="12-bit" value="4"/>
</field>
- <field name="Luma PCM Sample Bit Depth" start="180" end="183" type="uint"/>
- <field name="Chroma PCM Sample Bit Depth" start="176" end="179" type="uint"/>
- <field name="Inter Max Transform Hierarchy Depth" start="173" end="175" type="uint"/>
- <field name="Intra Max Transform Hierarchy Depth" start="170" end="172" type="uint"/>
- <field name="Picture Cr QP Offset" start="165" end="169" type="int"/>
- <field name="Picture Cb QP Offset" start="160" end="164" type="int"/>
- <field name="Load Bitstream Pointer Per Slice" start="221" end="221" type="bool"/>
- <field name="Frame Bitrate Min Report" start="218" end="218" type="bool"/>
- <field name="Frame Bitrate Max Report" start="217" end="217" type="bool"/>
- <field name="LCU Max Size Report" start="216" end="216" type="bool"/>
- <field name="Non First Pass" start="208" end="208" type="bool"/>
<field name="LCU Max Bit Size Allowed" start="192" end="207" type="uint"/>
- <field name="Frame Bitrate Max Unit" start="255" end="255" type="uint"/>
+ <field name="Non First Pass" start="208" end="208" type="bool"/>
+ <field name="LCU Max Size Report" start="216" end="216" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="217" end="217" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="218" end="218" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="221" end="221" type="bool"/>
<field name="Frame Bitrate Max" start="224" end="237" type="uint"/>
- <field name="Frame Bitrate Min Unit" start="287" end="287" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="255" end="255" type="uint"/>
<field name="Frame Bitrate Min" start="256" end="269" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="304" end="318" type="uint"/>
+ <field name="Frame Bitrate Min Unit" start="287" end="287" type="uint"/>
<field name="Frame Bitrate Min Delta" start="288" end="302" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="304" end="318" type="uint"/>
<field name="Frame Delta QP Max" start="320" end="383" type="FRAMEDELTAQP"/>
<field name="Frame Delta QP Min" start="384" end="447" type="FRAMEDELTAQP"/>
<field name="Frame Delta QP Max Range" start="448" end="511" type="FRAMEDELTAQPRANGE"/>
<field name="Frame Delta QP Min Range" start="512" end="575" type="FRAMEDELTAQPRANGE"/>
+ <field name="Minimum Frame Size" start="576" end="591" type="uint"/>
<field name="Minimum Frame Size Units" start="606" end="607" type="uint" prefix="HCP_MFSU">
<value name="4Kb" value="0"/>
<value name="16Kb" value="1"/>
</field>
- <field name="Minimum Frame Size" start="576" end="591" type="uint"/>
</instruction>
<instruction name="HCP_PIPE_BUF_ADDR_STATE" bias="2" length="95" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Decoded Picture - Address" start="32" end="95" type="address"/>
<field name="Decoded Picture - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Deblocking Filter Line Buffer - Address" start="128" end="191" type="address"/>
@@ -3087,39 +3087,37 @@
</instruction>
<instruction name="HCP_PIPE_MODE_SELECT" bias="2" length="4" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="PAK Frame Level Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="Advanced Rate Control Enable" start="41" end="41" type="bool"/>
- <field name="Codec Standard Select" start="37" end="39" type="uint">
- <value name="HEVC" value="0"/>
- <value name="VP9" value="1"/>
- </field>
- <field name="Pic Status/Error Report Enable" start="35" end="35" type="bool"/>
- <field name="PAK Pipeline Stream-Out Enable" start="34" end="34" type="bool"/>
- <field name="Deblocker Stream-Out Enable" start="33" end="33" type="bool"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Codec Select" start="32" end="32" type="uint">
<value name="Decode" value="0"/>
<value name="Encode" value="1"/>
</field>
+ <field name="Deblocker Stream-Out Enable" start="33" end="33" type="bool"/>
+ <field name="PAK Pipeline Stream-Out Enable" start="34" end="34" type="bool"/>
+ <field name="Pic Status/Error Report Enable" start="35" end="35" type="bool"/>
+ <field name="Codec Standard Select" start="37" end="39" type="uint">
+ <value name="HEVC" value="0"/>
+ <value name="VP9" value="1"/>
+ </field>
+ <field name="Advanced Rate Control Enable" start="41" end="41" type="bool"/>
+ <field name="PAK Frame Level Stream-Out Enable" start="44" end="44" type="bool"/>
<field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="HCP_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="DC Coefficient" start="37" end="44" type="uint"/>
- <field name="Color Component" start="35" end="36" type="uint">
- <value name="Luma" value="0"/>
- <value name="Chroma Cb" value="1"/>
- <value name="Chroma Cr" value="2"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Prediction Type" start="32" end="32" type="uint">
+ <value name="Intra" value="0"/>
+ <value name="Inter" value="1"/>
</field>
<field name="SizeID" start="33" end="34" type="uint">
<value name="4x4" value="0"/>
@@ -3127,40 +3125,51 @@
<value name="16x16" value="2"/>
<value name="32x32" value="3"/>
</field>
- <field name="Prediction Type" start="32" end="32" type="uint">
- <value name="Intra" value="0"/>
- <value name="Inter" value="1"/>
+ <field name="Color Component" start="35" end="36" type="uint">
+ <value name="Luma" value="0"/>
+ <value name="Chroma Cb" value="1"/>
+ <value name="Chroma Cr" value="2"/>
</field>
+ <field name="DC Coefficient" start="37" end="44" type="uint"/>
<group count="64" start="64" size="8">
<field name="Quantizer Matrix 8x8" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="HCP_REF_IDX_STATE" bias="2" length="18" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="18"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Number of Reference Indexes Active" start="33" end="36" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="18"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
+ <field name="Number of Reference Indexes Active" start="33" end="36" type="uint"/>
<group count="16" start="64" size="32">
<field name="Reference List Entry" start="0" end="31" type="HCP_REF_LIST_ENTRY"/>
</group>
</instruction>
<instruction name="HCP_SLICE_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="20"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Slice Vertical Position" start="48" end="56" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="20"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Horizontal Position" start="32" end="40" type="uint"/>
- <field name="Next Slice Vertical Position" start="80" end="88" type="uint"/>
+ <field name="Slice Vertical Position" start="48" end="56" type="uint"/>
<field name="Next Slice Horizontal Position" start="64" end="72" type="uint"/>
- <field name="Last Slice of Tile" start="120" end="120" type="bool"/>
- <field name="Slice Cr QP Offset" start="113" end="117" type="int">
+ <field name="Next Slice Vertical Position" start="80" end="88" type="uint"/>
+ <field name="Slice Type" start="96" end="97" type="uint" prefix="HCP_ST">
+ <value name="B Slice" value="0"/>
+ <value name="P Slice" value="1"/>
+ <value name="I Slice" value="2"/>
+ </field>
+ <field name="Last Slice" start="98" end="98" type="bool"/>
+ <field name="Slice QP Sign" start="99" end="99" type="uint"/>
+ <field name="Dependent Slice" start="100" end="100" type="bool"/>
+ <field name="Slice Temporal MVP Enable" start="101" end="101" type="bool"/>
+ <field name="Slice QP" start="102" end="107" type="uint"/>
+ <field name="Slice Cb QP Offset" start="108" end="112" type="int">
<value name="-12" value="20"/>
<value name="-11" value="21"/>
<value name="-10" value="22"/>
@@ -3174,7 +3183,7 @@
<value name="-2" value="30"/>
<value name="-1" value="31"/>
</field>
- <field name="Slice Cb QP Offset" start="108" end="112" type="int">
+ <field name="Slice Cr QP Offset" start="113" end="117" type="int">
<value name="-12" value="20"/>
<value name="-11" value="21"/>
<value name="-10" value="22"/>
@@ -3188,32 +3197,23 @@
<value name="-2" value="30"/>
<value name="-1" value="31"/>
</field>
- <field name="Slice QP" start="102" end="107" type="uint"/>
- <field name="Slice Temporal MVP Enable" start="101" end="101" type="bool"/>
- <field name="Dependent Slice" start="100" end="100" type="bool"/>
- <field name="Slice QP Sign" start="99" end="99" type="uint"/>
- <field name="Last Slice" start="98" end="98" type="bool"/>
- <field name="Slice Type" start="96" end="97" type="uint" prefix="HCP_ST">
- <value name="B Slice" value="0"/>
- <value name="P Slice" value="1"/>
- <value name="I Slice" value="2"/>
- </field>
- <field name="Collocated MV Temporal Buffer Index" start="154" end="156" type="uint"/>
- <field name="Max Merge Index" start="151" end="153" type="uint"/>
- <field name="CABAC Init" start="150" end="150" type="bool"/>
- <field name="Log2 Weight Denominator Luma" start="147" end="149" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="144" end="146" type="uint"/>
- <field name="Collocated From L0" start="143" end="143" type="bool"/>
- <field name="Low Delay" start="142" end="142" type="bool"/>
- <field name="MVD L1 Zero" start="141" end="141" type="bool"/>
- <field name="Slice SAO Luma" start="140" end="140" type="bool"/>
- <field name="Slice SAO Chroma" start="139" end="139" type="bool"/>
- <field name="Slice Loop Filter Enable" start="138" end="138" type="bool"/>
- <field name="Slice Beta Offset Div2" start="133" end="136" type="int"/>
- <field name="Slice TC Offset Div2" start="129" end="132" type="int"/>
+ <field name="Last Slice of Tile" start="120" end="120" type="bool"/>
<field name="Slice Header Disable Deblocking Filter" start="128" end="128" type="bool"/>
+ <field name="Slice TC Offset Div2" start="129" end="132" type="int"/>
+ <field name="Slice Beta Offset Div2" start="133" end="136" type="int"/>
+ <field name="Slice Loop Filter Enable" start="138" end="138" type="bool"/>
+ <field name="Slice SAO Chroma" start="139" end="139" type="bool"/>
+ <field name="Slice SAO Luma" start="140" end="140" type="bool"/>
+ <field name="MVD L1 Zero" start="141" end="141" type="bool"/>
+ <field name="Low Delay" start="142" end="142" type="bool"/>
+ <field name="Collocated From L0" start="143" end="143" type="bool"/>
+ <field name="Log2 Weight Denominator Chroma" start="144" end="146" type="uint"/>
+ <field name="Log2 Weight Denominator Luma" start="147" end="149" type="uint"/>
+ <field name="CABAC Init" start="150" end="150" type="bool"/>
+ <field name="Max Merge Index" start="151" end="153" type="uint"/>
+ <field name="Collocated MV Temporal Buffer Index" start="154" end="156" type="uint"/>
<field name="Slice Header Length" start="160" end="175" type="uint"/>
- <field name="Round Inter" start="218" end="221" type="uint">
+ <field name="Round Intra" start="212" end="215" type="uint">
<value name="+1/32" value="0"/>
<value name="+2/32" value="1"/>
<value name="+3/32" value="2"/>
@@ -3231,7 +3231,7 @@
<value name="+15/32" value="14"/>
<value name="+16/32" value="15"/>
</field>
- <field name="Round Intra" start="212" end="215" type="uint">
+ <field name="Round Inter" start="218" end="221" type="uint">
<value name="+1/32" value="0"/>
<value name="+2/32" value="1"/>
<value name="+3/32" value="2"/>
@@ -3249,25 +3249,26 @@
<value name="+15/32" value="14"/>
<value name="+16/32" value="15"/>
</field>
- <field name="Header Insertion Present" start="234" end="234" type="bool"/>
- <field name="Slice Data Insertion Present" start="233" end="233" type="bool"/>
- <field name="Tail Insertion Present" start="232" end="232" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="226" end="226" type="bool"/>
<field name="CABAC Zero Word Insertion Enable" start="225" end="225" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="226" end="226" type="bool"/>
+ <field name="Tail Insertion Present" start="232" end="232" type="bool"/>
+ <field name="Slice Data Insertion Present" start="233" end="233" type="bool"/>
+ <field name="Header Insertion Present" start="234" end="234" type="bool"/>
<field name="Indirect PAK-BSE Data Start Offset" start="262" end="284" type="offset"/>
<field name="Transform Skip Lambda" start="288" end="303" type="uint"/>
- <field name="Transform Skip Number of Non-Zero Coeffs Factor1" start="344" end="351" type="uint"/>
- <field name="Transform Skip Number of Zero Coeffs Factor1" start="336" end="343" type="uint"/>
- <field name="Transform Skip Number of Non-Zero Coeffs Factor0" start="328" end="335" type="uint"/>
<field name="Transform Skip Number of Zero Coeffs Factor0" start="320" end="327" type="uint"/>
+ <field name="Transform Skip Number of Non-Zero Coeffs Factor0" start="328" end="335" type="uint"/>
+ <field name="Transform Skip Number of Zero Coeffs Factor1" start="336" end="343" type="uint"/>
+ <field name="Transform Skip Number of Non-Zero Coeffs Factor1" start="344" end="351" type="uint"/>
</instruction>
<instruction name="HCP_SURFACE_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Surface Pitch" start="32" end="48" type="uint"/>
<field name="Surface ID" start="60" end="63" type="uint" prefix="HCP">
<value name="Current Decoded Picture" value="0"/>
<value name="Source Input Picture" value="1"/>
@@ -3275,31 +3276,30 @@
<value name="Golden Reference Picture" value="3"/>
<value name="AltRef Reference Picture" value="4"/>
</field>
- <field name="Surface Pitch" start="32" end="48" type="uint"/>
+ <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
<field name="Surface Format" start="92" end="95" type="uint">
<value name="PLANAR_420_8" value="4"/>
<value name="P010" value="13"/>
</field>
- <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
</instruction>
<instruction name="HCP_TILE_CODING" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="21"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SAO Parameter Offset" start="128" end="159" type="uint"/>
</instruction>
<instruction name="HCP_TILE_STATE" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="Media Instruction Command" start="16" end="22" type="uint" default="17"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Number of Tile Columns" start="37" end="41" type="uint"/>
+ <field name="Media Instruction Command" start="16" end="22" type="uint" default="17"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Number of Tile Rows" start="32" end="36" type="uint"/>
+ <field name="Number of Tile Columns" start="37" end="41" type="uint"/>
<group count="5" start="64" size="32">
<field name="Column Position" start="0" end="31" type="HCP_TILE_POSITION_IN_CTB"/>
</group>
@@ -3309,32 +3309,20 @@
</instruction>
<instruction name="HCP_VP9_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="48"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
- <field name="Frame Height" start="48" end="61" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="48"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width" start="32" end="45" type="uint"/>
- <field name="Segment ID Stream-In Enable" start="95" end="95" type="bool"/>
- <field name="Segment ID Stream-Out Enable" start="94" end="94" type="bool"/>
- <field name="Lossless Mode" start="93" end="93" type="bool"/>
- <field name="Segmentation Temporal Update" start="92" end="92" type="bool"/>
- <field name="Segmentation Update Map" start="91" end="91" type="bool"/>
- <field name="Segmentation Enable" start="90" end="90" type="bool"/>
- <field name="Sharpness Level" start="87" end="89" type="uint"/>
- <field name="Filter Level" start="81" end="86" type="uint"/>
- <field name="Frame Parallel Decoding Mode Enable" start="80" end="80" type="bool"/>
- <field name="Error Resilient Mode Enable" start="79" end="79" type="bool"/>
- <field name="Refresh Frame Context Enable" start="78" end="78" type="bool"/>
- <field name="Last Frame Type" start="77" end="77" type="uint" prefix="VP9">
+ <field name="Frame Height" start="48" end="61" type="uint"/>
+ <field name="Frame Type" start="64" end="64" type="uint" prefix="VP9">
<value name="Key Frame" value="0"/>
- <value name="Non Key Frame" value="1"/>
+ <value name="Inter Frame" value="1"/>
</field>
- <field name="Selectable TX Mode" start="76" end="76" type="uint"/>
- <field name="Hybrid Prediction Mode" start="75" end="75" type="uint"/>
- <field name="Use Prev in Find MV References" start="74" end="74" type="bool"/>
- <field name="Reference Frame Sign Bias" start="71" end="73" type="uint"/>
+ <field name="Adapt Probabilities" start="65" end="65" type="bool"/>
+ <field name="Intra Only" start="66" end="66" type="bool"/>
+ <field name="Allow Hi Precision MV" start="67" end="67" type="bool"/>
<field name="Motion Compensation Filter Type" start="68" end="70" type="uint">
<value name="Eight-tap" value="0"/>
<value name="Eight-tap-Smooth" value="1"/>
@@ -3342,30 +3330,25 @@
<value name="Bilinear" value="3"/>
<value name="Switchable" value="4"/>
</field>
- <field name="Allow Hi Precision MV" start="67" end="67" type="bool"/>
- <field name="Intra Only" start="66" end="66" type="bool"/>
- <field name="Adapt Probabilities" start="65" end="65" type="bool"/>
- <field name="Frame Type" start="64" end="64" type="uint" prefix="VP9">
+ <field name="Reference Frame Sign Bias" start="71" end="73" type="uint"/>
+ <field name="Use Prev in Find MV References" start="74" end="74" type="bool"/>
+ <field name="Hybrid Prediction Mode" start="75" end="75" type="uint"/>
+ <field name="Selectable TX Mode" start="76" end="76" type="uint"/>
+ <field name="Last Frame Type" start="77" end="77" type="uint" prefix="VP9">
<value name="Key Frame" value="0"/>
- <value name="Inter Frame" value="1"/>
- </field>
- <field name="Profile Level" start="124" end="127" type="uint">
- <value name="Profile_0" value="0"/>
- <value name="Profile_2" value="2"/>
- </field>
- <field name="Bit Depth" start="120" end="123" type="uint">
- <value name="8-bit" value="0"/>
- <value name="10-bit" value="2"/>
- <value name="12-bit" value="4"/>
- </field>
- <field name="Chroma Sampling Format" start="118" end="119" type="uint">
- <value name="Format_420" value="0"/>
- </field>
- <field name="Log2 Tile Row" start="104" end="105" type="uint">
- <value name="1 Tile Row" value="0"/>
- <value name="2 Tile Row" value="1"/>
- <value name="4 Tile Row" value="2"/>
+ <value name="Non Key Frame" value="1"/>
</field>
+ <field name="Refresh Frame Context Enable" start="78" end="78" type="bool"/>
+ <field name="Error Resilient Mode Enable" start="79" end="79" type="bool"/>
+ <field name="Frame Parallel Decoding Mode Enable" start="80" end="80" type="bool"/>
+ <field name="Filter Level" start="81" end="86" type="uint"/>
+ <field name="Sharpness Level" start="87" end="89" type="uint"/>
+ <field name="Segmentation Enable" start="90" end="90" type="bool"/>
+ <field name="Segmentation Update Map" start="91" end="91" type="bool"/>
+ <field name="Segmentation Temporal Update" start="92" end="92" type="bool"/>
+ <field name="Lossless Mode" start="93" end="93" type="bool"/>
+ <field name="Segment ID Stream-Out Enable" start="94" end="94" type="bool"/>
+ <field name="Segment ID Stream-In Enable" start="95" end="95" type="bool"/>
<field name="Log2 Tile Column" start="96" end="99" type="uint">
<value name="1 Tile Column" value="0"/>
<value name="2 Tile Column" value="1"/>
@@ -3375,68 +3358,85 @@
<value name="32 Tile Column" value="5"/>
<value name="64 Tile Column" value="6"/>
</field>
- <field name="Horizontal Scale Factor for LAST" start="144" end="159" type="u2.14"/>
+ <field name="Log2 Tile Row" start="104" end="105" type="uint">
+ <value name="1 Tile Row" value="0"/>
+ <value name="2 Tile Row" value="1"/>
+ <value name="4 Tile Row" value="2"/>
+ </field>
+ <field name="Chroma Sampling Format" start="118" end="119" type="uint">
+ <value name="Format_420" value="0"/>
+ </field>
+ <field name="Bit Depth" start="120" end="123" type="uint">
+ <value name="8-bit" value="0"/>
+ <value name="10-bit" value="2"/>
+ <value name="12-bit" value="4"/>
+ </field>
+ <field name="Profile Level" start="124" end="127" type="uint">
+ <value name="Profile_0" value="0"/>
+ <value name="Profile_2" value="2"/>
+ </field>
<field name="Vertical Scale Factor for LAST" start="128" end="143" type="u2.14"/>
- <field name="Horizontal Scale Factor for GOLDEN" start="176" end="191" type="u2.14"/>
+ <field name="Horizontal Scale Factor for LAST" start="144" end="159" type="u2.14"/>
<field name="Vertical Scale Factor for GOLDEN" start="160" end="175" type="u2.14"/>
- <field name="Horizontal Scale Factor for ALTREF" start="208" end="223" type="u2.14"/>
+ <field name="Horizontal Scale Factor for GOLDEN" start="176" end="191" type="u2.14"/>
<field name="Vertical Scale Factor for ALTREF" start="192" end="207" type="u2.14"/>
- <field name="Last Frame Height" start="240" end="253" type="uint"/>
+ <field name="Horizontal Scale Factor for ALTREF" start="208" end="223" type="u2.14"/>
<field name="Last Frame Width" start="224" end="237" type="uint"/>
- <field name="Golden Frame Height" start="272" end="285" type="uint"/>
+ <field name="Last Frame Height" start="240" end="253" type="uint"/>
<field name="Golden Frame Width" start="256" end="269" type="uint"/>
- <field name="Altref Frame Height" start="304" end="317" type="uint"/>
+ <field name="Golden Frame Height" start="272" end="285" type="uint"/>
<field name="Altref Frame Width" start="288" end="301" type="uint"/>
- <field name="First Partition Size" start="336" end="351" type="uint"/>
+ <field name="Altref Frame Height" start="304" end="317" type="uint"/>
<field name="Uncompressed Header Length" start="320" end="327" type="uint"/>
+ <field name="First Partition Size" start="336" end="351" type="uint"/>
<field name="Motion Comp Scaling Enable" start="353" end="353" type="bool"/>
- <field name="Luma AC Q Index Delta" start="432" end="439" type="uint"/>
<field name="Compressed Header BIN count" start="416" end="431" type="uint"/>
- <field name="Luma DC Q Index Delta" start="464" end="468" type="int"/>
- <field name="Chroma DC Q Index Delta" start="456" end="460" type="int"/>
+ <field name="Luma AC Q Index Delta" start="432" end="439" type="uint"/>
<field name="Chroma AC Q Index Delta" start="448" end="452" type="int"/>
- <field name="LF Ref Delta 3" start="504" end="510" type="int"/>
- <field name="LF Ref Delta 2" start="496" end="502" type="int"/>
- <field name="LF Ref Delta 1" start="488" end="494" type="int"/>
+ <field name="Chroma DC Q Index Delta" start="456" end="460" type="int"/>
+ <field name="Luma DC Q Index Delta" start="464" end="468" type="int"/>
<field name="LF Ref Delta 0" start="480" end="486" type="int"/>
- <field name="LF Mode Delta 1" start="520" end="526" type="int"/>
+ <field name="LF Ref Delta 1" start="488" end="494" type="int"/>
+ <field name="LF Ref Delta 2" start="496" end="502" type="int"/>
+ <field name="LF Ref Delta 3" start="504" end="510" type="int"/>
<field name="LF Mode Delta 0" start="512" end="518" type="int"/>
- <field name="Bit Offset for LF Mode Delta" start="560" end="575" type="uint"/>
+ <field name="LF Mode Delta 1" start="520" end="526" type="int"/>
<field name="Bit Offset for LF Ref Delta" start="544" end="559" type="uint"/>
- <field name="Bit Offset for LF Level" start="592" end="607" type="uint"/>
+ <field name="Bit Offset for LF Mode Delta" start="560" end="575" type="uint"/>
<field name="Bit Offset for Q index" start="576" end="591" type="uint"/>
+ <field name="Bit Offset for LF Level" start="592" end="607" type="uint"/>
</instruction>
<instruction name="HCP_VP9_SEGMENT_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="50"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="50"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Segment ID" start="32" end="34" type="uint"/>
- <field name="Segment Reference Enable" start="67" end="67" type="bool"/>
- <field name="Segment Reference" start="65" end="66" type="uint"/>
<field name="Segment Skipped" start="64" end="64" type="bool"/>
- <field name="Filter Level Ref1 Mode 1" start="120" end="125" type="uint"/>
- <field name="Filter Level Ref1 Mode 0" start="112" end="117" type="uint"/>
- <field name="Filter Level Ref0 Mode 1" start="104" end="109" type="uint"/>
+ <field name="Segment Reference" start="65" end="66" type="uint"/>
+ <field name="Segment Reference Enable" start="67" end="67" type="bool"/>
<field name="Filter Level Ref0 Mode 0" start="96" end="101" type="uint"/>
- <field name="Filter Level Ref3 Mode 1" start="152" end="157" type="uint"/>
- <field name="Filter Level Ref3 Mode 0" start="144" end="149" type="uint"/>
- <field name="Filter Level Ref2 Mode 1" start="136" end="141" type="uint"/>
+ <field name="Filter Level Ref0 Mode 1" start="104" end="109" type="uint"/>
+ <field name="Filter Level Ref1 Mode 0" start="112" end="117" type="uint"/>
+ <field name="Filter Level Ref1 Mode 1" start="120" end="125" type="uint"/>
<field name="Filter Level Ref2 Mode 0" start="128" end="133" type="uint"/>
- <field name="Luma AC Quant Scale" start="176" end="190" type="uint"/>
+ <field name="Filter Level Ref2 Mode 1" start="136" end="141" type="uint"/>
+ <field name="Filter Level Ref3 Mode 0" start="144" end="149" type="uint"/>
+ <field name="Filter Level Ref3 Mode 1" start="152" end="157" type="uint"/>
<field name="Luma DC Quant Scale" start="160" end="174" type="uint"/>
- <field name="Chroma AC Quant Scale" start="208" end="222" type="uint"/>
+ <field name="Luma AC Quant Scale" start="176" end="190" type="uint"/>
<field name="Chroma DC Quant Scale" start="192" end="206" type="uint"/>
+ <field name="Chroma AC Quant Scale" start="208" end="222" type="uint"/>
</instruction>
<instruction name="HCP_WEIGHTOFFSET_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="19"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="19"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="16" start="64" size="32">
<field name="Luma Offsets" start="0" end="31" type="HCP_WEIGHTOFFSET_LUMA_ENTRY"/>
@@ -3447,14 +3447,14 @@
</instruction>
<instruction name="HEVC_VP9_RDOQ_STATE" bias="2" length="62" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="60"/>
- <field name="HTQ Performance Fix 0 Disable" start="63" end="63" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HTQ Performance Fix 1 Disable" start="62" end="62" type="bool"/>
+ <field name="HTQ Performance Fix 0 Disable" start="63" end="63" type="bool"/>
<group count="32" start="64" size="32">
<field name="Intra Luma Lambda" start="0" end="31" type="HEVC_VP9_RDOQ_LAMBDA_FIELDS"/>
</group>
@@ -3470,11 +3470,11 @@
</instruction>
<instruction name="HUC_CFG_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="P24C" start="32" end="32" type="uint">
<value name="Normal operation" value="0"/>
<value name="Force reset" value="1"/>
@@ -3482,11 +3482,11 @@
</instruction>
<instruction name="HUC_DMEM_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Data Source - Address" start="32" end="95" type="address"/>
<field name="HUC Data Source - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HUC Data Destination - Address" start="134" end="144" type="address"/>
@@ -3494,20 +3494,20 @@
</instruction>
<instruction name="HUC_IMEM_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Firmware Descriptor" start="128" end="135" type="uint"/>
</instruction>
<instruction name="HUC_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="5"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HUC Indirect Stream-In Object - Address" start="32" end="95" type="address"/>
<field name="HUC Indirect Stream-In Object - Memory Address Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="HUC Indirect Stream-In Object - Access Upper Bound" start="128" end="191" type="address"/>
@@ -3517,149 +3517,149 @@
</instruction>
<instruction name="HUC_PIPE_MODE_SELECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Stream-Out Enable" start="36" end="36" type="bool"/>
<field name="Media Soft-Reset Counter" start="64" end="95" type="uint"/>
</instruction>
<instruction name="HUC_START" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="33"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Last Stream Object" start="32" end="32" type="bool"/>
</instruction>
<instruction name="HUC_STREAM_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="32"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Stream-In Data Length" start="32" end="63" type="uint"/>
- <field name="HUC Processing" start="95" end="95" type="bool"/>
<field name="Indirect Stream-In - Address" start="64" end="92" type="address"/>
+ <field name="HUC Processing" start="95" end="95" type="bool"/>
<field name="Indirect Stream-Out - Address" start="96" end="124" type="address"/>
- <field name="HUC Bitstream Enable" start="157" end="157" type="bool"/>
+ <field name="Start Code Byte [0]" start="128" end="135" type="uint"/>
+ <field name="Start Code Byte [1]" start="136" end="143" type="uint"/>
+ <field name="Start Code Byte [2]" start="144" end="151" type="uint"/>
+ <field name="Start Code Search Engine" start="152" end="152" type="bool"/>
+ <field name="Emulation Prevention Byte Removal" start="153" end="153" type="bool"/>
+ <field name="Stream-Out" start="154" end="154" type="bool"/>
<field name="DRM Length Mode" start="155" end="156" type="uint">
<value name="Start Code Mode" value="0"/>
<value name="Length Mode" value="1"/>
</field>
- <field name="Stream-Out" start="154" end="154" type="bool"/>
- <field name="Emulation Prevention Byte Removal" start="153" end="153" type="bool"/>
- <field name="Start Code Search Engine" start="152" end="152" type="bool"/>
- <field name="Start Code Byte [2]" start="144" end="151" type="uint"/>
- <field name="Start Code Byte [1]" start="136" end="143" type="uint"/>
- <field name="Start Code Byte [0]" start="128" end="135" type="uint"/>
+ <field name="HUC Bitstream Enable" start="157" end="157" type="bool"/>
</instruction>
<instruction name="HUC_VIRTUAL_ADDR_STATE" bias="2" length="49" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
- <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint"/>
+ <field name="SubOpcode" start="16" end="22" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="11"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="96">
<field name="HUC Virtual Address Region" start="0" end="95" type="HUC_VIRTUAL_ADDR_REGION"/>
</group>
</instruction>
<instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
<field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="2"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
<field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
</instruction>
<instruction name="MEDIA_OBJECT" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="4"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
- <field name="Force Destination" start="86" end="86" type="uint"/>
- <field name="Use Scoreboard" start="85" end="85" type="uint">
- <value name="Not using scoreboard" value="0"/>
- <value name="Using scoreboard" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="SubSlice Destination Select" start="81" end="82" type="uint">
+ <value name="Subslice 3" value="3"/>
+ <value name="SubSlice 2" value="2"/>
+ <value name="SubSlice 1" value="1"/>
+ <value name="SubSlice 0" value="0"/>
</field>
<field name="Slice Destination Select" start="83" end="84" type="uint">
<value name="Slice 0" value="0"/>
<value name="Slice 1" value="1"/>
<value name="Slice 2" value="2"/>
</field>
- <field name="SubSlice Destination Select" start="81" end="82" type="uint">
- <value name="Subslice 3" value="3"/>
- <value name="SubSlice 2" value="2"/>
- <value name="SubSlice 1" value="1"/>
- <value name="SubSlice 0" value="0"/>
+ <field name="Use Scoreboard" start="85" end="85" type="uint">
+ <value name="Not using scoreboard" value="0"/>
+ <value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Force Destination" start="86" end="86" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
+ <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoredboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<group count="0" start="192" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_GRPID" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
<field name="DWord Length" start="0" end="15" type="uint" default="5"/>
+ <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Slice Destination Select MSB" start="88" end="88" type="uint"/>
- <field name="End of Thread Group" start="87" end="87" type="uint"/>
- <field name="Force Destination" start="86" end="86" type="uint"/>
- <field name="Use Scoreboard" start="85" end="85" type="uint">
- <value name="Not using scoreboard" value="0"/>
- <value name="Using scoreboard" value="1"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="SubSlice Destination Select" start="81" end="82" type="uint">
+ <value name="Subslice3" value="3"/>
+ <value name="SubSlice 2" value="2"/>
+ <value name="SubSlice 1" value="1"/>
+ <value name="SubSlice 0" value="0"/>
</field>
<field name="Slice Destination Select" start="83" end="84" type="uint">
<value name="Slice 0" value="0"/>
<value name="Slice 1" value="1"/>
<value name="Slice 2" value="2"/>
</field>
- <field name="SubSlice Destination Select" start="81" end="82" type="uint">
- <value name="Subslice3" value="3"/>
- <value name="SubSlice 2" value="2"/>
- <value name="SubSlice 1" value="1"/>
- <value name="SubSlice 0" value="0"/>
+ <field name="Use Scoreboard" start="85" end="85" type="uint">
+ <value name="Not using scoreboard" value="0"/>
+ <value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Force Destination" start="86" end="86" type="uint"/>
+ <field name="End of Thread Group" start="87" end="87" type="uint"/>
+ <field name="Slice Destination Select MSB" start="88" end="88" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="address"/>
- <field name="Scoreboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard X" start="128" end="136" type="uint"/>
- <field name="Scoreboard Color" start="176" end="179" type="uint"/>
+ <field name="Scoreboard Y" start="144" end="152" type="uint"/>
<field name="Scoreboard Mask" start="160" end="167" type="uint"/>
+ <field name="Scoreboard Color" start="176" end="179" type="uint"/>
<field name="GroupID" start="192" end="223" type="uint"/>
<group count="0" start="224" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
@@ -3667,41 +3667,42 @@
</instruction>
<instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="15" type="uint" default="14"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Children Present" start="95" end="95" type="bool"/>
- <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
<field name="PRT_FenceType" start="86" end="86" type="uint">
<value name="Root thread queue" value="0"/>
<value name="VFE state flush" value="1"/>
</field>
+ <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
+ <field name="Children Present" start="95" end="95" type="bool"/>
<group count="12" start="128" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="15" type="uint" default="15"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
- <field name="Thread Synchronization" start="88" end="88" type="uint">
- <value name="No thread synchronization" value="0"/>
- <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
- </field>
- <field name="Masked Dispatch" start="86" end="87" type="uint"/>
+ <field name="Indirect Data Length" start="64" end="80" type="uint"/>
<field name="Use Scoreboard" start="85" end="85" type="uint">
<value name="Not using scoreboard" value="0"/>
<value name="Using scoreboard" value="1"/>
</field>
- <field name="Indirect Data Length" start="64" end="80" type="uint"/>
+ <field name="Masked Dispatch" start="86" end="87" type="uint"/>
+ <field name="Thread Synchronization" start="88" end="88" type="uint">
+ <value name="No thread synchronization" value="0"/>
+ <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
+ </field>
<field name="Indirect Data Start Address" start="96" end="127" type="uint"/>
+ <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
<field name="Group ID Loop Select" start="168" end="191" type="uint">
<value name="No_Groups" value="0"/>
<value name="Color_Groups" value="1"/>
@@ -3710,98 +3711,97 @@
<value name="OuterLocal_Groups" value="4"/>
<value name="InnerGlobal_Groups" value="5"/>
</field>
- <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
- <field name="Color Count Minus One" start="216" end="219" type="uint"/>
- <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
- <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
<field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
- <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
+ <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
+ <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
+ <field name="Color Count Minus One" start="216" end="219" type="uint"/>
<field name="Local Loop Exec Count" start="224" end="235" type="uint"/>
- <field name="Block Resolution Y" start="272" end="282" type="uint"/>
+ <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
<field name="Block Resolution X" start="256" end="266" type="uint"/>
- <field name="Local Start Y" start="304" end="314" type="uint"/>
+ <field name="Block Resolution Y" start="272" end="282" type="uint"/>
<field name="Local Start X" start="288" end="298" type="uint"/>
- <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
+ <field name="Local Start Y" start="304" end="314" type="uint"/>
<field name="Local Outer Loop Stride X" start="352" end="363" type="int"/>
- <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
+ <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
<field name="Local Inner Loop Unit X" start="384" end="395" type="int"/>
- <field name="Global Resolution Y" start="432" end="442" type="uint"/>
+ <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
<field name="Global Resolution X" start="416" end="426" type="uint"/>
- <field name="Global Start Y" start="464" end="475" type="int"/>
+ <field name="Global Resolution Y" start="432" end="442" type="uint"/>
<field name="Global Start X" start="448" end="459" type="int"/>
- <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
+ <field name="Global Start Y" start="464" end="475" type="int"/>
<field name="Global Outer Loop Stride X" start="480" end="491" type="int"/>
- <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
+ <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
<field name="Global Inner Loop Unit X" start="512" end="523" type="int"/>
+ <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
<group count="0" start="544" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
<field name="DWord Length" start="0" end="15" type="uint" default="0"/>
- <field name="Flush to GO" start="39" end="39" type="bool"/>
- <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
+ <field name="Watermark Required" start="38" end="38" type="uint"/>
+ <field name="Flush to GO" start="39" end="39" type="bool"/>
</instruction>
<instruction name="MEDIA_VFE_STATE" bias="2" length="9" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="15" type="uint" default="7"/>
- <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
- <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
- <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
- <field name="Number of URB Entries" start="104" end="111" type="uint"/>
+ <field name="Stack Size" start="36" end="39" type="uint"/>
+ <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
<field name="Reset Gateway Timer" start="103" end="103" type="uint">
<value name="Maintaining the existing timestamp state" value="0"/>
<value name="Resetting relative timer and latching the global timestamp" value="1"/>
</field>
+ <field name="Number of URB Entries" start="104" end="111" type="uint"/>
+ <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
<field name="Slice Disable" start="128" end="129" type="uint">
<value name="All Subslices Enabled" value="0"/>
<value name="Only Slice 0 Enabled" value="1"/>
<value name="Only Slice 0 Subslice 0 Enabled" value="3"/>
</field>
- <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
<field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
- <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
+ <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
+ <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
<field name="Scoreboard Type" start="222" end="222" type="uint">
<value name="Stalling Scoreboard" value="0"/>
<value name="Non-Stalling Scoreboard" value="1"/>
</field>
- <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
- <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
- <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
- <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
- <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
- <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
- <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
- <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
<field name="Scoreboard 0 Delta X" start="224" end="227" type="int"/>
- <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
- <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
- <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
- <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
- <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
- <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
- <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
+ <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
+ <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
+ <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
+ <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
+ <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
+ <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
+ <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
<field name="Scoreboard 4 Delta X" start="256" end="259" type="int"/>
+ <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
+ <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
+ <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
+ <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
+ <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
+ <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
+ <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
</instruction>
<instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="12" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="10"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<group count="8" start="96" size="32">
@@ -3813,164 +3813,164 @@
</instruction>
<instruction name="MFC_JPEG_HUFF_TABLE_STATE" bias="2" length="176" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="174"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huff Table ID" start="32" end="32" type="uint"/>
<field name="DC_TABLE" start="64" end="447" type="uint"/>
<field name="AC_TABLE" start="448" end="5631" type="uint"/>
</instruction>
<instruction name="MFC_JPEG_SCAN_OBJECT" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MCU Count" start="32" end="57" type="uint"/>
- <field name="Huffman AC Table" start="86" end="88" type="uint"/>
- <field name="Huffman DC Table" start="82" end="84" type="uint"/>
- <field name="Head Present" start="81" end="81" type="bool"/>
- <field name="Last Scan" start="80" end="80" type="bool"/>
<field name="Restart Interval" start="64" end="79" type="uint"/>
+ <field name="Last Scan" start="80" end="80" type="bool"/>
+ <field name="Head Present" start="81" end="81" type="bool"/>
+ <field name="Huffman DC Table" start="82" end="84" type="uint"/>
+ <field name="Huffman AC Table" start="86" end="88" type="uint"/>
</instruction>
<instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="7"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="8" start="32" size="32">
<field name="Inline Data" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
- <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
- <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Stream ID" start="32" end="33" type="uint"/>
+ <field name="Slice ID" start="36" end="39" type="uint"/>
+ <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
+ <field name="Intra Slice" start="45" end="45" type="bool"/>
+ <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
+ <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
+ <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
+ <field name="Header Insertion Present" start="49" end="49" type="bool"/>
+ <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
+ <field name="Last Slice" start="51" end="51" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
+ <field name="Rate Control Panic Type" start="54" end="54" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
<field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
- <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
- <field name="Rate Control Panic Type" start="54" end="54" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
- <field name="Last Slice" start="51" end="51" type="bool"/>
- <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
- <field name="Header Insertion Present" start="49" end="49" type="bool"/>
- <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
- <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
- <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
- <field name="Intra Slice" start="45" end="45" type="bool"/>
- <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
- <field name="Slice ID" start="36" end="39" type="uint"/>
- <field name="Stream ID" start="32" end="33" type="uint"/>
- <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
- <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
- <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
+ <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
<field name="First MB X Count" start="64" end="71" type="uint"/>
- <field name="Slice Group Skip" start="104" end="104" type="bool"/>
+ <field name="First MB Y Count" start="72" end="79" type="uint"/>
+ <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
+ <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
<field name="Slice Group QP" start="96" end="101" type="uint"/>
+ <field name="Slice Group Skip" start="104" end="104" type="bool"/>
<field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
- <field name="Shrink Resistance" start="172" end="175" type="uint"/>
- <field name="Shrink Init" start="168" end="171" type="uint"/>
- <field name="Grow Resistance" start="164" end="167" type="uint"/>
<field name="Grow Init" start="160" end="163" type="uint"/>
- <field name="Correct 6" start="212" end="215" type="uint"/>
- <field name="Correct 5" start="208" end="211" type="uint"/>
- <field name="Correct 4" start="204" end="207" type="uint"/>
- <field name="Correct 3" start="200" end="203" type="uint"/>
- <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Grow Resistance" start="164" end="167" type="uint"/>
+ <field name="Shrink Init" start="168" end="171" type="uint"/>
+ <field name="Shrink Resistance" start="172" end="175" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
<field name="Correct 1" start="192" end="195" type="uint"/>
- <field name="CV7" start="252" end="255" type="uint"/>
- <field name="CV6" start="248" end="251" type="uint"/>
- <field name="CV5" start="244" end="247" type="uint"/>
- <field name="CV4" start="240" end="243" type="uint"/>
- <field name="CV3" start="236" end="239" type="uint"/>
- <field name="CV2" start="232" end="235" type="uint"/>
- <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="Correct 2" start="196" end="199" type="uint"/>
+ <field name="Correct 3" start="200" end="203" type="uint"/>
+ <field name="Correct 4" start="204" end="207" type="uint"/>
+ <field name="Correct 5" start="208" end="211" type="uint"/>
+ <field name="Correct 6" start="212" end="215" type="uint"/>
<field name="CV0" start="224" end="227" type="uint"/>
+ <field name="CV1" start="228" end="231" type="uint"/>
+ <field name="CV2" start="232" end="235" type="uint"/>
+ <field name="CV3" start="236" end="239" type="uint"/>
+ <field name="CV4" start="240" end="243" type="uint"/>
+ <field name="CV5" start="244" end="247" type="uint"/>
+ <field name="CV6" start="248" end="251" type="uint"/>
+ <field name="CV7" start="252" end="255" type="uint"/>
</instruction>
<instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
<field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
</instruction>
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="9"/>
- <group count="16" start="48" size="1">
- <field name="Long Term Frame" start="0" end="0" type="uint"/>
- </group>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="1">
- <field name="Non-Existing Frame" start="0" end="0" type="uint">
- <value name="INVALID" value="1"/>
- <value name="VALID" value="0"/>
- </field>
+ <field name="Non-Existing Frame" start="0" end="0" type="uint">
+ <value name="INVALID" value="1"/>
+ <value name="VALID" value="0"/>
+ </field>
+ </group>
+ <group count="16" start="48" size="1">
+ <field name="Long Term Frame" start="0" end="0" type="uint"/>
</group>
<group count="16" start="64" size="2">
- <field name="Used for Reference" start="0" end="1" type="uint">
- <value name="NOT_REFERENCE" value="0"/>
- <value name="TOP_FIELD" value="1"/>
- <value name="BOTTOM_FIELD" value="2"/>
- <value name="FRAME" value="3"/>
- </field>
+ <field name="Used for Reference" start="0" end="1" type="uint">
+ <value name="NOT_REFERENCE" value="0"/>
+ <value name="TOP_FIELD" value="1"/>
+ <value name="BOTTOM_FIELD" value="2"/>
+ <value name="FRAME" value="3"/>
+ </field>
</group>
<group count="16" start="96" size="16">
- <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
- <value name="Long Term Frame" value="1"/>
- <value name="Short Term Frame" value="0"/>
- </field>
+ <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
+ <value name="Long Term Frame" value="1"/>
+ <value name="Short Term Frame" value="0"/>
+ </field>
</group>
<group count="16" start="352" size="16">
- <field name="View ID" start="0" end="15" type="uint"/>
+ <field name="View ID" start="0" end="15" type="uint"/>
</group>
<group count="16" start="608" size="8">
- <field name="L0 View Order" start="0" end="7" type="uint"/>
+ <field name="L0 View Order" start="0" end="7" type="uint"/>
</group>
<group count="16" start="736" size="8">
- <field name="L1 View Order" start="0" end="7" type="uint"/>
+ <field name="L1 View Order" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFD_AVC_PICID_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="PictureID Remapping Disable" start="32" end="32" type="uint">
<value name="Use 16 bits Picture ID" value="0"/>
<value name="Use 4 bits FrameStoreID" value="1"/>
@@ -3981,23 +3981,23 @@
</instruction>
<instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
</instruction>
<instruction name="MFD_IT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="6"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
<field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
@@ -4010,204 +4010,204 @@
</instruction>
<instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect Data Length" start="32" end="63" type="uint"/>
<field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
- <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="Scan Vertical Position" start="96" end="108" type="uint"/>
- <field name="Interleaved" start="158" end="158" type="bool"/>
- <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
<field name="MCU Count" start="128" end="153" type="uint"/>
+ <field name="Scan Components" start="155" end="157" type="uint"/>
+ <field name="Interleaved" start="158" end="158" type="bool"/>
<field name="Restart Interval" start="160" end="175" type="uint"/>
</instruction>
<instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
</instruction>
<instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
<field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
- <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
- <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
- <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
<field name="First MB Bit Offset" start="128" end="130" type="uint"/>
+ <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
+ <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
</instruction>
<instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width In MBs" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
- <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
- <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
- <field name="Sync Marker" start="76" end="76" type="bool"/>
- <field name="MV Mode" start="72" end="75" type="uint"/>
- <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
- <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
- <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
- <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
<field name="VC1 Profile" start="64" end="64" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="CONDOVER" start="125" end="126" type="uint"/>
- <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
+ <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
+ <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
+ <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
+ <field name="MV Mode" start="72" end="75" type="uint"/>
+ <field name="Sync Marker" start="76" end="76" type="bool"/>
+ <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
+ <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="B Scale Factor" start="96" end="103" type="uint"/>
+ <field name="PQ Value" start="104" end="108" type="uint"/>
+ <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
<field name="Frame Coding Mode" start="120" end="121" type="uint">
<value name="Progressive Frame Picture" value="0"/>
<value name="Interlaced Frame Picture" value="1"/>
<value name="Field Picture with Top Field First" value="2"/>
<value name="Field Picture with Bottom Field First" value="3"/>
</field>
- <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
- <field name="PQ Value" start="104" end="108" type="uint"/>
- <field name="B Scale Factor" start="96" end="103" type="uint"/>
- <field name="Unified MV Mode" start="156" end="157" type="uint">
- <value name="1-MV half-pel bilinear" value="3"/>
- <value name="1-MV" value="1"/>
- <value name="1-MV half-pel" value="2"/>
- <value name="Mixed MV" value="0"/>
+ <field name="Picure Type" start="122" end="124" type="uint"/>
+ <field name="CONDOVER" start="125" end="126" type="uint"/>
+ <field name="PQ Uniform" start="128" end="128" type="bool"/>
+ <field name="Half QP" start="129" end="129" type="bool"/>
+ <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
+ <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
+ <field name="Extended MV Range" start="136" end="137" type="uint"/>
+ <field name="Extended DMV Range" start="138" end="139" type="uint"/>
+ <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
+ <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
+ <field name="Number of References" start="152" end="152" type="uint">
+ <value name="One field referenced" value="0"/>
+ <value name="Two fields referenced" value="1"/>
</field>
- <field name="Four MV Switch" start="155" end="155" type="uint">
- <value name="Only 1-MV" value="0"/>
- <value name="1, 2, or 4 MVs" value="1"/>
+ <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
+ <value name="Top (even) Field" value="0"/>
+ <value name="Bottom (odd) Field" value="1"/>
</field>
<field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
- <value name="Top (even) Field" value="0"/>
- <value name="Bottom (odd) Field" value="1"/>
+ <field name="Four MV Switch" start="155" end="155" type="uint">
+ <value name="Only 1-MV" value="0"/>
+ <value name="1, 2, or 4 MVs" value="1"/>
</field>
- <field name="Number of References" start="152" end="152" type="uint">
- <value name="One field referenced" value="0"/>
- <value name="Two fields referenced" value="1"/>
+ <field name="Unified MV Mode" start="156" end="157" type="uint">
+ <value name="1-MV half-pel bilinear" value="3"/>
+ <value name="1-MV" value="1"/>
+ <value name="1-MV half-pel" value="2"/>
+ <value name="Mixed MV" value="0"/>
</field>
- <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
- <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
- <field name="Extended DMV Range" start="138" end="139" type="uint"/>
- <field name="Extended MV Range" start="136" end="137" type="uint"/>
- <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
- <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
- <field name="Half QP" start="129" end="129" type="bool"/>
- <field name="PQ Uniform" start="128" end="128" type="bool"/>
- <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
- <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
- <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
- <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
- <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
- <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
- <field name="ACPRED Raw" start="185" end="185" type="bool"/>
- <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
- <field name="MV Table" start="180" end="182" type="uint"/>
- <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
- <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
+ <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
+ <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
+ <field name="MB Mode Table" start="168" end="170" type="uint"/>
+ <field name="MB Transform Type" start="171" end="171" type="bool"/>
<field name="Picture-level Transform Type" start="172" end="173" type="uint">
<value name="8x8 Transform" value="0"/>
<value name="8x4 Transform" value="1"/>
<value name="4x8 Transform" value="2"/>
<value name="4x4 Transform" value="3"/>
</field>
- <field name="MB Transform Type" start="171" end="171" type="bool"/>
- <field name="MB Mode Table" start="168" end="170" type="uint"/>
- <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
- <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
- <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
- <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
+ <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
+ <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
+ <field name="MV Table" start="180" end="182" type="uint"/>
+ <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
+ <field name="ACPRED Raw" start="185" end="185" type="bool"/>
+ <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
+ <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
+ <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
+ <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
+ <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
+ <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
</instruction>
<instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Picture Width" start="32" end="39" type="uint"/>
- <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
- <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
- <field name="MV Mode" start="80" end="83" type="uint"/>
- <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="Picture Height" start="48" end="55" type="uint"/>
+ <field name="Picture Structure" start="64" end="65" type="uint"/>
+ <field name="Second Field" start="67" end="67" type="bool"/>
+ <field name="Intra Picture" start="68" end="68" type="bool"/>
+ <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
<field name="VC1 Profile" start="75" end="75" type="uint">
<value name="Simple/Main Profile" value="0"/>
<value name="Advanced Profile" value="1"/>
</field>
- <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
- <field name="Intra Picture" start="68" end="68" type="bool"/>
- <field name="Second Field" start="67" end="67" type="bool"/>
- <field name="Picture Structure" start="64" end="65" type="uint"/>
- <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
- <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
- <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
- <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
- <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
- <field name="QUANTIZER" start="110" end="111" type="uint"/>
- <field name="MULTIRES Present" start="109" end="109" type="bool"/>
- <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
- <field name="RANGERED Present" start="107" end="107" type="bool"/>
- <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
- <field name="PANSCAN Present" start="103" end="103" type="bool"/>
- <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
- <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
+ <field name="MV Mode" start="80" end="83" type="uint"/>
+ <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
+ <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
+ <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
+ <field name="DQUANT" start="97" end="98" type="uint"/>
+ <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
<field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
<value name="No Rounding" value="0"/>
<value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
</field>
- <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
- <field name="DQUANT" start="97" end="98" type="uint"/>
- <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
- <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
- <field name="4-MV Allowed" start="136" end="136" type="bool"/>
- <field name="POSTPROC" start="135" end="135" type="bool"/>
- <field name="PULLDOWN" start="134" end="134" type="bool"/>
- <field name="INTERLACE" start="133" end="133" type="bool"/>
- <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
- <field name="FINTERFLAG" start="131" end="131" type="bool"/>
- <field name="REFPIC" start="130" end="130" type="bool"/>
- <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
+ <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
+ <field name="PANSCAN Present" start="103" end="103" type="bool"/>
+ <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
+ <field name="RANGERED Present" start="107" end="107" type="bool"/>
+ <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
+ <field name="MULTIRES Present" start="109" end="109" type="bool"/>
+ <field name="QUANTIZER" start="110" end="111" type="uint"/>
+ <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
+ <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
+ <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
+ <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
+ <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
<field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
+ <field name="PSF" start="129" end="129" type="bool"/>
+ <field name="REFPIC" start="130" end="130" type="bool"/>
+ <field name="FINTERFLAG" start="131" end="131" type="bool"/>
+ <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
+ <field name="INTERLACE" start="133" end="133" type="bool"/>
+ <field name="PULLDOWN" start="134" end="134" type="bool"/>
+ <field name="POSTPROC" start="135" end="135" type="bool"/>
+ <field name="4-MV Allowed" start="136" end="136" type="bool"/>
+ <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
</instruction>
<instruction name="MFD_VP8_BSD_OBJECT" bias="2" length="22" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="20"/>
- <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
- <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
- <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Partition0 First MB Bit Offset from Frame Header" start="32" end="34" type="uint"/>
+ <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
+ <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
<field name="Partition0 CPBAC Entropy Value" start="88" end="95" type="uint"/>
<field name="Indirect Partition0 Data Length" start="96" end="119" type="uint"/>
<field name="Indirect Partition0 Data Start Offset" start="128" end="159" type="uint"/>
@@ -4227,24 +4227,24 @@
<field name="Indirect Partition7 Data Start Offset" start="576" end="607" type="uint"/>
<field name="Indirect Partition8 Data Length" start="608" end="631" type="uint"/>
<field name="Indirect Partition8 Data Start Offset" start="640" end="671" type="uint"/>
+ <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
+ <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
+ <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
+ <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
+ <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
<field name="Concealment Method" start="703" end="703" type="uint">
<value name="Intra 16x16 Prediction" value="0"/>
<value name="Inter P Copy" value="1"/>
</field>
- <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
- <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
- <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
- <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
- <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
</instruction>
<instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="71" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="69"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<group count="16" start="32" size="64">
<field name="Direct MV Buffer - Address" start="0" end="63" type="address"/>
</group>
@@ -4257,125 +4257,125 @@
</instruction>
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="12"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Size" start="32" end="47" type="uint"/>
- <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Frame Width" start="64" end="71" type="uint"/>
- <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
- <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
- <field name="Rho Domain Rate Control Enable" start="109" end="109" type="bool"/>
- <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
- <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
- <value name="DEFAULT" value="0"/>
- <value name="EXPLICIT" value="1"/>
- <value name="IMPLICIT" value="2"/>
- </field>
+ <field name="Frame Height" start="80" end="87" type="uint"/>
<field name="Image Structure" start="104" end="105" type="uint">
<value name="Frame Picture" value="0"/>
<value name="Top Field Picture" value="1"/>
<value name="Bottom Field Picture" value="3"/>
<value name="Invalid, not allowed." value="2"/>
</field>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="MB Status Read" start="143" end="143" type="bool"/>
- <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
- <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
+ <value name="DEFAULT" value="0"/>
+ <value name="EXPLICIT" value="1"/>
+ <value name="IMPLICIT" value="2"/>
+ </field>
+ <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
+ <field name="Rho Domain Rate Control Enable" start="109" end="109" type="bool"/>
+ <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
+ <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
+ <field name="Field Picure" start="128" end="128" type="bool"/>
+ <field name="MBAFF Mode" start="129" end="129" type="bool"/>
+ <field name="Frame MB Only" start="130" end="130" type="bool"/>
+ <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
+ <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
+ <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
+ <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
+ <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
+ <field name="MB MV Format" start="136" end="136" type="uint">
+ <value name="IGNORE" value="0"/>
+ <value name="FOLLOW" value="1"/>
+ </field>
<field name="Chroma Format IDC" start="138" end="139" type="uint">
<value name="Monochrome picture" value="0"/>
<value name="4:2:0 picture" value="1"/>
<value name="4:2:2 picture (not supported)" value="2"/>
<value name="4:4:4 picture (not supported)" value="3"/>
</field>
- <field name="MB MV Format" start="136" end="136" type="uint">
- <value name="IGNORE" value="0"/>
- <value name="FOLLOW" value="1"/>
- </field>
- <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
- <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
- <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
- <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
- <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
- <field name="Frame MB Only" start="130" end="130" type="bool"/>
- <field name="MBAFF Mode" start="129" end="129" type="bool"/>
- <field name="Field Picure" start="128" end="128" type="bool"/>
- <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
- <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
- <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
- <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
+ <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
+ <field name="MB Status Read" start="143" end="143" type="bool"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
+ <field name="Force IPCM Control" start="167" end="167" type="bool"/>
+ <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="AVC_MFSU">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
- <field name="Force IPCM Control" start="167" end="167" type="bool"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Non First Pass" start="176" end="176" type="uint"/>
+ <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
+ <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
+ <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
<value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
- <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
- <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
- <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
- <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
<field name="Initial QP Value" start="416" end="423" type="int"/>
- <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
- <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
- <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
- <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
- <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
- <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
- <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
- <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
+ <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
+ <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
+ <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
<field name="Pic Order Present" start="448" end="448" type="bool"/>
- <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
+ <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
+ <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
+ <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
+ <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
+ <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
+ <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
+ <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
+ <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
<field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
- <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
- <field name="Max View IDXL1" start="530" end="533" type="uint"/>
- <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
<field name="Current Frame View ID" start="512" end="521" type="uint"/>
+ <field name="Max View IDXL0" start="524" end="527" type="uint"/>
+ <field name="Max View IDXL1" start="530" end="533" type="uint"/>
+ <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
<field name="Rho Domain Average MB QP" start="560" end="565" type="uint"/>
<field name="Threshold Size" start="608" end="639" type="uint"/>
<field name="Target Slice Size" start="640" end="671" type="uint"/>
</instruction>
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Picture List Select" start="32" end="32" type="uint"/>
<group count="32" start="64" size="8">
<field name="Reference List Entry" start="0" end="7" type="uint"/>
@@ -4383,68 +4383,73 @@
</instruction>
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Slice Type" start="32" end="35" type="uint" prefix="AVC_ST">
<value name="P Slice" value="0"/>
<value name="B Slice" value="1"/>
<value name="I Slice" value="2"/>
</field>
- <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
- <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
- <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
<field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
- <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
+ <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
+ <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
+ <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
+ <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
+ <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
+ <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
+ <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
<field name="Direct Prediction Type" start="125" end="125" type="uint">
<value name="Temporal" value="0"/>
<value name="Spatial" value="1"/>
</field>
- <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
- <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
- <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
- <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
- <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
- <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
- <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
<field name="Slice Start MB Number" start="128" end="142" type="uint"/>
- <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
+ <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
<field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
- <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
- <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
+ <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Slice ID" start="196" end="199" type="uint"/>
+ <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
+ <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
+ <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
+ <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
+ <field name="Header Insertion Present" start="209" end="209" type="bool"/>
+ <field name="Last Slice Group" start="211" end="211" type="bool"/>
+ <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
+ <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
+ <field name="Rate Control Panic Type" start="214" end="214" type="uint">
+ <value name="QP Panic" value="0"/>
+ <value name="CBP Panic" value="1"/>
+ </field>
+ <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
+ <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
<field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
<value name="Always Rate Control" value="0"/>
<value name="Gentle Rate Control" value="1"/>
<value name="Loose Rate Control" value="2"/>
</field>
- <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
- <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
- <field name="Rate Control Panic Type" start="214" end="214" type="uint">
- <value name="QP Panic" value="0"/>
- <value name="CBP Panic" value="1"/>
- </field>
- <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
- <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
- <field name="Last Slice Group" start="211" end="211" type="bool"/>
- <field name="Header Insertion Present" start="209" end="209" type="bool"/>
- <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
- <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
- <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
- <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
- <field name="Slice ID" start="196" end="199" type="uint"/>
- <field name="Stream ID" start="192" end="193" type="uint"/>
+ <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
+ <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
<field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
- <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
- <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
- <field name="Shrink Resistance" start="268" end="271" type="uint"/>
- <field name="Shrink Init" start="264" end="267" type="uint"/>
- <field name="Grow Resistance" start="260" end="263" type="uint"/>
<field name="Grow Init" start="256" end="259" type="uint"/>
- <field name="Round Inter Enable" start="319" end="319" type="bool"/>
- <field name="Round Inter" start="316" end="318" type="uint">
+ <field name="Grow Resistance" start="260" end="263" type="uint"/>
+ <field name="Shrink Init" start="264" end="267" type="uint"/>
+ <field name="Shrink Resistance" start="268" end="271" type="uint"/>
+ <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
+ <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
+ <field name="Correct 1" start="288" end="291" type="uint"/>
+ <field name="Correct 2" start="292" end="295" type="uint"/>
+ <field name="Correct 3" start="296" end="299" type="uint"/>
+ <field name="Correct 4" start="300" end="303" type="uint"/>
+ <field name="Correct 5" start="304" end="307" type="uint"/>
+ <field name="Correct 6" start="308" end="311" type="uint"/>
+ <field name="Round Intra" start="312" end="314" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -4455,7 +4460,7 @@
<value name="+8/16" value="7"/>
</field>
<field name="Round Intra Enable" start="315" end="315" type="bool"/>
- <field name="Round Intra" start="312" end="314" type="uint">
+ <field name="Round Inter" start="316" end="318" type="uint">
<value name="+1/16" value="0"/>
<value name="+2/16" value="1"/>
<value name="+3/16" value="2"/>
@@ -4465,29 +4470,24 @@
<value name="+7/16" value="6"/>
<value name="+8/16" value="7"/>
</field>
- <field name="Correct 6" start="308" end="311" type="uint"/>
- <field name="Correct 5" start="304" end="307" type="uint"/>
- <field name="Correct 4" start="300" end="303" type="uint"/>
- <field name="Correct 3" start="296" end="299" type="uint"/>
- <field name="Correct 2" start="292" end="295" type="uint"/>
- <field name="Correct 1" start="288" end="291" type="uint"/>
- <field name="CV7" start="348" end="351" type="uint"/>
- <field name="CV6" start="344" end="347" type="uint"/>
- <field name="CV5" start="340" end="343" type="uint"/>
- <field name="CV4" start="336" end="339" type="uint"/>
- <field name="CV3" start="332" end="335" type="uint"/>
- <field name="CV2" start="328" end="331" type="uint"/>
- <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="Round Inter Enable" start="319" end="319" type="bool"/>
<field name="CV0" start="320" end="323" type="uint"/>
+ <field name="CV1" start="324" end="327" type="uint"/>
+ <field name="CV2" start="328" end="331" type="uint"/>
+ <field name="CV3" start="332" end="335" type="uint"/>
+ <field name="CV4" start="336" end="339" type="uint"/>
+ <field name="CV5" start="340" end="343" type="uint"/>
+ <field name="CV6" start="344" end="347" type="uint"/>
+ <field name="CV7" start="348" end="351" type="uint"/>
</instruction>
<instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="96"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Weight and Offset Select" start="32" end="32" type="uint">
<value name="L0 table" value="0"/>
<value name="L1 table" value="1"/>
@@ -4498,12 +4498,12 @@
</instruction>
<instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="10" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="8"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="79" type="address"/>
<field name="BSD/MPC Row Store Scratch Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="MPR Row Store Scratch Buffer - Address" start="134" end="175" type="address"/>
@@ -4513,81 +4513,81 @@
</instruction>
<instruction name="MFX_DBK_OBJECT" bias="2" length="13" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
<field name="DWord Length" start="0" end="11" type="uint" default="11"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Source - Address" start="38" end="79" type="address"/>
- <field name="Pre Deblocking Source - Tiled Resource Mode" start="109" end="110" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Pre Deblocking Source - Memory Compression Mode" start="106" end="106" type="uint"/>
- <field name="Pre Deblocking Source - Memory Compression Enable" start="105" end="105" type="bool"/>
+ <field name="Pre Deblocking Source - MOCS" start="97" end="102" type="uint"/>
<field name="Pre Deblocking Source - Arbitration Priority Control" start="103" end="104" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Pre Deblocking Source - MOCS" start="97" end="102" type="uint"/>
- <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
- <field name="Deblocking Control - Tiled Resource Mode" start="205" end="206" type="uint">
+ <field name="Pre Deblocking Source - Memory Compression Enable" start="105" end="105" type="bool"/>
+ <field name="Pre Deblocking Source - Memory Compression Mode" start="106" end="106" type="uint"/>
+ <field name="Pre Deblocking Source - Tiled Resource Mode" start="109" end="110" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblocking Control - Memory Compression Mode" start="202" end="202" type="uint"/>
- <field name="Deblocking Control - Memory Compression Enable" start="201" end="201" type="bool"/>
+ <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
+ <field name="Deblocking Control - MOCS" start="193" end="198" type="uint"/>
<field name="Deblocking Control - Arbitration Priority Control" start="199" end="200" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Control - MOCS" start="193" end="198" type="uint"/>
- <field name="Deblocking Destination - Address High" start="230" end="271" type="address"/>
- <field name="Deblocking Destination - Tiled Resource Mode" start="301" end="302" type="uint">
+ <field name="Deblocking Control - Memory Compression Enable" start="201" end="201" type="bool"/>
+ <field name="Deblocking Control - Memory Compression Mode" start="202" end="202" type="uint"/>
+ <field name="Deblocking Control - Tiled Resource Mode" start="205" end="206" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblocking Destination - Memory Compression Mode" start="298" end="298" type="uint"/>
- <field name="Deblocking Destination - Memory Compression Enable" start="297" end="297" type="bool"/>
+ <field name="Deblocking Destination - Address High" start="230" end="271" type="address"/>
+ <field name="Deblocking Destination - MOCS" start="289" end="294" type="uint"/>
<field name="Deblocking Destination - Arbitration Priority Control" start="295" end="296" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="Deblocking Destination - MOCS" start="289" end="294" type="uint"/>
- <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
- <field name="Deblock Row Store - Tiled Resource Mode" start="397" end="398" type="uint">
+ <field name="Deblocking Destination - Memory Compression Enable" start="297" end="297" type="bool"/>
+ <field name="Deblocking Destination - Memory Compression Mode" start="298" end="298" type="uint"/>
+ <field name="Deblocking Destination - Tiled Resource Mode" start="301" end="302" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Deblock Row Store - Memory Compression Mode" start="394" end="394" type="uint"/>
- <field name="Deblock Row Store - Memory Compression Enable" start="393" end="393" type="bool"/>
+ <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
+ <field name="CoeffProbability Stream-In - MOCS" start="385" end="390" type="uint"/>
<field name="Deblock Row Store - Arbitration Priority Control" start="391" end="392" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - MOCS" start="385" end="390" type="uint"/>
+ <field name="Deblock Row Store - Memory Compression Enable" start="393" end="393" type="bool"/>
+ <field name="Deblock Row Store - Memory Compression Mode" start="394" end="394" type="uint"/>
+ <field name="Deblock Row Store - Tiled Resource Mode" start="397" end="398" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</instruction>
<instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -4609,12 +4609,12 @@
</instruction>
<instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="26" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="24"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MFX Indirect Bitstream Object - Address" start="32" end="95" type="address"/>
<field name="MFX Indirect Bitstream Object - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="MFX Indirect Bitstream Object - Upper Bound" start="128" end="191" type="address"/>
@@ -4633,46 +4633,46 @@
</instruction>
<instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="829"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Huffman Table ID" start="32" end="32" type="uint"/>
<group count="12" start="64" size="8">
- <field name="DC_BITS" start="0" end="7" type="uint"/>
+ <field name="DC_BITS" start="0" end="7" type="uint"/>
</group>
<group count="12" start="160" size="8">
- <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="16" start="256" size="8">
- <field name="AC_BITS" start="0" end="15" type="uint"/>
+ <field name="AC_BITS" start="0" end="15" type="uint"/>
</group>
<group count="160" start="384" size="8">
- <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
</group>
<group count="2" start="1664" size="8">
- <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
+ <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
</group>
</instruction>
<instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
- <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
- <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
- <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
- <field name="Average Down Sampling" start="48" end="48" type="uint"/>
- <field name="Output Format YUV" start="40" end="43" type="uint"/>
- <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Input Format YUV" start="32" end="34" type="uint"/>
- <field name="Pixels In Horizontal Last MCU" start="58" end="62" type="uint"/>
- <field name="Pixels In Vertical Last MCU" start="53" end="57" type="uint"/>
+ <field name="Output MCU Structure" start="32" end="34" type="uint" prefix="MCU">
+ <value name="YUV400" value="0"/>
+ <value name="YUV420" value="1"/>
+ <value name="YUV422H_2Y" value="2"/>
+ <value name="RGB" value="3"/>
+ </field>
+ <field name="Rotation" start="36" end="37" type="uint"/>
+ <field name="Output Format YUV" start="40" end="43" type="uint"/>
<field name="Input Surface Format YUV" start="40" end="43" type="uint" prefix="IS">
<value name="NV12" value="1"/>
<value name="UYVY" value="2"/>
@@ -4680,56 +4680,58 @@
<value name="Y8" value="4"/>
<value name="RGB" value="5"/>
</field>
- <field name="Output MCU Structure" start="32" end="34" type="uint" prefix="MCU">
- <value name="YUV400" value="0"/>
- <value name="YUV420" value="1"/>
- <value name="YUV422H_2Y" value="2"/>
- <value name="RGB" value="3"/>
- </field>
- <field name="Output Pixel Normalize" start="93" end="93" type="uint"/>
- <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Average Down Sampling" start="48" end="48" type="uint"/>
+ <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
+ <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
+ <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
+ <field name="Pixels In Vertical Last MCU" start="53" end="57" type="uint"/>
+ <field name="Pixels In Horizontal Last MCU" start="58" end="62" type="uint"/>
<field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
<field name="Rounding Quant" start="77" end="79" type="uint"/>
+ <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
+ <field name="Output Pixel Normalize" start="93" end="93" type="uint"/>
</instruction>
<instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="F_code[1][1]" start="60" end="63" type="uint"/>
- <field name="F_code[1][0]" start="56" end="59" type="uint"/>
- <field name="F_code[0][1]" start="52" end="55" type="uint"/>
- <field name="F_code[0][0]" start="48" end="51" type="uint"/>
- <field name="Intra DC Precision" start="46" end="47" type="uint"/>
- <field name="Picture Structure" start="44" end="45" type="uint">
- <value name="MPEG_TOP_FIELD" value="1"/>
- <value name="MPEG_BOTTOM_FIELD" value="2"/>
- <value name="MPEG_FRAME" value="3"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Scan Order" start="38" end="38" type="uint">
+ <value name="MPEG_ZIGZAG_SCAN" value="0"/>
+ <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
</field>
- <field name="Top Field First" start="43" end="43" type="bool"/>
- <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
- <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Intra VLC Format" start="39" end="39" type="uint"/>
<field name="Quantizer Scale Type" start="40" end="40" type="uint">
<value name="MPEG_QSCALE_LINEAR" value="0"/>
<value name="MPEG_QSCALE_NONLINEAR" value="1"/>
</field>
- <field name="Intra VLC Format" start="39" end="39" type="uint"/>
- <field name="Scan Order" start="38" end="38" type="uint">
- <value name="MPEG_ZIGZAG_SCAN" value="0"/>
- <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
+ <field name="Concealment MV" start="41" end="41" type="bool"/>
+ <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
+ <field name="Top Field First" start="43" end="43" type="bool"/>
+ <field name="Picture Structure" start="44" end="45" type="uint">
+ <value name="MPEG_TOP_FIELD" value="1"/>
+ <value name="MPEG_BOTTOM_FIELD" value="2"/>
+ <value name="MPEG_FRAME" value="3"/>
</field>
- <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
- <value name="Intra Concealment" value="0"/>
- <value name="Inter Concealment" value="1"/>
+ <field name="Intra DC Precision" start="46" end="47" type="uint"/>
+ <field name="F_code[0][0]" start="48" end="51" type="uint"/>
+ <field name="F_code[0][1]" start="52" end="55" type="uint"/>
+ <field name="F_code[1][0]" start="56" end="59" type="uint"/>
+ <field name="F_code[1][1]" start="60" end="63" type="uint"/>
+ <field name="Disable Mismatch" start="64" end="64" type="bool"/>
+ <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
+ <field name="Picture Coding Type" start="73" end="74" type="uint">
+ <value name="MPEG_I_PICTURE" value="1"/>
+ <value name="MPEG_P_PICTURE" value="2"/>
+ <value name="MPEG_B_PICTURE" value="3"/>
</field>
- <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
- <value name="INTER" value="0"/>
- <value name="LEFT" value="1"/>
- <value name="ZERO" value="2"/>
- <value name="INTRA" value="3"/>
+ <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
+ <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
+ <value name="Predicted" value="0"/>
+ <value name="ZERO" value="1"/>
</field>
<field name="P/B Slice Predicted Bi-direction MV Type Override" start="89" end="90" type="uint" prefix="MPEG2_MVTO">
<value name="BID" value="0"/>
@@ -4737,122 +4739,120 @@
<value name="FWD" value="2"/>
<value name="BWD" value="3"/>
</field>
- <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
- <value name="Predicted" value="0"/>
- <value name="ZERO" value="1"/>
+ <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
+ <value name="INTER" value="0"/>
+ <value name="LEFT" value="1"/>
+ <value name="ZERO" value="2"/>
+ <value name="INTRA" value="3"/>
</field>
- <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
- <field name="Picture Coding Type" start="73" end="74" type="uint">
- <value name="MPEG_I_PICTURE" value="1"/>
- <value name="MPEG_P_PICTURE" value="2"/>
- <value name="MPEG_B_PICTURE" value="3"/>
+ <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
+ <value name="Intra Concealment" value="0"/>
+ <value name="Inter Concealment" value="1"/>
</field>
- <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
- <field name="Disable Mismatch" start="64" end="64" type="bool"/>
- <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
- <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
<field name="Frame Width In MBs" start="96" end="103" type="uint"/>
- <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
- <field name="Round Inter AC," start="140" end="142" type="uint"/>
- <field name="Round Intra AC" start="136" end="138" type="uint"/>
- <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
+ <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
<field name="Round Intra DC" start="129" end="130" type="uint"/>
- <field name="Frame Size Control" start="176" end="176" type="uint"/>
- <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Round Inter DC" start="132" end="134" type="uint"/>
+ <field name="Round Intra AC" start="136" end="138" type="uint"/>
+ <field name="Round Inter AC," start="140" end="142" type="uint"/>
+ <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
+ <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
+ <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
+ <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
+ <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
+ <field name="MBRateControlMask" start="169" end="169" type="uint"/>
<field name="Minimum Frame Size Units" start="170" end="171" type="uint" prefix="MPEG2_MFSU">
<value name="Compatibility mode" value="0"/>
<value name="16 bytes" value="1"/>
<value name="4Kb" value="2"/>
<value name="16Kb" value="3"/>
</field>
- <field name="MBRateControlMask" start="169" end="169" type="uint"/>
- <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
- <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
- <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
- <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
- <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
+ <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
+ <field name="Frame Size Control" start="176" end="176" type="uint"/>
<field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
- <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
- <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
- <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
<field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
- <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
- <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
- <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
+ <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
+ <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
<field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
- <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
+ <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
+ <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
+ <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
+ <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New mode" value="1"/>
+ <value name="New Mode" value="1"/>
</field>
- <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
<field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
+ <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
<value name="Compatibility mode" value="0"/>
- <value name="New Mode" value="1"/>
+ <value name="New mode" value="1"/>
</field>
- <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
- <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
<field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
+ <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
</instruction>
<instruction name="MFX_MPEG_TS_CONTROL command" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="11"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Payload Unit Start Indicator Control" start="61" end="61" type="uint"/>
- <field name="Additional Copy Info Flag In PES Header" start="60" end="60" type="bool"/>
- <field name="DSM Trick Mode Flag In PES Header" start="59" end="59" type="uint"/>
- <field name="Original Or Flag In PES Header" start="58" end="58" type="uint"/>
- <field name="Copy Right Flag In PES Header" start="57" end="57" type="uint"/>
- <field name="Output TS Packet Grouping Select" start="56" end="56" type="uint"/>
- <field name="StreamID Lower Nibble" start="52" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="11"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Video PacketID Header Parameter" start="32" end="44" type="uint"/>
+ <field name="StreamID Lower Nibble" start="52" end="55" type="uint"/>
+ <field name="Output TS Packet Grouping Select" start="56" end="56" type="uint"/>
+ <field name="Copy Right Flag In PES Header" start="57" end="57" type="uint"/>
+ <field name="Original Or Flag In PES Header" start="58" end="58" type="uint"/>
+ <field name="DSM Trick Mode Flag In PES Header" start="59" end="59" type="uint"/>
+ <field name="Additional Copy Info Flag In PES Header" start="60" end="60" type="bool"/>
+ <field name="Payload Unit Start Indicator Control" start="61" end="61" type="uint"/>
<field name="PCR 90 KHz Component Least Significant Bits" start="64" end="95" type="uint"/>
- <field name="27MHz Counter" start="119" end="127" type="uint"/>
<field name="90KHz counter MSB" start="96" end="96" type="uint"/>
+ <field name="27MHz Counter" start="119" end="127" type="uint"/>
<field name="PTS Delta" start="128" end="159" type="uint"/>
- <field name="Continuity Counter" start="188" end="191" type="uint"/>
<field name="MPEGTS Packet Count" start="160" end="175" type="uint"/>
+ <field name="Continuity Counter" start="188" end="191" type="uint"/>
</instruction>
<instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Data Byte Offset" start="48" end="49" type="uint"/>
- <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
- <value name="NO_ACCUMULATION" value="1"/>
- <value name="ACCUMULATE" value="0"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
+ <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
+ <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
<field name="Slice Header Indicator" start="46" end="46" type="uint">
<value name="SLICE_HEADER" value="1"/>
<value name="LEGACY" value="0"/>
</field>
- <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
- <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
- <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
- <field name="End of Slice" start="33" end="33" type="bool"/>
- <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
+ <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
+ <value name="NO_ACCUMULATION" value="1"/>
+ <value name="ACCUMULATE" value="0"/>
+ </field>
+ <field name="Data Byte Offset" start="48" end="49" type="uint"/>
<group count="0" start="64" size="32">
<field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="65" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="63"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Pre Deblocking Destination - Address" start="38" end="79" type="address"/>
<field name="Pre Deblocking Destination - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Post Deblocking Destination - Address" start="134" end="175" type="address"/>
@@ -4886,40 +4886,12 @@
</instruction>
<instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="3"/>
- <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
- <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
- <value name="Short Format Driver Interface" value="0"/>
- <value name="Long Format Driver Interface" value="1"/>
- </field>
- <field name="Decoder Mode select" start="47" end="48" type="uint">
- <value name="VLD Mode" value="0"/>
- <value name="IT Mode" value="1"/>
- <value name="Deblocker Mode" value="2"/>
- <value name="Interlayer Mode" value="3"/>
- </field>
- <field name="Standalone VDEnc Mode Enable" start="46" end="46" type="bool"/>
- <field name="VDEnc Mode" start="45" end="45" type="uint" prefix="VM">
- <value name="MBEnc Mode" value="0"/>
- <value name="VDEnc Mode" value="1"/>
- </field>
- <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
- <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
- <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
- <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
- <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
- <field name="Scaled Surface Enable" start="39" end="39" type="bool"/>
- <field name="Frame Statistics Stream-Out Enable" start="38" end="38" type="bool"/>
- <field name="Stitch Mode" start="37" end="37" type="bool"/>
- <field name="Codec Select" start="36" end="36" type="uint">
- <value name="Decode" value="0"/>
- <value name="Encode" value="1"/>
- </field>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
<value name="MPEG2" value="0"/>
<value name="VC1" value="1"/>
@@ -4928,16 +4900,44 @@
<value name="VP8" value="5"/>
<value name="UVLD" value="15"/>
</field>
+ <field name="Codec Select" start="36" end="36" type="uint">
+ <value name="Decode" value="0"/>
+ <value name="Encode" value="1"/>
+ </field>
+ <field name="Stitch Mode" start="37" end="37" type="bool"/>
+ <field name="Frame Statistics Stream-Out Enable" start="38" end="38" type="bool"/>
+ <field name="Scaled Surface Enable" start="39" end="39" type="bool"/>
+ <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
+ <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
+ <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
+ <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
+ <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
+ <field name="VDEnc Mode" start="45" end="45" type="uint" prefix="VM">
+ <value name="MBEnc Mode" value="0"/>
+ <value name="VDEnc Mode" value="1"/>
+ </field>
+ <field name="Standalone VDEnc Mode Enable" start="46" end="46" type="bool"/>
+ <field name="Decoder Mode select" start="47" end="48" type="uint">
+ <value name="VLD Mode" value="0"/>
+ <value name="IT Mode" value="1"/>
+ <value name="Deblocker Mode" value="2"/>
+ <value name="Interlayer Mode" value="3"/>
+ </field>
+ <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
+ <value name="Short Format Driver Interface" value="0"/>
+ <value name="Long Format Driver Interface" value="1"/>
+ </field>
+ <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
<field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="32"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVC" start="32" end="33" type="uint">
<value name="AVC_4x4_Intra_MATRIX" value="0"/>
<value name="AVC_4x4_Inter_MATRIX" value="1"/>
@@ -4959,27 +4959,27 @@
</instruction>
<instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="State Pointer" start="37" end="63" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="State Pointer Index" start="32" end="33" type="uint"/>
+ <field name="State Pointer" start="37" end="63" type="uint"/>
</instruction>
<instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
- <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
- <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="End of Slice" start="33" end="33" type="bool"/>
+ <field name="Last Header" start="34" end="34" type="bool"/>
+ <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
+ <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
<field name="Indirect Data Length" start="64" end="82" type="uint"/>
<field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
<group count="0" start="128" size="32">
@@ -4988,19 +4988,27 @@
</instruction>
<instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface ID" start="32" end="35" type="uint" prefix="MFX">
<value name="Source Input Picture" value="4"/>
<value name="Reconstructed Scaled Reference Picture" value="5"/>
</field>
- <field name="Height" start="82" end="95" type="uint"/>
- <field name="Width" start="68" end="81" type="uint"/>
<field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="u0.2"/>
+ <field name="Width" start="68" end="81" type="uint"/>
+ <field name="Height" start="82" end="95" type="uint"/>
+ <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
+ <value name="XMAJOR" value="0"/>
+ <value name="YMAJOR" value="1"/>
+ </field>
+ <field name="Tiled Surface" start="97" end="97" type="bool"/>
+ <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
+ <field name="Surface Pitch" start="99" end="115" type="uint"/>
+ <field name="Interleave Chroma" start="123" end="123" type="bool"/>
<field name="Surface Format" start="124" end="127" type="uint" prefix="MFX">
<value name="YCRCB_NORMAL" value="0"/>
<value name="YCRCB_SWAPUVY" value="1"/>
@@ -5016,27 +5024,19 @@
<value name="R8_UNORM (Cr/Cb)" value="11"/>
<value name="Y8_UNORM" value="12"/>
</field>
- <field name="Interleave Chroma" start="123" end="123" type="bool"/>
- <field name="Surface Pitch" start="99" end="115" type="uint"/>
- <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
- <field name="Tiled Surface" start="97" end="97" type="bool"/>
- <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
- <value name="XMAJOR" value="0"/>
- <value name="YMAJOR" value="1"/>
- </field>
- <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
- <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
+ <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
<field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
+ <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
</instruction>
<instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Direct MV Write Buffer - Address" start="32" end="95" type="address"/>
<field name="Direct MV Write Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Direct MV Read Buffer - Address" start="128" end="191" type="address"/>
@@ -5044,42 +5044,42 @@
</instruction>
<instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
- <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
- <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
- <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
- <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
- <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
- <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
- <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
+ <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
+ <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
+ <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
<field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
- <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
- <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
- <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
+ <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
+ <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
<field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
- <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
- <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
- <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
+ <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
+ <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
<field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
- <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
- <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
- <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
+ <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
+ <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
<field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
+ <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
+ <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
+ <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
</instruction>
<instruction name="MFX_VP8_BSP_BUF_BASE_ADDR_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Header - Address" start="32" end="95" type="address"/>
<field name="Frame Header - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
<field name="Intermediate Buffer - Address" start="128" end="191" type="address"/>
@@ -5100,306 +5100,306 @@
</instruction>
<instruction name="MFX_VP8_ENCODER_CFG" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="VBSP Unit Power Clock Gating Disable" start="42" end="42" type="bool"/>
- <field name="Compressed Bitstream Output Disable" start="41" end="41" type="bool"/>
- <field name="Finer BRC Enable" start="40" end="40" type="bool"/>
- <field name="Per Segment Delta Qindex / LoopFilter Disable" start="39" end="39" type="bool"/>
- <field name="Rate Control Initial Pass" start="38" end="38" type="bool"/>
- <field name="Skip Final Bitstream when Over/Underflow" start="37" end="37" type="bool"/>
- <field name="Update Segment Feature Data Flag" start="36" end="36" type="bool"/>
- <field name="Bitstream Statistics Output Enable" start="35" end="35" type="bool"/>
- <field name="Token Statistics Output Enable" start="34" end="34" type="bool"/>
- <field name="Final Bitstream Output Disable" start="33" end="33" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Performance Counter Enable" start="32" end="32" type="bool"/>
- <field name="QIndex Clamp High for Overflow" start="71" end="71" type="bool"/>
- <field name="QIndex Clamp High for Underflow" start="70" end="70" type="bool"/>
- <field name="Final Bistream Buffer Overrun Enable" start="69" end="69" type="bool"/>
- <field name="Intermediate Bit Buffer Overrun Enable" start="68" end="68" type="bool"/>
- <field name="Max Intra MB Bit Count Check Enable" start="67" end="67" type="bool"/>
- <field name="Max Inter MB Bit Count Check Enable" start="66" end="66" type="bool"/>
- <field name="Min Frame Bit Count Rate Control Enable" start="65" end="65" type="bool"/>
+ <field name="Final Bitstream Output Disable" start="33" end="33" type="bool"/>
+ <field name="Token Statistics Output Enable" start="34" end="34" type="bool"/>
+ <field name="Bitstream Statistics Output Enable" start="35" end="35" type="bool"/>
+ <field name="Update Segment Feature Data Flag" start="36" end="36" type="bool"/>
+ <field name="Skip Final Bitstream when Over/Underflow" start="37" end="37" type="bool"/>
+ <field name="Rate Control Initial Pass" start="38" end="38" type="bool"/>
+ <field name="Per Segment Delta Qindex / LoopFilter Disable" start="39" end="39" type="bool"/>
+ <field name="Finer BRC Enable" start="40" end="40" type="bool"/>
+ <field name="Compressed Bitstream Output Disable" start="41" end="41" type="bool"/>
+ <field name="VBSP Unit Power Clock Gating Disable" start="42" end="42" type="bool"/>
<field name="Max Frame Bit count Rate Control Enable" start="64" end="64" type="bool"/>
- <field name="Max Intra MB Bit Count Limit" start="112" end="123" type="uint"/>
+ <field name="Min Frame Bit Count Rate Control Enable" start="65" end="65" type="bool"/>
+ <field name="Max Inter MB Bit Count Check Enable" start="66" end="66" type="bool"/>
+ <field name="Max Intra MB Bit Count Check Enable" start="67" end="67" type="bool"/>
+ <field name="Intermediate Bit Buffer Overrun Enable" start="68" end="68" type="bool"/>
+ <field name="Final Bistream Buffer Overrun Enable" start="69" end="69" type="bool"/>
+ <field name="QIndex Clamp High for Underflow" start="70" end="70" type="bool"/>
+ <field name="QIndex Clamp High for Overflow" start="71" end="71" type="bool"/>
<field name="Max Inter MB Bit Count" start="96" end="107" type="uint"/>
- <field name="Frame Bitrate Min Unit Mode" start="159" end="159" type="uint">
+ <field name="Max Intra MB Bit Count Limit" start="112" end="123" type="uint"/>
+ <field name="Frame Bitrate Max" start="128" end="141" type="uint"/>
+ <field name="Frame Bitrate Max Unit" start="142" end="142" type="uint"/>
+ <field name="Frame Bitrate Max Unit Mode" start="143" end="143" type="uint">
<value name="Compatibility Mode" value="0"/>
<value name="New Mode" value="1"/>
</field>
- <field name="Frame Bitrate Min Unit" start="158" end="158" type="uint"/>
<field name="Frame Bitrate Min" start="144" end="157" type="uint"/>
- <field name="Frame Bitrate Max Unit Mode" start="143" end="143" type="uint">
+ <field name="Frame Bitrate Min Unit" start="158" end="158" type="uint"/>
+ <field name="Frame Bitrate Min Unit Mode" start="159" end="159" type="uint">
<value name="Compatibility Mode" value="0"/>
<value name="New Mode" value="1"/>
</field>
- <field name="Frame Bitrate Max Unit" start="142" end="142" type="uint"/>
- <field name="Frame Bitrate Max" start="128" end="141" type="uint"/>
- <field name="Frame Delta QIndex Max[3]" start="184" end="191" type="uint"/>
- <field name="Frame Delta QIndex Max[2]" start="176" end="183" type="uint"/>
- <field name="Frame Delta QIndex Max[1]" start="168" end="175" type="uint"/>
<field name="Frame Delta QIndex Max[0]" start="160" end="167" type="uint"/>
- <field name="Frame Delta QIndex Min[3]" start="216" end="223" type="uint"/>
- <field name="Frame Delta QIndex Min[2]" start="208" end="215" type="uint"/>
- <field name="Frame Delta QIndex Min[1]" start="200" end="207" type="uint"/>
+ <field name="Frame Delta QIndex Max[1]" start="168" end="175" type="uint"/>
+ <field name="Frame Delta QIndex Max[2]" start="176" end="183" type="uint"/>
+ <field name="Frame Delta QIndex Max[3]" start="184" end="191" type="uint"/>
<field name="Frame Delta QIndex Min[0]" start="192" end="199" type="uint"/>
+ <field name="Frame Delta QIndex Min[1]" start="200" end="207" type="uint"/>
+ <field name="Frame Delta QIndex Min[2]" start="208" end="215" type="uint"/>
+ <field name="Frame Delta QIndex Min[3]" start="216" end="223" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[1]" start="224" end="255" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[1]" start="256" end="287" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[2]" start="288" end="319" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[2]" start="320" end="351" type="uint"/>
<field name="Per Segment Frame Delta QIndex Max[3]" start="352" end="383" type="uint"/>
<field name="Per Segment Frame Delta QIndex Min[3]" start="384" end="415" type="uint"/>
- <field name="Frame Delta Loop Filter Max[3]" start="440" end="447" type="uint"/>
- <field name="Frame Delta Loop Filter Max[2]" start="432" end="439" type="uint"/>
- <field name="Frame Delta Loop Filter Max[1]" start="424" end="431" type="uint"/>
<field name="Frame Delta Loop Filter Max[0]" start="416" end="423" type="uint"/>
- <field name="Frame Delta Loop Filter Min[3]" start="472" end="479" type="uint"/>
- <field name="Frame Delta Loop Filter Min[2]" start="464" end="471" type="uint"/>
- <field name="Frame Delta Loop Filter Min[1]" start="456" end="463" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[1]" start="424" end="431" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[2]" start="432" end="439" type="uint"/>
+ <field name="Frame Delta Loop Filter Max[3]" start="440" end="447" type="uint"/>
<field name="Frame Delta Loop Filter Min[0]" start="448" end="455" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[1]" start="456" end="463" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[2]" start="464" end="471" type="uint"/>
+ <field name="Frame Delta Loop Filter Min[3]" start="472" end="479" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[1]" start="480" end="511" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[1]" start="512" end="543" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[2]" start="544" end="575" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[2]" start="576" end="607" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Max[3]" start="608" end="639" type="uint"/>
<field name="Per Segment Frame Delta Loop Filter Min[3]" start="640" end="671" type="uint"/>
- <field name="Frame Bitrate Min Delta" start="688" end="702" type="uint"/>
<field name="Frame Bitrate Max Delta" start="672" end="686" type="uint"/>
- <field name="Show Frame" start="727" end="727" type="uint"/>
- <field name="Bitstream Format Version" start="724" end="726" type="uint"/>
+ <field name="Frame Bitrate Min Delta" start="688" end="702" type="uint"/>
+ <field name="Minimum Frame Size" start="704" end="719" type="uint"/>
<field name="Minimum Frame Size Unit" start="720" end="721" type="uint">
<value name="Compatibility Mode" value="0"/>
<value name="New Mode" value="1"/>
</field>
- <field name="Minimum Frame Size" start="704" end="719" type="uint"/>
- <field name="Vertical_Size_Code" start="752" end="767" type="uint"/>
+ <field name="Bitstream Format Version" start="724" end="726" type="uint"/>
+ <field name="Show Frame" start="727" end="727" type="uint"/>
<field name="Horizontal_Size_Code" start="736" end="751" type="uint"/>
+ <field name="Vertical_Size_Code" start="752" end="767" type="uint"/>
<field name="Frame Header Bit Count" start="768" end="799" type="uint"/>
<field name="Frame Header Bin Buffer QIndex Update Pointer" start="800" end="831" type="uint"/>
<field name="Frame Header Bin Buffer Loop Filter Update Pointer" start="832" end="863" type="uint"/>
<field name="Frame Header Bin Buffer Token Update Pointer" start="864" end="895" type="uint"/>
<field name="Frame Header Bin Buffer MV Update Pointer" start="896" end="927" type="uint"/>
- <field name="CV7" start="956" end="959" type="uint"/>
- <field name="CV6" start="952" end="955" type="uint"/>
- <field name="CV5" start="948" end="951" type="uint"/>
- <field name="CV4" start="944" end="947" type="uint"/>
- <field name="CV3" start="940" end="943" type="uint"/>
- <field name="CV2" start="936" end="939" type="uint"/>
- <field name="CV1" start="932" end="935" type="uint"/>
<field name="CV0" start="928" end="931" type="uint"/>
+ <field name="CV1" start="932" end="935" type="uint"/>
+ <field name="CV2" start="936" end="939" type="uint"/>
+ <field name="CV3" start="940" end="943" type="uint"/>
+ <field name="CV4" start="944" end="947" type="uint"/>
+ <field name="CV5" start="948" end="951" type="uint"/>
+ <field name="CV6" start="952" end="955" type="uint"/>
+ <field name="CV7" start="956" end="959" type="uint"/>
</instruction>
- <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
<field name="DWord Length" start="0" end="11" type="uint" default="5"/>
- <field name="Enable Inline MV data" start="61" end="61" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
+ <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
+ <field name="Enable Inline MV data" start="61" end="61" type="bool"/>
<field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
<field name="Inline Data" start="96" end="223" type="uint"/>
</instruction>
<instruction name="MFX_VP8_PIC_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
- <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
+ <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Width" start="32" end="39" type="uint"/>
+ <field name="Frame Height" start="48" end="55" type="uint"/>
+ <field name="MC Filter Select" start="64" end="64" type="uint"/>
+ <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
+ <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
+ <field name="Key Frame" start="69" end="69" type="bool"/>
+ <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
+ <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
+ <field name="Segment Enable" start="72" end="72" type="bool"/>
+ <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
+ <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
+ <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
+ <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
+ <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
+ <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
<field name="Log2 Num of Partition" start="88" end="89" type="uint">
<value name="1 Token partition" value="0"/>
<value name="2 Token partition" value="1"/>
<value name="4 Token partition" value="2"/>
<value name="8 Token partition" value="3"/>
</field>
- <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
- <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
- <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
- <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
- <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
- <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
- <field name="Segment Enable" start="72" end="72" type="bool"/>
- <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
- <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
- <field name="Key Frame" start="69" end="69" type="bool"/>
- <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
- <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
- <field name="MC Filter Select" start="64" end="64" type="uint"/>
- <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
- <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
- <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
<field name="DBLK Filter Level for Segment0" start="96" end="101" type="uint"/>
- <field name="Segment3 QIndex" start="152" end="158" type="uint"/>
- <field name="Segment2 QIndex" start="144" end="150" type="uint"/>
- <field name="Segment1 QIndex" start="136" end="142" type="uint"/>
+ <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
+ <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
+ <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
<field name="Segment0 QIndex" start="128" end="134" type="uint"/>
- <field name="UVAC QIndex Delta Sign" start="188" end="188" type="uint"/>
- <field name="UVAC QIndex Delta" start="184" end="187" type="uint"/>
- <field name="UVDC QIndex Delta Sign" start="180" end="180" type="uint"/>
- <field name="UVDC QIndex Delta" start="176" end="179" type="uint"/>
- <field name="Y2AC QIndex Sign" start="172" end="172" type="uint"/>
- <field name="Y2AC QIndex Delta" start="168" end="171" type="uint"/>
- <field name="Y2AC QIndex Delta Sign" start="164" end="164" type="uint"/>
+ <field name="Segment1 QIndex" start="136" end="142" type="uint"/>
+ <field name="Segment2 QIndex" start="144" end="150" type="uint"/>
+ <field name="Segment3 QIndex" start="152" end="158" type="uint"/>
<field name="Y2DC QIndex Delta" start="160" end="163" type="uint"/>
- <field name="Y1DC QIndex Delta Sign" start="196" end="196" type="uint"/>
+ <field name="Y2AC QIndex Delta Sign" start="164" end="164" type="uint"/>
+ <field name="Y2AC QIndex Delta" start="168" end="171" type="uint"/>
+ <field name="Y2AC QIndex Sign" start="172" end="172" type="uint"/>
+ <field name="UVDC QIndex Delta" start="176" end="179" type="uint"/>
+ <field name="UVDC QIndex Delta Sign" start="180" end="180" type="uint"/>
+ <field name="UVAC QIndex Delta" start="184" end="187" type="uint"/>
+ <field name="UVAC QIndex Delta Sign" start="188" end="188" type="uint"/>
<field name="Y1DC QIndex Delta" start="192" end="195" type="uint"/>
- <field name="Clamp QIndex High" start="232" end="238" type="uint"/>
+ <field name="Y1DC QIndex Delta Sign" start="196" end="196" type="uint"/>
<field name="Clamp QIndex Low" start="224" end="230" type="uint"/>
- <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
+ <field name="Clamp QIndex High" start="232" end="238" type="uint"/>
<field name="Quantizer Value [1][UVDC]" start="256" end="264" type="uint"/>
- <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
+ <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
<field name="Quantizer Value [1][Y2DC]" start="288" end="296" type="uint"/>
- <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
+ <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
<field name="Quantizer Value [2][Y1DC]" start="320" end="328" type="uint"/>
- <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
+ <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
<field name="Quantizer Value [2][UVDC]" start="352" end="360" type="uint"/>
- <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
+ <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
<field name="Quantizer Value [2][Y2DC]" start="384" end="392" type="uint"/>
- <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
+ <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
<field name="Quantizer Value [3][Y1DC]" start="416" end="424" type="uint"/>
- <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
+ <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
<field name="Quantizer Value [3][UVDC]" start="448" end="456" type="uint"/>
- <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
+ <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
<field name="Quantizer Value [3][Y2DC]" start="480" end="488" type="uint"/>
+ <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
<field name="CoeffProbability Stream-In - Address" start="518" end="559" type="uint"/>
<field name="CoeffProbability Stream-In - MOCS (Encoder only)" start="577" end="582" type="uint"/>
- <field name="CoeffProbability Stream-In - Tiled Resource Mode" start="589" end="590" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="CoeffProbability Stream-In - Memory Compression Mode" start="586" end="586" type="uint"/>
- <field name="CoeffProbability Stream-In - Memory Compression Enable" start="585" end="585" type="bool"/>
<field name="CoeffProbability Stream-In - Arbitration Priority Control" start="583" end="584" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
- <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
+ <field name="CoeffProbability Stream-In - Memory Compression Enable" start="585" end="585" type="bool"/>
+ <field name="CoeffProbability Stream-In - Memory Compression Mode" start="586" end="586" type="uint"/>
+ <field name="CoeffProbability Stream-In - Tiled Resource Mode" start="589" end="590" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
<field name="MBSegmentIDTreeProbs[0]" start="608" end="615" type="uint"/>
- <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
- <field name="IntraMBProb" start="656" end="663" type="uint"/>
- <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
+ <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
<field name="InterPredFromGRefRefProb" start="640" end="647" type="uint"/>
- <field name="YModeProb[3]" start="696" end="703" type="uint"/>
- <field name="YModeProb[2]" start="688" end="695" type="uint"/>
- <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
+ <field name="IntraMBProb" start="656" end="663" type="uint"/>
+ <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
<field name="YModeProb[0]" start="672" end="679" type="uint"/>
- <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
- <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="YModeProb[1]" start="680" end="687" type="uint"/>
+ <field name="YModeProb[2]" start="688" end="695" type="uint"/>
+ <field name="YModeProb[3]" start="696" end="703" type="uint"/>
<field name="UVModeProb[0]" start="704" end="711" type="uint"/>
- <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
- <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
- <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
+ <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
<field name="MVUpdateProbs[0][0]" start="736" end="743" type="uint"/>
- <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
- <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
- <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
+ <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
+ <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
<field name="MVUpdateProbs[0][4]" start="768" end="775" type="uint"/>
- <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
- <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
- <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
+ <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
+ <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
<field name="MVUpdateProbs[0][8]" start="800" end="807" type="uint"/>
- <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
- <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
- <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
+ <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
+ <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
<field name="MVUpdateProbs[0][12]" start="832" end="839" type="uint"/>
- <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
- <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
+ <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
+ <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
<field name="MVUpdateProbs[0][16]" start="864" end="871" type="uint"/>
- <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
- <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
- <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
+ <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
<field name="MVUpdateProbs[1][0]" start="896" end="903" type="uint"/>
- <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
- <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
- <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
+ <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
+ <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
<field name="MVUpdateProbs[1][4]" start="928" end="935" type="uint"/>
- <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
- <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
- <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
+ <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
+ <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
<field name="MVUpdateProbs[1][8]" start="960" end="967" type="uint"/>
- <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
- <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
- <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
+ <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
+ <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
<field name="MVUpdateProbs[1][12]" start="992" end="999" type="uint"/>
- <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
- <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
+ <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
+ <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
<field name="MVUpdateProbs[1][16]" start="1024" end="1031" type="uint"/>
- <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
- <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
- <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
+ <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
<field name="RefLFDelta0" start="1056" end="1062" type="int"/>
- <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
- <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
- <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
+ <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
+ <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
<field name="ModeLFDelta0" start="1088" end="1094" type="int"/>
+ <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
+ <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
+ <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
<field name="Segmentation ID Stream - Address" start="1120" end="1167" type="uint"/>
- <field name="Segmentation ID Stream - Tiled Resource Mode" start="1197" end="1198" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
- </field>
- <field name="Segmentation ID Stream - Memory Compression Mode" start="1194" end="1194" type="uint"/>
- <field name="Segmentation ID Stream - Memory Compression Enable" start="1193" end="1193" type="bool"/>
+ <field name="CoeffProbability Stream-In - MOCS" start="1185" end="1190" type="uint"/>
<field name="Segmentation ID Stream - Arbitration Priority Control" start="1191" end="1192" type="uint">
<value name="Highest priority" value="0"/>
<value name="Second highest priority" value="1"/>
<value name="Third highest priority" value="2"/>
<value name="Lowest priority" value="3"/>
</field>
- <field name="CoeffProbability Stream-In - MOCS" start="1185" end="1190" type="uint"/>
+ <field name="Segmentation ID Stream - Memory Compression Enable" start="1193" end="1193" type="bool"/>
+ <field name="Segmentation ID Stream - Memory Compression Mode" start="1194" end="1194" type="uint"/>
+ <field name="Segmentation ID Stream - Tiled Resource Mode" start="1197" end="1198" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
+ </field>
</instruction>
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
- <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
- <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
<field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
+ <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
+ <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="MI_ARB_CHECK" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ARB_ON_OFF" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
<field name="Arbitration Enable" start="0" end="0" type="bool" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_ATOMIC" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
+ <field name="Return Data Control" start="16" end="16" type="uint"/>
+ <field name="CS STALL" start="17" end="17" type="uint"/>
+ <field name="Inline Data" start="18" end="18" type="uint"/>
<field name="Data Size" start="19" end="20" type="uint">
<value name="DWORD" value="0"/>
<value name="QWORD" value="1"/>
<value name="OCTWORD" value="2"/>
<value name="RESERVED" value="3"/>
</field>
- <field name="Inline Data" start="18" end="18" type="uint"/>
- <field name="CS STALL" start="17" end="17" type="uint"/>
- <field name="Return Data Control" start="16" end="16" type="uint"/>
- <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Memory Address" start="34" end="79" type="address"/>
<field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
<field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
@@ -5412,68 +5412,66 @@
</instruction>
<instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
- <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
- <value name="First level batch" value="0"/>
- <value name="Second level batch" value="1"/>
- </field>
- <field name="Add Offset Enable" start="16" end="16" type="bool"/>
- <field name="Predication Enable" start="15" end="15" type="bool"/>
- <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
<value name="GGTT" value="0"/>
<value name="PPGTT" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
+ <field name="Predication Enable" start="15" end="15" type="bool"/>
+ <field name="Add Offset Enable" start="16" end="16" type="bool"/>
+ <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
+ <value name="First level batch" value="0"/>
+ <value name="Second level batch" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Batch Buffer Start Address" start="34" end="95" type="address"/>
</instruction>
<instruction name="MI_CLFLUSH" bias="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
<field name="DWord Length" start="0" end="9" type="uint" default="1"/>
- <field name="Page Base Address" start="44" end="79" type="address"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
+ <field name="Page Base Address" start="44" end="79" type="address"/>
<group count="0" start="96" size="32">
<field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
</group>
</instruction>
<instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Compare Mask Mode" start="19" end="19" type="uint">
<value name="Compare Mask Mode Disabled" value="0"/>
<value name="Compare Mask Mode Enabled" value="1"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Compare Data Dword" start="32" end="63" type="uint"/>
<field name="Compare Address" start="67" end="127" type="address"/>
</instruction>
<instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
- <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
- <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="3"/>
+ <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Memory Address" start="34" end="95" type="address"/>
<field name="Source Memory Address" start="98" end="159" type="address"/>
</instruction>
<instruction name="MI_DISPLAY_FLIP" bias="2" length="3" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
- <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
<field name="Display Plane Select" start="8" end="12" type="uint">
<value name="Display Plane 1" value="0"/>
<value name="Display Plane 2" value="1"/>
@@ -5488,51 +5486,53 @@
<value name="Display Plane 11" value="11"/>
<value name="Display Plane 12" value="12"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
- <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
- <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
+ <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Tile Parameter" start="32" end="34" type="uint"/>
- <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
+ <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
+ <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
<field name="Flip Type" start="64" end="65" type="uint">
<value name="Sync Flip" value="0"/>
<value name="Async Flip" value="1"/>
<value name="Stereo 3D Flip" value="2"/>
</field>
+ <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
<field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
</instruction>
<instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
- <field name="Store Data Index" start="21" end="21" type="uint"/>
- <field name="TLB Invalidate" start="18" end="18" type="bool"/>
- <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
- <field name="Flush LLC" start="9" end="9" type="bool"/>
- <field name="Notify Enable" start="8" end="8" type="bool"/>
- <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
<field name="DWord Length" start="0" end="5" type="uint"/>
- <field name="Address" start="35" end="79" type="address"/>
+ <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
+ <field name="Notify Enable" start="8" end="8" type="bool"/>
+ <field name="Flush LLC" start="9" end="9" type="bool"/>
+ <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
+ <field name="TLB Invalidate" start="18" end="18" type="bool"/>
+ <field name="Store Data Index" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
<value name="PPGTT" value="0"/>
<value name="GGTT" value="1"/>
</field>
+ <field name="Address" start="35" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_FORCE_WAKEUP" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Mask Bits" start="48" end="63" type="uint"/>
- <field name="Force Render Awake" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Force Media Awake" start="32" end="32" type="uint"/>
+ <field name="Force Render Awake" start="33" end="33" type="uint"/>
+ <field name="Mask Bits" start="48" end="63" type="uint"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
- <field name="Byte Write Disables" start="8" end="11" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Byte Write Disables" start="8" end="11" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Offset" start="34" end="54" type="offset"/>
<field name="Data DWord" start="64" end="95" type="uint"/>
<group count="0" start="96" size="64">
@@ -5542,81 +5542,80 @@
</instruction>
<instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Async Mode Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Async Mode Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Source Register Address" start="34" end="54" type="offset"/>
<field name="Destination Register Address" start="66" end="86" type="offset"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane A" value="0"/>
<value name="Display Plane B" value="1"/>
<value name="Display Plane C" value="4"/>
</field>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
+ <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
<field name="Display (Plane) Select" start="19" end="21" type="uint">
<value name="Display Plane 1 A" value="0"/>
<value name="Display Plane 1 B" value="1"/>
<value name="Display Plane 1 C" value="4"/>
</field>
- <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
- <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
- <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="End Scan Line Number" start="32" end="44" type="uint"/>
+ <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
</instruction>
<instruction name="MI_LOAD_URB_MEM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="34" end="46" type="uint"/>
<field name="Memory Address" start="70" end="127" type="address"/>
</instruction>
<instruction name="MI_MATH" bias="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<group count="0" start="32" size="32">
<field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
</group>
</instruction>
<instruction name="MI_NOOP" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
- <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
<field name="Identification Number" start="0" end="21" type="uint"/>
+ <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
- <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
- <value name="KEEP" value="0"/>
- <value name="LOAD" value="2"/>
- <value name="LOADINV" value="3"/>
+ <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
+ <value name="TRUE" value="0"/>
+ <value name="FALSE" value="1"/>
+ <value name="SRCS_EQUAL" value="2"/>
+ <value name="DELTAS_EQUAL" value="3"/>
</field>
<field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
<value name="SET" value="0"/>
@@ -5624,60 +5623,59 @@
<value name="OR" value="2"/>
<value name="XOR" value="3"/>
</field>
- <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
- <value name="TRUE" value="0"/>
- <value name="FALSE" value="1"/>
- <value name="SRCS_EQUAL" value="2"/>
- <value name="DELTAS_EQUAL" value="3"/>
+ <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
+ <value name="KEEP" value="0"/>
+ <value name="LOAD" value="2"/>
+ <value name="LOADINV" value="3"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_HEAD" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
<field name="DWord Length" start="0" end="5" type="uint" default="2"/>
- <field name="Memory Address" start="38" end="95" type="address"/>
- <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Use Global GTT" start="32" end="32" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="uint"/>
+ <field name="Memory Address" start="38" end="95" type="address"/>
<field name="Report ID" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_RS_CONTEXT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
<field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
<value name="Restore" value="0"/>
<value name="Save" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_CONTROL" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
<field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
<value name="Stop" value="0"/>
<value name="Start" value="1"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
- <field name="Destination Address" start="34" end="95" type="address"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Destination Address" start="34" end="95" type="address"/>
<field name="Data DWord 0" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
- <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
<field name="Target Engine Select" start="15" end="17" type="uint">
<value name="RCS" value="0"/>
<value name="VCS0" value="1"/>
@@ -5685,22 +5683,14 @@
<value name="VECS" value="3"/>
<value name="VCS1" value="4"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Target Context ID" start="32" end="63" type="uint"/>
</instruction>
<instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
- <field name="Memory Type" start="22" end="22" type="uint">
- <value name="Per Process Graphics Address" value="0"/>
- <value name="Global Graphics Address" value="1"/>
- </field>
- <field name="Register Poll Mode" start="16" end="16" type="bool"/>
- <field name="Wait Mode" start="15" end="15" type="uint">
- <value name="Polling Mode" value="1"/>
- <value name="Signal Mode" value="0"/>
- </field>
+ <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
<field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
<value name="SAD_GREATER_THAN_SDD" value="0"/>
<value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
@@ -5709,27 +5699,35 @@
<value name="SAD_EQUAL_SDD" value="4"/>
<value name="SAD_NOT_EQUAL_SDD" value="5"/>
</field>
- <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Wait Mode" start="15" end="15" type="uint">
+ <value name="Polling Mode" value="1"/>
+ <value name="Signal Mode" value="0"/>
+ </field>
+ <field name="Register Poll Mode" start="16" end="16" type="bool"/>
+ <field name="Memory Type" start="22" end="22" type="uint">
+ <value name="Per Process Graphics Address" value="0"/>
+ <value name="Global Graphics Address" value="1"/>
+ </field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
<field name="Semaphore Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_SET_CONTEXT" bias="2" length="2">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Logical Context Address" start="44" end="63" type="address"/>
- <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
- <field name="Core Mode Enable" start="36" end="36" type="bool"/>
- <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
- <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
- <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Restore Inhibit" start="32" end="32" type="uint"/>
+ <field name="Force Restore" start="33" end="33" type="uint"/>
+ <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
+ <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
+ <field name="Core Mode Enable" start="36" end="36" type="bool"/>
+ <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
+ <field name="Logical Context Address" start="44" end="63" type="address"/>
</instruction>
<instruction name="MI_SET_PREDICATE" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
<field name="PREDICATE ENABLE" start="0" end="3" type="uint">
<value name="NOOP Never" value="0"/>
<value name="NOOP on Result2 clear" value="1"/>
@@ -5741,388 +5739,390 @@
<value name="Execute when three slices are enabled." value="7"/>
<value name="NOOP Always" value="15"/>
</field>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Store Qword" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="9" type="uint" default="2"/>
- <field name="Address" start="34" end="79" type="address"/>
+ <field name="Store Qword" start="21" end="21" type="uint"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Core Mode Enable" start="32" end="32" type="uint"/>
+ <field name="Address" start="34" end="79" type="address"/>
<field name="Immediate Data" start="96" end="159" type="uint"/>
</instruction>
<instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
- <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Offset" start="34" end="43" type="uint"/>
<field name="Data DWord 0" start="64" end="95" type="uint"/>
<field name="Data DWord 1" start="96" end="127" type="uint"/>
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
- <field name="Use Global GTT" start="22" end="22" type="bool"/>
- <field name="Predicate Enable" start="21" end="21" type="bool"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Predicate Enable" start="21" end="21" type="bool"/>
+ <field name="Use Global GTT" start="22" end="22" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="Register Address" start="34" end="54" type="offset"/>
<field name="Memory Address" start="66" end="127" type="address"/>
</instruction>
<instruction name="MI_STORE_URB_MEM" bias="2" length="4" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="URB Address" start="34" end="46" type="uint"/>
<field name="Memory Address" start="70" end="127" type="address"/>
</instruction>
<instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
<field name="Suspend Flush" start="0" end="0" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
<field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
- <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
<field name="URB Atomic Storage Size" start="0" end="8" type="uint"/>
+ <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_USER_INTERRUPT" bias="1" length="1">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
<field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter">
- <field name="Command Type" start="29" end="31" type="uint" default="0"/>
- <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
- <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
- <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
- <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
- <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
- <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
- <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
- <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
- <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
- <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
- <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
- <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
- <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
- <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
- <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
- <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
- <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
- <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
<field name="Display Plnae 1 A Scan Line Wait Enable" start="0" end="0" type="bool"/>
+ <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
+ <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
+ <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
+ <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
+ <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
+ <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
+ <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
+ <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
+ <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
+ <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
+ <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
+ <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
+ <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
+ <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
+ <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
+ <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
+ <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
+ <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="0"/>
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
- <field name="Mask Bits" start="8" end="15" type="uint"/>
- <field name="Force Media Awake" start="5" end="5" type="bool"/>
- <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
<field name="Pipeline Selection" start="0" end="1" type="uint">
<value name="3D" value="0"/>
<value name="Media" value="1"/>
<value name="GPGPU" value="2"/>
</field>
+ <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
+ <field name="Force Media Awake" start="5" end="5" type="bool"/>
+ <field name="Mask Bits" start="8" end="15" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="6" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Flush LLC" start="58" end="58" type="bool"/>
- <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
- <value name="No LRI Operation" value="0"/>
- <value name="MMIO Write Immediate Data" value="1"/>
- </field>
- <field name="Store Data Index" start="53" end="53" type="uint"/>
- <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
- <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
- <field name="TLB Invalidate" start="50" end="50" type="bool"/>
- <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
+ <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
+ <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
+ <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
+ <field name="DC Flush Enable" start="37" end="37" type="bool"/>
+ <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
+ <field name="Notify Enable" start="40" end="40" type="bool"/>
+ <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
+ <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
+ <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
+ <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
+ <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
<field name="Post Sync Operation" start="46" end="47" type="uint">
<value name="No Write" value="0"/>
<value name="Write Immediate Data" value="1"/>
<value name="Write PS Depth Count" value="2"/>
<value name="Write Timestamp" value="3"/>
</field>
- <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
- <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
- <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
- <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
- <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
- <field name="Notify Enable" start="40" end="40" type="bool"/>
- <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
- <field name="DC Flush Enable" start="37" end="37" type="bool"/>
- <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
- <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
- <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
- <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
- <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
+ <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
+ <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+ <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+ <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
+ <field name="Store Data Index" start="53" end="53" type="uint"/>
+ <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
+ <value name="No LRI Operation" value="0"/>
+ <value name="MMIO Write Immediate Data" value="1"/>
+ </field>
+ <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Flush LLC" start="58" end="58" type="bool"/>
<field name="Address" start="66" end="111" type="address"/>
<field name="Immediate Data" start="128" end="191" type="uint"/>
</instruction>
<instruction name="SFC_AVS_CHROMA_COEFF_TABLE" bias="2" length="65" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="63"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS CHROMA Coefficient Table Body" start="32" end="2079" type="SFC_AVS_CHROMA_COEFF_TABLE_BODY"/>
</instruction>
<instruction name="SFC_AVS_LUMA_COEFF_TABLE" bias="2" length="129" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="127"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS LUMA Coefficient Table Body" start="32" end="4255" type="SFC_AVS_LUMA_COEFF_TABLE_BODY"/>
</instruction>
<instruction name="SFC_AVS_STATE" bias="2" length="3" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="1"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="AVS State Body" start="32" end="1567" type="SFC_AVS_STATE_BODY"/>
</instruction>
<instruction name="SFC_FRAME_START" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Frame Start Body" start="32" end="63" type="uint"/>
</instruction>
<instruction name="SFC_IEF_STATE" bias="2" length="24" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="22"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SFC IEF State Body" start="32" end="767" type="SFC_IEF_STATE_BODY"/>
</instruction>
<instruction name="SFC_LOCK" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="SFC Lock Body" start="32" end="63" type="SFC_LOCK_BODY"/>
</instruction>
<instruction name="SFC_STATE" bias="2" length="32" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="30"/>
- <field name="VD/VE Input Ordering Mode" start="40" end="42" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="10"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="SFC Pipe Mode" start="32" end="35" type="uint"/>
<field name="SFC Input Chroma Sub-Sampling" start="36" end="39" type="uint">
<value name="4:0:0" value="0"/>
<value name="4:2:0" value="1"/>
<value name="4:2:2 Horizonatal" value="2"/>
<value name="4:4:4 Progressive/Interleaved" value="4"/>
</field>
- <field name="SFC Pipe Mode" start="32" end="35" type="uint"/>
- <field name="Input Frame Resolution Height" start="80" end="91" type="uint"/>
+ <field name="VD/VE Input Ordering Mode" start="40" end="42" type="uint"/>
<field name="Input Frame Resolution Width" start="64" end="75" type="uint"/>
- <field name="Pre-AVS Chroma Downsampling Co-siting Position Horizontal Direction" start="108" end="110" type="uint"/>
- <field name="Pre-AVS Chroma Downsampling Co-siting Position Vertical Direction" start="104" end="106" type="uint"/>
- <field name="Pre-AVS Chroma Downsampling Enable" start="102" end="103" type="uint"/>
- <field name="RGBA Channel Swap Enable" start="101" end="101" type="bool"/>
+ <field name="Input Frame Resolution Height" start="80" end="91" type="uint"/>
<field name="Output Surface Format Type" start="96" end="99" type="uint"/>
- <field name="CSC Enable" start="147" end="147" type="bool"/>
- <field name="Color Fill Enable" start="146" end="146" type="bool"/>
+ <field name="RGBA Channel Swap Enable" start="101" end="101" type="bool"/>
+ <field name="Pre-AVS Chroma Downsampling Enable" start="102" end="103" type="uint"/>
+ <field name="Pre-AVS Chroma Downsampling Co-siting Position Vertical Direction" start="104" end="106" type="uint"/>
+ <field name="Pre-AVS Chroma Downsampling Co-siting Position Horizontal Direction" start="108" end="110" type="uint"/>
+ <field name="IEF Enable" start="128" end="128" type="bool"/>
+ <field name="Skin Tone Tuned IEF_Enable" start="129" end="129" type="bool"/>
+ <field name="IEF4 Smooth Enable" start="130" end="130" type="bool"/>
+ <field name="AVS Filter Mode" start="132" end="133" type="uint">
+ <value name="5x5 Poly-phase filter + Bilinear" value="0"/>
+ <value name="8x8 poly-phase filter + Bilinear" value="1"/>
+ <value name="Bilinear filter only" value="2"/>
+ </field>
+ <field name="Adaptive Filter for all Channels" start="134" end="134" type="bool"/>
+ <field name="AVS Scaling Enable" start="135" end="135" type="bool"/>
+ <field name="Bypass Y Adaptive Filtering" start="136" end="136" type="bool"/>
+ <field name="Bypass X Adaptive Filtering" start="137" end="137" type="bool"/>
+ <field name="Chroma Upsampling Enable" start="140" end="140" type="bool"/>
<field name="Rotation Mode" start="144" end="145" type="uint">
<value name="0" value="0"/>
<value name="90 CW" value="1"/>
<value name="180 CW" value="2"/>
<value name="270 CW" value="3"/>
</field>
- <field name="Chroma Upsampling Enable" start="140" end="140" type="bool"/>
- <field name="Bypass X Adaptive Filtering" start="137" end="137" type="bool"/>
- <field name="Bypass Y Adaptive Filtering" start="136" end="136" type="bool"/>
- <field name="AVS Scaling Enable" start="135" end="135" type="bool"/>
- <field name="Adaptive Filter for all Channels" start="134" end="134" type="bool"/>
- <field name="AVS Filter Mode" start="132" end="133" type="uint">
- <value name="5x5 Poly-phase filter + Bilinear" value="0"/>
- <value name="8x8 poly-phase filter + Bilinear" value="1"/>
- <value name="Bilinear filter only" value="2"/>
- </field>
- <field name="IEF4 Smooth Enable" start="130" end="130" type="bool"/>
- <field name="Skin Tone Tuned IEF_Enable" start="129" end="129" type="bool"/>
- <field name="IEF Enable" start="128" end="128" type="bool"/>
- <field name="Source Region Height" start="176" end="187" type="uint"/>
+ <field name="Color Fill Enable" start="146" end="146" type="bool"/>
+ <field name="CSC Enable" start="147" end="147" type="bool"/>
<field name="Source Region Width" start="160" end="171" type="uint"/>
- <field name="Source Region Vertical Offset" start="208" end="219" type="uint"/>
+ <field name="Source Region Height" start="176" end="187" type="uint"/>
<field name="Source Region Horizontal Offset" start="192" end="203" type="uint"/>
- <field name="Output Frame Height" start="240" end="251" type="uint"/>
+ <field name="Source Region Vertical Offset" start="208" end="219" type="uint"/>
<field name="Output Frame Width" start="224" end="235" type="uint"/>
- <field name="Scaled Region Size Height" start="272" end="283" type="uint"/>
+ <field name="Output Frame Height" start="240" end="251" type="uint"/>
<field name="Scaled Region Size Width" start="256" end="267" type="uint"/>
- <field name="Scaled Region Vertical Offset" start="304" end="316" type="int"/>
+ <field name="Scaled Region Size Height" start="272" end="283" type="uint"/>
<field name="Scaled Region Horizontal Offset" start="288" end="300" type="int"/>
- <field name="Gray Bar Pixel - Y/R" start="336" end="345" type="uint"/>
+ <field name="Scaled Region Vertical Offset" start="304" end="316" type="int"/>
<field name="Gray Bar Pixel - U/G" start="320" end="329" type="uint"/>
- <field name="Gray Bar Pixel - V/B" start="368" end="377" type="uint"/>
+ <field name="Gray Bar Pixel - Y/R" start="336" end="345" type="uint"/>
<field name="Gray Bar Pixel - A" start="352" end="361" type="uint"/>
- <field name="UV Default value for V channel" start="400" end="409" type="uint"/>
+ <field name="Gray Bar Pixel - V/B" start="368" end="377" type="uint"/>
<field name="UV Default value for U channel" start="384" end="393" type="uint"/>
+ <field name="UV Default value for V channel" start="400" end="409" type="uint"/>
<field name="Alpha Default Value" start="416" end="425" type="uint"/>
<field name="Scaling Factor Height" start="448" end="468" type="u4.17"/>
<field name="Scaling Factor Width" start="480" end="500" type="u4.17"/>
<field name="Output Frame - Address" start="556" end="591" type="uint"/>
+ <field name="Output Frame - MOCS" start="609" end="614" type="uint"/>
+ <field name="Output Frame - Arbitration Priority Control" start="615" end="616" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="Output Frame - Memory Compression Enable" start="617" end="617" type="bool"/>
+ <field name="Output Frame - Memory Compression Mode" start="618" end="618" type="uint"/>
+ <field name="Output Frame - Cache Select" start="620" end="620" type="bool"/>
<field name="Output Frame - Tiled Mode" start="621" end="622" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="Output Frame - Cache Select" start="620" end="620" type="bool"/>
- <field name="Output Frame - Memory Compression Mode" start="618" end="618" type="uint"/>
- <field name="Output Frame - Memory Compression Enable" start="617" end="617" type="bool"/>
- <field name="Output Frame - Arbitration Priority Control" start="615" end="616" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="Output Frame - MOCS" start="609" end="614" type="uint"/>
<field name="AVS Line Buffer - Address" start="652" end="687" type="uint"/>
- <field name="AVS Line Buffer - Tiled Mode" start="717" end="718" type="uint">
- <value name="TRMODE_NONE" value="0"/>
- <value name="TRMODE_TILEYF" value="1"/>
- <value name="TRMODE_TILEYS" value="2"/>
+ <field name="AVS Line Buffer - MOCS" start="705" end="710" type="uint"/>
+ <field name="AVS Line Buffer - Arbitration Priority Control" start="711" end="712" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="AVS Line Buffer - Memory Compression Enable" start="713" end="713" type="bool"/>
+ <field name="AVS Line Buffer - Memory Compression Mode" start="714" end="714" type="uint">
+ <value name="Horizontal Compression Mode" value="0"/>
</field>
<field name="AVS Line Buffer - Cache Select" start="716" end="716" type="uint">
<value name="LLC" value="0"/>
</field>
- <field name="AVS Line Buffer - Memory Compression Mode" start="714" end="714" type="uint">
- <value name="Horizontal Compression Mode" value="0"/>
+ <field name="AVS Line Buffer - Tiled Mode" start="717" end="718" type="uint">
+ <value name="TRMODE_NONE" value="0"/>
+ <value name="TRMODE_TILEYF" value="1"/>
+ <value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="AVS Line Buffer - Memory Compression Enable" start="713" end="713" type="bool"/>
- <field name="AVS Line Buffer - Arbitration Priority Control" start="711" end="712" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="AVS Line Buffer - MOCS" start="705" end="710" type="uint"/>
<field name="IEF Line Buffer - Address" start="748" end="783" type="uint"/>
+ <field name="IEF Line Buffer - MOCS" start="801" end="806" type="uint"/>
+ <field name="IEF Line Buffer - Arbitration Priority Control" start="807" end="808" type="HEVC_ARBITRATION_PRIORITY"/>
+ <field name="IEF Line Buffer - Memory Compression Enable" start="809" end="809" type="bool"/>
+ <field name="IEF Line Buffer - Memory Compression Mode" start="810" end="810" type="uint"/>
+ <field name="IEF Line Buffer - Cache Select" start="812" end="812" type="uint"/>
<field name="IEF Line Buffer - Tiled Mode" start="813" end="814" type="uint">
<value name="TRMODE_NONE" value="0"/>
<value name="TRMODE_TILEYF" value="1"/>
<value name="TRMODE_TILEYS" value="2"/>
</field>
- <field name="IEF Line Buffer - Cache Select" start="812" end="812" type="uint"/>
- <field name="IEF Line Buffer - Memory Compression Mode" start="810" end="810" type="uint"/>
- <field name="IEF Line Buffer - Memory Compression Enable" start="809" end="809" type="bool"/>
- <field name="IEF Line Buffer - Arbitration Priority Control" start="807" end="808" type="HEVC_ARBITRATION_PRIORITY"/>
- <field name="IEF Line Buffer - MOCS" start="801" end="806" type="uint"/>
- <field name="Output Surface Format" start="956" end="959" type="uint"/>
- <field name="Output Surface Interleave Chroma Enable" start="955" end="955" type="bool"/>
- <field name="Output Surface Pitch" start="931" end="947" type="uint"/>
- <field name="Output Surface Half Pitch for Chroma" start="930" end="930" type="bool"/>
- <field name="Output Surface Tiled" start="929" end="929" type="bool"/>
<field name="Output Surface Tile Walk" start="928" end="928" type="uint" prefix="TW">
<value name="XMAJOR" value="0"/>
<value name="YMAJOR" value="1"/>
</field>
- <field name="Output Surface X Offset for U" start="976" end="989" type="uint"/>
+ <field name="Output Surface Tiled" start="929" end="929" type="bool"/>
+ <field name="Output Surface Half Pitch for Chroma" start="930" end="930" type="bool"/>
+ <field name="Output Surface Pitch" start="931" end="947" type="uint"/>
+ <field name="Output Surface Interleave Chroma Enable" start="955" end="955" type="bool"/>
+ <field name="Output Surface Format" start="956" end="959" type="uint"/>
<field name="Output Surface Y Offset for U" start="960" end="973" type="uint"/>
- <field name="Output Surface X Offset for V" start="1008" end="1021" type="uint"/>
+ <field name="Output Surface X Offset for U" start="976" end="989" type="uint"/>
<field name="Output Surface Y Offset for V" start="992" end="1005" type="uint"/>
+ <field name="Output Surface X Offset for V" start="1008" end="1021" type="uint"/>
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="19" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="17"/>
- <field name="General State Base Address" start="44" end="95" type="address"/>
- <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
+ <field name="General State MOCS" start="36" end="42" type="uint"/>
+ <field name="General State Base Address" start="44" end="95" type="address"/>
<field name="Stateless Data Port Access MOCS" start="112" end="118" type="uint"/>
- <field name="Surface State Base Address" start="140" end="191" type="address"/>
- <field name="Surface State MOCS" start="132" end="138" type="uint"/>
<field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
- <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
- <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Surface State MOCS" start="132" end="138" type="uint"/>
+ <field name="Surface State Base Address" start="140" end="191" type="address"/>
<field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
- <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
- <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
+ <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
<field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
- <field name="Instruction Base Address" start="332" end="383" type="address"/>
- <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
+ <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
<field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
- <field name="General State Buffer Size" start="396" end="415" type="uint"/>
+ <field name="Instruction MOCS" start="324" end="330" type="uint"/>
+ <field name="Instruction Base Address" start="332" end="383" type="address"/>
<field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
- <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
+ <field name="General State Buffer Size" start="396" end="415" type="uint"/>
<field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
- <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
+ <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
<field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
- <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
+ <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
<field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
- <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
- <field name="Bindless Surface State MOCS" start="516" end="522" type="uint"/>
+ <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
<field name="Bindless Surface State Base Address Modify Enable" start="512" end="512" type="bool"/>
+ <field name="Bindless Surface State MOCS" start="516" end="522" type="uint"/>
+ <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
<field name="Bindless Surface State Size" start="588" end="607" type="uint"/>
</instruction>
<instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
<field name="DWord Length" start="0" end="7" type="uint" default="0"/>
- <field name="Prefetch Pointer" start="38" end="63" type="address"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Prefetch Count" start="32" end="34" type="uint"/>
+ <field name="Prefetch Pointer" start="38" end="63" type="address"/>
</instruction>
<instruction name="STATE_SIP" bias="2" length="3" engine="render">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
- <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
- <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
<field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="System Instruction Pointer" start="36" end="95" type="offset"/>
</instruction>
<instruction name="VDENC_CONST_QPT_STATE" bias="2" length="62" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
<field name="DWord Length" start="0" end="11" type="uint" default="60"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="QP Lambda Array Index[n]" start="32" end="39" type="uint"/>
<field name="Skip Threshold Array Index[n]" start="384" end="399" type="uint"/>
<field name="SIC Forward Transform Coeff Threshold Matrix0 Array Index[n]" start="832" end="847" type="uint"/>
@@ -6132,143 +6132,142 @@
</instruction>
<instruction name="VDENC_DS_REF_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="8X Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_IMG_STATE" bias="2" length="36" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
<field name="DWord Length" start="0" end="11" type="uint" default="34"/>
- <field name="Lambda Value for Trellis" start="48" end="63" type="uint"/>
- <field name="VDEnc L1 Cache Priority" start="40" end="41" type="uint"/>
- <field name="Transform 8x8" start="39" end="39" type="bool"/>
- <field name="VDEnc Extended PAK_OBJ_ Command Enable" start="38" end="38" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Bidirectional Mix Disable" start="34" end="34" type="bool"/>
+ <field name="VDEnc Extended PAK_OBJ_ Command Enable" start="38" end="38" type="bool"/>
+ <field name="Transform 8x8" start="39" end="39" type="bool"/>
+ <field name="VDEnc L1 Cache Priority" start="40" end="41" type="uint"/>
+ <field name="Lambda Value for Trellis" start="48" end="63" type="uint"/>
<field name="Unidirectional Mix Disable" start="92" end="92" type="bool"/>
<field name="Picture Width" start="112" end="127" type="uint"/>
- <field name="Block-Based Skip Type" start="159" end="159" type="uint"/>
- <field name="Sub-MB Sub-Partition Mask" start="152" end="158" type="uint"/>
- <field name="Intra SAD Measure Adjustment" start="150" end="151" type="uint">
+ <field name="Sub-Pel Mode" start="140" end="141" type="uint"/>
+ <field name="Forward Transform Skip Check Enable" start="145" end="145" type="bool"/>
+ <field name="Block-Based Skip Enable" start="147" end="147" type="bool"/>
+ <field name="Inter SAD Measure Adjustment" start="148" end="149" type="uint">
<value name="None" value="0"/>
<value name="Haar Transform Adjusted" value="2"/>
</field>
- <field name="Inter SAD Measure Adjustment" start="148" end="149" type="uint">
+ <field name="Intra SAD Measure Adjustment" start="150" end="151" type="uint">
<value name="None" value="0"/>
<value name="Haar Transform Adjusted" value="2"/>
</field>
- <field name="Block-Based Skip Enable" start="147" end="147" type="bool"/>
- <field name="Forward Transform Skip Check Enable" start="145" end="145" type="bool"/>
- <field name="Sub-Pel Mode" start="140" end="141" type="uint"/>
+ <field name="Sub-MB Sub-Partition Mask" start="152" end="158" type="uint"/>
+ <field name="Block-Based Skip Type" start="159" end="159" type="uint"/>
+ <field name="Picture Height" start="160" end="175" type="uint"/>
+ <field name="CRE Prefetch Enable" start="176" end="176" type="bool"/>
+ <field name="HME Ref1 Disable" start="177" end="177" type="bool"/>
+ <field name="MB Slice Threshold Value" start="178" end="181" type="uint"/>
+ <field name="Constrained Intra Prediction" start="186" end="186" type="bool"/>
<field name="Picture Type" start="189" end="190" type="uint">
<value name="I" value="0"/>
<value name="P" value="1"/>
</field>
- <field name="Constrained Intra Prediction" start="186" end="186" type="bool"/>
- <field name="MB Slice Threshold Value" start="178" end="181" type="uint"/>
- <field name="HME Ref1 Disable" start="177" end="177" type="bool"/>
- <field name="CRE Prefetch Enable" start="176" end="176" type="bool"/>
- <field name="Picture Height" start="160" end="175" type="uint"/>
<field name="Slice MB Height" start="192" end="207" type="uint"/>
<field name="HME1 Y Offset" start="248" end="255" type="int"/>
- <field name="RefID Cost Mode Select" start="278" end="278" type="uint"/>
- <field name="BiLinear Filter Enable" start="274" end="274" type="bool"/>
+ <field name="Luma Intra Partition Mask" start="256" end="260" type="uint"/>
+ <field name="Non Skip Zero MV Cost Added" start="261" end="261" type="uint"/>
+ <field name="Non Skip MB Mode Cost Added" start="262" end="262" type="uint"/>
<field name="MV Cost Scaling Factor" start="272" end="273" type="uint">
<value name="Qpel" value="0"/>
<value name="Hpel" value="1"/>
<value name="Pel" value="2"/>
<value name="2pel" value="3"/>
</field>
- <field name="Non Skip MB Mode Cost Added" start="262" end="262" type="uint"/>
- <field name="Non Skip Zero MV Cost Added" start="261" end="261" type="uint"/>
- <field name="Luma Intra Partition Mask" start="256" end="260" type="uint"/>
- <field name="Mode 3 Cost" start="312" end="319" type="uint"/>
- <field name="Mode 2 Cost" start="304" end="311" type="uint"/>
- <field name="Mode 1 Cost" start="296" end="303" type="uint"/>
+ <field name="BiLinear Filter Enable" start="274" end="274" type="bool"/>
+ <field name="RefID Cost Mode Select" start="278" end="278" type="uint"/>
<field name="Mode 0 Cost" start="288" end="295" type="uint"/>
- <field name="Mode 7 Cost" start="344" end="351" type="uint"/>
- <field name="Mode 6 Cost" start="336" end="343" type="uint"/>
- <field name="Mode 5 Cost" start="328" end="335" type="uint"/>
+ <field name="Mode 1 Cost" start="296" end="303" type="uint"/>
+ <field name="Mode 2 Cost" start="304" end="311" type="uint"/>
+ <field name="Mode 3 Cost" start="312" end="319" type="uint"/>
<field name="Mode 4 Cost" start="320" end="327" type="uint"/>
- <field name="Chroma Intra Mode Cost" start="376" end="383" type="uint"/>
- <field name="RefID Cost" start="368" end="375" type="uint"/>
- <field name="Mode 9 Cost" start="360" end="367" type="uint"/>
+ <field name="Mode 5 Cost" start="328" end="335" type="uint"/>
+ <field name="Mode 6 Cost" start="336" end="343" type="uint"/>
+ <field name="Mode 7 Cost" start="344" end="351" type="uint"/>
<field name="Mode 8 Cost" start="352" end="359" type="uint"/>
+ <field name="Mode 9 Cost" start="360" end="367" type="uint"/>
+ <field name="RefID Cost" start="368" end="375" type="uint"/>
+ <field name="Chroma Intra Mode Cost" start="376" end="383" type="uint"/>
<field name="MV Cost" start="384" end="447" type="uint"/>
- <field name="TargetSizeInWord" start="472" end="479" type="uint"/>
<field name="QpPrimeY" start="448" end="455" type="uint"/>
- <field name="AVC Intra 8x8 Mode Mask" start="560" end="568" type="uint"/>
+ <field name="TargetSizeInWord" start="472" end="479" type="uint"/>
<field name="AVC Intra 4x4 Mode Mask" start="544" end="552" type="uint"/>
- <field name="Intra Compute Type" start="584" end="585" type="uint"/>
- <field name="AVC Intra Chroma Mode Mask" start="580" end="583" type="uint"/>
+ <field name="AVC Intra 8x8 Mode Mask" start="560" end="568" type="uint"/>
<field name="AVC Intra 16x16 Mode Mask" start="576" end="579" type="uint"/>
- <field name="Penalty for Intra 4x4 Non-DC Prediction" start="656" end="663" type="uint"/>
- <field name="Penalty for Intra 8x8 Non-DC Prediction" start="648" end="655" type="uint"/>
+ <field name="AVC Intra Chroma Mode Mask" start="580" end="583" type="uint"/>
+ <field name="Intra Compute Type" start="584" end="585" type="uint"/>
<field name="Penalty for Intra 16x16 Non-DC Prediction" start="640" end="647" type="uint"/>
- <field name="QP Adjustment for Rolling-I" start="696" end="703" type="int"/>
+ <field name="Penalty for Intra 8x8 Non-DC Prediction" start="648" end="655" type="uint"/>
+ <field name="Penalty for Intra 4x4 Non-DC Prediction" start="656" end="663" type="uint"/>
+ <field name="Intra Refresh MB Position" start="672" end="679" type="uint"/>
+ <field name="Intra Refresh MB Size" start="680" end="687" type="uint"/>
+ <field name="Intra Refresh Enable (Rolling-I Enable)" start="688" end="688" type="bool"/>
<field name="Intra Refresh Mode" start="689" end="689" type="uint">
<value name="Row Based" value="0"/>
<value name="Column Based" value="1"/>
</field>
- <field name="Intra Refresh Enable (Rolling-I Enable)" start="688" end="688" type="bool"/>
- <field name="Intra Refresh MB Size" start="680" end="687" type="uint"/>
- <field name="Intra Refresh MB Position" start="672" end="679" type="uint"/>
- <field name="LargeMbSizeInWord" start="728" end="735" type="uint"/>
- <field name="SmallMbSizeInWord" start="720" end="727" type="uint"/>
+ <field name="QP Adjustment for Rolling-I" start="696" end="703" type="int"/>
<field name="PanicModeMBThreshold" start="704" end="719" type="uint"/>
- <field name="L1 Number of References" start="752" end="759" type="int"/>
+ <field name="SmallMbSizeInWord" start="720" end="727" type="uint"/>
+ <field name="LargeMbSizeInWord" start="728" end="735" type="uint"/>
<field name="L0 Number of References" start="736" end="743" type="int"/>
+ <field name="L1 Number of References" start="752" end="759" type="int"/>
<field name="HME Ref Windows Combining Threshold" start="840" end="847" type="uint"/>
- <field name="Max Vertical MV Range" start="880" end="895" type="uint"/>
<field name="Max Horizontal MV Range" start="864" end="879" type="uint"/>
+ <field name="Max Vertical MV Range" start="880" end="895" type="uint"/>
<field name="HME MV Cost" start="896" end="959" type="uint"/>
- <field name="QP Adjustment for Shape Best Intra 16x16 Winner" start="984" end="987" type="int"/>
- <field name="QP Adjustment for Shape Best Intra 8x8 Winner" start="980" end="983" type="int"/>
- <field name="QP Adjustment for Shape Best Intra 4x4 Winner" start="976" end="979" type="int"/>
- <field name="ROI QP Adjustment for Zone3" start="972" end="975" type="int"/>
- <field name="ROI QP Adjustment for Zone2" start="968" end="971" type="int"/>
- <field name="ROI QP Adjustment for Zone1" start="964" end="967" type="int"/>
<field name="ROI QP Adjustment for Zone0" start="960" end="963" type="int"/>
- <field name="Sad/Haar Threshold 0" start="1008" end="1023" type="uint"/>
- <field name="Best Distortion QP Adjustment for Zone3" start="1004" end="1007" type="int"/>
- <field name="Best Distortion QP Adjustment for Zone2" start="1000" end="1003" type="int"/>
- <field name="Best Distortion QP Adjustment for Zone1" start="996" end="999" type="int"/>
+ <field name="ROI QP Adjustment for Zone1" start="964" end="967" type="int"/>
+ <field name="ROI QP Adjustment for Zone2" start="968" end="971" type="int"/>
+ <field name="ROI QP Adjustment for Zone3" start="972" end="975" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 4x4 Winner" start="976" end="979" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 8x8 Winner" start="980" end="983" type="int"/>
+ <field name="QP Adjustment for Shape Best Intra 16x16 Winner" start="984" end="987" type="int"/>
<field name="Best Distortion QP Adjustment for Zone0" start="992" end="995" type="int"/>
- <field name="Sad/Haar Threshold 2" start="1040" end="1055" type="uint"/>
+ <field name="Best Distortion QP Adjustment for Zone1" start="996" end="999" type="int"/>
+ <field name="Best Distortion QP Adjustment for Zone2" start="1000" end="1003" type="int"/>
+ <field name="Best Distortion QP Adjustment for Zone3" start="1004" end="1007" type="int"/>
+ <field name="Sad/Haar Threshold 0" start="1008" end="1023" type="uint"/>
<field name="Sad/Haar Threshold 1" start="1024" end="1039" type="uint"/>
- <field name="Max Delta QP" start="1080" end="1083" type="uint"/>
- <field name="Max QP" start="1064" end="1071" type="uint"/>
+ <field name="Sad/Haar Threshold 2" start="1040" end="1055" type="uint"/>
<field name="Min QP" start="1056" end="1063" type="uint"/>
- <field name="Midpoint Sad/Haar" start="1104" end="1119" type="uint"/>
- <field name="Long Term Reference Frame Fwd Ref0 Indicator" start="1101" end="1101" type="bool"/>
- <field name="Long Term Reference Frame Fwd Ref1 Indicator" start="1100" end="1100" type="bool"/>
- <field name="Long Term Reference Frame Fwd Ref2 Indicator" start="1099" end="1099" type="bool"/>
- <field name="Long Term Reference Frame Bwd Ref0 Indicator" start="1098" end="1098" type="bool"/>
- <field name="Coefficient Clamp Enable" start="1097" end="1097" type="bool"/>
- <field name="PPMV Disable" start="1096" end="1096" type="bool"/>
- <field name="TargetSizeinWordsMB/MaxSizeinWordsMB Enable" start="1092" end="1092" type="bool"/>
- <field name="MB Level QP Enable" start="1091" end="1091" type="bool"/>
- <field name="Bwd/Predictor1 MV Enable" start="1090" end="1090" type="bool"/>
- <field name="Fwd/Predictor0 MV Enable" start="1089" end="1089" type="bool"/>
+ <field name="Max QP" start="1064" end="1071" type="uint"/>
+ <field name="Max Delta QP" start="1080" end="1083" type="uint"/>
<field name="ROI Enable" start="1088" end="1088" type="bool"/>
+ <field name="Fwd/Predictor0 MV Enable" start="1089" end="1089" type="bool"/>
+ <field name="Bwd/Predictor1 MV Enable" start="1090" end="1090" type="bool"/>
+ <field name="MB Level QP Enable" start="1091" end="1091" type="bool"/>
+ <field name="TargetSizeinWordsMB/MaxSizeinWordsMB Enable" start="1092" end="1092" type="bool"/>
+ <field name="PPMV Disable" start="1096" end="1096" type="bool"/>
+ <field name="Coefficient Clamp Enable" start="1097" end="1097" type="bool"/>
+ <field name="Long Term Reference Frame Bwd Ref0 Indicator" start="1098" end="1098" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref2 Indicator" start="1099" end="1099" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref1 Indicator" start="1100" end="1100" type="bool"/>
+ <field name="Long Term Reference Frame Fwd Ref0 Indicator" start="1101" end="1101" type="bool"/>
+ <field name="Midpoint Sad/Haar" start="1104" end="1119" type="uint"/>
</instruction>
<instruction name="VDENC_PIPE_BUF_ADDR_STATE" bias="2" length="38" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
<field name="DWord Length" start="0" end="11" type="uint" default="36"/>
-
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="DS FWD REF0" start="32" end="127" type="VDENC_PICTURE"/>
<field name="DS FWD REF1" start="128" end="223" type="VDENC_PICTURE"/>
<field name="Original Uncompressed Picture" start="320" end="415" type="VDENC_PICTURE"/>
@@ -6283,108 +6282,165 @@
</instruction>
<instruction name="VDENC_PIPE_MODE_SELECT" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="Output Range Control After Color Space Conversion" start="49" end="49" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Standard Select" start="32" end="35" type="uint">
+ <value name="AVC" value="2"/>
+ </field>
+ <field name="Frame Statistics Stream-Out Enable" start="37" end="37" type="bool"/>
+ <field name="TLB Prefetch Enable" start="39" end="39" type="bool"/>
+ <field name="PAK Threshold Check Enable" start="40" end="40" type="bool"/>
+ <field name="VDEnc Stream-In Enable" start="41" end="41" type="bool"/>
<field name="PAK Chroma Sub-Sampling Type" start="47" end="48" type="uint">
<value name="4:2:0" value="1"/>
<value name="4:4:4" value="3"/>
</field>
- <field name="VDEnc Stream-In Enable" start="41" end="41" type="bool"/>
- <field name="PAK Threshold Check Enable" start="40" end="40" type="bool"/>
- <field name="TLB Prefetch Enable" start="39" end="39" type="bool"/>
- <field name="Frame Statistics Stream-Out Enable" start="37" end="37" type="bool"/>
- <field name="Standard Select" start="32" end="35" type="uint">
- <value name="AVC" value="2"/>
- </field>
+ <field name="Output Range Control After Color Space Conversion" start="49" end="49" type="bool"/>
</instruction>
<instruction name="VDENC_REF_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_SRC_SURFACE_STATE" bias="2" length="6" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
<field name="DWord Length" start="0" end="11" type="uint" default="4"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface State" start="64" end="191" type="VDENC_SURFACE_STATE_FIELDS"/>
</instruction>
<instruction name="VDENC_WALKER_STATE" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="First Super Slice" start="60" end="60" type="bool"/>
- <field name="MB/LCU Start X Position" start="48" end="56" type="uint"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="1"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="MB/LCU Start Y Position" start="32" end="40" type="uint"/>
- <field name="Tile Stream-In Offset" start="198" end="223" type="uint"/>
+ <field name="MB/LCU Start X Position" start="48" end="56" type="uint"/>
+ <field name="First Super Slice" start="60" end="60" type="bool"/>
<field name="Tile Stream-In Offset Enable" start="192" end="192" type="bool"/>
- <field name="Tile Row Store Offset" start="230" end="255" type="uint"/>
+ <field name="Tile Stream-In Offset" start="198" end="223" type="uint"/>
<field name="Tile Row Store Offset Enable" start="224" end="224" type="bool"/>
- <field name="Tile Stream-Out Offset" start="262" end="287" type="uint"/>
+ <field name="Tile Row Store Offset" start="230" end="255" type="uint"/>
<field name="Tile Stream-Out Offset Enable" start="256" end="256" type="bool"/>
- <field name="Tile LCU Stream-Out Offset" start="294" end="319" type="uint"/>
+ <field name="Tile Stream-Out Offset" start="262" end="287" type="uint"/>
<field name="Tile LCU Stream-Out Offset Enable" start="288" end="288" type="bool"/>
+ <field name="Tile LCU Stream-Out Offset" start="294" end="319" type="uint"/>
</instruction>
<instruction name="VD_PIPELINE_FLUSH" bias="2" length="2" engine="video">
- <field name="Command Type" start="29" end="31" type="uint" default="3"/>
- <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
- <field name="Media Command Opcode" start="23" end="26" type="uint" default="15"/>
- <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
- <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
<field name="DWord Length" start="0" end="11" type="uint" default="0"/>
- <field name="MFX Pipeline Command Flush" start="51" end="51" type="bool"/>
- <field name="VD-ENC Pipeline Command Flush" start="49" end="49" type="bool"/>
- <field name="HEVC Pipeline Command Flush" start="48" end="48" type="bool"/>
- <field name="VD Command/Message Parser Done" start="36" end="36" type="bool"/>
- <field name="MFX Pipeline Done" start="35" end="35" type="bool"/>
- <field name="VD-ENC Pipeline Done" start="33" end="33" type="bool"/>
+ <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
+ <field name="SubOpcode A" start="21" end="22" type="uint" default="0"/>
+ <field name="Media Command Opcode" start="23" end="26" type="uint" default="15"/>
+ <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="HEVC Pipeline Done" start="32" end="32" type="bool"/>
+ <field name="VD-ENC Pipeline Done" start="33" end="33" type="bool"/>
+ <field name="MFX Pipeline Done" start="35" end="35" type="bool"/>
+ <field name="VD Command/Message Parser Done" start="36" end="36" type="bool"/>
+ <field name="HEVC Pipeline Command Flush" start="48" end="48" type="bool"/>
+ <field name="VD-ENC Pipeline Command Flush" start="49" end="49" type="bool"/>
+ <field name="MFX Pipeline Command Flush" start="51" end="51" type="bool"/>
</instruction>
- <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
- <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
- </register>
-
- <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
- <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="ACTHD_UDW" length="1" num="0x205c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
</register>
- <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
- <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
</register>
- <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
- <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_INSTDONE" length="1" num="0x2206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
+ <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
+ <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
</register>
- <register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
- <field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
- <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_0" length="1" num="0x7000">
+ <field name="Null tile fix disable" start="0" end="0" type="bool"/>
+ <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
+ <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
+ <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
+ <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
+ <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
+ <value name="Round Robin" value="0"/>
+ <value name="Fetch are Highest Priority" value="1"/>
+ <value name="Constants are Highest Priority" value="2"/>
+ </field>
+ <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
+ <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
+ <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
+ <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
+ <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
+ <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
+ <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
+ <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
+ <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
+ <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
+ <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
+ <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
+ <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
+ <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
</register>
- <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
- <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
+ <register name="CACHE_MODE_1" length="1" num="0x7004">
+ <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
+ <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
+ <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
+ <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
+ <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
+ <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
+ <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
+ <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
+ <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
+ <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
+ <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
+ <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
+ <field name="Color Compression Disable" start="15" end="15" type="bool"/>
+ <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
+ <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
+ <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
+ <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
+ <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
+ <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
+ <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
+ <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
+ <field name="NP PMA Fix Enable Mask" start="27" end="27" type="bool"/>
+ <field name="HIZ Eviction Policy Mask" start="28" end="28" type="bool"/>
+ <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
+ <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
+ <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
</register>
<register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
@@ -6395,19 +6451,90 @@
<field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
- <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
+ <register name="CS_CHICKEN1" length="1" num="0x2580">
+ <field name="Replay Mode" start="0" end="0" type="uint">
+ <value name="Mid-cmdbuffer Preemption" value="0"/>
+ <value name="Object Level Preemption" value="1"/>
+ </field>
+ <field name="Replay Mode Mask" start="16" end="16" type="bool"/>
+ </register>
+
+ <register name="CS_DEBUG_MODE2" length="1" num="0x20d8">
+ <field name="3D Rendering Instruction Disable" start="0" end="0" type="bool"/>
+ <field name="Media Instruction Disable" start="1" end="1" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable" start="4" end="4" type="bool"/>
+ <field name="3D Rendering Instruction Disable Mask" start="16" end="16" type="bool"/>
+ <field name="Media Instruction Disable Mask" start="17" end="17" type="bool"/>
+ <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="20" end="20" type="bool"/>
</register>
<register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
<field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="BCS_INSTDONE" length="1" num="0x2206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
- <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
- <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
+ <register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
+ <field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="FAULT_REG" length="1" num="0x4094">
+ <field name="Valid Bit" start="0" end="0" type="bool"/>
+ <field name="Fault Type" start="1" end="2" type="uint">
+ <value name="Invalid PTE Fault" value="0"/>
+ <value name="Invalid PDE Fault" value="1"/>
+ <value name="Invalid PDPE Fault" value="2"/>
+ <value name="Invalid PML4E Fault" value="3"/>
+ </field>
+ <field name="SRCID of Fault" start="3" end="10" type="uint"/>
+ <field name="GTTSEL" start="11" end="11" type="uint">
+ <value name="PPGTT" value="0"/>
+ <value name="GGTT" value="1"/>
+ </field>
+ <field name="Engine ID" start="12" end="14" type="uint">
+ <value name="GFX" value="0"/>
+ <value name="MFX0" value="1"/>
+ <value name="MFX1" value="2"/>
+ <value name="VEBX" value="3"/>
+ <value name="BLT" value="4"/>
+ <value name="GUC" value="5"/>
+ </field>
+ </register>
+
+ <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
+ <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
+ <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
+ <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
+ <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
+ <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
+ <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
+ <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
+ <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
+ <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
+ <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
+ <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
+ <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
+ <field name="PASID Not Valid" start="13" end="13" type="bool"/>
+ <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
+ <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
+ </register>
+
+ <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
+ <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
+ <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
+ <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
+ <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
+ </register>
+
+ <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
+ <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
</register>
<register name="INSTDONE_1" length="1" num="0x206c">
@@ -6435,71 +6562,29 @@
<field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
</register>
- <register name="VCS_INSTDONE" length="1" num="0x1206c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="USB Done" start="1" end="1" type="bool"/>
- <field name="QRC Done" start="2" end="2" type="bool"/>
- <field name="SEC Done" start="3" end="3" type="bool"/>
- <field name="MPC Done" start="4" end="4" type="bool"/>
- <field name="VFT Done" start="5" end="5" type="bool"/>
- <field name="BSP Done" start="6" end="6" type="bool"/>
- <field name="VLF Done" start="7" end="7" type="bool"/>
- <field name="VOP Done" start="8" end="8" type="bool"/>
- <field name="VMC Done" start="9" end="9" type="bool"/>
- <field name="VIP Done" start="10" end="10" type="bool"/>
- <field name="VIT Done" start="11" end="11" type="bool"/>
- <field name="VDS Done" start="12" end="12" type="bool"/>
- <field name="VMX Done" start="13" end="13" type="bool"/>
- <field name="VCP Done" start="14" end="14" type="bool"/>
- <field name="VCD Done" start="15" end="15" type="bool"/>
- <field name="VAD Done" start="16" end="16" type="bool"/>
- <field name="VMD Done" start="17" end="17" type="bool"/>
- <field name="VIS Done" start="18" end="18" type="bool"/>
- <field name="VAC Done" start="19" end="19" type="bool"/>
- <field name="VAM Done" start="20" end="20" type="bool"/>
- <field name="JPG Done" start="21" end="21" type="bool"/>
- <field name="VBP Done" start="22" end="22" type="bool"/>
- <field name="VHR Done" start="23" end="23" type="bool"/>
- <field name="VCI Done" start="24" end="24" type="bool"/>
- <field name="VCR Done" start="25" end="25" type="bool"/>
- <field name="VIN Done" start="26" end="26" type="bool"/>
- <field name="VPR Done" start="27" end="27" type="bool"/>
- <field name="VTQ Done" start="28" end="28" type="bool"/>
- <field name="Reserved" start="29" end="29" type="bool"/>
- <field name="VCS Done" start="30" end="30" type="bool"/>
- <field name="GAC Done" start="31" end="31" type="bool"/>
+ <register name="L3CNTLREG" length="1" num="0x7034">
+ <field name="SLM Enable" start="0" end="0" type="bool"/>
+ <field name="URB Allocation" start="1" end="7" type="uint"/>
+ <field name="RO Allocation" start="11" end="17" type="uint"/>
+ <field name="DC Allocation" start="18" end="24" type="uint"/>
+ <field name="All Allocation" start="25" end="31" type="uint"/>
</register>
- <register name="VECS_INSTDONE" length="1" num="0x1a06c">
- <field name="Ring Enable" start="0" end="0" type="bool"/>
- <field name="VECS Done" start="30" end="30" type="bool"/>
- <field name="GAM Done" start="31" end="31" type="bool"/>
+ <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
+ <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
- <register name="SC_INSTDONE" length="1" num="0x7100">
- <field name="SVL Done" start="0" end="0" type="bool"/>
- <field name="WMFE Done" start="1" end="1" type="bool"/>
- <field name="WMBE Done" start="2" end="2" type="bool"/>
- <field name="HIZ Done" start="3" end="3" type="bool"/>
- <field name="STC Done" start="4" end="4" type="bool"/>
- <field name="IZ Done" start="5" end="5" type="bool"/>
- <field name="SBE Done" start="6" end="6" type="bool"/>
- <field name="RCZ Done" start="8" end="8" type="bool"/>
- <field name="RCC Done" start="9" end="9" type="bool"/>
- <field name="RCPBE Done" start="10" end="10" type="bool"/>
- <field name="RCPFE Done" start="11" end="11" type="bool"/>
- <field name="DAPB Done" start="12" end="12" type="bool"/>
- <field name="DAPRBE Done" start="13" end="13" type="bool"/>
- <field name="SARB Done" start="15" end="15" type="bool"/>
- <field name="DC0 Done" start="16" end="16" type="bool"/>
- <field name="DC1 Done" start="17" end="17" type="bool"/>
- <field name="DC2 Done" start="18" end="18" type="bool"/>
- <field name="DC3 Done" start="19" end="19" type="bool"/>
- <field name="GW0 Done" start="20" end="20" type="bool"/>
- <field name="GW1 Done" start="21" end="21" type="bool"/>
- <field name="GW2 Done" start="22" end="22" type="bool"/>
- <field name="GW3 Done" start="23" end="23" type="bool"/>
- <field name="TDC Done" start="24" end="24" type="bool"/>
+ <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
+ <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
+ <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
+ <value name="MI_AUTOREPORT_OFF" value="0"/>
+ <value name="MI_AUTOREPORT_64KB" value="1"/>
+ <value name="MI_AUTOREPORT_4KB" value="2"/>
+ <value name="MI_AUTOREPORT_128KB" value="3"/>
+ </field>
+ <field name="Semaphore Wait" start="10" end="10" type="bool"/>
+ <field name="RBWait" start="11" end="11" type="bool"/>
+ <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
<register name="ROW_INSTDONE" length="1" num="0xe164">
@@ -6543,20 +6628,38 @@
<field name="BDM Done" start="19" end="19" type="bool"/>
</register>
- <register name="L3CNTLREG" length="1" num="0x7034">
- <field name="SLM Enable" start="0" end="0" type="bool"/>
- <field name="URB Allocation" start="1" end="7" type="uint"/>
- <field name="RO Allocation" start="11" end="17" type="uint"/>
- <field name="DC Allocation" start="18" end="24" type="uint"/>
- <field name="All Allocation" start="25" end="31" type="uint"/>
+ <register name="SC_INSTDONE" length="1" num="0x7100">
+ <field name="SVL Done" start="0" end="0" type="bool"/>
+ <field name="WMFE Done" start="1" end="1" type="bool"/>
+ <field name="WMBE Done" start="2" end="2" type="bool"/>
+ <field name="HIZ Done" start="3" end="3" type="bool"/>
+ <field name="STC Done" start="4" end="4" type="bool"/>
+ <field name="IZ Done" start="5" end="5" type="bool"/>
+ <field name="SBE Done" start="6" end="6" type="bool"/>
+ <field name="RCZ Done" start="8" end="8" type="bool"/>
+ <field name="RCC Done" start="9" end="9" type="bool"/>
+ <field name="RCPBE Done" start="10" end="10" type="bool"/>
+ <field name="RCPFE Done" start="11" end="11" type="bool"/>
+ <field name="DAPB Done" start="12" end="12" type="bool"/>
+ <field name="DAPRBE Done" start="13" end="13" type="bool"/>
+ <field name="SARB Done" start="15" end="15" type="bool"/>
+ <field name="DC0 Done" start="16" end="16" type="bool"/>
+ <field name="DC1 Done" start="17" end="17" type="bool"/>
+ <field name="DC2 Done" start="18" end="18" type="bool"/>
+ <field name="DC3 Done" start="19" end="19" type="bool"/>
+ <field name="GW0 Done" start="20" end="20" type="bool"/>
+ <field name="GW1 Done" start="21" end="21" type="bool"/>
+ <field name="GW2 Done" start="22" end="22" type="bool"/>
+ <field name="GW3 Done" start="23" end="23" type="bool"/>
+ <field name="TDC Done" start="24" end="24" type="bool"/>
</register>
- <register name="CS_CHICKEN1" length="1" num="0x2580">
- <field name="Replay Mode" start="0" end="0" type="uint">
- <value name="Mid-cmdbuffer Preemption" value="0"/>
- <value name="Object Level Preemption" value="1"/>
+ <register name="SLICE_COMMON_ECO_CHICKEN1" length="1" num="0x731c">
+ <field name="GLK Barrier Mode" start="7" end="7" type="uint">
+ <value name="GLK_BARRIER_MODE_GPGPU" value="0"/>
+ <value name="GLK_BARRIER_MODE_3D_HULL" value="1"/>
</field>
- <field name="Replay Mode Mask" start="16" end="16" type="bool"/>
+ <field name="GLK Barrier Mode Mask" start="23" end="23" type="bool"/>
</register>
<register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
@@ -6607,130 +6710,7 @@
<field name="Write Offset" start="2" end="31" type="offset"/>
</register>
- <register name="CACHE_MODE_0" length="1" num="0x7000">
- <field name="Null tile fix disable" start="0" end="0" type="bool"/>
- <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
- <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
- <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
- <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
- <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
- <value name="Round Robin" value="0"/>
- <value name="Fetch are Highest Priority" value="1"/>
- <value name="Constants are Highest Priority" value="2"/>
- </field>
- <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
- <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
- <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
- <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
-
- <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
- <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
- <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
- <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
- <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
- <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
- <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
- <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
- <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
- <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
- </register>
-
- <register name="CACHE_MODE_1" length="1" num="0x7004">
- <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
- <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
- <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
- <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
- <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
- <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
- <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
- <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
- <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
- <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
- <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
- <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
- <field name="Color Compression Disable" start="15" end="15" type="bool"/>
-
- <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
- <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
- <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
- <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
- <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
- <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
- <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
- <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
- <field name="NP PMA Fix Enable Mask" start="27" end="27" type="bool"/>
- <field name="HIZ Eviction Policy Mask" start="28" end="28" type="bool"/>
- <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
- <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
- <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
- </register>
-
- <register name="SLICE_COMMON_ECO_CHICKEN1" length="1" num="0x731c">
- <field name="GLK Barrier Mode" start="7" end="7" type="uint">
- <value name="GLK_BARRIER_MODE_GPGPU" value="0"/>
- <value name="GLK_BARRIER_MODE_3D_HULL" value="1"/>
- </field>
- <field name="GLK Barrier Mode Mask" start="23" end="23" type="bool"/>
- </register>
-
- <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
- <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
- <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
- <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
- <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
- <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
- <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
- <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
- <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
- <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
- <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
- <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
- <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
- <field name="PASID Not Valid" start="13" end="13" type="bool"/>
- <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
- <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
- </register>
-
- <register name="ACTHD_UDW" length="1" num="0x205c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
- <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
- </register>
-
- <register name="FAULT_REG" length="1" num="0x4094">
- <field name="Valid Bit" start="0" end="0" type="bool"/>
- <field name="Fault Type" start="1" end="2" type="uint">
- <value name="Invalid PTE Fault" value="0"/>
- <value name="Invalid PDE Fault" value="1"/>
- <value name="Invalid PDPE Fault" value="2"/>
- <value name="Invalid PML4E Fault" value="3"/>
- </field>
- <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
- <field name="GTTSEL" start="11" end="11" type="uint">
- <value name="PPGTT" value="0"/>
- <value name="GGTT" value="1"/>
- </field>
- <field name="Engine ID" start="12" end="14" type="uint">
- <value name="GFX" value="0"/>
- <value name="MFX0" value="1"/>
- <value name="MFX1" value="2"/>
- <value name="VEBX" value="3"/>
- <value name="BLT" value="4"/>
- <value name="GUC" value="5"/>
- </field>
- </register>
-
- <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
+ <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
<field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
<field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
<value name="MI_AUTOREPORT_OFF" value="0"/>
@@ -6744,31 +6724,43 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
</register>
- <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
- <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
- <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
- <value name="MI_AUTOREPORT_OFF" value="0"/>
- <value name="MI_AUTOREPORT_64KB" value="1"/>
- <value name="MI_AUTOREPORT_4KB" value="2"/>
- <value name="MI_AUTOREPORT_128KB" value="3"/>
- </field>
- <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
- <field name="Semaphore Wait" start="10" end="10" type="bool"/>
- <field name="RBWait" start="11" end="11" type="bool"/>
- <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
+ <register name="VCS_INSTDONE" length="1" num="0x1206c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="USB Done" start="1" end="1" type="bool"/>
+ <field name="QRC Done" start="2" end="2" type="bool"/>
+ <field name="SEC Done" start="3" end="3" type="bool"/>
+ <field name="MPC Done" start="4" end="4" type="bool"/>
+ <field name="VFT Done" start="5" end="5" type="bool"/>
+ <field name="BSP Done" start="6" end="6" type="bool"/>
+ <field name="VLF Done" start="7" end="7" type="bool"/>
+ <field name="VOP Done" start="8" end="8" type="bool"/>
+ <field name="VMC Done" start="9" end="9" type="bool"/>
+ <field name="VIP Done" start="10" end="10" type="bool"/>
+ <field name="VIT Done" start="11" end="11" type="bool"/>
+ <field name="VDS Done" start="12" end="12" type="bool"/>
+ <field name="VMX Done" start="13" end="13" type="bool"/>
+ <field name="VCP Done" start="14" end="14" type="bool"/>
+ <field name="VCD Done" start="15" end="15" type="bool"/>
+ <field name="VAD Done" start="16" end="16" type="bool"/>
+ <field name="VMD Done" start="17" end="17" type="bool"/>
+ <field name="VIS Done" start="18" end="18" type="bool"/>
+ <field name="VAC Done" start="19" end="19" type="bool"/>
+ <field name="VAM Done" start="20" end="20" type="bool"/>
+ <field name="JPG Done" start="21" end="21" type="bool"/>
+ <field name="VBP Done" start="22" end="22" type="bool"/>
+ <field name="VHR Done" start="23" end="23" type="bool"/>
+ <field name="VCI Done" start="24" end="24" type="bool"/>
+ <field name="VCR Done" start="25" end="25" type="bool"/>
+ <field name="VIN Done" start="26" end="26" type="bool"/>
+ <field name="VPR Done" start="27" end="27" type="bool"/>
+ <field name="VTQ Done" start="28" end="28" type="bool"/>
+ <field name="Reserved" start="29" end="29" type="bool"/>
+ <field name="VCS Done" start="30" end="30" type="bool"/>
+ <field name="GAC Done" start="31" end="31" type="bool"/>
</register>
<register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
@@ -6785,7 +6777,17 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
+ <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
+ <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
+ </register>
+
+ <register name="VECS_INSTDONE" length="1" num="0x1a06c">
+ <field name="Ring Enable" start="0" end="0" type="bool"/>
+ <field name="VECS Done" start="30" end="30" type="bool"/>
+ <field name="GAM Done" start="31" end="31" type="bool"/>
+ </register>
+
+ <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
<field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
<field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
<value name="MI_AUTOREPORT_OFF" value="0"/>
@@ -6799,14 +6801,7 @@
<field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
</register>
- <register name="CS_DEBUG_MODE2" length="1" num="0x20d8">
- <field name="3D Rendering Instruction Disable" start="0" end="0" type="bool"/>
- <field name="Media Instruction Disable" start="1" end="1" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable" start="4" end="4" type="bool"/>
-
- <field name="3D Rendering Instruction Disable Mask" start="16" end="16" type="bool"/>
- <field name="Media Instruction Disable Mask" start="17" end="17" type="bool"/>
- <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="20" end="20" type="bool"/>
+ <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
+ <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
</register>
-
</genxml>