101e04c3fSmrg<?xml version="1.0" ?>
201e04c3fSmrg<genxml name="IVB" gen="7">
39f464c52Smaya
49f464c52Smaya  <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
59f464c52Smaya    <value name="ONE" value="1"/>
69f464c52Smaya    <value name="SRC_COLOR" value="2"/>
79f464c52Smaya    <value name="SRC_ALPHA" value="3"/>
89f464c52Smaya    <value name="DST_ALPHA" value="4"/>
99f464c52Smaya    <value name="DST_COLOR" value="5"/>
109f464c52Smaya    <value name="SRC_ALPHA_SATURATE" value="6"/>
119f464c52Smaya    <value name="CONST_COLOR" value="7"/>
129f464c52Smaya    <value name="CONST_ALPHA" value="8"/>
139f464c52Smaya    <value name="SRC1_COLOR" value="9"/>
149f464c52Smaya    <value name="SRC1_ALPHA" value="10"/>
159f464c52Smaya    <value name="ZERO" value="17"/>
169f464c52Smaya    <value name="INV_SRC_COLOR" value="18"/>
179f464c52Smaya    <value name="INV_SRC_ALPHA" value="19"/>
189f464c52Smaya    <value name="INV_DST_ALPHA" value="20"/>
199f464c52Smaya    <value name="INV_DST_COLOR" value="21"/>
209f464c52Smaya    <value name="INV_CONST_COLOR" value="23"/>
219f464c52Smaya    <value name="INV_CONST_ALPHA" value="24"/>
229f464c52Smaya    <value name="INV_SRC1_COLOR" value="25"/>
239f464c52Smaya    <value name="INV_SRC1_ALPHA" value="26"/>
249f464c52Smaya  </enum>
259f464c52Smaya
269f464c52Smaya  <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION">
279f464c52Smaya    <value name="ADD" value="0"/>
289f464c52Smaya    <value name="SUBTRACT" value="1"/>
299f464c52Smaya    <value name="REVERSE_SUBTRACT" value="2"/>
309f464c52Smaya    <value name="MIN" value="3"/>
319f464c52Smaya    <value name="MAX" value="4"/>
329f464c52Smaya  </enum>
339f464c52Smaya
349f464c52Smaya  <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
359f464c52Smaya    <value name="ALWAYS" value="0"/>
369f464c52Smaya    <value name="NEVER" value="1"/>
379f464c52Smaya    <value name="LESS" value="2"/>
389f464c52Smaya    <value name="EQUAL" value="3"/>
399f464c52Smaya    <value name="LEQUAL" value="4"/>
409f464c52Smaya    <value name="GREATER" value="5"/>
419f464c52Smaya    <value name="NOTEQUAL" value="6"/>
429f464c52Smaya    <value name="GEQUAL" value="7"/>
439f464c52Smaya  </enum>
449f464c52Smaya
459f464c52Smaya  <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
469f464c52Smaya    <value name="CLEAR" value="0"/>
479f464c52Smaya    <value name="NOR" value="1"/>
489f464c52Smaya    <value name="AND_INVERTED" value="2"/>
499f464c52Smaya    <value name="COPY_INVERTED" value="3"/>
509f464c52Smaya    <value name="AND_REVERSE" value="4"/>
519f464c52Smaya    <value name="INVERT" value="5"/>
529f464c52Smaya    <value name="XOR" value="6"/>
539f464c52Smaya    <value name="NAND" value="7"/>
549f464c52Smaya    <value name="AND" value="8"/>
559f464c52Smaya    <value name="EQUIV" value="9"/>
569f464c52Smaya    <value name="NOOP" value="10"/>
579f464c52Smaya    <value name="OR_INVERTED" value="11"/>
589f464c52Smaya    <value name="COPY" value="12"/>
599f464c52Smaya    <value name="OR_REVERSE" value="13"/>
609f464c52Smaya    <value name="OR" value="14"/>
619f464c52Smaya    <value name="SET" value="15"/>
629f464c52Smaya  </enum>
639f464c52Smaya
6401e04c3fSmrg  <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
6501e04c3fSmrg    <value name="POINTLIST" value="1"/>
6601e04c3fSmrg    <value name="LINELIST" value="2"/>
6701e04c3fSmrg    <value name="LINESTRIP" value="3"/>
6801e04c3fSmrg    <value name="TRILIST" value="4"/>
6901e04c3fSmrg    <value name="TRISTRIP" value="5"/>
7001e04c3fSmrg    <value name="TRIFAN" value="6"/>
7101e04c3fSmrg    <value name="QUADLIST" value="7"/>
7201e04c3fSmrg    <value name="QUADSTRIP" value="8"/>
7301e04c3fSmrg    <value name="LINELIST_ADJ" value="9"/>
7401e04c3fSmrg    <value name="LINESTRIP_ADJ" value="10"/>
7501e04c3fSmrg    <value name="TRILIST_ADJ" value="11"/>
7601e04c3fSmrg    <value name="TRISTRIP_ADJ" value="12"/>
7701e04c3fSmrg    <value name="TRISTRIP_REVERSE" value="13"/>
7801e04c3fSmrg    <value name="POLYGON" value="14"/>
7901e04c3fSmrg    <value name="RECTLIST" value="15"/>
8001e04c3fSmrg    <value name="LINELOOP" value="16"/>
8101e04c3fSmrg    <value name="POINTLIST _BF" value="17"/>
8201e04c3fSmrg    <value name="LINESTRIP_CONT" value="18"/>
8301e04c3fSmrg    <value name="LINESTRIP_BF" value="19"/>
8401e04c3fSmrg    <value name="LINESTRIP_CONT_BF" value="20"/>
8501e04c3fSmrg    <value name="TRIFAN_NOSTIPPLE" value="22"/>
8601e04c3fSmrg    <value name="PATCHLIST_1" value="32"/>
8701e04c3fSmrg    <value name="PATCHLIST_2" value="33"/>
8801e04c3fSmrg    <value name="PATCHLIST_3" value="34"/>
8901e04c3fSmrg    <value name="PATCHLIST_4" value="35"/>
9001e04c3fSmrg    <value name="PATCHLIST_5" value="36"/>
9101e04c3fSmrg    <value name="PATCHLIST_6" value="37"/>
9201e04c3fSmrg    <value name="PATCHLIST_7" value="38"/>
9301e04c3fSmrg    <value name="PATCHLIST_8" value="39"/>
9401e04c3fSmrg    <value name="PATCHLIST_9" value="40"/>
9501e04c3fSmrg    <value name="PATCHLIST_10" value="41"/>
9601e04c3fSmrg    <value name="PATCHLIST_11" value="42"/>
9701e04c3fSmrg    <value name="PATCHLIST_12" value="43"/>
9801e04c3fSmrg    <value name="PATCHLIST_13" value="44"/>
9901e04c3fSmrg    <value name="PATCHLIST_14" value="45"/>
10001e04c3fSmrg    <value name="PATCHLIST_15" value="46"/>
10101e04c3fSmrg    <value name="PATCHLIST_16" value="47"/>
10201e04c3fSmrg    <value name="PATCHLIST_17" value="48"/>
10301e04c3fSmrg    <value name="PATCHLIST_18" value="49"/>
10401e04c3fSmrg    <value name="PATCHLIST_19" value="50"/>
10501e04c3fSmrg    <value name="PATCHLIST_20" value="51"/>
10601e04c3fSmrg    <value name="PATCHLIST_21" value="52"/>
10701e04c3fSmrg    <value name="PATCHLIST_22" value="53"/>
10801e04c3fSmrg    <value name="PATCHLIST_23" value="54"/>
10901e04c3fSmrg    <value name="PATCHLIST_24" value="55"/>
11001e04c3fSmrg    <value name="PATCHLIST_25" value="56"/>
11101e04c3fSmrg    <value name="PATCHLIST_26" value="57"/>
11201e04c3fSmrg    <value name="PATCHLIST_27" value="58"/>
11301e04c3fSmrg    <value name="PATCHLIST_28" value="59"/>
11401e04c3fSmrg    <value name="PATCHLIST_29" value="60"/>
11501e04c3fSmrg    <value name="PATCHLIST_30" value="61"/>
11601e04c3fSmrg    <value name="PATCHLIST_31" value="62"/>
11701e04c3fSmrg    <value name="PATCHLIST_32" value="63"/>
11801e04c3fSmrg  </enum>
11901e04c3fSmrg
12001e04c3fSmrg  <enum name="3D_Stencil_Operation" prefix="STENCILOP">
12101e04c3fSmrg    <value name="KEEP" value="0"/>
12201e04c3fSmrg    <value name="ZERO" value="1"/>
12301e04c3fSmrg    <value name="REPLACE" value="2"/>
12401e04c3fSmrg    <value name="INCRSAT" value="3"/>
12501e04c3fSmrg    <value name="DECRSAT" value="4"/>
12601e04c3fSmrg    <value name="INCR" value="5"/>
12701e04c3fSmrg    <value name="DECR" value="6"/>
12801e04c3fSmrg    <value name="INVERT" value="7"/>
12901e04c3fSmrg  </enum>
13001e04c3fSmrg
1319f464c52Smaya  <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
1329f464c52Smaya    <value name="NOSTORE" value="0"/>
1339f464c52Smaya    <value name="STORE_SRC" value="1"/>
1349f464c52Smaya    <value name="STORE_0" value="2"/>
1359f464c52Smaya    <value name="STORE_1_FP" value="3"/>
1369f464c52Smaya    <value name="STORE_1_INT" value="4"/>
1379f464c52Smaya    <value name="STORE_VID" value="5"/>
1389f464c52Smaya    <value name="STORE_IID" value="6"/>
1399f464c52Smaya    <value name="STORE_PID" value="7"/>
14001e04c3fSmrg  </enum>
14101e04c3fSmrg
14201e04c3fSmrg  <enum name="Texture Coordinate Mode" prefix="TCM">
14301e04c3fSmrg    <value name="WRAP" value="0"/>
14401e04c3fSmrg    <value name="MIRROR" value="1"/>
14501e04c3fSmrg    <value name="CLAMP" value="2"/>
14601e04c3fSmrg    <value name="CUBE" value="3"/>
14701e04c3fSmrg    <value name="CLAMP_BORDER" value="4"/>
14801e04c3fSmrg    <value name="MIRROR_ONCE" value="5"/>
14901e04c3fSmrg  </enum>
15001e04c3fSmrg
15101e04c3fSmrg  <struct name="3DSTATE_CONSTANT_BODY" length="6">
15201e04c3fSmrg    <group count="4" start="0" size="16">
15301e04c3fSmrg      <field name="Read Length" start="0" end="15" type="uint"/>
15401e04c3fSmrg    </group>
1559f464c52Smaya    <field name="MOCS" start="64" end="68" type="uint"/>
15601e04c3fSmrg    <group count="4" start="64" size="32">
15701e04c3fSmrg      <field name="Buffer" start="5" end="31" type="address"/>
15801e04c3fSmrg    </group>
15901e04c3fSmrg  </struct>
16001e04c3fSmrg
1619f464c52Smaya  <struct name="BINDING_TABLE_STATE" length="1">
1629f464c52Smaya    <field name="Surface State Pointer" start="5" end="31" type="offset"/>
16301e04c3fSmrg  </struct>
16401e04c3fSmrg
1659f464c52Smaya  <struct name="BLEND_STATE_ENTRY" length="2">
1669f464c52Smaya    <field name="Destination Blend Factor" start="0" end="4" type="3D_Color_Buffer_Blend_Factor"/>
1679f464c52Smaya    <field name="Source Blend Factor" start="5" end="9" type="3D_Color_Buffer_Blend_Factor"/>
1689f464c52Smaya    <field name="Color Blend Function" start="11" end="13" type="3D_Color_Buffer_Blend_Function"/>
1699f464c52Smaya    <field name="Destination Alpha Blend Factor" start="15" end="19" type="3D_Color_Buffer_Blend_Factor"/>
1709f464c52Smaya    <field name="Source Alpha Blend Factor" start="20" end="24" type="3D_Color_Buffer_Blend_Factor"/>
1719f464c52Smaya    <field name="Alpha Blend Function" start="26" end="28" type="3D_Color_Buffer_Blend_Function"/>
1729f464c52Smaya    <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
1739f464c52Smaya    <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
1749f464c52Smaya    <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
1759f464c52Smaya    <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
1769f464c52Smaya    <field name="Color Clamp Range" start="34" end="35" type="uint">
1779f464c52Smaya      <value name="COLORCLAMP_UNORM" value="0"/>
1789f464c52Smaya      <value name="COLORCLAMP_SNORM" value="1"/>
1799f464c52Smaya      <value name="COLORCLAMP_RTFORMAT" value="2"/>
1809f464c52Smaya    </field>
1819f464c52Smaya    <field name="Y Dither Offset" start="40" end="41" type="uint"/>
1829f464c52Smaya    <field name="X Dither Offset" start="42" end="43" type="uint"/>
1839f464c52Smaya    <field name="Color Dither Enable" start="44" end="44" type="bool"/>
1849f464c52Smaya    <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
1859f464c52Smaya    <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
1869f464c52Smaya    <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
1879f464c52Smaya    <field name="Logic Op Enable" start="54" end="54" type="bool"/>
1889f464c52Smaya    <field name="Write Disable Blue" start="56" end="56" type="bool"/>
1899f464c52Smaya    <field name="Write Disable Green" start="57" end="57" type="bool"/>
1909f464c52Smaya    <field name="Write Disable Red" start="58" end="58" type="bool"/>
1919f464c52Smaya    <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
1929f464c52Smaya    <field name="AlphaToCoverage Dither Enable" start="61" end="61" type="bool"/>
1939f464c52Smaya    <field name="AlphaToOne Enable" start="62" end="62" type="bool"/>
1949f464c52Smaya    <field name="AlphaToCoverage Enable" start="63" end="63" type="bool"/>
19501e04c3fSmrg  </struct>
19601e04c3fSmrg
1979f464c52Smaya  <struct name="BLEND_STATE" length="0">
1989f464c52Smaya    <group count="0" start="0" size="64">
1999f464c52Smaya      <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
2009f464c52Smaya    </group>
20101e04c3fSmrg  </struct>
20201e04c3fSmrg
2039f464c52Smaya  <struct name="CC_VIEWPORT" length="2">
2049f464c52Smaya    <field name="Minimum Depth" start="0" end="31" type="float"/>
2059f464c52Smaya    <field name="Maximum Depth" start="32" end="63" type="float"/>
20601e04c3fSmrg  </struct>
20701e04c3fSmrg
2089f464c52Smaya  <struct name="COLOR_CALC_STATE" length="6">
2099f464c52Smaya    <field name="Alpha Test Format" start="0" end="0" type="uint">
2109f464c52Smaya      <value name="ALPHATEST_UNORM8" value="0"/>
2119f464c52Smaya      <value name="ALPHATEST_FLOAT32" value="1"/>
21201e04c3fSmrg    </field>
2139f464c52Smaya    <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
2149f464c52Smaya    <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
2159f464c52Smaya    <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
2169f464c52Smaya    <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
2179f464c52Smaya    <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
2189f464c52Smaya    <field name="Blend Constant Color Red" start="64" end="95" type="float"/>
2199f464c52Smaya    <field name="Blend Constant Color Green" start="96" end="127" type="float"/>
2209f464c52Smaya    <field name="Blend Constant Color Blue" start="128" end="159" type="float"/>
2219f464c52Smaya    <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
22201e04c3fSmrg  </struct>
22301e04c3fSmrg
22401e04c3fSmrg  <struct name="DEPTH_STENCIL_STATE" length="3">
22501e04c3fSmrg    <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
2269f464c52Smaya    <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
2279f464c52Smaya    <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
2289f464c52Smaya    <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
2299f464c52Smaya    <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
2309f464c52Smaya    <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
2319f464c52Smaya    <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
2329f464c52Smaya    <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
2339f464c52Smaya    <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
2349f464c52Smaya    <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
2359f464c52Smaya    <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
23601e04c3fSmrg    <field name="Backface Stencil Write Mask" start="32" end="39" type="uint"/>
2379f464c52Smaya    <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
2389f464c52Smaya    <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
2399f464c52Smaya    <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
24001e04c3fSmrg    <field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
2419f464c52Smaya    <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
2429f464c52Smaya    <field name="Depth Test Enable" start="95" end="95" type="bool"/>
2439f464c52Smaya  </struct>
2449f464c52Smaya
2459f464c52Smaya  <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="2">
2469f464c52Smaya    <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
2479f464c52Smaya    <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
2489f464c52Smaya    <field name="MB Error Concealment P Slice Reference Index Override Disable" start="2" end="2" type="bool"/>
2499f464c52Smaya    <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
2509f464c52Smaya    <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
2519f464c52Smaya    <field name="MB Error Concealment B Spatial Reference Index Override Disable" start="5" end="5" type="bool"/>
2529f464c52Smaya    <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint" default="0"/>
2539f464c52Smaya    <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
2549f464c52Smaya    <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
2559f464c52Smaya    <field name="MPR Error Handling" start="12" end="12" type="bool"/>
2569f464c52Smaya    <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
2579f464c52Smaya    <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
2589f464c52Smaya    <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
2599f464c52Smaya    <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
2609f464c52Smaya    <field name="MB Error Concealment B Temporal Reference Index Override Enable" start="26" end="26" type="bool"/>
2619f464c52Smaya    <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/>
2629f464c52Smaya    <field name="Init Current MB Number" start="30" end="30" type="bool"/>
2639f464c52Smaya    <field name="Concealment Method" start="31" end="31" type="uint"/>
2649f464c52Smaya    <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
2659f464c52Smaya    <field name="Last Slice" start="35" end="35" type="bool"/>
2669f464c52Smaya    <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
2679f464c52Smaya    <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
2689f464c52Smaya    <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
26901e04c3fSmrg  </struct>
27001e04c3fSmrg
27101e04c3fSmrg  <struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
27201e04c3fSmrg    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
2739f464c52Smaya    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
2749f464c52Smaya    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
2759f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
27601e04c3fSmrg    <field name="Floating Point Mode" start="48" end="48" type="uint">
27701e04c3fSmrg      <value name="IEEE-754" value="0"/>
27801e04c3fSmrg      <value name="Alternate" value="1"/>
27901e04c3fSmrg    </field>
2809f464c52Smaya    <field name="Thread Priority" start="49" end="49" type="uint">
2819f464c52Smaya      <value name="Normal Priority" value="0"/>
2829f464c52Smaya      <value name="High Priority" value="1"/>
2839f464c52Smaya    </field>
2849f464c52Smaya    <field name="Single Program Flow" start="50" end="50" type="bool"/>
28501e04c3fSmrg    <field name="Sampler Count" start="66" end="68" type="uint">
28601e04c3fSmrg      <value name="No samplers used" value="0"/>
28701e04c3fSmrg      <value name="Between 1 and 4 samplers used" value="1"/>
28801e04c3fSmrg      <value name="Between 5 and 8 samplers used" value="2"/>
28901e04c3fSmrg      <value name="Between 9 and 12 samplers used" value="3"/>
29001e04c3fSmrg      <value name="Between 13 and 16 samplers used" value="4"/>
29101e04c3fSmrg    </field>
2929f464c52Smaya    <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
29301e04c3fSmrg    <field name="Binding Table Entry Count" start="96" end="100" type="uint"/>
2949f464c52Smaya    <field name="Binding Table Pointer" start="101" end="111" type="offset"/>
29501e04c3fSmrg    <field name="Constant URB Entry Read Offset" start="128" end="143" type="uint"/>
2969f464c52Smaya    <field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/>
2979f464c52Smaya    <field name="Number of Threads in GPGPU Thread Group" start="160" end="167" type="uint"/>
2989f464c52Smaya    <field name="Shared Local Memory Size" start="176" end="180" type="uint"/>
2999f464c52Smaya    <field name="Barrier Enable" start="181" end="181" type="bool"/>
30001e04c3fSmrg    <field name="Rounding Mode" start="182" end="183" type="uint">
30101e04c3fSmrg      <value name="RTNE" value="0"/>
30201e04c3fSmrg      <value name="RU" value="1"/>
30301e04c3fSmrg      <value name="RD" value="2"/>
30401e04c3fSmrg      <value name="RTZ" value="3"/>
30501e04c3fSmrg    </field>
30601e04c3fSmrg  </struct>
30701e04c3fSmrg
3089f464c52Smaya  <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
3099f464c52Smaya    <field name="L3 Cacheability Control (L3CC)" start="0" end="0" type="uint"/>
3109f464c52Smaya    <field name="LLC Cacheability Control (LLCCC)" start="1" end="1" type="uint"/>
3119f464c52Smaya    <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
31201e04c3fSmrg  </struct>
31301e04c3fSmrg
3149f464c52Smaya  <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
3159f464c52Smaya    <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
3169f464c52Smaya    <field name="Last MB" start="3" end="3" type="bool"/>
3179f464c52Smaya    <field name="Last Pic Slice" start="5" end="5" type="bool"/>
3189f464c52Smaya    <field name="MB Count" start="8" end="14" type="uint"/>
3199f464c52Smaya    <field name="Slice Vertical Position" start="16" end="22" type="uint"/>
3209f464c52Smaya    <field name="Slice Horizontal Position" start="24" end="30" type="uint"/>
3219f464c52Smaya    <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
3229f464c52Smaya  </struct>
3239f464c52Smaya
3249f464c52Smaya  <struct name="PALETTE_ENTRY" length="1">
3259f464c52Smaya    <field name="Blue" start="0" end="7" type="uint"/>
3269f464c52Smaya    <field name="Green" start="8" end="15" type="uint"/>
3279f464c52Smaya    <field name="Red" start="16" end="23" type="uint"/>
3289f464c52Smaya    <field name="Alpha" start="24" end="31" type="uint"/>
32901e04c3fSmrg  </struct>
33001e04c3fSmrg
33101e04c3fSmrg  <struct name="RENDER_SURFACE_STATE" length="8">
3329f464c52Smaya    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
3339f464c52Smaya    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
3349f464c52Smaya    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
3359f464c52Smaya    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
3369f464c52Smaya    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
3379f464c52Smaya    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
3389f464c52Smaya    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
3399f464c52Smaya      <value name="NORMAL_MODE" value="0"/>
3409f464c52Smaya      <value name="PROGRESSIVE_FRAME" value="2"/>
3419f464c52Smaya      <value name="INTERLACED_FRAME" value="3"/>
3429f464c52Smaya    </field>
3439f464c52Smaya    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"/>
3449f464c52Smaya    <field name="Surface Array Spacing" start="10" end="10" type="uint">
3459f464c52Smaya      <value name="ARYSPC_FULL" value="0"/>
3469f464c52Smaya      <value name="ARYSPC_LOD0" value="1"/>
3479f464c52Smaya    </field>
3489f464c52Smaya    <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
3499f464c52Smaya    <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
3509f464c52Smaya    <field name="Tile Walk" start="13" end="13" type="uint">
3519f464c52Smaya      <value name="TILEWALK_XMAJOR" value="0"/>
3529f464c52Smaya      <value name="TILEWALK_YMAJOR" value="1"/>
3539f464c52Smaya    </field>
3549f464c52Smaya    <field name="Tiled Surface" start="14" end="14" type="bool"/>
3559f464c52Smaya    <field name="Surface Horizontal Alignment" start="15" end="15" type="uint">
3569f464c52Smaya      <value name="HALIGN_4" value="0"/>
3579f464c52Smaya      <value name="HALIGN_8" value="1"/>
3589f464c52Smaya    </field>
3599f464c52Smaya    <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
3609f464c52Smaya      <value name="VALIGN_2" value="0"/>
3619f464c52Smaya      <value name="VALIGN_4" value="1"/>
3629f464c52Smaya    </field>
3639f464c52Smaya    <field name="Surface Format" start="18" end="26" type="uint"/>
3649f464c52Smaya    <field name="Surface Array" start="28" end="28" type="bool"/>
36501e04c3fSmrg    <field name="Surface Type" start="29" end="31" type="uint">
36601e04c3fSmrg      <value name="SURFTYPE_1D" value="0"/>
36701e04c3fSmrg      <value name="SURFTYPE_2D" value="1"/>
36801e04c3fSmrg      <value name="SURFTYPE_3D" value="2"/>
36901e04c3fSmrg      <value name="SURFTYPE_CUBE" value="3"/>
37001e04c3fSmrg      <value name="SURFTYPE_BUFFER" value="4"/>
37101e04c3fSmrg      <value name="SURFTYPE_STRBUF" value="5"/>
37201e04c3fSmrg      <value name="SURFTYPE_NULL" value="7"/>
37301e04c3fSmrg    </field>
37401e04c3fSmrg    <field name="Surface Base Address" start="32" end="63" type="address"/>
37501e04c3fSmrg    <field name="Width" start="64" end="77" type="uint"/>
3769f464c52Smaya    <field name="Height" start="80" end="93" type="uint"/>
37701e04c3fSmrg    <field name="Surface Pitch" start="96" end="113" type="uint"/>
3789f464c52Smaya    <field name="Depth" start="117" end="127" type="uint"/>
3799f464c52Smaya    <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
3809f464c52Smaya    <field name="Strbuf Minimum Array Element" start="128" end="154" type="uint"/>
3819f464c52Smaya    <field name="Number of Multisamples" start="131" end="133" type="uint">
3829f464c52Smaya      <value name="MULTISAMPLECOUNT_1" value="0"/>
3839f464c52Smaya      <value name="MULTISAMPLECOUNT_4" value="2"/>
3849f464c52Smaya      <value name="MULTISAMPLECOUNT_8" value="3"/>
38501e04c3fSmrg    </field>
38601e04c3fSmrg    <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
38701e04c3fSmrg      <value name="MSFMT_MSS" value="0"/>
38801e04c3fSmrg      <value name="MSFMT_DEPTH_STENCIL" value="1"/>
38901e04c3fSmrg    </field>
3909f464c52Smaya    <field name="Render Target View Extent" start="135" end="145" type="uint"/>
3919f464c52Smaya    <field name="Minimum Array Element" start="146" end="156" type="uint"/>
3929f464c52Smaya    <field name="Render Target Rotation" start="157" end="158" type="uint">
3939f464c52Smaya      <value name="RTROTATE_0DEG" value="0"/>
3949f464c52Smaya      <value name="RTROTATE_90DEG" value="1"/>
3959f464c52Smaya      <value name="RTROTATE_270DEG" value="3"/>
39601e04c3fSmrg    </field>
39701e04c3fSmrg    <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
3989f464c52Smaya    <field name="Surface Min LOD" start="164" end="167" type="uint"/>
3999f464c52Smaya    <field name="MOCS" start="176" end="179" type="uint"/>
4009f464c52Smaya    <field name="Y Offset" start="180" end="183" type="uint"/>
4019f464c52Smaya    <field name="X Offset" start="185" end="191" type="uint"/>
4029f464c52Smaya    <field name="MCS Enable" start="192" end="192" type="bool"/>
4039f464c52Smaya    <field name="Y Offset for UV Plane" start="192" end="205" type="uint"/>
40401e04c3fSmrg    <field name="Append Counter Enable" start="193" end="193" type="bool"/>
40501e04c3fSmrg    <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
4069f464c52Smaya    <field name="Append Counter Address" start="198" end="223" type="address"/>
4079f464c52Smaya    <field name="Auxiliary Surface Base Address" start="204" end="223" type="address"/>
40801e04c3fSmrg    <field name="X Offset for UV Plane" start="208" end="221" type="uint"/>
4099f464c52Smaya    <field name="Reserved: MBZ" start="222" end="223" type="uint"/>
4109f464c52Smaya    <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
4119f464c52Smaya    <field name="Alpha Clear Color" start="252" end="252" type="uint">
41201e04c3fSmrg      <value name="CC_ZERO" value="0"/>
41301e04c3fSmrg      <value name="CC_ONE" value="1"/>
41401e04c3fSmrg    </field>
4159f464c52Smaya    <field name="Blue Clear Color" start="253" end="253" type="uint">
41601e04c3fSmrg      <value name="CC_ZERO" value="0"/>
41701e04c3fSmrg      <value name="CC_ONE" value="1"/>
41801e04c3fSmrg    </field>
4199f464c52Smaya    <field name="Green Clear Color" start="254" end="254" type="uint">
42001e04c3fSmrg      <value name="CC_ZERO" value="0"/>
42101e04c3fSmrg      <value name="CC_ONE" value="1"/>
42201e04c3fSmrg    </field>
4239f464c52Smaya    <field name="Red Clear Color" start="255" end="255" type="uint">
42401e04c3fSmrg      <value name="CC_ZERO" value="0"/>
42501e04c3fSmrg      <value name="CC_ONE" value="1"/>
42601e04c3fSmrg    </field>
42701e04c3fSmrg  </struct>
42801e04c3fSmrg
42901e04c3fSmrg  <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
43001e04c3fSmrg    <field name="Border Color Unorm Red" start="0" end="7" type="uint"/>
4319f464c52Smaya    <field name="Border Color Float Red" start="0" end="31" type="float"/>
43201e04c3fSmrg    <field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
43301e04c3fSmrg    <field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
43401e04c3fSmrg    <field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
43501e04c3fSmrg    <field name="Border Color Float Green" start="32" end="63" type="float"/>
43601e04c3fSmrg    <field name="Border Color Float Blue" start="64" end="95" type="float"/>
43701e04c3fSmrg    <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
43801e04c3fSmrg  </struct>
43901e04c3fSmrg
44001e04c3fSmrg  <struct name="SAMPLER_STATE" length="4">
4419f464c52Smaya    <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
4429f464c52Smaya      <value name="LEGACY" value="0"/>
4439f464c52Smaya      <value name="EWA Approximation" value="1"/>
44401e04c3fSmrg    </field>
4459f464c52Smaya    <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
4469f464c52Smaya    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
44701e04c3fSmrg      <value name="NEAREST" value="0"/>
44801e04c3fSmrg      <value name="LINEAR" value="1"/>
44901e04c3fSmrg      <value name="ANISOTROPIC" value="2"/>
45001e04c3fSmrg      <value name="MONO" value="6"/>
45101e04c3fSmrg    </field>
4529f464c52Smaya    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
45301e04c3fSmrg      <value name="NEAREST" value="0"/>
45401e04c3fSmrg      <value name="LINEAR" value="1"/>
45501e04c3fSmrg      <value name="ANISOTROPIC" value="2"/>
45601e04c3fSmrg      <value name="MONO" value="6"/>
45701e04c3fSmrg    </field>
4589f464c52Smaya    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
4599f464c52Smaya      <value name="NONE" value="0"/>
4609f464c52Smaya      <value name="NEAREST" value="1"/>
4619f464c52Smaya      <value name="LINEAR" value="3"/>
4629f464c52Smaya    </field>
4639f464c52Smaya    <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
4649f464c52Smaya    <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
4659f464c52Smaya      <value name="OGL" value="1"/>
4669f464c52Smaya    </field>
4679f464c52Smaya    <field name="Texture Border Color Mode" start="29" end="29" type="uint">
4689f464c52Smaya      <value name="DX10/OGL" value="0"/>
4699f464c52Smaya      <value name="DX9" value="1"/>
4709f464c52Smaya    </field>
4719f464c52Smaya    <field name="Sampler Disable" start="31" end="31" type="bool"/>
4729f464c52Smaya    <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
4739f464c52Smaya      <value name="PROGRAMMED" value="0"/>
4749f464c52Smaya      <value name="OVERRIDE" value="1"/>
47501e04c3fSmrg    </field>
4767ec681f3Smrg    <field name="Shadow Function" start="33" end="35" type="uint" prefix="PREFILTEROP">
4777ec681f3Smrg      <value name="ALWAYS" value="0"/>
4787ec681f3Smrg      <value name="NEVER" value="1"/>
4797ec681f3Smrg      <value name="LESS" value="2"/>
4807ec681f3Smrg      <value name="EQUAL" value="3"/>
4817ec681f3Smrg      <value name="LEQUAL" value="4"/>
4827ec681f3Smrg      <value name="GREATER" value="5"/>
4837ec681f3Smrg      <value name="NOTEQUAL" value="6"/>
4847ec681f3Smrg      <value name="GEQUAL" value="7"/>
48501e04c3fSmrg    </field>
4869f464c52Smaya    <field name="Max LOD" start="40" end="51" type="u4.8"/>
4879f464c52Smaya    <field name="Min LOD" start="52" end="63" type="u4.8"/>
48801e04c3fSmrg    <field name="Border Color Pointer" start="69" end="95" type="offset"/>
4899f464c52Smaya    <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
4909f464c52Smaya    <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
4919f464c52Smaya    <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
4929f464c52Smaya    <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
4939f464c52Smaya    <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
4949f464c52Smaya      <value name="FULL" value="0"/>
4959f464c52Smaya      <value name="MED" value="2"/>
4969f464c52Smaya      <value name="LOW" value="3"/>
49701e04c3fSmrg    </field>
4989f464c52Smaya    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
4999f464c52Smaya    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
5009f464c52Smaya    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
5019f464c52Smaya    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
5029f464c52Smaya    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
5039f464c52Smaya    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
50401e04c3fSmrg    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
50501e04c3fSmrg      <value name="RATIO 2:1" value="0"/>
50601e04c3fSmrg      <value name="RATIO 4:1" value="1"/>
50701e04c3fSmrg      <value name="RATIO 6:1" value="2"/>
50801e04c3fSmrg      <value name="RATIO 8:1" value="3"/>
50901e04c3fSmrg      <value name="RATIO 10:1" value="4"/>
51001e04c3fSmrg      <value name="RATIO 12:1" value="5"/>
51101e04c3fSmrg      <value name="RATIO 14:1" value="6"/>
51201e04c3fSmrg      <value name="RATIO 16:1" value="7"/>
51301e04c3fSmrg    </field>
5149f464c52Smaya    <field name="ChromaKey Mode" start="118" end="118" type="uint">
5159f464c52Smaya      <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
5169f464c52Smaya      <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
51701e04c3fSmrg    </field>
5189f464c52Smaya    <field name="ChromaKey Index" start="119" end="120" type="uint"/>
5199f464c52Smaya    <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
52001e04c3fSmrg  </struct>
52101e04c3fSmrg
5229f464c52Smaya  <struct name="SCISSOR_RECT" length="2">
5239f464c52Smaya    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
5249f464c52Smaya    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
5259f464c52Smaya    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
5269f464c52Smaya    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
5279f464c52Smaya  </struct>
5289f464c52Smaya
5299f464c52Smaya  <struct name="SF_CLIP_VIEWPORT" length="16">
5309f464c52Smaya    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
5319f464c52Smaya    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
5329f464c52Smaya    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
5339f464c52Smaya    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
5349f464c52Smaya    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
5359f464c52Smaya    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
5369f464c52Smaya    <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
5379f464c52Smaya    <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
5389f464c52Smaya    <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
5399f464c52Smaya    <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
5409f464c52Smaya  </struct>
5419f464c52Smaya
5429f464c52Smaya  <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
5439f464c52Smaya    <field name="Source Attribute" start="0" end="4" type="uint"/>
5449f464c52Smaya    <field name="Swizzle Select" start="6" end="7" type="uint">
5459f464c52Smaya      <value name="INPUTATTR" value="0"/>
5469f464c52Smaya      <value name="INPUTATTR_FACING" value="1"/>
5479f464c52Smaya      <value name="INPUTATTR_W" value="2"/>
5489f464c52Smaya      <value name="INPUTATTR_FACING_W" value="3"/>
5499f464c52Smaya    </field>
5509f464c52Smaya    <field name="Constant Source" start="9" end="10" type="uint">
5519f464c52Smaya      <value name="CONST_0000" value="0"/>
5529f464c52Smaya      <value name="CONST_0001_FLOAT" value="1"/>
5539f464c52Smaya      <value name="CONST_1111_FLOAT" value="2"/>
5549f464c52Smaya      <value name="PRIM_ID" value="3"/>
5559f464c52Smaya    </field>
5569f464c52Smaya    <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
5579f464c52Smaya    <field name="Component Override X" start="12" end="12" type="bool"/>
5589f464c52Smaya    <field name="Component Override Y" start="13" end="13" type="bool"/>
5599f464c52Smaya    <field name="Component Override Z" start="14" end="14" type="bool"/>
5609f464c52Smaya    <field name="Component Override W" start="15" end="15" type="bool"/>
5619f464c52Smaya  </struct>
5629f464c52Smaya
5639f464c52Smaya  <struct name="SO_DECL" length="1">
5649f464c52Smaya    <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
5659f464c52Smaya    <field name="Register Index" start="4" end="9" type="uint"/>
5667ec681f3Smrg    <field name="Hole Flag" start="11" end="11" type="bool"/>
5679f464c52Smaya    <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
5689f464c52Smaya  </struct>
5699f464c52Smaya
5709f464c52Smaya  <struct name="SO_DECL_ENTRY" length="2">
5719f464c52Smaya    <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
5729f464c52Smaya    <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
5739f464c52Smaya    <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
5749f464c52Smaya    <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
5759f464c52Smaya  </struct>
5769f464c52Smaya
5779f464c52Smaya  <struct name="VERTEX_BUFFER_STATE" length="4">
5789f464c52Smaya    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
5799f464c52Smaya    <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
5809f464c52Smaya    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
5819f464c52Smaya    <field name="Address Modify Enable" start="14" end="14" type="bool"/>
5829f464c52Smaya    <field name="MOCS" start="16" end="19" type="uint"/>
5839f464c52Smaya    <field name="Buffer Access Type" start="20" end="20" type="uint">
5849f464c52Smaya      <value name="VERTEXDATA" value="0"/>
5859f464c52Smaya      <value name="INSTANCEDATA" value="1"/>
5869f464c52Smaya    </field>
5879f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
5889f464c52Smaya    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
5899f464c52Smaya    <field name="End Address" start="64" end="95" type="address"/>
5909f464c52Smaya    <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
5919f464c52Smaya  </struct>
5929f464c52Smaya
5939f464c52Smaya  <struct name="VERTEX_ELEMENT_STATE" length="2">
5949f464c52Smaya    <field name="Source Element Offset" start="0" end="11" type="uint"/>
5959f464c52Smaya    <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
5969f464c52Smaya    <field name="Source Element Format" start="16" end="24" type="uint"/>
5979f464c52Smaya    <field name="Valid" start="25" end="25" type="bool"/>
5989f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
5999f464c52Smaya    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
6009f464c52Smaya    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
6019f464c52Smaya    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
6029f464c52Smaya    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
6039f464c52Smaya  </struct>
6049f464c52Smaya
6059f464c52Smaya  <instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
60601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
6079f464c52Smaya    <field name="Predicate Enable" start="8" end="8" type="bool"/>
6089f464c52Smaya    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
6099f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
6109f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
6119f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
6139f464c52Smaya    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
61401e04c3fSmrg    <field name="Vertex Access Type" start="40" end="40" type="uint">
61501e04c3fSmrg      <value name="SEQUENTIAL" value="0"/>
61601e04c3fSmrg      <value name="RANDOM" value="1"/>
61701e04c3fSmrg    </field>
6189f464c52Smaya    <field name="End Offset Enable" start="41" end="41" type="bool"/>
61901e04c3fSmrg    <field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
62001e04c3fSmrg    <field name="Start Vertex Location" start="96" end="127" type="uint"/>
62101e04c3fSmrg    <field name="Instance Count" start="128" end="159" type="uint"/>
62201e04c3fSmrg    <field name="Start Instance Location" start="160" end="191" type="uint"/>
62301e04c3fSmrg    <field name="Base Vertex Location" start="192" end="223" type="int"/>
62401e04c3fSmrg  </instruction>
62501e04c3fSmrg
6269f464c52Smaya  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
62701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
6289f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
6299f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
6309f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
63201e04c3fSmrg    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
6339f464c52Smaya    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
63401e04c3fSmrg    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
6359f464c52Smaya    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
63601e04c3fSmrg  </instruction>
63701e04c3fSmrg
6389f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
63901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
6409f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
6419f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6429f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
64401e04c3fSmrg    <field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
64501e04c3fSmrg  </instruction>
64601e04c3fSmrg
6479f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
64801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
6499f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
6509f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6519f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
65301e04c3fSmrg    <field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
65401e04c3fSmrg  </instruction>
65501e04c3fSmrg
6569f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
65701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
6589f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
6599f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6609f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6619f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
66201e04c3fSmrg    <field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
66301e04c3fSmrg  </instruction>
66401e04c3fSmrg
6659f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
66601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
6679f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
6689f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6699f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
67101e04c3fSmrg    <field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
67201e04c3fSmrg  </instruction>
67301e04c3fSmrg
6749f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
67501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
6769f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
6779f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6789f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6799f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
68001e04c3fSmrg    <field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
68101e04c3fSmrg  </instruction>
68201e04c3fSmrg
6839f464c52Smaya  <instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
68401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
6859f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
6869f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6879f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6889f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
68901e04c3fSmrg    <field start="32" end="32" type="mbo"/>
6909f464c52Smaya    <field name="Blend State Pointer" start="38" end="63" type="offset"/>
69101e04c3fSmrg  </instruction>
69201e04c3fSmrg
6939f464c52Smaya  <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
69401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
6959f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
6969f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6979f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6989f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
69901e04c3fSmrg    <field start="32" end="32" type="mbo"/>
7009f464c52Smaya    <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
70101e04c3fSmrg  </instruction>
70201e04c3fSmrg
7039f464c52Smaya  <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
70401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
7059f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
7069f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7079f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7089f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
70901e04c3fSmrg    <field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
71001e04c3fSmrg    <field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
71101e04c3fSmrg    <field name="ChromaKey High Value" start="96" end="127" type="uint"/>
71201e04c3fSmrg  </instruction>
71301e04c3fSmrg
7149f464c52Smaya  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
71501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
7169f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
7179f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
7189f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7199f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
72001e04c3fSmrg    <field name="Depth Clear Value" start="32" end="63" type="uint"/>
72101e04c3fSmrg    <field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
72201e04c3fSmrg  </instruction>
72301e04c3fSmrg
7249f464c52Smaya  <instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
72501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
7269f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
7279f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
7289f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7299f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
7309f464c52Smaya    <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
7319f464c52Smaya    <field name="Statistics Enable" start="42" end="42" type="bool"/>
73201e04c3fSmrg    <field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
73301e04c3fSmrg      <value name="BOTH" value="0"/>
73401e04c3fSmrg      <value name="NONE" value="1"/>
73501e04c3fSmrg      <value name="FRONT" value="2"/>
73601e04c3fSmrg      <value name="BACK" value="3"/>
73701e04c3fSmrg    </field>
7389f464c52Smaya    <field name="Early Cull Enable" start="50" end="50" type="bool"/>
7399f464c52Smaya    <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint"/>
7409f464c52Smaya    <field name="Front Winding" start="52" end="52" type="uint"/>
7419f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
74201e04c3fSmrg      <value name="Vertex 0" value="0"/>
74301e04c3fSmrg      <value name="Vertex 1" value="1"/>
74401e04c3fSmrg      <value name="Vertex 2" value="2"/>
74501e04c3fSmrg    </field>
74601e04c3fSmrg    <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint">
74701e04c3fSmrg      <value name="Vertex 0" value="0"/>
74801e04c3fSmrg      <value name="Vertex 1" value="1"/>
74901e04c3fSmrg    </field>
7509f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
75101e04c3fSmrg      <value name="Vertex 0" value="0"/>
75201e04c3fSmrg      <value name="Vertex 1" value="1"/>
75301e04c3fSmrg      <value name="Vertex 2" value="2"/>
75401e04c3fSmrg    </field>
7559f464c52Smaya    <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
7569f464c52Smaya    <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
7579f464c52Smaya    <field name="Clip Mode" start="77" end="79" type="uint">
7589f464c52Smaya      <value name="CLIPMODE_NORMAL" value="0"/>
7599f464c52Smaya      <value name="CLIPMODE_REJECT_ALL" value="3"/>
7609f464c52Smaya      <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
7619f464c52Smaya    </field>
7629f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
7639f464c52Smaya    <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
7649f464c52Smaya    <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
7659f464c52Smaya    <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
7669f464c52Smaya    <field name="API Mode" start="94" end="94" type="uint">
7679f464c52Smaya      <value name="APIMODE_OGL" value="0"/>
7689f464c52Smaya      <value name="APIMODE_D3D" value="1"/>
7699f464c52Smaya    </field>
7709f464c52Smaya    <field name="Clip Enable" start="95" end="95" type="bool"/>
77101e04c3fSmrg    <field name="Maximum VP Index" start="96" end="99" type="uint"/>
7729f464c52Smaya    <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
7739f464c52Smaya    <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
7749f464c52Smaya    <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
77501e04c3fSmrg  </instruction>
77601e04c3fSmrg
7779f464c52Smaya  <instruction name="3DSTATE_CONSTANT_DS" bias="2" length="7" engine="render">
77801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
7799f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
7809f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
7819f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7829f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
78301e04c3fSmrg    <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
78401e04c3fSmrg  </instruction>
78501e04c3fSmrg
7869f464c52Smaya  <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="7" engine="render">
78701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
7889f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
7899f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
7909f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
79201e04c3fSmrg    <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
79301e04c3fSmrg  </instruction>
79401e04c3fSmrg
7959f464c52Smaya  <instruction name="3DSTATE_CONSTANT_HS" bias="2" length="7" engine="render">
79601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
7979f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
7989f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
7999f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8009f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
80101e04c3fSmrg    <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
80201e04c3fSmrg  </instruction>
80301e04c3fSmrg
8049f464c52Smaya  <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="7" engine="render">
80501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
8069f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
8079f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8089f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8099f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
81001e04c3fSmrg    <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
81101e04c3fSmrg  </instruction>
81201e04c3fSmrg
8139f464c52Smaya  <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="7" engine="render">
81401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
8159f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
8169f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8179f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8189f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
81901e04c3fSmrg    <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/>
82001e04c3fSmrg  </instruction>
82101e04c3fSmrg
8229f464c52Smaya  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="7" engine="render">
82301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
8249f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
8259f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8269f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
8289f464c52Smaya    <field name="Surface Pitch" start="32" end="49" type="uint"/>
8299f464c52Smaya    <field name="Surface Format" start="50" end="52" type="uint">
8309f464c52Smaya      <value name="D32_FLOAT" value="1"/>
8319f464c52Smaya      <value name="D24_UNORM_X8_UINT" value="3"/>
8329f464c52Smaya      <value name="D16_UNORM" value="5"/>
8339f464c52Smaya    </field>
8349f464c52Smaya    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
8359f464c52Smaya    <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
8369f464c52Smaya    <field name="Depth Write Enable" start="60" end="60" type="bool"/>
83701e04c3fSmrg    <field name="Surface Type" start="61" end="63" type="uint">
83801e04c3fSmrg      <value name="SURFTYPE_1D" value="0"/>
83901e04c3fSmrg      <value name="SURFTYPE_2D" value="1"/>
84001e04c3fSmrg      <value name="SURFTYPE_3D" value="2"/>
84101e04c3fSmrg      <value name="SURFTYPE_CUBE" value="3"/>
84201e04c3fSmrg      <value name="SURFTYPE_NULL" value="7"/>
84301e04c3fSmrg    </field>
84401e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
84501e04c3fSmrg    <field name="LOD" start="96" end="99" type="uint"/>
8469f464c52Smaya    <field name="Width" start="100" end="113" type="uint"/>
8479f464c52Smaya    <field name="Height" start="114" end="127" type="uint"/>
8489f464c52Smaya    <field name="MOCS" start="128" end="131" type="uint"/>
8499f464c52Smaya    <field name="Minimum Array Element" start="138" end="148" type="uint"/>
85001e04c3fSmrg    <field name="Depth" start="149" end="159" type="uint">
85101e04c3fSmrg      <value name="SURFTYPE_CUBE (must be zero)" value="0"/>
85201e04c3fSmrg    </field>
85301e04c3fSmrg    <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
8549f464c52Smaya    <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
85501e04c3fSmrg    <field name="Render Target View Extent" start="213" end="223" type="uint"/>
85601e04c3fSmrg  </instruction>
85701e04c3fSmrg
8589f464c52Smaya  <instruction name="3DSTATE_DEPTH_STENCIL_STATE_POINTERS" bias="2" length="2" engine="render">
85901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
8609f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="37"/>
8619f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8629f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8639f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
86401e04c3fSmrg    <field start="32" end="32" type="mbo"/>
8659f464c52Smaya    <field name="Pointer to DEPTH_STENCIL_STATE" start="38" end="63" type="offset"/>
86601e04c3fSmrg  </instruction>
86701e04c3fSmrg
8689f464c52Smaya  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
86901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
8709f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
8719f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8729f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8739f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
87401e04c3fSmrg    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
8759f464c52Smaya    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
87601e04c3fSmrg    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
8779f464c52Smaya    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
87801e04c3fSmrg    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
8799f464c52Smaya    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
88001e04c3fSmrg  </instruction>
88101e04c3fSmrg
8829f464c52Smaya  <instruction name="3DSTATE_DS" bias="2" length="6" engine="render">
88301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
8849f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
8859f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8869f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8879f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
88801e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
8899f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
8909f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
8919f464c52Smaya    <field name="Floating Point Mode" start="80" end="80" type="uint">
8929f464c52Smaya      <value name="IEEE-754" value="0"/>
8939f464c52Smaya      <value name="Alternate" value="1"/>
8949f464c52Smaya    </field>
8959f464c52Smaya    <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
89601e04c3fSmrg    <field name="Sampler Count" start="91" end="93" type="uint">
89701e04c3fSmrg      <value name="No Samplers" value="0"/>
89801e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
89901e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
90001e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
90101e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
90201e04c3fSmrg    </field>
9039f464c52Smaya    <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
9049f464c52Smaya    <field name="Single Domain Point Dispatch" start="95" end="95" type="uint"/>
90501e04c3fSmrg    <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
9069f464c52Smaya    <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
90701e04c3fSmrg    <field name="Patch URB Entry Read Offset" start="132" end="137" type="uint"/>
9089f464c52Smaya    <field name="Patch URB Entry Read Length" start="139" end="145" type="uint"/>
9099f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
91001e04c3fSmrg    <field name="Enable" start="160" end="160" type="bool"/>
9119f464c52Smaya    <field name="DS Cache Disable" start="161" end="161" type="bool"/>
9129f464c52Smaya    <field name="Compute W Coordinate Enable" start="162" end="162" type="bool"/>
9139f464c52Smaya    <field name="Statistics Enable" start="170" end="170" type="bool"/>
9149f464c52Smaya    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
91501e04c3fSmrg  </instruction>
91601e04c3fSmrg
9179f464c52Smaya  <instruction name="3DSTATE_GS" bias="2" length="7" engine="render">
91801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
9199f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
9209f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9219f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9229f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
92301e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
9249f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
9259f464c52Smaya    <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
9269f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
9279f464c52Smaya    <field name="Floating Point Mode" start="80" end="80" type="uint">
9289f464c52Smaya      <value name="IEEE-754" value="0"/>
9299f464c52Smaya      <value name="alternate" value="1"/>
9309f464c52Smaya    </field>
9319f464c52Smaya    <field name="Thread Priority" start="81" end="81" type="uint">
9329f464c52Smaya      <value name="Normal Priority" value="0"/>
9339f464c52Smaya      <value name="High Priority" value="1"/>
9349f464c52Smaya    </field>
9359f464c52Smaya    <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
93601e04c3fSmrg    <field name="Sampler Count" start="91" end="93" type="uint">
93701e04c3fSmrg      <value name="No Samplers" value="0"/>
93801e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
93901e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
94001e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
94101e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
94201e04c3fSmrg    </field>
9439f464c52Smaya    <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
9449f464c52Smaya    <field name="Single Program Flow" start="95" end="95" type="bool"/>
94501e04c3fSmrg    <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
9469f464c52Smaya    <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
94701e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="128" end="131" type="uint"/>
9489f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
9499f464c52Smaya    <field name="Include Vertex Handles" start="138" end="138" type="bool"/>
9509f464c52Smaya    <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
9519f464c52Smaya    <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/>
9529f464c52Smaya    <field name="Output Vertex Size" start="151" end="156" type="uint"/>
9539f464c52Smaya    <field name="Enable" start="160" end="160" type="bool"/>
9549f464c52Smaya    <field name="Discard Adjacency" start="161" end="161" type="bool"/>
9559f464c52Smaya    <field name="Reorder Mode" start="162" end="162" type="uint">
9569f464c52Smaya      <value name="LEADING" value="0"/>
9579f464c52Smaya      <value name="TRAILING" value="1"/>
95801e04c3fSmrg    </field>
9599f464c52Smaya    <field name="Hint" start="163" end="163" type="uint"/>
9609f464c52Smaya    <field name="Include Primitive ID" start="164" end="164" type="bool"/>
9619f464c52Smaya    <field name="GS Invocations Increment Value" start="165" end="169" type="uint"/>
9629f464c52Smaya    <field name="Statistics Enable" start="170" end="170" type="uint"/>
96301e04c3fSmrg    <field name="Dispatch Mode" start="171" end="172" type="uint" prefix="DISPATCH_MODE">
96401e04c3fSmrg      <value name="SINGLE" value="0"/>
96501e04c3fSmrg      <value name="DUAL_INSTANCE" value="1"/>
96601e04c3fSmrg      <value name="DUAL_OBJECT" value="2"/>
96701e04c3fSmrg    </field>
9689f464c52Smaya    <field name="Default StreamID" start="173" end="174" type="uint"/>
9699f464c52Smaya    <field name="Instance Control" start="175" end="179" type="uint"/>
9709f464c52Smaya    <field name="Control Data Header Size" start="180" end="183" type="uint"/>
9719f464c52Smaya    <field name="Control Data Format" start="184" end="184" type="uint">
9729f464c52Smaya      <value name="GSCTL_CUT" value="0"/>
9739f464c52Smaya      <value name="GSCTL_SID" value="1"/>
97401e04c3fSmrg    </field>
9759f464c52Smaya    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
97601e04c3fSmrg    <field name="Semaphore Handle" start="192" end="203" type="offset"/>
97701e04c3fSmrg  </instruction>
97801e04c3fSmrg
9799f464c52Smaya  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
98001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
9819f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
9829f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9839f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
98501e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
9869f464c52Smaya    <field name="MOCS" start="57" end="60" type="uint"/>
98701e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
98801e04c3fSmrg  </instruction>
98901e04c3fSmrg
9909f464c52Smaya  <instruction name="3DSTATE_HS" bias="2" length="7" engine="render">
99101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
9929f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
9939f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9949f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9959f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
9969f464c52Smaya    <field name="Maximum Number of Threads" start="32" end="38" type="uint"/>
9979f464c52Smaya    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
9989f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
9999f464c52Smaya    <field name="Floating Point Mode" start="48" end="48" type="uint">
10009f464c52Smaya      <value name="IEEE-754" value="0"/>
10019f464c52Smaya      <value name="alternate" value="1"/>
10029f464c52Smaya    </field>
10039f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
100401e04c3fSmrg    <field name="Sampler Count" start="59" end="61" type="uint">
100501e04c3fSmrg      <value name="No Samplers" value="0"/>
100601e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
100701e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
100801e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
100901e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
101001e04c3fSmrg    </field>
101101e04c3fSmrg    <field name="Instance Count" start="64" end="67" type="uint"/>
10129f464c52Smaya    <field name="Statistics Enable" start="93" end="93" type="bool"/>
10139f464c52Smaya    <field name="Enable" start="95" end="95" type="bool"/>
101401e04c3fSmrg    <field name="Kernel Start Pointer" start="102" end="127" type="offset"/>
101501e04c3fSmrg    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
10169f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="159" type="address"/>
101701e04c3fSmrg    <field name="Vertex URB Entry Read Offset" start="164" end="169" type="uint"/>
10189f464c52Smaya    <field name="Vertex URB Entry Read Length" start="171" end="176" type="uint"/>
10199f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="179" end="183" type="uint"/>
10209f464c52Smaya    <field name="Include Vertex Handles" start="184" end="184" type="bool"/>
10219f464c52Smaya    <field name="Vector Mask Enable" start="186" end="186" type="bool"/>
10229f464c52Smaya    <field name="Single Program Flow" start="187" end="187" type="bool"/>
102301e04c3fSmrg    <field name="Semaphore Handle" start="192" end="203" type="offset"/>
102401e04c3fSmrg  </instruction>
102501e04c3fSmrg
10269f464c52Smaya  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
10279f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
102801e04c3fSmrg    <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
102901e04c3fSmrg      <value name="BYTE" value="0"/>
103001e04c3fSmrg      <value name="WORD" value="1"/>
103101e04c3fSmrg      <value name="DWORD" value="2"/>
103201e04c3fSmrg    </field>
10339f464c52Smaya    <field name="Cut Index Enable" start="10" end="10" type="bool"/>
10349f464c52Smaya    <field name="MOCS" start="12" end="15" type="uint"/>
10359f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
10369f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10379f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10389f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
103901e04c3fSmrg    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
104001e04c3fSmrg    <field name="Buffer Ending Address" start="64" end="95" type="address"/>
104101e04c3fSmrg  </instruction>
104201e04c3fSmrg
10439f464c52Smaya  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
104401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
10459f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
10469f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
10479f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10489f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
104901e04c3fSmrg    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
10509f464c52Smaya    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
10519f464c52Smaya    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
10529f464c52Smaya    <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
105301e04c3fSmrg    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
10549f464c52Smaya    <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
105501e04c3fSmrg  </instruction>
105601e04c3fSmrg
10579f464c52Smaya  <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
105801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
10599f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
10609f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
10619f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10629f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
106301e04c3fSmrg    <field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
10649f464c52Smaya    <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
106501e04c3fSmrg  </instruction>
106601e04c3fSmrg
10679f464c52Smaya  <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="4" engine="render">
106801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
10699f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
10709f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
10719f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10729f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
107301e04c3fSmrg    <field name="Number of Multisamples" start="33" end="35" type="uint">
107401e04c3fSmrg      <value name="NUMSAMPLES_1" value="0"/>
107501e04c3fSmrg      <value name="NUMSAMPLES_4" value="2"/>
107601e04c3fSmrg      <value name="NUMSAMPLES_8" value="3"/>
107701e04c3fSmrg    </field>
10789f464c52Smaya    <field name="Pixel Location" start="36" end="36" type="uint">
10799f464c52Smaya      <value name="CENTER" value="0"/>
10809f464c52Smaya      <value name="UL_CORNER" value="1"/>
10819f464c52Smaya    </field>
108201e04c3fSmrg    <field name="Sample0 Y Offset" start="64" end="67" type="u0.4"/>
10839f464c52Smaya    <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
10849f464c52Smaya    <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
10859f464c52Smaya    <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
10869f464c52Smaya    <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
10879f464c52Smaya    <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
10889f464c52Smaya    <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
10899f464c52Smaya    <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
109001e04c3fSmrg    <field name="Sample4 Y Offset" start="96" end="99" type="u0.4"/>
10919f464c52Smaya    <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/>
10929f464c52Smaya    <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/>
10939f464c52Smaya    <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/>
10949f464c52Smaya    <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/>
10959f464c52Smaya    <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/>
10969f464c52Smaya    <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/>
10979f464c52Smaya    <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/>
109801e04c3fSmrg  </instruction>
109901e04c3fSmrg
11009f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
110101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
11029f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
11039f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
11049f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11059f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
110601e04c3fSmrg    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
11079f464c52Smaya    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
110801e04c3fSmrg  </instruction>
110901e04c3fSmrg
11109f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
111101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
11129f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
11139f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
11149f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
111601e04c3fSmrg    <group count="32" start="32" size="32">
111701e04c3fSmrg      <field name="Pattern Row" start="0" end="31" type="uint"/>
111801e04c3fSmrg    </group>
111901e04c3fSmrg  </instruction>
112001e04c3fSmrg
11219f464c52Smaya  <instruction name="3DSTATE_PS" bias="2" length="8" engine="render">
112201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
11239f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
11249f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11259f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
112701e04c3fSmrg    <field name="Kernel Start Pointer 0" start="38" end="63" type="offset"/>
11289f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
11299f464c52Smaya    <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
11309f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
113101e04c3fSmrg    <field name="Rounding Mode" start="78" end="79" type="uint">
113201e04c3fSmrg      <value name="RTNE" value="0"/>
113301e04c3fSmrg      <value name="RU" value="1"/>
113401e04c3fSmrg      <value name="RD" value="2"/>
113501e04c3fSmrg      <value name="RTZ" value="3"/>
113601e04c3fSmrg    </field>
11379f464c52Smaya    <field name="Floating Point Mode" start="80" end="80" type="uint">
11389f464c52Smaya      <value name="IEEE-745" value="0"/>
11399f464c52Smaya      <value name="Alt" value="1"/>
11409f464c52Smaya    </field>
11419f464c52Smaya    <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
11429f464c52Smaya    <field name="Denormal Mode" start="90" end="90" type="uint">
11439f464c52Smaya      <value name="FTZ" value="0"/>
11449f464c52Smaya      <value name="RET" value="1"/>
11459f464c52Smaya    </field>
11469f464c52Smaya    <field name="Sampler Count" start="91" end="93" type="uint"/>
11479f464c52Smaya    <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
11489f464c52Smaya    <field name="Single Program Flow" start="95" end="95" type="bool"/>
114901e04c3fSmrg    <field name="Per Thread Scratch Space" start="96" end="99" type="uint"/>
11509f464c52Smaya    <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
11519f464c52Smaya    <field name="8 Pixel Dispatch Enable" start="128" end="128" type="bool"/>
11529f464c52Smaya    <field name="16 Pixel Dispatch Enable" start="129" end="129" type="bool"/>
11539f464c52Smaya    <field name="32 Pixel Dispatch Enable" start="130" end="130" type="bool"/>
115401e04c3fSmrg    <field name="Position XY Offset Select" start="131" end="132" type="uint">
115501e04c3fSmrg      <value name="POSOFFSET_NONE" value="0"/>
115601e04c3fSmrg      <value name="POSOFFSET_CENTROID" value="2"/>
115701e04c3fSmrg      <value name="POSOFFSET_SAMPLE" value="3"/>
115801e04c3fSmrg    </field>
11599f464c52Smaya    <field name="Render Target Resolve Enable" start="134" end="134" type="bool"/>
11609f464c52Smaya    <field name="Dual Source Blend Enable" start="135" end="135" type="bool"/>
11619f464c52Smaya    <field name="Render Target Fast Clear Enable" start="136" end="136" type="bool"/>
11629f464c52Smaya    <field name="oMask Present to RenderTarget" start="137" end="137" type="bool"/>
11639f464c52Smaya    <field name="Attribute Enable" start="138" end="138" type="bool"/>
11649f464c52Smaya    <field name="Push Constant Enable" start="139" end="139" type="bool"/>
11659f464c52Smaya    <field name="Maximum Number of Threads" start="152" end="159" type="uint"/>
116601e04c3fSmrg    <field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="160" end="166" type="uint"/>
11679f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="168" end="174" type="uint"/>
11689f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="176" end="182" type="uint"/>
116901e04c3fSmrg    <field name="Kernel Start Pointer 1" start="198" end="223" type="offset"/>
117001e04c3fSmrg    <field name="Kernel Start Pointer 2" start="230" end="255" type="offset"/>
117101e04c3fSmrg  </instruction>
117201e04c3fSmrg
11739f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
117401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
11759f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
11769f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
11779f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11789f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
11799f464c52Smaya    <field name="Constant Buffer Size" start="32" end="36" type="uint">
118001e04c3fSmrg      <value name="0KB" value="0"/>
118101e04c3fSmrg    </field>
11829f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="51" type="uint">
118301e04c3fSmrg      <value name="0KB" value="0"/>
118401e04c3fSmrg    </field>
118501e04c3fSmrg  </instruction>
118601e04c3fSmrg
11879f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
118801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
11899f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
11909f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
11919f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11929f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
11939f464c52Smaya    <field name="Constant Buffer Size" start="32" end="36" type="uint">
119401e04c3fSmrg      <value name="0KB" value="0"/>
119501e04c3fSmrg    </field>
11969f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="51" type="uint">
119701e04c3fSmrg      <value name="0KB" value="0"/>
119801e04c3fSmrg    </field>
119901e04c3fSmrg  </instruction>
120001e04c3fSmrg
12019f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
120201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12039f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
12049f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
12059f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12069f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
12079f464c52Smaya    <field name="Constant Buffer Size" start="32" end="36" type="uint">
120801e04c3fSmrg      <value name="0KB" value="0"/>
120901e04c3fSmrg    </field>
12109f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="51" type="uint">
121101e04c3fSmrg      <value name="0KB" value="0"/>
121201e04c3fSmrg    </field>
121301e04c3fSmrg  </instruction>
121401e04c3fSmrg
12159f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
121601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12179f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
12189f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
12199f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12209f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
12219f464c52Smaya    <field name="Constant Buffer Size" start="32" end="36" type="uint">
122201e04c3fSmrg      <value name="0KB" value="0"/>
122301e04c3fSmrg    </field>
12249f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="51" type="uint">
122501e04c3fSmrg      <value name="0KB" value="0"/>
122601e04c3fSmrg    </field>
122701e04c3fSmrg  </instruction>
122801e04c3fSmrg
12299f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render">
123001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12319f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
12329f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
12339f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
12359f464c52Smaya    <field name="Constant Buffer Size" start="32" end="36" type="uint">
123601e04c3fSmrg      <value name="0KB" value="0"/>
123701e04c3fSmrg    </field>
12389f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="51" type="uint">
123901e04c3fSmrg      <value name="0KB" value="0"/>
124001e04c3fSmrg    </field>
124101e04c3fSmrg  </instruction>
124201e04c3fSmrg
12439f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
124401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint"/>
12459f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
12469f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
12479f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12489f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
124901e04c3fSmrg    <group count="0" start="32" size="32">
125001e04c3fSmrg      <field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
125101e04c3fSmrg    </group>
125201e04c3fSmrg  </instruction>
125301e04c3fSmrg
12549f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
125501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12569f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
12579f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
12589f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12599f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
126001e04c3fSmrg    <group count="0" start="32" size="32">
126101e04c3fSmrg      <field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
126201e04c3fSmrg      <field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
126301e04c3fSmrg      <field name="Palette Green[0:N-1]" start="8" end="15" type="uint"/>
126401e04c3fSmrg      <field name="Palette Blue[0:N-1]" start="0" end="7" type="uint"/>
126501e04c3fSmrg    </group>
126601e04c3fSmrg  </instruction>
126701e04c3fSmrg
12689f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
126901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12709f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
12719f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12729f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12739f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
127401e04c3fSmrg    <field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
127501e04c3fSmrg  </instruction>
127601e04c3fSmrg
12779f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
127801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12799f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
12809f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12819f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12829f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
128301e04c3fSmrg    <field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
128401e04c3fSmrg  </instruction>
128501e04c3fSmrg
12869f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
128701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12889f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
12899f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12909f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
129201e04c3fSmrg    <field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
129301e04c3fSmrg  </instruction>
129401e04c3fSmrg
12959f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
129601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12979f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
12989f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12999f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13009f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
130101e04c3fSmrg    <field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
130201e04c3fSmrg  </instruction>
130301e04c3fSmrg
13049f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
130501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
13069f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
13079f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13089f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13099f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
131001e04c3fSmrg    <field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
131101e04c3fSmrg  </instruction>
131201e04c3fSmrg
13139f464c52Smaya  <instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
131401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
13159f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
13169f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13179f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13189f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
131901e04c3fSmrg    <field name="Sample Mask" start="32" end="39" type="uint"/>
132001e04c3fSmrg  </instruction>
132101e04c3fSmrg
13229f464c52Smaya  <instruction name="3DSTATE_SBE" bias="2" length="14" engine="render">
132301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="12"/>
13249f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
13259f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13269f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
13289f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
13299f464c52Smaya    <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
133001e04c3fSmrg    <field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
133101e04c3fSmrg      <value name="UPPERLEFT" value="0"/>
133201e04c3fSmrg      <value name="LOWERLEFT" value="1"/>
133301e04c3fSmrg    </field>
13349f464c52Smaya    <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
13359f464c52Smaya    <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
13369f464c52Smaya    <field name="Attribute Swizzle Control Mode" start="60" end="60" type="uint">
13379f464c52Smaya      <value name="SWIZ_0_15" value="0"/>
13389f464c52Smaya      <value name="SWIZ_16_31" value="1"/>
13399f464c52Smaya    </field>
134001e04c3fSmrg    <group count="16" start="64" size="16">
134101e04c3fSmrg      <field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
134201e04c3fSmrg    </group>
134301e04c3fSmrg    <field name="Point Sprite Texture Coordinate Enable" start="320" end="351" type="uint"/>
134401e04c3fSmrg    <field name="Constant Interpolation Enable" start="352" end="383" type="uint"/>
134501e04c3fSmrg    <field name="Attribute 0 WrapShortest Enables" start="384" end="387" type="uint"/>
13469f464c52Smaya    <field name="Attribute 1 WrapShortest Enables" start="388" end="391" type="uint"/>
13479f464c52Smaya    <field name="Attribute 2 WrapShortest Enables" start="392" end="395" type="uint"/>
13489f464c52Smaya    <field name="Attribute 3 WrapShortest Enables" start="396" end="399" type="uint"/>
13499f464c52Smaya    <field name="Attribute 4 WrapShortest Enables" start="400" end="403" type="uint"/>
13509f464c52Smaya    <field name="Attribute 5 WrapShortest Enables" start="404" end="407" type="uint"/>
13519f464c52Smaya    <field name="Attribute 6 WrapShortest Enables" start="408" end="411" type="uint"/>
13529f464c52Smaya    <field name="Attribute 7 WrapShortest Enables" start="412" end="415" type="uint"/>
135301e04c3fSmrg    <field name="Attribute 8 WrapShortest Enables" start="416" end="419" type="uint"/>
13549f464c52Smaya    <field name="Attribute 9 WrapShortest Enables" start="420" end="423" type="uint"/>
13559f464c52Smaya    <field name="Attribute 10 WrapShortest Enables" start="424" end="427" type="uint"/>
13569f464c52Smaya    <field name="Attribute 11 WrapShortest Enables" start="428" end="431" type="uint"/>
13579f464c52Smaya    <field name="Attribute 12 WrapShortest Enables" start="432" end="435" type="uint"/>
13589f464c52Smaya    <field name="Attribute 13 WrapShortest Enables" start="436" end="439" type="uint"/>
13599f464c52Smaya    <field name="Attribute 14 WrapShortest Enables" start="440" end="443" type="uint"/>
13609f464c52Smaya    <field name="Attribute 15 WrapShortest Enables" start="444" end="447" type="uint"/>
136101e04c3fSmrg  </instruction>
136201e04c3fSmrg
13639f464c52Smaya  <instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
136401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
13659f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
13669f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13679f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13689f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
136901e04c3fSmrg    <field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
137001e04c3fSmrg  </instruction>
137101e04c3fSmrg
13729f464c52Smaya  <instruction name="3DSTATE_SF" bias="2" length="7" engine="render">
137301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
13749f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
13759f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13769f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
13789f464c52Smaya    <field name="Front Winding" start="32" end="32" type="uint"/>
13799f464c52Smaya    <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
13809f464c52Smaya    <field name="BackFace Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
138101e04c3fSmrg      <value name="SOLID" value="0"/>
138201e04c3fSmrg      <value name="WIREFRAME" value="1"/>
138301e04c3fSmrg      <value name="POINT" value="2"/>
138401e04c3fSmrg    </field>
13859f464c52Smaya    <field name="FrontFace Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
138601e04c3fSmrg      <value name="SOLID" value="0"/>
138701e04c3fSmrg      <value name="WIREFRAME" value="1"/>
138801e04c3fSmrg      <value name="POINT" value="2"/>
138901e04c3fSmrg    </field>
13909f464c52Smaya    <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
13919f464c52Smaya    <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
13929f464c52Smaya    <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
13939f464c52Smaya    <field name="Statistics Enable" start="42" end="42" type="bool"/>
13949f464c52Smaya    <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
13959f464c52Smaya    <field name="Depth Buffer Surface Format" start="44" end="46" type="uint">
13969f464c52Smaya      <value name="D32_FLOAT_S8X24_UINT" value="0"/>
13979f464c52Smaya      <value name="D32_FLOAT" value="1"/>
13989f464c52Smaya      <value name="D24_UNORM_S8_UINT" value="2"/>
13999f464c52Smaya      <value name="D24_UNORM_X8_UINT" value="3"/>
14009f464c52Smaya      <value name="D16_UNORM" value="5"/>
140101e04c3fSmrg    </field>
140201e04c3fSmrg    <field name="Multisample Rasterization Mode" start="72" end="73" type="uint">
140301e04c3fSmrg      <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
140401e04c3fSmrg      <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
140501e04c3fSmrg      <value name="MSRASTMODE_ON_PIXEL" value="2"/>
140601e04c3fSmrg      <value name="MSRASTMODE_ON_PATTERN" value="3"/>
140701e04c3fSmrg    </field>
14089f464c52Smaya    <field name="Scissor Rectangle Enable" start="75" end="75" type="bool"/>
14099f464c52Smaya    <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint">
14109f464c52Smaya      <value name="0.5 pixels" value="0"/>
14119f464c52Smaya      <value name="1.0 pixels" value="1"/>
14129f464c52Smaya      <value name="2.0 pixels" value="2"/>
14139f464c52Smaya      <value name="4.0 pixels" value="3"/>
141401e04c3fSmrg    </field>
14159f464c52Smaya    <field name="Line Width" start="82" end="91" type="u3.7"/>
14169f464c52Smaya    <field name="Cull Mode" start="93" end="94" type="uint" prefix="CULLMODE">
14179f464c52Smaya      <value name="BOTH" value="0"/>
14189f464c52Smaya      <value name="NONE" value="1"/>
14199f464c52Smaya      <value name="FRONT" value="2"/>
14209f464c52Smaya      <value name="BACK" value="3"/>
14219f464c52Smaya    </field>
14227ec681f3Smrg    <field name="Antialiasing Enable" start="95" end="95" type="bool"/>
14239f464c52Smaya    <field name="Point Width" start="96" end="106" type="u8.3"/>
14249f464c52Smaya    <field name="Point Width Source" start="107" end="107" type="uint">
14259f464c52Smaya      <value name="Vertex" value="0"/>
14269f464c52Smaya      <value name="State" value="1"/>
142701e04c3fSmrg    </field>
1428993e1d59Smrg    <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
1429993e1d59Smrg      <value name="8 Bit" value="0"/>
1430993e1d59Smrg      <value name="4 Bit" value="1"/>
1431993e1d59Smrg    </field>
14329f464c52Smaya    <field name="AA Line Distance Mode" start="110" end="110" type="uint">
14339f464c52Smaya      <value name="AALINEDISTANCE_TRUE" value="1"/>
143401e04c3fSmrg    </field>
14359f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint">
14369f464c52Smaya      <value name="Vertex 0" value="0"/>
14379f464c52Smaya      <value name="Vertex 1" value="1"/>
14389f464c52Smaya      <value name="Vertex 2" value="2"/>
14399f464c52Smaya    </field>
14409f464c52Smaya    <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
14419f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint">
14429f464c52Smaya      <value name="Vertex 0" value="0"/>
14439f464c52Smaya      <value name="Vertex 1" value="1"/>
14449f464c52Smaya      <value name="Vertex 2" value="2"/>
14459f464c52Smaya    </field>
14469f464c52Smaya    <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
144701e04c3fSmrg    <field name="Global Depth Offset Constant" start="128" end="159" type="float"/>
144801e04c3fSmrg    <field name="Global Depth Offset Scale" start="160" end="191" type="float"/>
144901e04c3fSmrg    <field name="Global Depth Offset Clamp" start="192" end="223" type="float"/>
145001e04c3fSmrg  </instruction>
145101e04c3fSmrg
14529f464c52Smaya  <instruction name="3DSTATE_SO_BUFFER" bias="2" length="4" engine="render">
145301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
14549f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
14559f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
14569f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14579f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
145801e04c3fSmrg    <field name="Surface Pitch" start="32" end="43" type="uint"/>
14599f464c52Smaya    <field name="MOCS" start="57" end="60" type="uint"/>
14609f464c52Smaya    <field name="SO Buffer Index" start="61" end="62" type="uint"/>
146101e04c3fSmrg    <field name="Surface Base Address" start="66" end="95" type="address"/>
146201e04c3fSmrg    <field name="Surface End Address" start="98" end="127" type="address"/>
146301e04c3fSmrg  </instruction>
146401e04c3fSmrg
14659f464c52Smaya  <instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
146601e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint"/>
14679f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
14689f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
14699f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
147101e04c3fSmrg    <field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
14729f464c52Smaya    <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
14739f464c52Smaya    <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
14749f464c52Smaya    <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
147501e04c3fSmrg    <field name="Num Entries [0]" start="64" end="71" type="uint"/>
14769f464c52Smaya    <field name="Num Entries [1]" start="72" end="79" type="uint"/>
14779f464c52Smaya    <field name="Num Entries [2]" start="80" end="87" type="uint"/>
14789f464c52Smaya    <field name="Num Entries [3]" start="88" end="95" type="uint"/>
147901e04c3fSmrg    <group count="0" start="96" size="64">
148001e04c3fSmrg      <field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
148101e04c3fSmrg    </group>
148201e04c3fSmrg  </instruction>
148301e04c3fSmrg
14849f464c52Smaya  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
148501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
14869f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
14879f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14889f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14899f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
149001e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
14919f464c52Smaya    <field name="MOCS" start="57" end="60" type="uint"/>
149201e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
149301e04c3fSmrg  </instruction>
149401e04c3fSmrg
14959f464c52Smaya  <instruction name="3DSTATE_STREAMOUT" bias="2" length="3" engine="render">
149601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
14979f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
14989f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14999f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15009f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15019f464c52Smaya    <field name="SO Buffer Enable [0]" start="40" end="40" type="bool"/>
15029f464c52Smaya    <field name="SO Buffer Enable [1]" start="41" end="41" type="bool"/>
15039f464c52Smaya    <field name="SO Buffer Enable [2]" start="42" end="42" type="bool"/>
15049f464c52Smaya    <field name="SO Buffer Enable [3]" start="43" end="43" type="bool"/>
15059f464c52Smaya    <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
150601e04c3fSmrg    <field name="Reorder Mode" start="58" end="58" type="uint">
150701e04c3fSmrg      <value name="LEADING" value="0"/>
150801e04c3fSmrg      <value name="TRAILING" value="1"/>
150901e04c3fSmrg    </field>
15109f464c52Smaya    <field name="Render Stream Select" start="59" end="60" type="uint"/>
15119f464c52Smaya    <field name="Rendering Disable" start="62" end="62" type="bool"/>
15129f464c52Smaya    <field name="SO Function Enable" start="63" end="63" type="bool"/>
151301e04c3fSmrg    <field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
15149f464c52Smaya    <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
15159f464c52Smaya    <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
15169f464c52Smaya    <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
15179f464c52Smaya    <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
15189f464c52Smaya    <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
15199f464c52Smaya    <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
15209f464c52Smaya    <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
152101e04c3fSmrg  </instruction>
152201e04c3fSmrg
15239f464c52Smaya  <instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
152401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
15259f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
15269f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15279f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15299f464c52Smaya    <field name="TE Enable" start="32" end="32" type="bool"/>
15309f464c52Smaya    <field name="TE Mode" start="33" end="34" type="uint">
15319f464c52Smaya      <value name="HW_TESS" value="0"/>
15329f464c52Smaya      <value name="SW_TESS" value="1"/>
15339f464c52Smaya    </field>
15349f464c52Smaya    <field name="TE Domain" start="36" end="37" type="uint">
15359f464c52Smaya      <value name="QUAD" value="0"/>
15369f464c52Smaya      <value name="TRI" value="1"/>
15379f464c52Smaya      <value name="ISOLINE" value="2"/>
153801e04c3fSmrg    </field>
153901e04c3fSmrg    <field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
154001e04c3fSmrg      <value name="POINT" value="0"/>
154101e04c3fSmrg      <value name="LINE" value="1"/>
154201e04c3fSmrg      <value name="TRI_CW" value="2"/>
154301e04c3fSmrg      <value name="TRI_CCW" value="3"/>
154401e04c3fSmrg    </field>
15459f464c52Smaya    <field name="Partitioning" start="44" end="45" type="uint">
15469f464c52Smaya      <value name="INTEGER" value="0"/>
15479f464c52Smaya      <value name="ODD_FRACTIONAL" value="1"/>
15489f464c52Smaya      <value name="EVEN_FRACTIONAL" value="2"/>
154901e04c3fSmrg    </field>
155001e04c3fSmrg    <field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
155101e04c3fSmrg    <field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
155201e04c3fSmrg  </instruction>
155301e04c3fSmrg
15549f464c52Smaya  <instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
155501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
15569f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
15579f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15589f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15599f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
156001e04c3fSmrg    <field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
15619f464c52Smaya    <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
15629f464c52Smaya    <field name="DS URB Starting Address" start="57" end="61" type="uint"/>
156301e04c3fSmrg  </instruction>
156401e04c3fSmrg
15659f464c52Smaya  <instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
156601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
15679f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
15689f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15699f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
157101e04c3fSmrg    <field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
15729f464c52Smaya    <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
15739f464c52Smaya    <field name="GS URB Starting Address" start="57" end="61" type="uint"/>
157401e04c3fSmrg  </instruction>
157501e04c3fSmrg
15769f464c52Smaya  <instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
157701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
15789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
15799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
158201e04c3fSmrg    <field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
15839f464c52Smaya    <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
15849f464c52Smaya    <field name="HS URB Starting Address" start="57" end="61" type="uint"/>
158501e04c3fSmrg  </instruction>
158601e04c3fSmrg
15879f464c52Smaya  <instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
158801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
15899f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
15909f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15919f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15929f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
159301e04c3fSmrg    <field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
15949f464c52Smaya    <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
15959f464c52Smaya    <field name="VS URB Starting Address" start="57" end="61" type="uint"/>
159601e04c3fSmrg  </instruction>
159701e04c3fSmrg
15989f464c52Smaya  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
159901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
16009f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
16019f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16029f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16039f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
160401e04c3fSmrg    <group count="0" start="32" size="128">
160501e04c3fSmrg      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
160601e04c3fSmrg    </group>
160701e04c3fSmrg  </instruction>
160801e04c3fSmrg
16099f464c52Smaya  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
161001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
16119f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
16129f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16139f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16149f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
161501e04c3fSmrg    <group count="0" start="32" size="64">
161601e04c3fSmrg      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
161701e04c3fSmrg    </group>
161801e04c3fSmrg  </instruction>
161901e04c3fSmrg
16209f464c52Smaya  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
162101e04c3fSmrg    <field name="Statistics Enable" start="0" end="0" type="bool"/>
16229f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
16239f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16249f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
16259f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
162601e04c3fSmrg  </instruction>
162701e04c3fSmrg
16289f464c52Smaya  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
162901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
16309f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
16319f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16329f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16339f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
163401e04c3fSmrg    <field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
163501e04c3fSmrg  </instruction>
163601e04c3fSmrg
16379f464c52Smaya  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
163801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
16399f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
16409f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16419f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16429f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
164301e04c3fSmrg    <field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
164401e04c3fSmrg  </instruction>
164501e04c3fSmrg
16469f464c52Smaya  <instruction name="3DSTATE_VS" bias="2" length="6" engine="render">
164701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
16489f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
16499f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16509f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
165201e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
16539f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
16549f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
165501e04c3fSmrg    <field name="Floating Point Mode" start="80" end="80" type="uint">
165601e04c3fSmrg      <value name="IEEE-754" value="0"/>
165701e04c3fSmrg      <value name="Alternate" value="1"/>
165801e04c3fSmrg    </field>
16599f464c52Smaya    <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
16609f464c52Smaya    <field name="Sampler Count" start="91" end="93" type="uint">
16619f464c52Smaya      <value name="No Samplers" value="0"/>
16629f464c52Smaya      <value name="1-4 Samplers" value="1"/>
16639f464c52Smaya      <value name="5-8 Samplers" value="2"/>
16649f464c52Smaya      <value name="9-12 Samplers" value="3"/>
16659f464c52Smaya      <value name="13-16 Samplers" value="4"/>
16669f464c52Smaya    </field>
16679f464c52Smaya    <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
16689f464c52Smaya    <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
166901e04c3fSmrg    <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
16709f464c52Smaya    <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
167101e04c3fSmrg    <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
16729f464c52Smaya    <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
16739f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
167401e04c3fSmrg    <field name="Enable" start="160" end="160" type="bool"/>
16759f464c52Smaya    <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
16769f464c52Smaya    <field name="Statistics Enable" start="170" end="170" type="bool"/>
16779f464c52Smaya    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
167801e04c3fSmrg  </instruction>
167901e04c3fSmrg
16809f464c52Smaya  <instruction name="3DSTATE_WM" bias="2" length="3" engine="render">
168101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
16829f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
16839f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16849f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
16869f464c52Smaya    <field name="Multisample Rasterization Mode" start="32" end="33" type="uint">
16879f464c52Smaya      <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
16889f464c52Smaya      <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
16899f464c52Smaya      <value name="MSRASTMODE_ON_PIXEL" value="2"/>
16909f464c52Smaya      <value name="MSRASTMODE_ON_PATTERN" value="3"/>
169101e04c3fSmrg    </field>
16929f464c52Smaya    <field name="Point Rasterization Rule" start="34" end="34" type="uint">
16939f464c52Smaya      <value name="RASTRULE_UPPER_LEFT" value="0"/>
16949f464c52Smaya      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
169501e04c3fSmrg    </field>
16969f464c52Smaya    <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
16979f464c52Smaya    <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
16989f464c52Smaya    <field name="Line Antialiasing Region Width" start="38" end="39" type="uint">
16999f464c52Smaya      <value name="0.5 pixels" value="0"/>
17009f464c52Smaya      <value name="1.0 pixels" value="1"/>
17019f464c52Smaya      <value name="2.0 pixels" value="2"/>
17029f464c52Smaya      <value name="4.0 pixels" value="3"/>
170301e04c3fSmrg    </field>
17049f464c52Smaya    <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint"/>
17059f464c52Smaya    <field name="Pixel Shader Uses Input Coverage Mask" start="42" end="42" type="bool"/>
170601e04c3fSmrg    <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
170701e04c3fSmrg      <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
17089f464c52Smaya      <value name="BIM_PERSPECTIVE_CENTROID" value="2"/>
170901e04c3fSmrg      <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
171001e04c3fSmrg      <value name="BIM_LINEAR_PIXEL" value="8"/>
171101e04c3fSmrg      <value name="BIM_LINEAR_CENTROID" value="16"/>
171201e04c3fSmrg      <value name="BIM_LINEAR_SAMPLE" value="32"/>
171301e04c3fSmrg    </field>
17149f464c52Smaya    <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
17159f464c52Smaya      <value name="INTERP_PIXEL" value="0"/>
17169f464c52Smaya      <value name="INTERP_CENTROID" value="2"/>
17179f464c52Smaya      <value name="INTERP_SAMPLE" value="3"/>
171801e04c3fSmrg    </field>
17199f464c52Smaya    <field name="Pixel Shader Uses Source W" start="51" end="51" type="bool"/>
17209f464c52Smaya    <field name="Pixel Shader Uses Source Depth" start="52" end="52" type="bool"/>
17219f464c52Smaya    <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
17229f464c52Smaya      <value name="EDSC_NORMAL" value="0"/>
17239f464c52Smaya      <value name="EDSC_PSEXEC" value="1"/>
17249f464c52Smaya      <value name="EDSC_PREPS" value="2"/>
172501e04c3fSmrg    </field>
17269f464c52Smaya    <field name="Pixel Shader Computed Depth Mode" start="55" end="56" type="uint">
17279f464c52Smaya      <value name="PSCDEPTH_OFF" value="0"/>
17289f464c52Smaya      <value name="PSCDEPTH_ON" value="1"/>
17299f464c52Smaya      <value name="PSCDEPTH_ON_GE" value="2"/>
17309f464c52Smaya      <value name="PSCDEPTH_ON_LE" value="3"/>
173101e04c3fSmrg    </field>
17329f464c52Smaya    <field name="Pixel Shader Kills Pixel" start="57" end="57" type="bool"/>
17339f464c52Smaya    <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
17349f464c52Smaya    <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
17359f464c52Smaya    <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
17369f464c52Smaya    <field name="Thread Dispatch Enable" start="61" end="61" type="bool"/>
17379f464c52Smaya    <field name="Depth Buffer Clear" start="62" end="62" type="bool"/>
17389f464c52Smaya    <field name="Statistics Enable" start="63" end="63" type="bool"/>
173901e04c3fSmrg    <field name="Multisample Dispatch Mode" start="95" end="95" type="uint">
174001e04c3fSmrg      <value name="MSDISPMODE_PERSAMPLE" value="0"/>
174101e04c3fSmrg      <value name="MSDISPMODE_PERPIXEL" value="1"/>
174201e04c3fSmrg    </field>
174301e04c3fSmrg  </instruction>
174401e04c3fSmrg
17459f464c52Smaya  <instruction name="GPGPU_OBJECT" bias="2" length="8" engine="render">
174601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
17479f464c52Smaya    <field name="Predicate Enable" start="8" end="8" type="bool"/>
17489f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
17499f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
17509f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
17519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
175201e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
17539f464c52Smaya    <field name="Shared Local Memory Fixed Offset" start="39" end="39" type="uint"/>
17549f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
175501e04c3fSmrg    <field name="Half-Slice Destination Select" start="81" end="82" type="uint">
175601e04c3fSmrg      <value name="Half-Slice 1" value="2"/>
175701e04c3fSmrg      <value name="Half-Slice 0" value="1"/>
175801e04c3fSmrg      <value name="Either Half-Slice" value="0"/>
175901e04c3fSmrg    </field>
17609f464c52Smaya    <field name="End of Thread Group" start="88" end="88" type="uint"/>
17619f464c52Smaya    <field name="Shared Local Memory Offset" start="92" end="95" type="uint"/>
176201e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
176301e04c3fSmrg    <field name="Thread Group ID X" start="128" end="159" type="uint"/>
176401e04c3fSmrg    <field name="Thread Group ID Y" start="160" end="191" type="uint"/>
176501e04c3fSmrg    <field name="Thread Group ID Z" start="192" end="223" type="uint"/>
176601e04c3fSmrg    <field name="Execution Mask" start="224" end="255" type="uint"/>
176701e04c3fSmrg  </instruction>
176801e04c3fSmrg
17699f464c52Smaya  <instruction name="GPGPU_WALKER" bias="2" length="11" engine="render">
177001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
17719f464c52Smaya    <field name="Predicate Enable" start="8" end="8" type="bool"/>
17729f464c52Smaya    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
17739f464c52Smaya    <field name="SubOpcode A" start="16" end="23" type="uint" default="5"/>
17749f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
17759f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
17769f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
177701e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
17789f464c52Smaya    <field name="Thread Width Counter Maximum" start="64" end="69" type="uint"/>
17799f464c52Smaya    <field name="Thread Height Counter Maximum" start="72" end="77" type="uint"/>
17809f464c52Smaya    <field name="Thread Depth Counter Maximum" start="80" end="85" type="uint"/>
178101e04c3fSmrg    <field name="SIMD Size" start="94" end="95" type="uint">
178201e04c3fSmrg      <value name="SIMD8" value="0"/>
178301e04c3fSmrg      <value name="SIMD16" value="1"/>
178401e04c3fSmrg      <value name="SIMD32" value="2"/>
178501e04c3fSmrg    </field>
178601e04c3fSmrg    <field name="Thread Group ID Starting X" start="96" end="127" type="uint"/>
178701e04c3fSmrg    <field name="Thread Group ID X Dimension" start="128" end="159" type="uint"/>
178801e04c3fSmrg    <field name="Thread Group ID Starting Y" start="160" end="191" type="uint"/>
178901e04c3fSmrg    <field name="Thread Group ID Y Dimension" start="192" end="223" type="uint"/>
179001e04c3fSmrg    <field name="Thread Group ID Starting Z" start="224" end="255" type="uint"/>
179101e04c3fSmrg    <field name="Thread Group ID Z Dimension" start="256" end="287" type="uint"/>
179201e04c3fSmrg    <field name="Right Execution Mask" start="288" end="319" type="uint"/>
179301e04c3fSmrg    <field name="Bottom Execution Mask" start="320" end="351" type="uint"/>
179401e04c3fSmrg  </instruction>
179501e04c3fSmrg
17969f464c52Smaya  <instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
179701e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
17989f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
17999f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
18009f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
18019f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
180201e04c3fSmrg    <field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
180301e04c3fSmrg    <field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
180401e04c3fSmrg  </instruction>
180501e04c3fSmrg
18069f464c52Smaya  <instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
180701e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
18089f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
18099f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
18109f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
18119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
181201e04c3fSmrg    <field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
181301e04c3fSmrg    <field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
181401e04c3fSmrg  </instruction>
181501e04c3fSmrg
18169f464c52Smaya  <instruction name="MEDIA_OBJECT" bias="2" engine="render">
181701e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="4"/>
18189f464c52Smaya    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
18199f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
18209f464c52Smaya    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
18219f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
182201e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
18239f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
18249f464c52Smaya    <field name="Half-Slice Destination Select" start="81" end="82" type="uint">
18259f464c52Smaya      <value name="Half-Slice 1" value="2"/>
18269f464c52Smaya      <value name="Half-Slice 0" value="1"/>
18279f464c52Smaya      <value name="Either half-slice" value="0"/>
182801e04c3fSmrg    </field>
182901e04c3fSmrg    <field name="Use Scoreboard" start="85" end="85" type="uint">
183001e04c3fSmrg      <value name="Not using scoreboard" value="0"/>
183101e04c3fSmrg      <value name="Using scoreboard" value="1"/>
183201e04c3fSmrg    </field>
18339f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
18349f464c52Smaya      <value name="No thread synchronization" value="0"/>
18359f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
183601e04c3fSmrg    </field>
18379f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
183801e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
183901e04c3fSmrg    <field name="Scoreboard X" start="128" end="136" type="uint"/>
18409f464c52Smaya    <field name="Scoredboard Y" start="144" end="152" type="uint"/>
184101e04c3fSmrg    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
18429f464c52Smaya    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
184301e04c3fSmrg    <group count="0" start="192" size="32">
184401e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
184501e04c3fSmrg    </group>
184601e04c3fSmrg  </instruction>
184701e04c3fSmrg
18489f464c52Smaya  <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
184901e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="14"/>
18509f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
18519f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
18529f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
18539f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
185401e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
185501e04c3fSmrg    <field name="PRT_FenceType" start="86" end="86" type="uint">
185601e04c3fSmrg      <value name="Root thread queue" value="0"/>
185701e04c3fSmrg      <value name="VFE state flush" value="1"/>
185801e04c3fSmrg    </field>
18599f464c52Smaya    <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
18609f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
186101e04c3fSmrg    <group count="12" start="128" size="32">
186201e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
186301e04c3fSmrg    </group>
186401e04c3fSmrg  </instruction>
186501e04c3fSmrg
18669f464c52Smaya  <instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
186701e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="15"/>
18689f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
18699f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
18709f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
18719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
187201e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
18739f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
187401e04c3fSmrg    <field name="Use Scoreboard" start="85" end="85" type="uint">
187501e04c3fSmrg      <value name="Not using scoreboard" value="0"/>
187601e04c3fSmrg      <value name="Using scoreboard" value="1"/>
187701e04c3fSmrg    </field>
18789f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
18799f464c52Smaya      <value name="No thread synchronization" value="0"/>
18809f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
18819f464c52Smaya    </field>
18829f464c52Smaya    <field name="Children Present" start="95" end="95" type="uint"/>
188301e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
188401e04c3fSmrg    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
188501e04c3fSmrg    <field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
18869f464c52Smaya    <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
18879f464c52Smaya    <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
18889f464c52Smaya    <field name="Color Count Minus One" start="216" end="219" type="uint"/>
18899f464c52Smaya    <field name="Repel" start="222" end="222" type="uint"/>
18909f464c52Smaya    <field name="Dual Mode" start="223" end="223" type="uint"/>
189101e04c3fSmrg    <field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
18929f464c52Smaya    <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
189301e04c3fSmrg    <field name="Block Resolution X" start="256" end="264" type="uint"/>
18949f464c52Smaya    <field name="Block Resolution Y" start="272" end="280" type="uint"/>
189501e04c3fSmrg    <field name="Local Start X" start="288" end="296" type="uint"/>
18969f464c52Smaya    <field name="Local Start Y" start="304" end="312" type="uint"/>
189701e04c3fSmrg    <field name="Local End X" start="320" end="328" type="uint"/>
18989f464c52Smaya    <field name="Local End Y" start="336" end="344" type="uint"/>
189901e04c3fSmrg    <field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
19009f464c52Smaya    <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
190101e04c3fSmrg    <field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
19029f464c52Smaya    <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
190301e04c3fSmrg    <field name="Global Resolution X" start="416" end="424" type="uint"/>
19049f464c52Smaya    <field name="Global Resolution Y" start="432" end="440" type="uint"/>
190501e04c3fSmrg    <field name="Global Start X" start="448" end="457" type="int"/>
19069f464c52Smaya    <field name="Global Start Y" start="464" end="473" type="int"/>
190701e04c3fSmrg    <field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
19089f464c52Smaya    <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
190901e04c3fSmrg    <field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
19109f464c52Smaya    <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
191101e04c3fSmrg    <group count="0" start="544" size="32">
191201e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
191301e04c3fSmrg    </group>
191401e04c3fSmrg  </instruction>
191501e04c3fSmrg
19169f464c52Smaya  <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
19179f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="0"/>
19189f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
19199f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
19209f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
19219f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
19229f464c52Smaya    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
19239f464c52Smaya    <field name="Watermark Required" start="38" end="38" type="uint"/>
19249f464c52Smaya  </instruction>
19259f464c52Smaya
19269f464c52Smaya  <instruction name="MEDIA_VFE_STATE" bias="2" length="8" engine="render">
19279f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="6"/>
19289f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
19299f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
19309f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
19319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
19329f464c52Smaya    <field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
19339f464c52Smaya    <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
19347ec681f3Smrg    <field name="GPGPU Mode" start="66" end="66" type="bool"/>
19359f464c52Smaya    <field name="Gateway MMIO Access Control" start="67" end="68" type="uint">
19369f464c52Smaya      <value name="No MMIO read/write allowed" value="0"/>
19379f464c52Smaya      <value name="MMIO read/write to any address" value="2"/>
19389f464c52Smaya    </field>
19399f464c52Smaya    <field name="Bypass Gateway Control" start="70" end="70" type="uint">
19409f464c52Smaya      <value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
19419f464c52Smaya      <value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
19429f464c52Smaya    </field>
19439f464c52Smaya    <field name="Reset Gateway Timer" start="71" end="71" type="uint">
19449f464c52Smaya      <value name="Maintaining the existing timestamp state" value="0"/>
19459f464c52Smaya      <value name="Resetting relative timer and latching the global timestamp" value="1"/>
19469f464c52Smaya    </field>
19479f464c52Smaya    <field name="Number of URB Entries" start="72" end="79" type="uint"/>
19489f464c52Smaya    <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
19499f464c52Smaya    <field name="CURBE Allocation Size" start="128" end="143" type="uint"/>
19509f464c52Smaya    <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
19519f464c52Smaya    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
19529f464c52Smaya    <field name="Scoreboard Type" start="190" end="190" type="uint">
19539f464c52Smaya      <value name="Stalling Scoreboard" value="0"/>
19549f464c52Smaya      <value name="Non-Stalling Scoreboard" value="1"/>
19559f464c52Smaya    </field>
19569f464c52Smaya    <field name="Scoreboard Enable" start="191" end="191" type="uint">
19579f464c52Smaya      <value name="Scoreboard disabled" value="0"/>
19589f464c52Smaya      <value name="Scoreboard enabled" value="1"/>
19599f464c52Smaya    </field>
19609f464c52Smaya    <field name="Scoreboard 0 Delta X" start="192" end="195" type="int"/>
19619f464c52Smaya    <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
19629f464c52Smaya    <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
19639f464c52Smaya    <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
19649f464c52Smaya    <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
19659f464c52Smaya    <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
19669f464c52Smaya    <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
19679f464c52Smaya    <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
19689f464c52Smaya    <field name="Scoreboard 4 Delta X" start="224" end="227" type="int"/>
19699f464c52Smaya    <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
19709f464c52Smaya    <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
19719f464c52Smaya    <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
19729f464c52Smaya    <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
19739f464c52Smaya    <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
19749f464c52Smaya    <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
19759f464c52Smaya    <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
19769f464c52Smaya  </instruction>
19779f464c52Smaya
19789f464c52Smaya  <instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="11" engine="video">
19799f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
19809f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
19819f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
19829f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
19839f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
19849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
19859f464c52Smaya    <field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
19869f464c52Smaya    <field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
19879f464c52Smaya    <group count="8" start="96" size="32">
19889f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
19899f464c52Smaya    </group>
19909f464c52Smaya    <group count="12" start="352" size="32">
19919f464c52Smaya      <field name="VDEnc Mode Inline Data" start="0" end="31" type="uint"/>
19929f464c52Smaya    </group>
19939f464c52Smaya  </instruction>
19949f464c52Smaya
19959f464c52Smaya  <instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
19969f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="7"/>
19979f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
19989f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
19999f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
20009f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
20019f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20029f464c52Smaya    <group count="8" start="32" size="32">
20039f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
20049f464c52Smaya    </group>
20059f464c52Smaya  </instruction>
20069f464c52Smaya
20079f464c52Smaya  <instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
20089f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="6"/>
20099f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
20109f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
20119f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
20129f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
20139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20149f464c52Smaya    <field name="Stream ID" start="32" end="33" type="uint"/>
20159f464c52Smaya    <field name="Slice ID" start="36" end="39" type="uint"/>
20169f464c52Smaya    <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
20179f464c52Smaya    <field name="Intra Slice" start="45" end="45" type="bool"/>
20189f464c52Smaya    <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
20199f464c52Smaya    <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
20209f464c52Smaya    <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
20219f464c52Smaya    <field name="Header Insertion Present" start="49" end="49" type="bool"/>
20229f464c52Smaya    <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
20239f464c52Smaya    <field name="Last Slice" start="51" end="51" type="bool"/>
20249f464c52Smaya    <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
20259f464c52Smaya    <field name="Rate Control Panic Type" start="54" end="54" type="uint">
20269f464c52Smaya      <value name="QP Panic" value="0"/>
20279f464c52Smaya      <value name="CBP Panic" value="1"/>
20289f464c52Smaya    </field>
20299f464c52Smaya    <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
20309f464c52Smaya    <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
20319f464c52Smaya    <field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
20329f464c52Smaya      <value name="Always Rate Control" value="0"/>
20339f464c52Smaya      <value name="Gentle Rate Control" value="1"/>
20349f464c52Smaya      <value name="Loose Rate Control" value="2"/>
20359f464c52Smaya    </field>
20369f464c52Smaya    <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
20379f464c52Smaya    <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
20389f464c52Smaya    <field name="First MB X Count" start="64" end="71" type="uint"/>
20399f464c52Smaya    <field name="First MB Y Count" start="72" end="79" type="uint"/>
20409f464c52Smaya    <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
20419f464c52Smaya    <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
20429f464c52Smaya    <field name="Slice Group QP" start="96" end="101" type="uint"/>
20439f464c52Smaya    <field name="Slice Group Skip" start="104" end="104" type="bool"/>
20449f464c52Smaya    <field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
20459f464c52Smaya    <field name="Grow Init" start="160" end="163" type="uint"/>
20469f464c52Smaya    <field name="Grow Resistance" start="164" end="167" type="uint"/>
20479f464c52Smaya    <field name="Shrink Init" start="168" end="171" type="uint"/>
20489f464c52Smaya    <field name="Shrink Resistance" start="172" end="175" type="uint"/>
20499f464c52Smaya    <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
20509f464c52Smaya    <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
20519f464c52Smaya    <field name="Correct 1" start="192" end="195" type="uint"/>
20529f464c52Smaya    <field name="Correct 2" start="196" end="199" type="uint"/>
20539f464c52Smaya    <field name="Correct 3" start="200" end="203" type="uint"/>
20549f464c52Smaya    <field name="Correct 4" start="204" end="207" type="uint"/>
20559f464c52Smaya    <field name="Correct 5" start="208" end="211" type="uint"/>
20569f464c52Smaya    <field name="Correct 6" start="212" end="215" type="uint"/>
20579f464c52Smaya    <field name="CV0" start="224" end="227" type="uint"/>
20589f464c52Smaya    <field name="CV1" start="228" end="231" type="uint"/>
20599f464c52Smaya    <field name="CV2" start="232" end="235" type="uint"/>
20609f464c52Smaya    <field name="CV3" start="236" end="239" type="uint"/>
20619f464c52Smaya    <field name="CV4" start="240" end="243" type="uint"/>
20629f464c52Smaya    <field name="CV5" start="244" end="247" type="uint"/>
20639f464c52Smaya    <field name="CV6" start="248" end="251" type="uint"/>
20649f464c52Smaya    <field name="CV7" start="252" end="255" type="uint"/>
20659f464c52Smaya  </instruction>
20669f464c52Smaya
20679f464c52Smaya  <instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
20689f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
20699f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
20709f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
20719f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
20729f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
20739f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20749f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
20759f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
20769f464c52Smaya    <field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
20779f464c52Smaya  </instruction>
20789f464c52Smaya
20799f464c52Smaya  <instruction name="MFD_AVC_DPB_STATE" bias="2" length="11" engine="video">
20809f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
20819f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
20829f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
20839f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
20849f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
20859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20869f464c52Smaya    <group count="16" start="32" size="1">
20879f464c52Smaya      <field name="Non-Existing Frame" start="0" end="0" type="uint">
20889f464c52Smaya        <value name="INVALID" value="1"/>
20899f464c52Smaya        <value name="VALID" value="0"/>
20909f464c52Smaya      </field>
20919f464c52Smaya    </group>
20929f464c52Smaya    <group count="16" start="48" size="1">
20939f464c52Smaya      <field name="Long Term Frame" start="0" end="0" type="uint"/>
20949f464c52Smaya    </group>
20959f464c52Smaya    <group count="16" start="64" size="2">
20969f464c52Smaya      <field name="Used for Reference" start="0" end="1" type="uint">
20979f464c52Smaya        <value name="NOT_REFERENCE" value="0"/>
20989f464c52Smaya        <value name="TOP_FIELD" value="1"/>
20999f464c52Smaya        <value name="BOTTOM_FIELD" value="2"/>
21009f464c52Smaya        <value name="FRAME" value="3"/>
21019f464c52Smaya      </field>
21029f464c52Smaya    </group>
21039f464c52Smaya    <group count="16" start="96" size="16">
21049f464c52Smaya      <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
21059f464c52Smaya        <value name="Long Term Frame" value="1"/>
21069f464c52Smaya        <value name="Short Term Frame" value="0"/>
21079f464c52Smaya      </field>
21089f464c52Smaya    </group>
21099f464c52Smaya  </instruction>
21109f464c52Smaya
21119f464c52Smaya  <instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video">
21129f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
21139f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
21149f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
21159f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
21169f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21179f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21189f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
21199f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
21209f464c52Smaya  </instruction>
21219f464c52Smaya
21229f464c52Smaya  <instruction name="MFD_IT_OBJECT" bias="2" engine="video">
21239f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="6"/>
21249f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
21259f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
21269f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
21279f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21299f464c52Smaya    <field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
21309f464c52Smaya    <field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
21319f464c52Smaya    <field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
21329f464c52Smaya    <field name="Indirect IT-COEFF Data Start Address Offset" start="128" end="156" type="offset"/>
21339f464c52Smaya    <field name="Indirect IT-DBLK Control Data Length" start="160" end="165" type="uint"/>
21349f464c52Smaya    <field name="Indirect IT-DBLK Control Data Start Address Offset" start="192" end="220" type="offset"/>
21359f464c52Smaya    <group count="0" start="224" size="32">
21369f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
21379f464c52Smaya    </group>
21389f464c52Smaya  </instruction>
21399f464c52Smaya
21409f464c52Smaya  <instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
21419f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
21429f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
21439f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
21449f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
21459f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21469f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21479f464c52Smaya    <field name="Indirect Data Length" start="32" end="63" type="uint"/>
21489f464c52Smaya    <field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
21499f464c52Smaya    <field name="Scan Vertical Position" start="96" end="108" type="uint"/>
21509f464c52Smaya    <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
21519f464c52Smaya    <field name="MCU Count" start="128" end="153" type="uint"/>
21529f464c52Smaya    <field name="Scan Components" start="155" end="157" type="uint"/>
21539f464c52Smaya    <field name="Interleaved" start="158" end="158" type="bool"/>
21549f464c52Smaya    <field name="Restart Interval" start="160" end="175" type="uint"/>
21559f464c52Smaya  </instruction>
21569f464c52Smaya
21579f464c52Smaya  <instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
21589f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
21599f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
21609f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
21619f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
21629f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21639f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21649f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
21659f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
21669f464c52Smaya    <field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
21679f464c52Smaya  </instruction>
21689f464c52Smaya
21699f464c52Smaya  <instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
21709f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
21719f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
21729f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
21739f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
21749f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21769f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
21779f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
21789f464c52Smaya    <field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
21799f464c52Smaya    <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
21809f464c52Smaya    <field name="First MB Bit Offset" start="128" end="130" type="uint"/>
21819f464c52Smaya    <field name="Emulation Prevention Byte Present" start="132" end="132" type="bool"/>
21829f464c52Smaya    <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
21839f464c52Smaya  </instruction>
21849f464c52Smaya
21859f464c52Smaya  <instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
21869f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
21879f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
21889f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
21899f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
21909f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21929f464c52Smaya    <field name="Picture Width In MBs" start="32" end="39" type="uint"/>
21939f464c52Smaya    <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
21949f464c52Smaya    <field name="VC1 Profile" start="64" end="64" type="uint">
21959f464c52Smaya      <value name="Simple/Main Profile" value="0"/>
21969f464c52Smaya      <value name="Advanced Profile" value="1"/>
21979f464c52Smaya    </field>
21989f464c52Smaya    <field name="Second Field" start="67" end="67" type="bool"/>
21999f464c52Smaya    <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
22009f464c52Smaya    <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
22019f464c52Smaya    <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
22029f464c52Smaya    <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
22039f464c52Smaya    <field name="MV Mode" start="72" end="75" type="uint"/>
22049f464c52Smaya    <field name="Sync Marker" start="76" end="76" type="bool"/>
22059f464c52Smaya    <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
22069f464c52Smaya    <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
22079f464c52Smaya    <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
22089f464c52Smaya    <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
22099f464c52Smaya    <field name="B Scale Factor" start="96" end="103" type="uint"/>
22109f464c52Smaya    <field name="PQ Value" start="104" end="108" type="uint"/>
22119f464c52Smaya    <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
22129f464c52Smaya    <field name="Frame Coding Mode" start="120" end="121" type="uint">
22139f464c52Smaya      <value name="Progressive Frame Picture" value="0"/>
22149f464c52Smaya      <value name="Interlaced Frame Picture" value="1"/>
22159f464c52Smaya      <value name="Field Picture with Top Field First" value="2"/>
22169f464c52Smaya      <value name="Field Picture with Bottom Field First" value="3"/>
22179f464c52Smaya    </field>
22189f464c52Smaya    <field name="Picure Type" start="122" end="124" type="uint"/>
22199f464c52Smaya    <field name="CONDOVER" start="125" end="126" type="uint"/>
22209f464c52Smaya    <field name="PQ Uniform" start="128" end="128" type="bool"/>
22219f464c52Smaya    <field name="Half QP" start="129" end="129" type="bool"/>
22229f464c52Smaya    <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
22239f464c52Smaya    <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
22249f464c52Smaya    <field name="Extended MV Range" start="136" end="137" type="uint"/>
22259f464c52Smaya    <field name="Extended DMV Range" start="138" end="139" type="uint"/>
22269f464c52Smaya    <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
22279f464c52Smaya    <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
22289f464c52Smaya    <field name="Number of References" start="152" end="152" type="uint">
22299f464c52Smaya      <value name="One field referenced" value="0"/>
22309f464c52Smaya      <value name="Two fields referenced" value="1"/>
22319f464c52Smaya    </field>
22329f464c52Smaya    <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
22339f464c52Smaya      <value name="Top (even) Field" value="0"/>
22349f464c52Smaya      <value name="Bottom (odd) Field" value="1"/>
22359f464c52Smaya    </field>
22369f464c52Smaya    <field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
22379f464c52Smaya      <value name="No Rounding" value="0"/>
22389f464c52Smaya      <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
22399f464c52Smaya    </field>
22409f464c52Smaya    <field name="Four MV Switch" start="155" end="155" type="uint">
22419f464c52Smaya      <value name="Only 1-MV" value="0"/>
22429f464c52Smaya      <value name="1, 2, or 4 MVs" value="1"/>
22439f464c52Smaya    </field>
22449f464c52Smaya    <field name="Unified MV Mode" start="156" end="157" type="uint">
22459f464c52Smaya      <value name="1-MV half-pel bilinear" value="3"/>
22469f464c52Smaya      <value name="1-MV" value="1"/>
22479f464c52Smaya      <value name="1-MV half-pel" value="2"/>
22489f464c52Smaya      <value name="Mixed MV" value="0"/>
22499f464c52Smaya    </field>
22509f464c52Smaya    <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
22519f464c52Smaya    <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
22529f464c52Smaya    <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
22539f464c52Smaya    <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
22549f464c52Smaya    <field name="MB Mode Table" start="168" end="170" type="uint"/>
22559f464c52Smaya    <field name="MB Transform Type" start="171" end="171" type="bool"/>
22569f464c52Smaya    <field name="Picture-level Transform Type" start="172" end="173" type="uint">
22579f464c52Smaya      <value name="8x8 Transform" value="0"/>
22589f464c52Smaya      <value name="8x4 Transform" value="1"/>
22599f464c52Smaya      <value name="4x8 Transform" value="2"/>
22609f464c52Smaya      <value name="4x4 Transform" value="3"/>
22619f464c52Smaya    </field>
22629f464c52Smaya    <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
22639f464c52Smaya    <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
22649f464c52Smaya    <field name="MV Table" start="180" end="182" type="uint"/>
22659f464c52Smaya    <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
22669f464c52Smaya    <field name="ACPRED Raw" start="185" end="185" type="bool"/>
22679f464c52Smaya    <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
22689f464c52Smaya    <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
22699f464c52Smaya    <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
22709f464c52Smaya    <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
22719f464c52Smaya    <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
22729f464c52Smaya    <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
22739f464c52Smaya  </instruction>
22749f464c52Smaya
22759f464c52Smaya  <instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
22769f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
22779f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
22789f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
22799f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
22809f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
22819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
22829f464c52Smaya    <field name="Picture Width" start="32" end="39" type="uint"/>
22839f464c52Smaya    <field name="Picture Height" start="48" end="55" type="uint"/>
22849f464c52Smaya    <field name="Picture Structure" start="64" end="65" type="uint"/>
22859f464c52Smaya    <field name="Second Field" start="67" end="67" type="bool"/>
22869f464c52Smaya    <field name="Intra Picture" start="68" end="68" type="bool"/>
22879f464c52Smaya    <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
22889f464c52Smaya    <field name="VC1 Profile" start="75" end="75" type="uint">
22899f464c52Smaya      <value name="Simple/Main Profile" value="0"/>
22909f464c52Smaya      <value name="Advanced Profile" value="1"/>
22919f464c52Smaya    </field>
22929f464c52Smaya    <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
22939f464c52Smaya    <field name="MV Mode" start="80" end="83" type="uint"/>
22949f464c52Smaya    <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
22959f464c52Smaya    <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
22969f464c52Smaya    <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
22979f464c52Smaya    <field name="DQUANT" start="97" end="98" type="uint"/>
22989f464c52Smaya    <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
22999f464c52Smaya    <field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
23009f464c52Smaya      <value name="No Rounding" value="0"/>
23019f464c52Smaya      <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
23029f464c52Smaya    </field>
23039f464c52Smaya    <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
23049f464c52Smaya    <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
23059f464c52Smaya    <field name="PANSCAN Present" start="103" end="103" type="bool"/>
23069f464c52Smaya    <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
23079f464c52Smaya    <field name="RANGERED Present" start="107" end="107" type="bool"/>
23089f464c52Smaya    <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
23099f464c52Smaya    <field name="MULTIRES Present" start="109" end="109" type="bool"/>
23109f464c52Smaya    <field name="QUANTIZER" start="110" end="111" type="uint"/>
23119f464c52Smaya    <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
23129f464c52Smaya    <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
23139f464c52Smaya    <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
23149f464c52Smaya    <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
23159f464c52Smaya    <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
23169f464c52Smaya    <field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
23179f464c52Smaya    <field name="PSF" start="129" end="129" type="bool"/>
23189f464c52Smaya    <field name="REFPIC" start="130" end="130" type="bool"/>
23199f464c52Smaya    <field name="FINTERFLAG" start="131" end="131" type="bool"/>
23209f464c52Smaya    <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
23219f464c52Smaya    <field name="INTERLACE" start="133" end="133" type="bool"/>
23229f464c52Smaya    <field name="PULLDOWN" start="134" end="134" type="bool"/>
23239f464c52Smaya    <field name="POSTPROC" start="135" end="135" type="bool"/>
23249f464c52Smaya    <field name="4-MV Allowed" start="136" end="136" type="bool"/>
23259f464c52Smaya    <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
23269f464c52Smaya  </instruction>
23279f464c52Smaya
23289f464c52Smaya  <instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="69" engine="video">
23299f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="67"/>
23309f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
23319f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
23329f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
23339f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
23349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
23359f464c52Smaya    <group count="32" start="1056" size="32">
23369f464c52Smaya      <field name="Direct MV Buffer - Address" start="6" end="31" type="address"/>
23379f464c52Smaya      <field name="Direct MV Buffer - Arbitration Priority Control" start="4" end="5" type="uint">
23389f464c52Smaya        <value name="Highest priority" value="0"/>
23399f464c52Smaya        <value name="Second highest priority" value="1"/>
23409f464c52Smaya        <value name="Third highest priority" value="2"/>
23419f464c52Smaya        <value name="Lowest priority" value="3"/>
23429f464c52Smaya      </field>
23439f464c52Smaya      <field name="Direct MV Buffer - Graphics Data Type" start="2" end="2" type="uint"/>
23449f464c52Smaya      <field name="Direct MV Buffer - Cacheability Control" start="0" end="1" type="uint">
23459f464c52Smaya        <value name="GTT entry" value="0"/>
23469f464c52Smaya        <value name="Not in LLC or MLC" value="1"/>
23479f464c52Smaya        <value name="In LLC but not MLC" value="2"/>
23489f464c52Smaya        <value name="Both LLC and MLC" value="3"/>
23499f464c52Smaya      </field>
23509f464c52Smaya    </group>
23519f464c52Smaya    <group count="2" start="1056" size="32">
23529f464c52Smaya      <field name="Direct MV Buffer (Write) - Address" start="6" end="31" type="address"/>
23539f464c52Smaya      <field name="Direct MV Buffer (Write) - Arbitration Priority Control" start="4" end="5" type="uint">
23549f464c52Smaya        <value name="Highest priority" value="0"/>
23559f464c52Smaya        <value name="Second highest priority" value="1"/>
23569f464c52Smaya        <value name="Third highest priority" value="2"/>
23579f464c52Smaya        <value name="Lowest priority" value="3"/>
23589f464c52Smaya      </field>
23599f464c52Smaya      <field name="Direct MV Buffer (Write) - Graphics Data Type" start="2" end="2" type="uint"/>
23609f464c52Smaya      <field name="Direct MV Buffer (Write) - Cacheability Control" start="0" end="1" type="uint">
23619f464c52Smaya        <value name="GTT entry" value="0"/>
23629f464c52Smaya        <value name="Not in LLC or MLC" value="1"/>
23639f464c52Smaya        <value name="In LLC but not MLC" value="2"/>
23649f464c52Smaya        <value name="Both LLC and MLC" value="3"/>
23659f464c52Smaya      </field>
23669f464c52Smaya    </group>
23679f464c52Smaya    <group count="34" start="1120" size="32">
23689f464c52Smaya      <field name="POC List" start="0" end="31" type="uint"/>
23699f464c52Smaya    </group>
23709f464c52Smaya  </instruction>
23719f464c52Smaya
23729f464c52Smaya  <instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
23739f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="12"/>
23749f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
23759f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
23769f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
23779f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
23789f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
23799f464c52Smaya    <field name="Frame Size" start="32" end="47" type="uint"/>
23809f464c52Smaya    <field name="Frame Width" start="64" end="71" type="uint"/>
23819f464c52Smaya    <field name="Frame Height" start="80" end="87" type="uint"/>
23829f464c52Smaya    <field name="Image Structure" start="104" end="105" type="uint">
23839f464c52Smaya      <value name="Frame Picture" value="0"/>
23849f464c52Smaya      <value name="Top Field Picture" value="1"/>
23859f464c52Smaya      <value name="Bottom Field Picture" value="3"/>
23869f464c52Smaya      <value name="Invalid, not allowed." value="2"/>
23879f464c52Smaya    </field>
23889f464c52Smaya    <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
23899f464c52Smaya      <value name="DEFAULT" value="0"/>
23909f464c52Smaya      <value name="EXPLICIT" value="1"/>
23919f464c52Smaya      <value name="IMPLICIT" value="2"/>
23929f464c52Smaya    </field>
23939f464c52Smaya    <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
23949f464c52Smaya    <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
23959f464c52Smaya    <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
23969f464c52Smaya    <field name="Field Picure" start="128" end="128" type="bool"/>
23979f464c52Smaya    <field name="MBAFF Mode" start="129" end="129" type="bool"/>
23989f464c52Smaya    <field name="Frame MB Only" start="130" end="130" type="bool"/>
23999f464c52Smaya    <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
24009f464c52Smaya    <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
24019f464c52Smaya    <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
24029f464c52Smaya    <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
24039f464c52Smaya    <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
24049f464c52Smaya    <field name="MB MV Format" start="136" end="136" type="uint">
24059f464c52Smaya      <value name="IGNORE" value="0"/>
24069f464c52Smaya      <value name="FOLLOW" value="1"/>
24079f464c52Smaya    </field>
24089f464c52Smaya    <field name="Chroma Format IDC" start="138" end="139" type="uint">
24099f464c52Smaya      <value name="Monochrome picture" value="0"/>
24109f464c52Smaya      <value name="4:2:0 picture" value="1"/>
24119f464c52Smaya      <value name="4:2:2 picture (not supported)" value="2"/>
24129f464c52Smaya      <value name="4:4:4 picture (not supported)" value="3"/>
24139f464c52Smaya    </field>
24149f464c52Smaya    <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
24159f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
24169f464c52Smaya    <field name="MB Status Read" start="143" end="143" type="bool"/>
24179f464c52Smaya    <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
24189f464c52Smaya    <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
24199f464c52Smaya    <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
24209f464c52Smaya    <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
24219f464c52Smaya    <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
24229f464c52Smaya    <field name="Force IPCM Control" start="167" end="167" type="bool"/>
24239f464c52Smaya    <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
24249f464c52Smaya    <field name="Minimum Frame Size Units" start="170" end="171" type="uint">
24259f464c52Smaya      <value name="Compatibility mode" value="0"/>
24269f464c52Smaya      <value name="16 bytes" value="1"/>
24279f464c52Smaya      <value name="4Kb" value="2"/>
24289f464c52Smaya      <value name="16Kb" value="3"/>
24299f464c52Smaya    </field>
24309f464c52Smaya    <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
24319f464c52Smaya    <field name="Non First Pass" start="176" end="176" type="uint"/>
24329f464c52Smaya    <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
24339f464c52Smaya    <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
24349f464c52Smaya    <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
24359f464c52Smaya    <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
24369f464c52Smaya    <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
24379f464c52Smaya    <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
24389f464c52Smaya    <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
24399f464c52Smaya    <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
24409f464c52Smaya    <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
24419f464c52Smaya    <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
24429f464c52Smaya    <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
24439f464c52Smaya    <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
24449f464c52Smaya    <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
24459f464c52Smaya    <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
24469f464c52Smaya    <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
24479f464c52Smaya      <value name="Compatibility mode" value="0"/>
24489f464c52Smaya      <value name="New mode" value="1"/>
24499f464c52Smaya    </field>
24509f464c52Smaya    <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
24519f464c52Smaya    <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
24529f464c52Smaya    <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
24539f464c52Smaya      <value name="Compatibility mode" value="0"/>
24549f464c52Smaya      <value name="New mode" value="1"/>
24559f464c52Smaya    </field>
24569f464c52Smaya    <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
24579f464c52Smaya    <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
24589f464c52Smaya    <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
24599f464c52Smaya    <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
24609f464c52Smaya    <field name="Initial QP Value" start="416" end="423" type="int"/>
24619f464c52Smaya    <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
24629f464c52Smaya    <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
24639f464c52Smaya    <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
24649f464c52Smaya    <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
24659f464c52Smaya    <field name="Pic Order Present" start="448" end="448" type="bool"/>
24669f464c52Smaya    <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
24679f464c52Smaya    <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
24689f464c52Smaya    <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
24699f464c52Smaya    <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
24709f464c52Smaya    <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
24719f464c52Smaya    <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
24729f464c52Smaya    <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
24739f464c52Smaya    <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
24749f464c52Smaya    <field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
24759f464c52Smaya    <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
24769f464c52Smaya  </instruction>
24779f464c52Smaya
24789f464c52Smaya  <instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
24799f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
24809f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
24819f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
24829f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
24839f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
24849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
24859f464c52Smaya    <field name="Reference Picture List Select" start="32" end="32" type="uint"/>
24869f464c52Smaya    <group count="32" start="64" size="8">
24879f464c52Smaya      <field name="Reference List Entry" start="0" end="7" type="uint"/>
24889f464c52Smaya    </group>
24899f464c52Smaya  </instruction>
24909f464c52Smaya
24919f464c52Smaya  <instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
24929f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
24939f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
24949f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
24959f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
24969f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
24979f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
24989f464c52Smaya    <field name="Slice Type" start="32" end="35" type="uint">
24999f464c52Smaya      <value name="P Slice" value="0"/>
25009f464c52Smaya      <value name="B Slice" value="1"/>
25019f464c52Smaya      <value name="I Slice" value="2"/>
25029f464c52Smaya    </field>
25039f464c52Smaya    <field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
25049f464c52Smaya    <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
25059f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
25069f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
25079f464c52Smaya    <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
25089f464c52Smaya    <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
25099f464c52Smaya    <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
25109f464c52Smaya    <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
25119f464c52Smaya    <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
25129f464c52Smaya    <field name="Direct Prediction Type" start="125" end="125" type="uint">
25139f464c52Smaya      <value name="Temporal" value="0"/>
25149f464c52Smaya      <value name="Spatial" value="1"/>
25159f464c52Smaya    </field>
25169f464c52Smaya    <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
25179f464c52Smaya    <field name="Slice Start MB Number" start="128" end="142" type="uint"/>
25189f464c52Smaya    <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
25199f464c52Smaya    <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
25209f464c52Smaya    <field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
25219f464c52Smaya    <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
25229f464c52Smaya    <field name="Stream ID" start="192" end="193" type="uint"/>
25239f464c52Smaya    <field name="Slice ID" start="196" end="199" type="uint"/>
25249f464c52Smaya    <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
25259f464c52Smaya    <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
25269f464c52Smaya    <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
25279f464c52Smaya    <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
25289f464c52Smaya    <field name="Header Insertion Present" start="209" end="209" type="bool"/>
25299f464c52Smaya    <field name="Last Slice Group" start="211" end="211" type="bool"/>
25309f464c52Smaya    <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
25319f464c52Smaya    <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
25329f464c52Smaya    <field name="Rate Control Panic Type" start="214" end="214" type="uint">
25339f464c52Smaya      <value name="QP Panic" value="0"/>
25349f464c52Smaya      <value name="CBP Panic" value="1"/>
25359f464c52Smaya    </field>
25369f464c52Smaya    <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
25379f464c52Smaya    <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
25389f464c52Smaya    <field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
25399f464c52Smaya      <value name="Always Rate Control" value="0"/>
25409f464c52Smaya      <value name="Gentle Rate Control" value="1"/>
25419f464c52Smaya      <value name="Loose Rate Control" value="2"/>
25429f464c52Smaya    </field>
25439f464c52Smaya    <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
25449f464c52Smaya    <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
25459f464c52Smaya    <field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
25469f464c52Smaya    <field name="Grow Init" start="256" end="259" type="uint"/>
25479f464c52Smaya    <field name="Grow Resistance" start="260" end="263" type="uint"/>
25489f464c52Smaya    <field name="Shrink Init" start="264" end="267" type="uint"/>
25499f464c52Smaya    <field name="Shrink Resistance" start="268" end="271" type="uint"/>
25509f464c52Smaya    <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
25519f464c52Smaya    <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
25529f464c52Smaya    <field name="Correct 1" start="288" end="291" type="uint"/>
25539f464c52Smaya    <field name="Correct 2" start="292" end="295" type="uint"/>
25549f464c52Smaya    <field name="Correct 3" start="296" end="299" type="uint"/>
25559f464c52Smaya    <field name="Correct 4" start="300" end="303" type="uint"/>
25569f464c52Smaya    <field name="Correct 5" start="304" end="307" type="uint"/>
25579f464c52Smaya    <field name="Correct 6" start="308" end="311" type="uint"/>
25589f464c52Smaya    <field name="Round Intra" start="312" end="314" type="uint">
25599f464c52Smaya      <value name="+1/16" value="0"/>
25609f464c52Smaya      <value name="+2/16" value="1"/>
25619f464c52Smaya      <value name="+3/16" value="2"/>
25629f464c52Smaya      <value name="+4/16" value="3"/>
25639f464c52Smaya      <value name="+5/16" value="4"/>
25649f464c52Smaya      <value name="+6/16" value="5"/>
25659f464c52Smaya      <value name="+7/16" value="6"/>
25669f464c52Smaya      <value name="+8/16" value="7"/>
25679f464c52Smaya    </field>
25689f464c52Smaya    <field name="Round Intra Enable" start="315" end="315" type="bool"/>
25699f464c52Smaya    <field name="Round Inter" start="316" end="318" type="uint">
25709f464c52Smaya      <value name="+1/16" value="0"/>
25719f464c52Smaya      <value name="+2/16" value="1"/>
25729f464c52Smaya      <value name="+3/16" value="2"/>
25739f464c52Smaya      <value name="+4/16" value="3"/>
25749f464c52Smaya      <value name="+5/16" value="4"/>
25759f464c52Smaya      <value name="+6/16" value="5"/>
25769f464c52Smaya      <value name="+7/16" value="6"/>
25779f464c52Smaya      <value name="+8/16" value="7"/>
25789f464c52Smaya    </field>
25799f464c52Smaya    <field name="Round Inter Enable" start="319" end="319" type="bool"/>
25809f464c52Smaya    <field name="CV0" start="320" end="323" type="uint"/>
25819f464c52Smaya    <field name="CV1" start="324" end="327" type="uint"/>
25829f464c52Smaya    <field name="CV2" start="328" end="331" type="uint"/>
25839f464c52Smaya    <field name="CV3" start="332" end="335" type="uint"/>
25849f464c52Smaya    <field name="CV4" start="336" end="339" type="uint"/>
25859f464c52Smaya    <field name="CV5" start="340" end="343" type="uint"/>
25869f464c52Smaya    <field name="CV6" start="344" end="347" type="uint"/>
25879f464c52Smaya    <field name="CV7" start="348" end="351" type="uint"/>
25889f464c52Smaya  </instruction>
25899f464c52Smaya
25909f464c52Smaya  <instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
25919f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="96"/>
25929f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
25939f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
25949f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
25959f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
25969f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
25979f464c52Smaya    <field name="Weight and Offset Select" start="32" end="32" type="uint">
25989f464c52Smaya      <value name="L0 table" value="0"/>
25999f464c52Smaya      <value name="L1 table" value="1"/>
26009f464c52Smaya    </field>
26019f464c52Smaya    <group count="96" start="64" size="32">
26029f464c52Smaya      <field name="Weight Offset" start="0" end="31" type="uint"/>
26039f464c52Smaya    </group>
26049f464c52Smaya  </instruction>
26059f464c52Smaya
26069f464c52Smaya  <instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="4" engine="video">
26079f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="2"/>
26089f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
26099f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
26109f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
26119f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
26129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
26139f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
26149f464c52Smaya      <value name="Highest priority" value="0"/>
26159f464c52Smaya      <value name="Second Highest priority" value="1"/>
26169f464c52Smaya      <value name="Third Highest Priority" value="2"/>
26179f464c52Smaya      <value name="Lowest Priority" value="3"/>
26189f464c52Smaya    </field>
26199f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="address"/>
26209f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
26219f464c52Smaya      <value name="Highest priority" value="0"/>
26229f464c52Smaya      <value name="Second highest priority" value="1"/>
26239f464c52Smaya      <value name="Third highest priority" value="2"/>
26249f464c52Smaya      <value name="Lowest priority" value="3"/>
26259f464c52Smaya    </field>
26269f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Address" start="70" end="95" type="address"/>
26279f464c52Smaya    <field name="Bitplane Read Buffer - Arbitration Priority Control" start="100" end="101" type="uint">
26289f464c52Smaya      <value name="Highest priority" value="0"/>
26299f464c52Smaya      <value name="Second highest priority" value="1"/>
26309f464c52Smaya      <value name="Third highest priority" value="2"/>
26319f464c52Smaya      <value name="Lowest priority" value="3"/>
26329f464c52Smaya    </field>
26339f464c52Smaya    <field name="Bitplane Read Buffer - Address" start="102" end="127" type="address"/>
26349f464c52Smaya  </instruction>
26359f464c52Smaya
26369f464c52Smaya  <instruction name="MFX_DBK_OBJECT" bias="2" length="5" engine="video">
26379f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
26389f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
26399f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
26409f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
26419f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
26429f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
26439f464c52Smaya    <field name="Pre Deblocking Source - Cacheability Control" start="32" end="33" type="uint">
26449f464c52Smaya      <value name="GTT entry" value="0"/>
26459f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
26469f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
26479f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
26489f464c52Smaya    </field>
26499f464c52Smaya    <field name="Pre Deblocking Source - Graphics Data Type" start="34" end="34" type="uint"/>
26509f464c52Smaya    <field name="Pre Deblocking Source - Arbitration Priority Control" start="36" end="37" type="uint">
26519f464c52Smaya      <value name="Highest priority" value="0"/>
26529f464c52Smaya      <value name="Second highest priority" value="1"/>
26539f464c52Smaya      <value name="Third highest priority" value="2"/>
26549f464c52Smaya      <value name="Lowest priority" value="3"/>
26559f464c52Smaya    </field>
26569f464c52Smaya    <field name="Pre Deblocking Source - Address" start="38" end="63" type="address"/>
26579f464c52Smaya    <field name="Deblocking Control - Cacheability Control" start="64" end="65" type="uint">
26589f464c52Smaya      <value name="GTT entry" value="0"/>
26599f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
26609f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
26619f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
26629f464c52Smaya    </field>
26639f464c52Smaya    <field name="Deblocking Control - Graphics Data Type" start="66" end="66" type="uint"/>
26649f464c52Smaya    <field name="Deblocking Control - Arbitration Priority Control" start="68" end="69" type="uint">
26659f464c52Smaya      <value name="Highest priority" value="0"/>
26669f464c52Smaya      <value name="Second highest priority" value="1"/>
26679f464c52Smaya      <value name="Third highest priority" value="2"/>
26689f464c52Smaya      <value name="Lowest priority" value="3"/>
26699f464c52Smaya    </field>
26709f464c52Smaya    <field name="Deblocking Control - Address" start="70" end="95" type="address"/>
26719f464c52Smaya    <field name="Deblocking - Cacheability Control" start="96" end="97" type="uint">
26729f464c52Smaya      <value name="GTT entry" value="0"/>
26739f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
26749f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
26759f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
26769f464c52Smaya    </field>
26779f464c52Smaya    <field name="Deblocking - Graphics Data Type" start="98" end="98" type="uint"/>
26789f464c52Smaya    <field name="Deblocking - Arbitration Priority Control" start="100" end="101" type="uint">
26799f464c52Smaya      <value name="Highest priority" value="0"/>
26809f464c52Smaya      <value name="Second highest priority" value="1"/>
26819f464c52Smaya      <value name="Third highest priority" value="2"/>
26829f464c52Smaya      <value name="Lowest priority" value="3"/>
26839f464c52Smaya    </field>
26849f464c52Smaya    <field name="Deblocking - Address" start="102" end="127" type="address"/>
26859f464c52Smaya    <field name="Deblock Row Store - Cacheability Control" start="128" end="129" type="uint">
26869f464c52Smaya      <value name="GTT entry" value="0"/>
26879f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
26889f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
26899f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
26909f464c52Smaya    </field>
26919f464c52Smaya    <field name="Deblock Row Store - Graphics Data Type" start="130" end="130" type="uint"/>
26929f464c52Smaya    <field name="Deblock Row Store - Arbitration Priority Control" start="132" end="133" type="uint">
26939f464c52Smaya      <value name="Highest priority" value="0"/>
26949f464c52Smaya      <value name="Second highest priority" value="1"/>
26959f464c52Smaya      <value name="Third highest priority" value="2"/>
26969f464c52Smaya      <value name="Lowest priority" value="3"/>
26979f464c52Smaya    </field>
26989f464c52Smaya    <field name="Deblock Row Store - Address" start="134" end="159" type="address"/>
26999f464c52Smaya  </instruction>
27009f464c52Smaya
27019f464c52Smaya  <instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
27029f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="32"/>
27039f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
27049f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
27059f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
27069f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27079f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27089f464c52Smaya    <field name="AVC" start="32" end="33" type="uint">
27099f464c52Smaya      <value name="AVC_4x4_Intra_MATRIX" value="0"/>
27109f464c52Smaya      <value name="AVC_4x4_Inter_MATRIX" value="1"/>
27119f464c52Smaya      <value name="AVC_8x8_Intra_MATRIX" value="2"/>
27129f464c52Smaya      <value name="AVC_8x8_Inter_MATRIX" value="3"/>
27139f464c52Smaya    </field>
27149f464c52Smaya    <field name="MPEG2" start="32" end="33" type="uint">
27159f464c52Smaya      <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
27169f464c52Smaya      <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
27179f464c52Smaya    </field>
27189f464c52Smaya    <field name="Forward Quantizer Matrix" start="64" end="1087" type="uint"/>
27199f464c52Smaya  </instruction>
27209f464c52Smaya
27219f464c52Smaya  <instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
27229f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
27239f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
27249f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
27259f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
27269f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27289f464c52Smaya    <field name="MFX Indirect Bitstream Object - Cacheability Control" start="32" end="33" type="uint">
27299f464c52Smaya      <value name="GTT entry" value="0"/>
27309f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
27319f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
27329f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
27339f464c52Smaya    </field>
27349f464c52Smaya    <field name="MFX Indirect Bitstream Object - Graphics Data Type" start="34" end="34" type="uint"/>
27359f464c52Smaya    <field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint">
27369f464c52Smaya      <value name="Highest priority" value="0"/>
27379f464c52Smaya      <value name="Second highest priority" value="1"/>
27389f464c52Smaya      <value name="Third highest priority" value="2"/>
27399f464c52Smaya      <value name="Lowest priority" value="3"/>
27409f464c52Smaya    </field>
27419f464c52Smaya    <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
27429f464c52Smaya    <field name="MFX Indirect Bitstream Object - Access Upper Bound" start="76" end="95" type="address"/>
27439f464c52Smaya    <field name="MFX Indirect MV Object - Cacheability Control" start="96" end="97" type="uint">
27449f464c52Smaya      <value name="From GTT entry" value="0"/>
27459f464c52Smaya      <value name="Not cached in LLC or MLC" value="1"/>
27469f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
27479f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
27489f464c52Smaya    </field>
27499f464c52Smaya    <field name="MFX Indirect MV Object - Graphics Data Type" start="98" end="98" type="uint"/>
27509f464c52Smaya    <field name="MFX Indirect MV Object - Arbitration Priority Control" start="100" end="101" type="uint">
27519f464c52Smaya      <value name="Highest priority" value="0"/>
27529f464c52Smaya      <value name="Second highest priority" value="1"/>
27539f464c52Smaya      <value name="Third highest priority" value="2"/>
27549f464c52Smaya      <value name="Lowest priority" value="3"/>
27559f464c52Smaya    </field>
27569f464c52Smaya    <field name="MFX Indirect MV Object - Address" start="108" end="127" type="address"/>
27579f464c52Smaya    <field name="MFX Indirect MV Object - Access Upper Bound" start="140" end="159" type="address"/>
27589f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Cacheability Control" start="160" end="161" type="uint">
27599f464c52Smaya      <value name="From GTT entry" value="0"/>
27609f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
27619f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
27629f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
27639f464c52Smaya    </field>
27649f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Graphics Data Type" start="162" end="162" type="uint"/>
27659f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="164" end="165" type="uint">
27669f464c52Smaya      <value name="Highest priority" value="0"/>
27679f464c52Smaya      <value name="Second highest priority" value="1"/>
27689f464c52Smaya      <value name="Third highest priority" value="2"/>
27699f464c52Smaya      <value name="Lowest priority" value="3"/>
27709f464c52Smaya    </field>
27719f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Address" start="172" end="191" type="address"/>
27729f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="204" end="223" type="address"/>
27739f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Cacheability Control" start="224" end="225" type="uint">
27749f464c52Smaya      <value name="From GTT entry" value="0"/>
27759f464c52Smaya      <value name="Not cached in LLC or MLC" value="1"/>
27769f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
27779f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
27789f464c52Smaya    </field>
27799f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Graphics Data Type" start="226" end="226" type="uint"/>
27809f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="228" end="229" type="uint">
27819f464c52Smaya      <value name="Highest priority" value="0"/>
27829f464c52Smaya      <value name="Second highest priority" value="1"/>
27839f464c52Smaya      <value name="Third highest priority" value="2"/>
27849f464c52Smaya      <value name="Lowest priority" value="3"/>
27859f464c52Smaya    </field>
27869f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Address" start="236" end="255" type="address"/>
27879f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="268" end="287" type="address"/>
27889f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Cacheability Control" start="288" end="289" type="uint">
27899f464c52Smaya      <value name="GTT entry" value="0"/>
27909f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
27919f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
27929f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
27939f464c52Smaya    </field>
27949f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Graphics Data Type" start="290" end="290" type="uint"/>
27959f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="292" end="293" type="uint">
27969f464c52Smaya      <value name="Highest priority" value="0"/>
27979f464c52Smaya      <value name="Second highest priority" value="1"/>
27989f464c52Smaya      <value name="Third highest priority" value="2"/>
27999f464c52Smaya      <value name="Lowest priority" value="3"/>
28009f464c52Smaya    </field>
28019f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Address" start="300" end="319" type="address"/>
28029f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Access Upper Bound" start="332" end="351" type="address"/>
28039f464c52Smaya  </instruction>
28049f464c52Smaya
28059f464c52Smaya  <instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
28069f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="829"/>
28079f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
28089f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
28099f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
28109f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
28119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
28129f464c52Smaya    <field name="Huffman Table ID" start="32" end="32" type="uint"/>
28139f464c52Smaya    <group count="12" start="64" size="8">
28149f464c52Smaya      <field name="DC_BITS" start="0" end="7" type="uint"/>
28159f464c52Smaya    </group>
28169f464c52Smaya    <group count="12" start="160" size="8">
28179f464c52Smaya      <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
28189f464c52Smaya    </group>
28199f464c52Smaya    <group count="16" start="256" size="8">
28209f464c52Smaya      <field name="AC_BITS" start="0" end="15" type="uint"/>
28219f464c52Smaya    </group>
28229f464c52Smaya    <group count="160" start="384" size="8">
28239f464c52Smaya      <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
28249f464c52Smaya    </group>
28259f464c52Smaya    <group count="2" start="1664" size="8">
28269f464c52Smaya      <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
28279f464c52Smaya    </group>
28289f464c52Smaya  </instruction>
28299f464c52Smaya
28309f464c52Smaya  <instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
28319f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
28329f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
28339f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
28349f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
28359f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
28369f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
28379f464c52Smaya    <field name="Input Format YUV" start="32" end="34" type="uint"/>
28389f464c52Smaya    <field name="Rotation" start="36" end="37" type="uint"/>
28399f464c52Smaya    <field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
28409f464c52Smaya    <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
28419f464c52Smaya  </instruction>
28429f464c52Smaya
28439f464c52Smaya  <instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
28449f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
28459f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
28469f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
28479f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
28489f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
28499f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
28509f464c52Smaya    <field name="Scan Order" start="38" end="38" type="uint">
28519f464c52Smaya      <value name="MPEG_ZIGZAG_SCAN" value="0"/>
28529f464c52Smaya      <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
28539f464c52Smaya    </field>
28549f464c52Smaya    <field name="Intra VLC Format" start="39" end="39" type="uint"/>
28559f464c52Smaya    <field name="Quantizer Scale Type" start="40" end="40" type="uint">
28569f464c52Smaya      <value name="MPEG_QSCALE_LINEAR" value="0"/>
28579f464c52Smaya      <value name="MPEG_QSCALE_NONLINEAR" value="1"/>
28589f464c52Smaya    </field>
28599f464c52Smaya    <field name="Concealment MV" start="41" end="41" type="bool"/>
28609f464c52Smaya    <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
28619f464c52Smaya    <field name="Top Field First" start="43" end="43" type="bool"/>
28629f464c52Smaya    <field name="Picture Structure" start="44" end="45" type="uint">
28639f464c52Smaya      <value name="MPEG_TOP_FIELD" value="1"/>
28649f464c52Smaya      <value name="MPEG_BOTTOM_FIELD" value="2"/>
28659f464c52Smaya      <value name="MPEG_FRAME" value="3"/>
28669f464c52Smaya    </field>
28679f464c52Smaya    <field name="Intra DC Precision" start="46" end="47" type="uint"/>
28689f464c52Smaya    <field name="F_code[0][0]" start="48" end="51" type="uint"/>
28699f464c52Smaya    <field name="F_code[0][1]" start="52" end="55" type="uint"/>
28709f464c52Smaya    <field name="F_code[1][0]" start="56" end="59" type="uint"/>
28719f464c52Smaya    <field name="F_code[1][1]" start="60" end="63" type="uint"/>
28729f464c52Smaya    <field name="Disable Mismatch" start="64" end="64" type="bool"/>
28739f464c52Smaya    <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
28749f464c52Smaya    <field name="Picture Coding Type" start="73" end="74" type="uint">
28759f464c52Smaya      <value name="MPEG_I_PICTURE" value="1"/>
28769f464c52Smaya      <value name="MPEG_P_PICTURE" value="2"/>
28779f464c52Smaya      <value name="MPEG_B_PICTURE" value="3"/>
28789f464c52Smaya    </field>
28799f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
28809f464c52Smaya    <field name="Frame Width In MBs" start="96" end="103" type="uint"/>
28819f464c52Smaya    <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
28829f464c52Smaya    <field name="Round Intra DC" start="129" end="130" type="uint"/>
28839f464c52Smaya    <field name="Round Inter DC" start="132" end="134" type="uint"/>
28849f464c52Smaya    <field name="Round Intra AC" start="136" end="138" type="uint"/>
28859f464c52Smaya    <field name="Round Inter AC," start="140" end="142" type="uint"/>
28869f464c52Smaya    <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
28879f464c52Smaya    <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
28889f464c52Smaya    <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
28899f464c52Smaya    <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
28909f464c52Smaya    <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
28919f464c52Smaya    <field name="MBRateControlMask" start="169" end="169" type="uint"/>
28929f464c52Smaya    <field name="Minimum Frame Size Units" start="170" end="171" type="uint">
28939f464c52Smaya      <value name="Compatibility mode" value="0"/>
28949f464c52Smaya      <value name="16 bytes" value="1"/>
28959f464c52Smaya      <value name="4Kb" value="2"/>
28969f464c52Smaya      <value name="16Kb" value="3"/>
28979f464c52Smaya    </field>
28989f464c52Smaya    <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
28999f464c52Smaya    <field name="Frame Size Control" start="176" end="176" type="uint"/>
29009f464c52Smaya    <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
29019f464c52Smaya    <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
29029f464c52Smaya    <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
29039f464c52Smaya    <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
29049f464c52Smaya    <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
29059f464c52Smaya    <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
29069f464c52Smaya    <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
29079f464c52Smaya    <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
29089f464c52Smaya    <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
29099f464c52Smaya    <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
29109f464c52Smaya    <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
29119f464c52Smaya    <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
29129f464c52Smaya      <value name="Compatibility mode" value="0"/>
29139f464c52Smaya      <value name="New Mode" value="1"/>
29149f464c52Smaya    </field>
29159f464c52Smaya    <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
29169f464c52Smaya    <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
29179f464c52Smaya    <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
29189f464c52Smaya      <value name="Compatibility mode" value="0"/>
29199f464c52Smaya      <value name="New mode" value="1"/>
29209f464c52Smaya    </field>
29219f464c52Smaya    <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
29229f464c52Smaya    <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
29239f464c52Smaya    <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
29249f464c52Smaya  </instruction>
29259f464c52Smaya
29269f464c52Smaya  <instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
29279f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
29289f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
29299f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
29309f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
29319f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
29329f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29339f464c52Smaya    <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
29349f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
29359f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
29369f464c52Smaya    <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
29379f464c52Smaya    <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
29389f464c52Smaya    <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
29399f464c52Smaya    <field name="Slice Header Indicator" start="46" end="46" type="uint">
29409f464c52Smaya      <value name="SLICE_HEADER" value="1"/>
29419f464c52Smaya      <value name="LEGACY" value="0"/>
29429f464c52Smaya    </field>
29439f464c52Smaya    <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
29449f464c52Smaya      <value name="NO_ACCUMULATION" value="1"/>
29459f464c52Smaya      <value name="ACCUMULATE" value="0"/>
29469f464c52Smaya    </field>
29479f464c52Smaya    <field name="Data Byte Offset" start="48" end="49" type="uint"/>
29489f464c52Smaya    <group count="0" start="64" size="32">
29499f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
29509f464c52Smaya    </group>
29519f464c52Smaya  </instruction>
29529f464c52Smaya
29539f464c52Smaya  <instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="24" engine="video">
29549f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="22"/>
29559f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
29569f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
29579f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
29589f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
29599f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29609f464c52Smaya    <field name="Pre Deblocking Destination - Arbitration Priority Control" start="36" end="37" type="uint">
29619f464c52Smaya      <value name="Highest priority" value="0"/>
29629f464c52Smaya      <value name="Second highest priority" value="1"/>
29639f464c52Smaya      <value name="Third highest priority" value="2"/>
29649f464c52Smaya      <value name="Lowest priority" value="3"/>
29659f464c52Smaya    </field>
29669f464c52Smaya    <field name="Pre Deblocking Destination - Address" start="38" end="63" type="address"/>
29679f464c52Smaya    <field name="Post Deblocking Destination - Cacheability Control" start="64" end="65" type="uint">
29689f464c52Smaya      <value name="GTT entry" value="0"/>
29699f464c52Smaya      <value name="Not LLC or MLC" value="1"/>
29709f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
29719f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
29729f464c52Smaya    </field>
29739f464c52Smaya    <field name="Post Deblocking Destination - Graphics Data Type" start="66" end="66" type="uint"/>
29749f464c52Smaya    <field name="Post Deblocking Destination - Arbitration Priority Control" start="68" end="69" type="uint">
29759f464c52Smaya      <value name="Highest priority" value="0"/>
29769f464c52Smaya      <value name="Second highest priority" value="1"/>
29779f464c52Smaya      <value name="Third highest priority" value="2"/>
29789f464c52Smaya      <value name="Lowest priority" value="3"/>
29799f464c52Smaya    </field>
29809f464c52Smaya    <field name="Post Deblocking Destination - Address" start="70" end="95" type="address"/>
29819f464c52Smaya    <field name="Original Uncompressed Picture Source - Cacheability Control" start="96" end="97" type="uint">
29829f464c52Smaya      <value name="GTT entry" value="0"/>
29839f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
29849f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
29859f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
29869f464c52Smaya    </field>
29879f464c52Smaya    <field name="Original Uncompressed Picture Source - Graphics Data Type" start="98" end="98" type="uint"/>
29889f464c52Smaya    <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="100" end="101" type="uint">
29899f464c52Smaya      <value name="Highest priority" value="0"/>
29909f464c52Smaya      <value name="Second highest priority" value="1"/>
29919f464c52Smaya      <value name="Third highest priority" value="2"/>
29929f464c52Smaya      <value name="Lowest priority" value="3"/>
29939f464c52Smaya    </field>
29949f464c52Smaya    <field name="Original Uncompressed Picture Source - Address" start="102" end="127" type="address"/>
29959f464c52Smaya    <field name="Stream-Out Data Destination - Cacheability Control" start="128" end="129" type="uint">
29969f464c52Smaya      <value name="GTT entry" value="0"/>
29979f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
29989f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
29999f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
30009f464c52Smaya    </field>
30019f464c52Smaya    <field name="Stream-Out Data Destination - Graphics Data Type" start="130" end="130" type="uint"/>
30029f464c52Smaya    <field name="Stream-Out Data Destination - Arbitration Priority Control" start="132" end="133" type="uint">
30039f464c52Smaya      <value name="Highest priority" value="0"/>
30049f464c52Smaya      <value name="Second highest priority" value="1"/>
30059f464c52Smaya      <value name="Third highest priority" value="2"/>
30069f464c52Smaya      <value name="Lowest priority" value="3"/>
30079f464c52Smaya    </field>
30089f464c52Smaya    <field name="Stream-Out Data Destination - Address" start="134" end="159" type="address"/>
30099f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Cacheability Control" start="160" end="161" type="uint">
30109f464c52Smaya      <value name="GTT entry" value="0"/>
30119f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
30129f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
30139f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
30149f464c52Smaya    </field>
30159f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Graphics Data Type" start="162" end="162" type="uint"/>
30169f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="164" end="165" type="uint">
30179f464c52Smaya      <value name="Highest priority" value="0"/>
30189f464c52Smaya      <value name="Second highest priority" value="1"/>
30199f464c52Smaya      <value name="Third highest priority" value="2"/>
30209f464c52Smaya      <value name="Lowest priority" value="3"/>
30219f464c52Smaya    </field>
30229f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Address" start="166" end="191" type="address"/>
30239f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Cacheability Control" start="192" end="193" type="uint">
30249f464c52Smaya      <value name="GTT entry" value="0"/>
30259f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
30269f464c52Smaya      <value name="LLC but not MLC" value="2"/>
30279f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
30289f464c52Smaya    </field>
30299f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Graphics Data Type" start="194" end="194" type="uint"/>
30309f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Arbitration Priority Control" start="196" end="197" type="uint">
30319f464c52Smaya      <value name="Highest priority" value="0"/>
30329f464c52Smaya      <value name="Second highest priority" value="1"/>
30339f464c52Smaya      <value name="Third highest priority" value="2"/>
30349f464c52Smaya      <value name="Lowest priority" value="3"/>
30359f464c52Smaya    </field>
30369f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Address" start="198" end="223" type="address"/>
30379f464c52Smaya    <group count="16" start="224" size="32">
30389f464c52Smaya      <field name="Reference Picture - Address" start="6" end="31" type="address"/>
30399f464c52Smaya      <field name="Reference Picture - Arbitration Priority Control" start="4" end="5" type="uint">
30409f464c52Smaya        <value name="Highest priority" value="0"/>
30419f464c52Smaya        <value name="Second highest priority" value="1"/>
30429f464c52Smaya        <value name="Third highest priority" value="2"/>
30439f464c52Smaya        <value name="Lowest priority" value="3"/>
30449f464c52Smaya      </field>
30459f464c52Smaya      <field name="Reference Picture - Graphics Data Type" start="2" end="2" type="uint"/>
30469f464c52Smaya      <field name="Reference Picture - Cacheability Control" start="0" end="1" type="uint">
30479f464c52Smaya        <value name="GTT entry" value="0"/>
30489f464c52Smaya        <value name="Not in LLC or MLC" value="1"/>
30499f464c52Smaya        <value name="In LLC but not MLC" value="2"/>
30509f464c52Smaya        <value name="Both LLC and MLC" value="3"/>
30519f464c52Smaya      </field>
30529f464c52Smaya    </group>
30539f464c52Smaya    <field name="MB Status Buffer - Cacheability Control" start="736" end="737" type="uint">
30549f464c52Smaya      <value name="GTT" value="0"/>
30559f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
30569f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
30579f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
30589f464c52Smaya    </field>
30599f464c52Smaya    <field name="MB Status Buffer - Graphics Data Type" start="738" end="738" type="uint"/>
30609f464c52Smaya    <field name="MB Status Buffer - Arbitration Priority Control" start="740" end="741" type="uint">
30619f464c52Smaya      <value name="Highest priority" value="0"/>
30629f464c52Smaya      <value name="Second highest priority" value="1"/>
30639f464c52Smaya      <value name="Third highest priority" value="2"/>
30649f464c52Smaya      <value name="Lowest priority" value="3"/>
30659f464c52Smaya    </field>
30669f464c52Smaya    <field name="MB Status Buffer - Address" start="742" end="767" type="address"/>
30679f464c52Smaya  </instruction>
30689f464c52Smaya
30699f464c52Smaya  <instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
30709f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
30719f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
30729f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
30739f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
30749f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
30759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
30769f464c52Smaya    <field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
30779f464c52Smaya      <value name="MPEG2" value="0"/>
30789f464c52Smaya      <value name="VC1" value="1"/>
30799f464c52Smaya      <value name="AVC" value="2"/>
30809f464c52Smaya      <value name="JPEG" value="3"/>
30819f464c52Smaya    </field>
30829f464c52Smaya    <field name="Codec Select" start="36" end="36" type="uint">
30839f464c52Smaya      <value name="Decode" value="0"/>
30849f464c52Smaya      <value name="Encode" value="1"/>
30859f464c52Smaya    </field>
30869f464c52Smaya    <field name="Stitch Mode" start="37" end="37" type="bool"/>
30879f464c52Smaya    <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
30889f464c52Smaya    <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
30899f464c52Smaya    <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
30909f464c52Smaya    <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
30919f464c52Smaya    <field name="Decoder Mode select" start="47" end="48" type="uint">
30929f464c52Smaya      <value name="VLD Mode" value="0"/>
30939f464c52Smaya      <value name="IT Mode" value="1"/>
30949f464c52Smaya      <value name="Deblocker Mode" value="2"/>
30959f464c52Smaya      <value name="Interlayer Mode" value="3"/>
30969f464c52Smaya    </field>
30979f464c52Smaya    <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
30989f464c52Smaya      <value name="Short Format Driver Interface" value="0"/>
30999f464c52Smaya      <value name="Long Format Driver Interface" value="1"/>
31009f464c52Smaya    </field>
31019f464c52Smaya    <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
31029f464c52Smaya    <field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
31039f464c52Smaya  </instruction>
31049f464c52Smaya
31059f464c52Smaya  <instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
31069f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="32"/>
31079f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
31089f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
31099f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
31109f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31129f464c52Smaya    <field name="AVC" start="32" end="33" type="uint">
31139f464c52Smaya      <value name="AVC_4x4_Intra_MATRIX" value="0"/>
31149f464c52Smaya      <value name="AVC_4x4_Inter_MATRIX" value="1"/>
31159f464c52Smaya      <value name="AVC_8x8_Intra_MATRIX" value="2"/>
31169f464c52Smaya      <value name="AVC_8x8_Inter_MATRIX" value="3"/>
31179f464c52Smaya    </field>
31189f464c52Smaya    <field name="MPEG2" start="32" end="33" type="uint">
31199f464c52Smaya      <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
31209f464c52Smaya      <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
31219f464c52Smaya    </field>
31229f464c52Smaya    <field name="Forward Quantizer Matrix" start="64" end="1087" type="uint"/>
31239f464c52Smaya  </instruction>
31249f464c52Smaya
31259f464c52Smaya  <instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
31269f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
31279f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
31289f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
31299f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
313001e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31329f464c52Smaya    <field name="State Pointer Index" start="32" end="33" type="uint"/>
31339f464c52Smaya    <field name="State Pointer" start="37" end="63" type="uint"/>
31349f464c52Smaya  </instruction>
31359f464c52Smaya
31369f464c52Smaya  <instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
31379f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
31389f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
31399f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
314001e04c3fSmrg    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
31419f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31429f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31439f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
31449f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
31459f464c52Smaya    <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
31469f464c52Smaya    <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
31479f464c52Smaya    <field name="Indirect Data Length" start="64" end="82" type="uint"/>
31489f464c52Smaya    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
31499f464c52Smaya    <group count="0" start="128" size="32">
31509f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
31519f464c52Smaya    </group>
315201e04c3fSmrg  </instruction>
315301e04c3fSmrg
31549f464c52Smaya  <instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
31559f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
31569f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
31579f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
31589f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
31599f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
316001e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31619f464c52Smaya    <field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="uint"/>
31629f464c52Smaya    <field name="Width" start="68" end="81" type="uint"/>
31639f464c52Smaya    <field name="Height" start="82" end="95" type="uint"/>
31649f464c52Smaya    <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
31659f464c52Smaya      <value name="XMAJOR" value="0"/>
31669f464c52Smaya      <value name="YMAJOR" value="1"/>
31679f464c52Smaya    </field>
31689f464c52Smaya    <field name="Tiled Surface" start="97" end="97" type="bool"/>
31699f464c52Smaya    <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
31709f464c52Smaya    <field name="Surface Pitch" start="99" end="115" type="uint"/>
31719f464c52Smaya    <field name="Interleave Chroma" start="123" end="123" type="bool"/>
31729f464c52Smaya    <field name="Surface Format" start="124" end="127" type="uint">
31739f464c52Smaya      <value name="YCRCB_NORMAL" value="0"/>
31749f464c52Smaya      <value name="YCRCB_SWAPUVY" value="1"/>
31759f464c52Smaya      <value name="YCRCB_SWAPUV" value="2"/>
31769f464c52Smaya      <value name="YCRCB_SWAPY" value="3"/>
31779f464c52Smaya      <value name="PLANAR_420_8" value="4"/>
31789f464c52Smaya      <value name="PLANAR_411_8" value="5"/>
31799f464c52Smaya      <value name="PLANAR_422_8" value="6"/>
31809f464c52Smaya      <value name="STMM_DN_STATISTICS" value="7"/>
31819f464c52Smaya      <value name="R10G10B10A2_UNORM" value="8"/>
31829f464c52Smaya      <value name="R8G8B8A8_UNORM" value="9"/>
31839f464c52Smaya      <value name="R8B8_UNORM (CrCb)" value="10"/>
31849f464c52Smaya      <value name="R8_UNORM (Cr/Cb)" value="11"/>
31859f464c52Smaya      <value name="Y8_UNORM" value="12"/>
31869f464c52Smaya    </field>
31879f464c52Smaya    <field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
31889f464c52Smaya    <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
31899f464c52Smaya    <field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
31909f464c52Smaya    <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
31919f464c52Smaya  </instruction>
31929f464c52Smaya
31939f464c52Smaya  <instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="3" engine="video">
31949f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
31959f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
31969f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
31979f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
319801e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31999f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
32009f464c52Smaya    <field name="Direct MV Write Buffer - Cacheability Control" start="32" end="33" type="uint">
32019f464c52Smaya      <value name="GTT entry" value="0"/>
32029f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
32039f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
32049f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
32059f464c52Smaya    </field>
32069f464c52Smaya    <field name="Direct MV Write Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
32079f464c52Smaya    <field name="Direct MV Write Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
32089f464c52Smaya      <value name="Highest priority" value="0"/>
32099f464c52Smaya      <value name="Second highest priority" value="1"/>
32109f464c52Smaya      <value name="Third highest priority" value="2"/>
32119f464c52Smaya      <value name="Lowest priority" value="3"/>
32129f464c52Smaya    </field>
32139f464c52Smaya    <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
32149f464c52Smaya    <field name="Direct MV Read Buffer - Cacheability Control" start="64" end="65" type="uint">
32159f464c52Smaya      <value name="GTT entry" value="0"/>
32169f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
32179f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
32189f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
32199f464c52Smaya    </field>
32209f464c52Smaya    <field name="Direct MV Read Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
32219f464c52Smaya    <field name="Direct MV Read Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
32229f464c52Smaya      <value name="Highest priority" value="0"/>
32239f464c52Smaya      <value name="Second highest priority" value="1"/>
32249f464c52Smaya      <value name="Third highest priority" value="2"/>
32259f464c52Smaya      <value name="Lowest priority" value="3"/>
32269f464c52Smaya    </field>
32279f464c52Smaya    <field name="Direct MV Read Buffer - Address" start="70" end="95" type="address"/>
32289f464c52Smaya  </instruction>
32299f464c52Smaya
32309f464c52Smaya  <instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
32319f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
32329f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
32339f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
32349f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
32359f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
32369f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
32379f464c52Smaya    <field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
32389f464c52Smaya    <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
32399f464c52Smaya    <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
32409f464c52Smaya    <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
32419f464c52Smaya    <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
32429f464c52Smaya    <field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
32439f464c52Smaya    <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
32449f464c52Smaya    <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
32459f464c52Smaya    <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
32469f464c52Smaya    <field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
32479f464c52Smaya    <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
32489f464c52Smaya    <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
32499f464c52Smaya    <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
32509f464c52Smaya    <field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
32519f464c52Smaya    <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
32529f464c52Smaya    <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
32539f464c52Smaya    <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
32549f464c52Smaya    <field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
32559f464c52Smaya    <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
32569f464c52Smaya    <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
32579f464c52Smaya    <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
32589f464c52Smaya  </instruction>
32599f464c52Smaya
32609f464c52Smaya  <instruction name="MFX_WAIT" bias="1" length="1" engine="video">
32619f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
32629f464c52Smaya    <field name="MFX Sync Control Flag" start="8" end="8" type="bool"/>
32639f464c52Smaya    <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
32649f464c52Smaya    <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
32659f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
326601e04c3fSmrg  </instruction>
326701e04c3fSmrg
326801e04c3fSmrg  <instruction name="MI_ARB_CHECK" bias="1" length="1">
326901e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
32709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
327101e04c3fSmrg  </instruction>
327201e04c3fSmrg
327301e04c3fSmrg  <instruction name="MI_ARB_ON_OFF" bias="1" length="1">
327401e04c3fSmrg    <field name="Arbitration Enable" start="0" end="0" type="bool"/>
32759f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
32769f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
327701e04c3fSmrg  </instruction>
327801e04c3fSmrg
327901e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
328001e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
32819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
328201e04c3fSmrg  </instruction>
328301e04c3fSmrg
328401e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_START" bias="2" length="2">
32859f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
328601e04c3fSmrg    <field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
328701e04c3fSmrg      <value name="GGTT" value="0"/>
328801e04c3fSmrg      <value name="PPGTT" value="1"/>
328901e04c3fSmrg    </field>
32909f464c52Smaya    <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
32919f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
32929f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
329301e04c3fSmrg    <field name="Batch Buffer Start Address" start="34" end="63" type="address"/>
329401e04c3fSmrg  </instruction>
329501e04c3fSmrg
32969f464c52Smaya  <instruction name="MI_CLFLUSH" bias="2" engine="render">
329701e04c3fSmrg    <field name="DWord Length" start="0" end="9" type="uint" default="1"/>
32989f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
32999f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
33009f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
330101e04c3fSmrg    <field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
33029f464c52Smaya    <field name="Page Base Address" start="44" end="63" type="address"/>
330301e04c3fSmrg    <field name="Page Base Address High" start="64" end="79" type="address"/>
330401e04c3fSmrg    <group count="0" start="96" size="32">
330501e04c3fSmrg      <field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
330601e04c3fSmrg    </group>
330701e04c3fSmrg  </instruction>
330801e04c3fSmrg
330901e04c3fSmrg  <instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="2">
331001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
33119f464c52Smaya    <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
33129f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
33139f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
33149f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
331501e04c3fSmrg    <field name="Compare Data Dword" start="32" end="63" type="uint"/>
331601e04c3fSmrg    <field name="Compare Address" start="67" end="95" type="address"/>
331701e04c3fSmrg  </instruction>
331801e04c3fSmrg
33199f464c52Smaya  <instruction name="MI_FLUSH" bias="1" length="1" engine="render">
33209f464c52Smaya    <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
33219f464c52Smaya      <value name="Don't Invalidate" value="0"/>
33229f464c52Smaya      <value name="Invalidate" value="1"/>
332301e04c3fSmrg    </field>
332401e04c3fSmrg    <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
332501e04c3fSmrg      <value name="Flush" value="0"/>
332601e04c3fSmrg      <value name="Don't Flush" value="1"/>
332701e04c3fSmrg    </field>
33289f464c52Smaya    <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
33299f464c52Smaya      <value name="Don't Reset" value="0"/>
33309f464c52Smaya      <value name="Reset" value="1"/>
333101e04c3fSmrg    </field>
33329f464c52Smaya    <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
33339f464c52Smaya    <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
33349f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
33359f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
333601e04c3fSmrg  </instruction>
333701e04c3fSmrg
33389f464c52Smaya  <instruction name="MI_FLUSH_DW" bias="2" length="4" engine="video">
33397ec681f3Smrg    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
33409f464c52Smaya    <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
33419f464c52Smaya    <field name="Notify Enable" start="8" end="8" type="bool"/>
33429f464c52Smaya    <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
33439f464c52Smaya    <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
33449f464c52Smaya    <field name="TLB Invalidate" start="18" end="18" type="bool"/>
33459f464c52Smaya    <field name="Store Data Index" start="21" end="21" type="bool"/>
33469f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
334701e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
33489f464c52Smaya    <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
33499f464c52Smaya      <value name="PPGTT" value="0"/>
33509f464c52Smaya      <value name="GGTT" value="1"/>
33519f464c52Smaya    </field>
33529f464c52Smaya    <field name="Address" start="35" end="63" type="address"/>
33539f464c52Smaya    <group count="2" start="64" size="32">
33549f464c52Smaya      <field name="Immediate Data" start="0" end="31" type="uint"/>
33559f464c52Smaya    </group>
33569f464c52Smaya  </instruction>
33579f464c52Smaya
33589f464c52Smaya  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
335901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
33609f464c52Smaya    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
33619f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
33629f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
336301e04c3fSmrg    <field name="Register Offset" start="34" end="54" type="offset"/>
336401e04c3fSmrg    <field name="Data DWord" start="64" end="95" type="uint"/>
336501e04c3fSmrg    <group count="0" start="96" size="64">
336601e04c3fSmrg      <field name="Register Offset" start="2" end="22" type="offset"/>
336701e04c3fSmrg      <field name="Data DWord" start="32" end="63" type="uint"/>
336801e04c3fSmrg    </group>
336901e04c3fSmrg  </instruction>
337001e04c3fSmrg
337101e04c3fSmrg  <instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="3">
337201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
33739f464c52Smaya    <field name="Async Mode Enable" start="21" end="21" type="bool"/>
33749f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
33759f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
33769f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
337701e04c3fSmrg    <field name="Register Address" start="34" end="54" type="offset"/>
337801e04c3fSmrg    <field name="Memory Address" start="66" end="95" type="address"/>
337901e04c3fSmrg  </instruction>
338001e04c3fSmrg
338101e04c3fSmrg  <instruction name="MI_NOOP" bias="1" length="1">
338201e04c3fSmrg    <field name="Identification Number" start="0" end="21" type="uint"/>
33839f464c52Smaya    <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
33849f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
33859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
338601e04c3fSmrg  </instruction>
338701e04c3fSmrg
338801e04c3fSmrg  <instruction name="MI_PREDICATE" bias="1" length="1">
33899f464c52Smaya    <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
33909f464c52Smaya      <value name="TRUE" value="0"/>
33919f464c52Smaya      <value name="FALSE" value="1"/>
33929f464c52Smaya      <value name="SRCS_EQUAL" value="2"/>
33939f464c52Smaya      <value name="DELTAS_EQUAL" value="3"/>
339401e04c3fSmrg    </field>
339501e04c3fSmrg    <field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
339601e04c3fSmrg      <value name="SET" value="0"/>
339701e04c3fSmrg      <value name="AND" value="1"/>
339801e04c3fSmrg      <value name="OR" value="2"/>
339901e04c3fSmrg      <value name="XOR" value="3"/>
340001e04c3fSmrg    </field>
34019f464c52Smaya    <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
34029f464c52Smaya      <value name="KEEP" value="0"/>
34039f464c52Smaya      <value name="LOAD" value="2"/>
34049f464c52Smaya      <value name="LOADINV" value="3"/>
340501e04c3fSmrg    </field>
34069f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
34079f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
340801e04c3fSmrg  </instruction>
340901e04c3fSmrg
341001e04c3fSmrg  <instruction name="MI_REPORT_HEAD" bias="1" length="1">
341101e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
34129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
341301e04c3fSmrg  </instruction>
341401e04c3fSmrg
34159f464c52Smaya  <instruction name="MI_REPORT_PERF_COUNT" bias="2" length="3" engine="render">
341601e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="1"/>
34179f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
34189f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
341901e04c3fSmrg    <field name="Use Global GTT" start="32" end="32" type="bool"/>
34209f464c52Smaya    <field name="Memory Address" start="38" end="63" type="address"/>
342101e04c3fSmrg    <field name="Report ID" start="64" end="95" type="uint"/>
342201e04c3fSmrg  </instruction>
342301e04c3fSmrg
342401e04c3fSmrg  <instruction name="MI_SEMAPHORE_MBOX" bias="2" length="3">
34259f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
342601e04c3fSmrg    <field name="Register Select" start="16" end="17" type="uint">
342701e04c3fSmrg      <value name="RVSYNC" value="0"/>
342801e04c3fSmrg      <value name="RBSYNC" value="2"/>
342901e04c3fSmrg      <value name="Use General Register Select" value="3"/>
343001e04c3fSmrg    </field>
34319f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
34329f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
343301e04c3fSmrg    <field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
343401e04c3fSmrg  </instruction>
343501e04c3fSmrg
343601e04c3fSmrg  <instruction name="MI_SET_CONTEXT" bias="2" length="2">
343701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
34389f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
34399f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
344001e04c3fSmrg    <field name="Restore Inhibit" start="32" end="32" type="uint"/>
34419f464c52Smaya    <field name="Force Restore" start="33" end="33" type="uint"/>
34429f464c52Smaya    <field name="Extended State Restore Enable" start="34" end="34" type="bool"/>
34439f464c52Smaya    <field name="Extended State Save Enable" start="35" end="35" type="bool"/>
34449f464c52Smaya    <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
34459f464c52Smaya    <field name="Logical Context Address" start="44" end="63" type="address"/>
344601e04c3fSmrg  </instruction>
344701e04c3fSmrg
344801e04c3fSmrg  <instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
344901e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
34509f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
34519f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
34529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
345301e04c3fSmrg    <field name="Core Mode Enable" start="64" end="64" type="uint"/>
34549f464c52Smaya    <field name="Address" start="66" end="95" type="address"/>
345501e04c3fSmrg    <field name="Immediate Data" start="96" end="159" type="uint"/>
345601e04c3fSmrg  </instruction>
345701e04c3fSmrg
345801e04c3fSmrg  <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
345901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
34609f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
34619f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
346201e04c3fSmrg    <field name="Offset" start="34" end="43" type="uint"/>
346301e04c3fSmrg    <field name="Data DWord 0" start="64" end="95" type="uint"/>
346401e04c3fSmrg    <field name="Data DWord 1" start="96" end="127" type="uint"/>
346501e04c3fSmrg  </instruction>
346601e04c3fSmrg
346701e04c3fSmrg  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
346801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
34699f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
34709f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
34719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
347201e04c3fSmrg    <field name="Register Address" start="34" end="54" type="offset"/>
347301e04c3fSmrg    <field name="Memory Address" start="66" end="95" type="address"/>
347401e04c3fSmrg  </instruction>
347501e04c3fSmrg
347601e04c3fSmrg  <instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
347701e04c3fSmrg    <field name="Suspend Flush" start="0" end="0" type="bool"/>
34789f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
34799f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
348001e04c3fSmrg  </instruction>
348101e04c3fSmrg
348201e04c3fSmrg  <instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
348301e04c3fSmrg    <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
34849f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
34859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
348601e04c3fSmrg  </instruction>
348701e04c3fSmrg
34889f464c52Smaya  <instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render">
348901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
34909f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
34919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
349201e04c3fSmrg    <field name="URB Address" start="32" end="45" type="offset"/>
34939f464c52Smaya    <field name="URB Clear Length" start="48" end="60" type="uint"/>
349401e04c3fSmrg  </instruction>
349501e04c3fSmrg
349601e04c3fSmrg  <instruction name="MI_USER_INTERRUPT" bias="1" length="1">
349701e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
34989f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
349901e04c3fSmrg  </instruction>
350001e04c3fSmrg
35019f464c52Smaya  <instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter|video">
350201e04c3fSmrg    <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
35039f464c52Smaya    <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
35049f464c52Smaya    <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
35059f464c52Smaya    <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
35069f464c52Smaya    <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
35079f464c52Smaya    <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
35089f464c52Smaya    <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
35099f464c52Smaya    <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
35109f464c52Smaya    <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
35119f464c52Smaya    <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
35129f464c52Smaya    <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
35139f464c52Smaya    <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
35149f464c52Smaya    <field name="Condition Code Wait Select" start="16" end="19" type="uint">
35159f464c52Smaya      <value name="Not enabled" value="0"/>
35169f464c52Smaya    </field>
35179f464c52Smaya    <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
35189f464c52Smaya    <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
35199f464c52Smaya    <field name="Display Pipe C Horizontal Blank Wait Enable" start="22" end="22" type="bool"/>
35209f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
35219f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
352201e04c3fSmrg  </instruction>
352301e04c3fSmrg
35249f464c52Smaya  <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
352501e04c3fSmrg    <field name="Pipeline Selection" start="0" end="1" type="uint">
352601e04c3fSmrg      <value name="3D" value="0"/>
352701e04c3fSmrg      <value name="Media" value="1"/>
352801e04c3fSmrg      <value name="GPGPU" value="2"/>
352901e04c3fSmrg    </field>
35309f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
35319f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
35329f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
35339f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
353401e04c3fSmrg  </instruction>
353501e04c3fSmrg
35369f464c52Smaya  <instruction name="PIPE_CONTROL" bias="2" length="5" engine="render">
353701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
35389f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
35399f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
35409f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
35419f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35429f464c52Smaya    <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
35439f464c52Smaya    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
35449f464c52Smaya    <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
35459f464c52Smaya    <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
35469f464c52Smaya    <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
35479f464c52Smaya    <field name="DC Flush Enable" start="37" end="37" type="bool"/>
35489f464c52Smaya    <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
35499f464c52Smaya    <field name="Notify Enable" start="40" end="40" type="bool"/>
35509f464c52Smaya    <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
35519f464c52Smaya    <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
35529f464c52Smaya    <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
35539f464c52Smaya    <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
35549f464c52Smaya    <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
355501e04c3fSmrg    <field name="Post Sync Operation" start="46" end="47" type="uint">
355601e04c3fSmrg      <value name="No Write" value="0"/>
355701e04c3fSmrg      <value name="Write Immediate Data" value="1"/>
355801e04c3fSmrg      <value name="Write PS Depth Count" value="2"/>
355901e04c3fSmrg      <value name="Write Timestamp" value="3"/>
356001e04c3fSmrg    </field>
35619f464c52Smaya    <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
35629f464c52Smaya    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
35639f464c52Smaya    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
35649f464c52Smaya    <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
35659f464c52Smaya    <field name="Store Data Index" start="53" end="53" type="uint"/>
35669f464c52Smaya    <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
35679f464c52Smaya      <value name="No LRI Operation" value="0"/>
35689f464c52Smaya      <value name="MMIO Write Immediate Data" value="1"/>
35699f464c52Smaya    </field>
35709f464c52Smaya    <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
35719f464c52Smaya      <value name="PPGTT" value="0"/>
35729f464c52Smaya      <value name="GGTT" value="1"/>
35739f464c52Smaya    </field>
357401e04c3fSmrg    <field name="Address" start="66" end="95" type="address"/>
357501e04c3fSmrg    <field name="Immediate Data" start="96" end="159" type="uint"/>
357601e04c3fSmrg  </instruction>
357701e04c3fSmrg
35789f464c52Smaya  <instruction name="STATE_BASE_ADDRESS" bias="2" length="10" engine="render">
357901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="8"/>
35809f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
35819f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
35829f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
35839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
358401e04c3fSmrg    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
35859f464c52Smaya    <field name="Stateless Data Port Access Force Write Thru" start="35" end="35" type="uint"/>
35869f464c52Smaya    <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
35879f464c52Smaya    <field name="General State MOCS" start="40" end="43" type="uint"/>
35889f464c52Smaya    <field name="General State Base Address" start="44" end="63" type="address"/>
358901e04c3fSmrg    <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
35909f464c52Smaya    <field name="Surface State MOCS" start="72" end="75" type="uint"/>
35919f464c52Smaya    <field name="Surface State Base Address" start="76" end="95" type="address"/>
359201e04c3fSmrg    <field name="Dynamic State Base Address Modify Enable" start="96" end="96" type="bool"/>
35939f464c52Smaya    <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
35949f464c52Smaya    <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
359501e04c3fSmrg    <field name="Indirect Object Base Address Modify Enable" start="128" end="128" type="bool"/>
35969f464c52Smaya    <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
35979f464c52Smaya    <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
359801e04c3fSmrg    <field name="Instruction Base Address Modify Enable" start="160" end="160" type="bool"/>
35999f464c52Smaya    <field name="Instruction MOCS" start="168" end="171" type="uint"/>
36009f464c52Smaya    <field name="Instruction Base Address" start="172" end="191" type="address"/>
360101e04c3fSmrg    <field name="General State Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
36029f464c52Smaya    <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
360301e04c3fSmrg    <field name="Dynamic State Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
36049f464c52Smaya    <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
360501e04c3fSmrg    <field name="Indirect Object Access Upper Bound Modify Enable" start="256" end="256" type="bool"/>
36069f464c52Smaya    <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
360701e04c3fSmrg    <field name="Instruction Access Upper Bound Modify Enable" start="288" end="288" type="bool"/>
36089f464c52Smaya    <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
360901e04c3fSmrg  </instruction>
361001e04c3fSmrg
36119f464c52Smaya  <instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
361201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
36139f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
36149f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
36159f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
36169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
361701e04c3fSmrg    <field name="Prefetch Count" start="32" end="34" type="uint"/>
36189f464c52Smaya    <field name="Prefetch Pointer" start="38" end="63" type="address"/>
361901e04c3fSmrg  </instruction>
362001e04c3fSmrg
36219f464c52Smaya  <instruction name="STATE_SIP" bias="2" length="2" engine="render">
362201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
36239f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
36249f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
36259f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
36269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
362701e04c3fSmrg    <field name="System Instruction Pointer" start="36" end="63" type="offset"/>
362801e04c3fSmrg  </instruction>
362901e04c3fSmrg
36309f464c52Smaya  <instruction name="SWTESS_BASE_ADDRESS" bias="2" length="2" engine="render">
363101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
36329f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
36339f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
36349f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
36359f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
36369f464c52Smaya    <field name="SW Tessellation MOCS" start="40" end="43" type="uint"/>
363701e04c3fSmrg    <field name="SW Tessellation Base Address" start="44" end="63" type="address"/>
363801e04c3fSmrg  </instruction>
363901e04c3fSmrg
36409f464c52Smaya  <register name="BCS_FAULT_REG" length="1" num="0x4294">
36419f464c52Smaya    <field name="Valid Bit" start="0" end="0" type="bool"/>
36429f464c52Smaya    <field name="Fault Type" start="1" end="2" type="uint">
36439f464c52Smaya      <value name="Page Fault" value="0"/>
36449f464c52Smaya      <value name="Invalid PD Fault" value="1"/>
36459f464c52Smaya      <value name="Unloaded PD Fault" value="2"/>
36469f464c52Smaya      <value name="Invalid and Unloaded PD fault" value="3"/>
36479f464c52Smaya    </field>
36489f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
36499f464c52Smaya    <field name="GTTSEL" start="11" end="11" type="uint">
36509f464c52Smaya      <value name="PPGTT" value="0"/>
36519f464c52Smaya      <value name="GGTT" value="1"/>
36529f464c52Smaya    </field>
36539f464c52Smaya    <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
365401e04c3fSmrg  </register>
365501e04c3fSmrg
36569f464c52Smaya  <register name="BCS_INSTDONE" length="1" num="0x2206c">
36579f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
36589f464c52Smaya    <field name="Blitter IDLE" start="1" end="1" type="bool"/>
36599f464c52Smaya    <field name="GAB IDLE" start="2" end="2" type="bool"/>
36609f464c52Smaya    <field name="BCS Done" start="3" end="3" type="bool"/>
366101e04c3fSmrg  </register>
366201e04c3fSmrg
36639f464c52Smaya  <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
36649f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
36659f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
36669f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
36679f464c52Smaya      <value name="MI_AUTOREPORT_64KB" value="1"/>
36689f464c52Smaya      <value name="MI_AUTOREPORT_4KB" value="2"/>
36699f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
36709f464c52Smaya    </field>
36719f464c52Smaya    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
36729f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
36739f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
36749f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
367501e04c3fSmrg  </register>
367601e04c3fSmrg
36779f464c52Smaya  <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
36789f464c52Smaya    <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
36799f464c52Smaya  </register>
36809f464c52Smaya
36819f464c52Smaya  <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
36829f464c52Smaya    <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
36839f464c52Smaya  </register>
36849f464c52Smaya
36859f464c52Smaya  <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
36869f464c52Smaya    <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
368701e04c3fSmrg  </register>
368801e04c3fSmrg
368901e04c3fSmrg  <register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
369001e04c3fSmrg    <field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
369101e04c3fSmrg  </register>
369201e04c3fSmrg
36939f464c52Smaya  <register name="ERR_INT" length="1" num="0x44040">
36949f464c52Smaya    <field name="Primary A GTT Fault Status" start="0" end="0" type="bool"/>
36959f464c52Smaya    <field name="Primary B GTT Fault Status" start="1" end="1" type="bool"/>
36969f464c52Smaya    <field name="Sprite A GTT Fault Status" start="2" end="2" type="bool"/>
36979f464c52Smaya    <field name="Sprite B GTT Fault Status" start="3" end="3" type="bool"/>
36989f464c52Smaya    <field name="Cursor A GTT Fault Status" start="4" end="4" type="bool"/>
36999f464c52Smaya    <field name="Cursor B GTT Fault Status" start="5" end="5" type="bool"/>
37009f464c52Smaya    <field name="Invalid page table entry data" start="6" end="6" type="bool"/>
37019f464c52Smaya    <field name="Invalid GTT page table entry" start="7" end="7" type="bool"/>
370201e04c3fSmrg  </register>
370301e04c3fSmrg
37049f464c52Smaya  <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
37059f464c52Smaya    <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
37069f464c52Smaya    <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
37079f464c52Smaya    <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
37089f464c52Smaya    <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
37099f464c52Smaya    <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
37109f464c52Smaya    <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
37119f464c52Smaya    <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
37129f464c52Smaya    <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
37139f464c52Smaya    <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
371401e04c3fSmrg  </register>
371501e04c3fSmrg
37169f464c52Smaya  <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
37179f464c52Smaya    <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
371801e04c3fSmrg  </register>
371901e04c3fSmrg
37209f464c52Smaya  <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
37219f464c52Smaya    <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
372201e04c3fSmrg  </register>
372301e04c3fSmrg
37249f464c52Smaya  <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
37259f464c52Smaya    <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
372601e04c3fSmrg  </register>
372701e04c3fSmrg
37289f464c52Smaya  <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
37299f464c52Smaya    <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
373001e04c3fSmrg  </register>
373101e04c3fSmrg
37329f464c52Smaya  <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
37339f464c52Smaya    <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
373401e04c3fSmrg  </register>
373501e04c3fSmrg
373601e04c3fSmrg  <register name="INSTDONE_1" length="1" num="0x206c">
373701e04c3fSmrg    <field name="PRB0 Ring Enable" start="0" end="0" type="bool"/>
373801e04c3fSmrg    <field name="VFG Done" start="1" end="1" type="bool"/>
373901e04c3fSmrg    <field name="VS Done" start="2" end="2" type="bool"/>
374001e04c3fSmrg    <field name="HS Done" start="3" end="3" type="bool"/>
374101e04c3fSmrg    <field name="TE Done" start="4" end="4" type="bool"/>
374201e04c3fSmrg    <field name="DS Done" start="5" end="5" type="bool"/>
374301e04c3fSmrg    <field name="GS Done" start="6" end="6" type="bool"/>
374401e04c3fSmrg    <field name="SOL Done" start="7" end="7" type="bool"/>
374501e04c3fSmrg    <field name="CL Done" start="8" end="8" type="bool"/>
374601e04c3fSmrg    <field name="SF Done" start="9" end="9" type="bool"/>
374701e04c3fSmrg    <field name="TDG Done" start="12" end="12" type="bool"/>
374801e04c3fSmrg    <field name="URBM Done" start="13" end="13" type="bool"/>
374901e04c3fSmrg    <field name="SVG Done" start="14" end="14" type="bool"/>
375001e04c3fSmrg    <field name="GAFS Done" start="15" end="15" type="bool"/>
375101e04c3fSmrg    <field name="VFE Done" start="16" end="16" type="bool"/>
375201e04c3fSmrg    <field name="TSG Done" start="17" end="17" type="bool"/>
375301e04c3fSmrg    <field name="GAFM Done" start="18" end="18" type="bool"/>
375401e04c3fSmrg    <field name="GAM Done" start="19" end="19" type="bool"/>
375501e04c3fSmrg    <field name="SDE Done" start="22" end="22" type="bool"/>
375601e04c3fSmrg    <field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
375701e04c3fSmrg  </register>
375801e04c3fSmrg
37599f464c52Smaya  <register name="INSTPM" length="1" num="0x20c0">
37609f464c52Smaya    <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
37619f464c52Smaya    <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
37629f464c52Smaya    <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
37639f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
37649f464c52Smaya    <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
37659f464c52Smaya    <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
37669f464c52Smaya    <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
37679f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
37689f464c52Smaya  </register>
37699f464c52Smaya
37709f464c52Smaya  <register name="L3CNTLREG2" length="1" num="0xb020">
37717ec681f3Smrg    <field name="SLM Enable" start="0" end="0" type="bool"/>
37729f464c52Smaya    <field name="URB Allocation" start="1" end="6" type="uint"/>
37737ec681f3Smrg    <field name="URB Low Bandwidth" start="7" end="7" type="bool"/>
37749f464c52Smaya    <field name="ALL Allocation" start="8" end="13" type="uint"/>
37759f464c52Smaya    <field name="RO Allocation" start="14" end="19" type="uint"/>
37767ec681f3Smrg    <field name="RO Low Bandwidth" start="20" end="20" type="bool"/>
37779f464c52Smaya    <field name="DC Allocation" start="21" end="26" type="uint"/>
37787ec681f3Smrg    <field name="DC Low Bandwidth" start="27" end="27" type="bool"/>
37799f464c52Smaya  </register>
37809f464c52Smaya
37819f464c52Smaya  <register name="L3CNTLREG3" length="1" num="0xb024">
37829f464c52Smaya    <field name="IS Allocation" start="1" end="6" type="uint"/>
37837ec681f3Smrg    <field name="IS Low Bandwidth" start="7" end="7" type="bool"/>
37849f464c52Smaya    <field name="C Allocation" start="8" end="13" type="uint"/>
37857ec681f3Smrg    <field name="C Low Bandwidth" start="14" end="14" type="bool"/>
37869f464c52Smaya    <field name="T Allocation" start="15" end="20" type="uint"/>
37877ec681f3Smrg    <field name="T Low Bandwidth" start="21" end="21" type="bool"/>
37889f464c52Smaya  </register>
37899f464c52Smaya
37909f464c52Smaya  <register name="L3SQCREG1" length="1" num="0xb010">
37917ec681f3Smrg    <field name="L3SQ General Priority Credit Initialization" start="20" end="23" type="uint">
37927ec681f3Smrg      <value name="SQGPCI_DEFAULT" value="0x7"/>
37937ec681f3Smrg      <value name="BYT_SQGPCI_DEFAULT" value="0xd"/>
37947ec681f3Smrg    </field>
37957ec681f3Smrg    <field name="L3SQ High Priority Credit Initialization" start="16" end="19" type="uint">
37967ec681f3Smrg      <value name="SQHPCI_DEFAULT" value="0x3"/>
37977ec681f3Smrg    </field>
37987ec681f3Smrg    <field name="Convert DC_UC" start="24" end="24" type="bool"/>
37997ec681f3Smrg    <field name="Convert IS_UC" start="25" end="25" type="bool"/>
38007ec681f3Smrg    <field name="Convert C_UC" start="26" end="26" type="bool"/>
38017ec681f3Smrg    <field name="Convert T_UC" start="27" end="27" type="bool"/>
380201e04c3fSmrg  </register>
380301e04c3fSmrg
38049f464c52Smaya  <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
38059f464c52Smaya    <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
38069f464c52Smaya  </register>
38079f464c52Smaya
38089f464c52Smaya  <register name="RCS_FAULT_REG" length="1" num="0x4094">
38099f464c52Smaya    <field name="Valid Bit" start="0" end="0" type="bool"/>
38109f464c52Smaya    <field name="Fault Type" start="1" end="2" type="uint">
38119f464c52Smaya      <value name="Page Fault" value="0"/>
38129f464c52Smaya      <value name="Invalid PD Fault" value="1"/>
38139f464c52Smaya      <value name="Unloaded PD Fault" value="2"/>
38149f464c52Smaya      <value name="Invalid and Unloaded PD fault" value="3"/>
38159f464c52Smaya    </field>
38169f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
38179f464c52Smaya    <field name="GTTSEL" start="11" end="11" type="uint">
38189f464c52Smaya      <value name="PPGTT" value="0"/>
38199f464c52Smaya      <value name="GGTT" value="1"/>
38209f464c52Smaya    </field>
38219f464c52Smaya    <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
38229f464c52Smaya  </register>
38239f464c52Smaya
38249f464c52Smaya  <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
38259f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
38269f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
38279f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
38289f464c52Smaya      <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
38299f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
38309f464c52Smaya    </field>
38319f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
38329f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
38339f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
383401e04c3fSmrg  </register>
383501e04c3fSmrg
383601e04c3fSmrg  <register name="ROW_INSTDONE" length="1" num="0xe164">
383701e04c3fSmrg    <field name="BC Done" start="0" end="0" type="bool"/>
383801e04c3fSmrg    <field name="PSD Done" start="1" end="1" type="bool"/>
383901e04c3fSmrg    <field name="DC Done" start="2" end="2" type="bool"/>
384001e04c3fSmrg    <field name="DAPR Done" start="3" end="3" type="bool"/>
384101e04c3fSmrg    <field name="TDL Done" start="6" end="6" type="bool"/>
384201e04c3fSmrg    <field name="GW Done" start="8" end="8" type="bool"/>
384301e04c3fSmrg    <field name="IC Done" start="12" end="12" type="bool"/>
384401e04c3fSmrg    <field name="EU00 Done SS0" start="16" end="16" type="bool"/>
384501e04c3fSmrg    <field name="EU01 Done SS0" start="17" end="17" type="bool"/>
384601e04c3fSmrg    <field name="EU02 Done SS0" start="18" end="18" type="bool"/>
384701e04c3fSmrg    <field name="EU03 Done SS0" start="19" end="19" type="bool"/>
384801e04c3fSmrg    <field name="MA0 Done SS0" start="20" end="20" type="bool"/>
384901e04c3fSmrg    <field name="EU10 Done SS0" start="21" end="21" type="bool"/>
385001e04c3fSmrg    <field name="EU11 Done SS0" start="22" end="22" type="bool"/>
385101e04c3fSmrg    <field name="EU12 Done SS0" start="23" end="23" type="bool"/>
385201e04c3fSmrg    <field name="EU13 Done SS0" start="24" end="24" type="bool"/>
385301e04c3fSmrg    <field name="MA1 Done" start="25" end="25" type="bool"/>
385401e04c3fSmrg  </register>
385501e04c3fSmrg
38567ec681f3Smrg  <register name="RPSTAT1" length="1" num="0xa01c">
38577ec681f3Smrg    <field name="Previous GT Frequency" start="0" end="6" type="uint"/>
38587ec681f3Smrg    <field name="Current GT Frequency" start="7" end="14" type="uint"/>
38597ec681f3Smrg  </register>
38607ec681f3Smrg
386101e04c3fSmrg  <register name="SAMPLER_INSTDONE" length="1" num="0xe160">
386201e04c3fSmrg    <field name="VME Done" start="0" end="0" type="bool"/>
386301e04c3fSmrg    <field name="PL0 Done" start="1" end="1" type="bool"/>
386401e04c3fSmrg    <field name="SO0 Done" start="2" end="2" type="bool"/>
386501e04c3fSmrg    <field name="DG0 Done" start="3" end="3" type="bool"/>
386601e04c3fSmrg    <field name="FT0 Done" start="4" end="4" type="bool"/>
386701e04c3fSmrg    <field name="DM0 Done" start="5" end="5" type="bool"/>
386801e04c3fSmrg    <field name="SC Done" start="6" end="6" type="bool"/>
386901e04c3fSmrg    <field name="FL0 Done" start="7" end="7" type="bool"/>
387001e04c3fSmrg    <field name="QC Done" start="8" end="8" type="bool"/>
387101e04c3fSmrg    <field name="SVSM Done" start="9" end="9" type="bool"/>
387201e04c3fSmrg    <field name="SI0 Done" start="10" end="10" type="bool"/>
387301e04c3fSmrg    <field name="MT0 Done" start="11" end="11" type="bool"/>
387401e04c3fSmrg    <field name="AVS Done" start="12" end="12" type="bool"/>
387501e04c3fSmrg    <field name="IEF Done" start="13" end="13" type="bool"/>
387601e04c3fSmrg    <field name="VDI Done" start="14" end="14" type="bool"/>
387701e04c3fSmrg    <field name="SVSM ARB3" start="15" end="15" type="bool"/>
387801e04c3fSmrg    <field name="SVSM ARB2" start="16" end="16" type="bool"/>
387901e04c3fSmrg    <field name="SVSM ARB1" start="17" end="17" type="bool"/>
388001e04c3fSmrg    <field name="SVSM Adapter" start="18" end="18" type="bool"/>
388101e04c3fSmrg  </register>
388201e04c3fSmrg
38839f464c52Smaya  <register name="SC_INSTDONE" length="1" num="0x7100">
38849f464c52Smaya    <field name="SVL Done" start="0" end="0" type="bool"/>
38859f464c52Smaya    <field name="WMFE Done" start="1" end="1" type="bool"/>
38869f464c52Smaya    <field name="WMBE Done" start="2" end="2" type="bool"/>
38879f464c52Smaya    <field name="HIZ Done" start="3" end="3" type="bool"/>
38889f464c52Smaya    <field name="STC Done" start="4" end="4" type="bool"/>
38899f464c52Smaya    <field name="IZ Done" start="5" end="5" type="bool"/>
38909f464c52Smaya    <field name="SBE Done" start="6" end="6" type="bool"/>
38919f464c52Smaya    <field name="RCZ Done" start="8" end="8" type="bool"/>
38929f464c52Smaya    <field name="RCC Done" start="9" end="9" type="bool"/>
38939f464c52Smaya    <field name="RCPBE Done" start="10" end="10" type="bool"/>
38949f464c52Smaya    <field name="RCPFE Done" start="11" end="11" type="bool"/>
38959f464c52Smaya    <field name="DAPB Done" start="12" end="12" type="bool"/>
38969f464c52Smaya    <field name="DAPRBE Done" start="13" end="13" type="bool"/>
38979f464c52Smaya    <field name="IECP Done" start="14" end="14" type="bool"/>
38989f464c52Smaya    <field name="SARB Done" start="15" end="15" type="bool"/>
38999f464c52Smaya    <field name="VSC Done" start="16" end="16" type="bool"/>
390001e04c3fSmrg  </register>
390101e04c3fSmrg
39029f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
39039f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
390401e04c3fSmrg  </register>
390501e04c3fSmrg
39069f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN1" length="2" num="0x5208">
39079f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
390801e04c3fSmrg  </register>
390901e04c3fSmrg
39109f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN2" length="2" num="0x5210">
39119f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
391201e04c3fSmrg  </register>
391301e04c3fSmrg
39149f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN3" length="2" num="0x5218">
39159f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
391601e04c3fSmrg  </register>
391701e04c3fSmrg
39189f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED0" length="2" num="0x5240">
39199f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
392001e04c3fSmrg  </register>
392101e04c3fSmrg
39229f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED1" length="2" num="0x5248">
39239f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
392401e04c3fSmrg  </register>
392501e04c3fSmrg
39269f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED2" length="2" num="0x5250">
39279f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
392801e04c3fSmrg  </register>
392901e04c3fSmrg
39309f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED3" length="2" num="0x5258">
39319f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
393201e04c3fSmrg  </register>
393301e04c3fSmrg
39349f464c52Smaya  <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
39359f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
393601e04c3fSmrg  </register>
393701e04c3fSmrg
39389f464c52Smaya  <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
39399f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
39409f464c52Smaya  </register>
39419f464c52Smaya
39429f464c52Smaya  <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
39439f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
39449f464c52Smaya  </register>
39459f464c52Smaya
39469f464c52Smaya  <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
39479f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
394801e04c3fSmrg  </register>
394901e04c3fSmrg
395001e04c3fSmrg  <register name="VCS_FAULT_REG" length="1" num="0x4194">
395101e04c3fSmrg    <field name="Valid Bit" start="0" end="0" type="bool"/>
395201e04c3fSmrg    <field name="Fault Type" start="1" end="2" type="uint">
395301e04c3fSmrg      <value name="Page Fault" value="0"/>
395401e04c3fSmrg      <value name="Invalid PD Fault" value="1"/>
395501e04c3fSmrg      <value name="Unloaded PD Fault" value="2"/>
395601e04c3fSmrg      <value name="Invalid and Unloaded PD fault" value="3"/>
395701e04c3fSmrg    </field>
39589f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
395901e04c3fSmrg    <field name="GTTSEL" start="11" end="11" type="uint">
396001e04c3fSmrg      <value name="PPGTT" value="0"/>
396101e04c3fSmrg      <value name="GGTT" value="1"/>
396201e04c3fSmrg    </field>
396301e04c3fSmrg    <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
396401e04c3fSmrg  </register>
396501e04c3fSmrg
39669f464c52Smaya  <register name="VCS_INSTDONE" length="1" num="0x1206c">
39679f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
39689f464c52Smaya    <field name="USB Done" start="1" end="1" type="bool"/>
39699f464c52Smaya    <field name="QRC Done" start="2" end="2" type="bool"/>
39709f464c52Smaya    <field name="SEC Done" start="3" end="3" type="bool"/>
39719f464c52Smaya    <field name="MPC Done" start="4" end="4" type="bool"/>
39729f464c52Smaya    <field name="VFT Done" start="5" end="5" type="bool"/>
39739f464c52Smaya    <field name="BSP Done" start="6" end="6" type="bool"/>
39749f464c52Smaya    <field name="VLF Done" start="7" end="7" type="bool"/>
39759f464c52Smaya    <field name="VOP Done" start="8" end="8" type="bool"/>
39769f464c52Smaya    <field name="VMC Done" start="9" end="9" type="bool"/>
39779f464c52Smaya    <field name="VIP Done" start="10" end="10" type="bool"/>
39789f464c52Smaya    <field name="VIT Done" start="11" end="11" type="bool"/>
39799f464c52Smaya    <field name="VDS Done" start="12" end="12" type="bool"/>
39809f464c52Smaya    <field name="VMX Done" start="13" end="13" type="bool"/>
39819f464c52Smaya    <field name="VCP Done" start="14" end="14" type="bool"/>
39829f464c52Smaya    <field name="VCD Done" start="15" end="15" type="bool"/>
39839f464c52Smaya    <field name="VAD Done" start="16" end="16" type="bool"/>
39849f464c52Smaya    <field name="VMD Done" start="17" end="17" type="bool"/>
39859f464c52Smaya    <field name="VIS Done" start="18" end="18" type="bool"/>
39869f464c52Smaya    <field name="VAC Done" start="19" end="19" type="bool"/>
39879f464c52Smaya    <field name="VAM Done" start="20" end="20" type="bool"/>
39889f464c52Smaya    <field name="JPG Done" start="21" end="21" type="bool"/>
39899f464c52Smaya    <field name="VBP Done" start="22" end="22" type="bool"/>
39909f464c52Smaya    <field name="VHR Done" start="23" end="23" type="bool"/>
39919f464c52Smaya    <field name="VCI Done" start="24" end="24" type="bool"/>
39929f464c52Smaya    <field name="VCR Done" start="25" end="25" type="bool"/>
39939f464c52Smaya    <field name="VIN Done" start="26" end="26" type="bool"/>
39949f464c52Smaya    <field name="VPR Done" start="27" end="27" type="bool"/>
39959f464c52Smaya    <field name="VTQ Done" start="28" end="28" type="bool"/>
39969f464c52Smaya    <field name="VCS Done" start="30" end="30" type="bool"/>
39979f464c52Smaya    <field name="GAC Done" start="31" end="31" type="bool"/>
399801e04c3fSmrg  </register>
399901e04c3fSmrg
400001e04c3fSmrg  <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
400101e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
400201e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
400301e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
400401e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
400501e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
400601e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
400701e04c3fSmrg    </field>
400801e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
400901e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
401001e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
401101e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
401201e04c3fSmrg  </register>
401301e04c3fSmrg
40149f464c52Smaya  <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
40159f464c52Smaya    <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
401601e04c3fSmrg  </register>
401701e04c3fSmrg</genxml>
4018