101e04c3fSmrg<?xml version="1.0" ?>
201e04c3fSmrg<genxml name="BDW" gen="8">
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_PID" value="7"/>
13801e04c3fSmrg  </enum>
13901e04c3fSmrg
1409f464c52Smaya  <enum name="Clear Color">
1419f464c52Smaya    <value name="CC_ZERO" value="0"/>
1429f464c52Smaya    <value name="CC_ONE" value="1"/>
14301e04c3fSmrg  </enum>
14401e04c3fSmrg
14501e04c3fSmrg  <enum name="Shader Channel Select" prefix="SCS">
14601e04c3fSmrg    <value name="ZERO" value="0"/>
14701e04c3fSmrg    <value name="ONE" value="1"/>
14801e04c3fSmrg    <value name="RED" value="4"/>
14901e04c3fSmrg    <value name="GREEN" value="5"/>
15001e04c3fSmrg    <value name="BLUE" value="6"/>
15101e04c3fSmrg    <value name="ALPHA" value="7"/>
15201e04c3fSmrg  </enum>
15301e04c3fSmrg
15401e04c3fSmrg  <enum name="Texture Coordinate Mode" prefix="TCM">
15501e04c3fSmrg    <value name="WRAP" value="0"/>
15601e04c3fSmrg    <value name="MIRROR" value="1"/>
15701e04c3fSmrg    <value name="CLAMP" value="2"/>
15801e04c3fSmrg    <value name="CUBE" value="3"/>
15901e04c3fSmrg    <value name="CLAMP_BORDER" value="4"/>
16001e04c3fSmrg    <value name="MIRROR_ONCE" value="5"/>
16101e04c3fSmrg    <value name="HALF_BORDER" value="6"/>
16201e04c3fSmrg  </enum>
16301e04c3fSmrg
1649f464c52Smaya  <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
1659f464c52Smaya    <value name="X" value="1"/>
1669f464c52Smaya    <value name="Y" value="2"/>
1679f464c52Smaya    <value name="XY" value="3"/>
1689f464c52Smaya    <value name="Z" value="4"/>
1699f464c52Smaya    <value name="XZ" value="5"/>
1709f464c52Smaya    <value name="YZ" value="6"/>
1719f464c52Smaya    <value name="XYZ" value="7"/>
1729f464c52Smaya    <value name="W" value="8"/>
1739f464c52Smaya    <value name="XW" value="9"/>
1749f464c52Smaya    <value name="YW" value="10"/>
1759f464c52Smaya    <value name="XYW" value="11"/>
1769f464c52Smaya    <value name="ZW" value="12"/>
1779f464c52Smaya    <value name="XZW" value="13"/>
1789f464c52Smaya    <value name="YZW" value="14"/>
1799f464c52Smaya    <value name="XYZW" value="15"/>
1809f464c52Smaya  </enum>
1819f464c52Smaya
18201e04c3fSmrg  <struct name="3DSTATE_CONSTANT_BODY" length="10">
18301e04c3fSmrg    <group count="4" start="0" size="16">
18401e04c3fSmrg      <field name="Read Length" start="0" end="15" type="uint"/>
18501e04c3fSmrg    </group>
18601e04c3fSmrg    <group count="4" start="64" size="64">
18701e04c3fSmrg      <field name="Buffer" start="5" end="63" type="address"/>
18801e04c3fSmrg    </group>
18901e04c3fSmrg  </struct>
19001e04c3fSmrg
19101e04c3fSmrg  <struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
19201e04c3fSmrg    <field name="Surface State Pointer" start="0" end="15" type="offset"/>
1939f464c52Smaya    <field name="Binding Table Index" start="16" end="23" type="uint"/>
19401e04c3fSmrg  </struct>
19501e04c3fSmrg
1969f464c52Smaya  <struct name="BINDING_TABLE_STATE" length="1">
1979f464c52Smaya    <field name="Surface State Pointer" start="6" end="31" type="offset"/>
19801e04c3fSmrg  </struct>
19901e04c3fSmrg
2009f464c52Smaya  <struct name="BLEND_STATE_ENTRY" length="2">
2019f464c52Smaya    <field name="Write Disable Blue" start="0" end="0" type="bool"/>
2029f464c52Smaya    <field name="Write Disable Green" start="1" end="1" type="bool"/>
2039f464c52Smaya    <field name="Write Disable Red" start="2" end="2" type="bool"/>
2049f464c52Smaya    <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
2059f464c52Smaya    <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
2069f464c52Smaya    <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
2079f464c52Smaya    <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
2089f464c52Smaya    <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
2099f464c52Smaya    <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
2109f464c52Smaya    <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
2119f464c52Smaya    <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
2129f464c52Smaya    <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
2139f464c52Smaya    <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
2149f464c52Smaya    <field name="Color Clamp Range" start="34" end="35" type="uint">
2159f464c52Smaya      <value name="COLORCLAMP_UNORM" value="0"/>
2169f464c52Smaya      <value name="COLORCLAMP_SNORM" value="1"/>
2179f464c52Smaya      <value name="COLORCLAMP_RTFORMAT" value="2"/>
21801e04c3fSmrg    </field>
2199f464c52Smaya    <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
2209f464c52Smaya    <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
2219f464c52Smaya    <field name="Logic Op Enable" start="63" end="63" type="bool"/>
22201e04c3fSmrg  </struct>
22301e04c3fSmrg
2249f464c52Smaya  <struct name="BLEND_STATE" length="1">
2259f464c52Smaya    <field name="Y Dither Offset" start="19" end="20" type="uint"/>
2269f464c52Smaya    <field name="X Dither Offset" start="21" end="22" type="uint"/>
2279f464c52Smaya    <field name="Color Dither Enable" start="23" end="23" type="bool"/>
2289f464c52Smaya    <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
2299f464c52Smaya    <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
2309f464c52Smaya    <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
2319f464c52Smaya    <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
2329f464c52Smaya    <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
2339f464c52Smaya    <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
2349f464c52Smaya    <group count="0" start="32" size="64">
2359f464c52Smaya      <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
2369f464c52Smaya    </group>
23701e04c3fSmrg  </struct>
23801e04c3fSmrg
2399f464c52Smaya  <struct name="CC_VIEWPORT" length="2">
2409f464c52Smaya    <field name="Minimum Depth" start="0" end="31" type="float"/>
2419f464c52Smaya    <field name="Maximum Depth" start="32" end="63" type="float"/>
24201e04c3fSmrg  </struct>
24301e04c3fSmrg
24401e04c3fSmrg  <struct name="COLOR_CALC_STATE" length="6">
24501e04c3fSmrg    <field name="Alpha Test Format" start="0" end="0" type="uint">
24601e04c3fSmrg      <value name="ALPHATEST_UNORM8" value="0"/>
24701e04c3fSmrg      <value name="ALPHATEST_FLOAT32" value="1"/>
24801e04c3fSmrg    </field>
2499f464c52Smaya    <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
2509f464c52Smaya    <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
2519f464c52Smaya    <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
25201e04c3fSmrg    <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
25301e04c3fSmrg    <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
25401e04c3fSmrg    <field name="Blend Constant Color Red" start="64" end="95" type="float"/>
25501e04c3fSmrg    <field name="Blend Constant Color Green" start="96" end="127" type="float"/>
25601e04c3fSmrg    <field name="Blend Constant Color Blue" start="128" end="159" type="float"/>
25701e04c3fSmrg    <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
25801e04c3fSmrg  </struct>
25901e04c3fSmrg
2609f464c52Smaya  <struct name="FILTER_COEFFICIENT" length="1">
2619f464c52Smaya    <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
2629f464c52Smaya  </struct>
2639f464c52Smaya
2649f464c52Smaya  <struct name="GATHER_CONSTANT_ENTRY" length="1">
2659f464c52Smaya    <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
2669f464c52Smaya    <field name="Channel Mask" start="4" end="7" type="uint"/>
2679f464c52Smaya    <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
2689f464c52Smaya  </struct>
2699f464c52Smaya
2709f464c52Smaya  <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
2719f464c52Smaya    <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
2729f464c52Smaya    <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
2739f464c52Smaya    <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
2749f464c52Smaya    <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
2759f464c52Smaya    <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
2769f464c52Smaya    <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
2779f464c52Smaya    <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
2789f464c52Smaya    <field name="MPR Error Handling" start="12" end="12" type="bool"/>
2799f464c52Smaya    <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
2809f464c52Smaya    <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
2819f464c52Smaya    <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
2829f464c52Smaya    <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
2839f464c52Smaya    <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
2849f464c52Smaya    <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
2859f464c52Smaya    <field name="Init Current MB Number" start="30" end="30" type="bool"/>
2869f464c52Smaya    <field name="Concealment Method" start="31" end="31" type="uint"/>
2879f464c52Smaya    <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
2889f464c52Smaya    <field name="Last Slice" start="35" end="35" type="bool"/>
2899f464c52Smaya    <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
2909f464c52Smaya    <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
2919f464c52Smaya    <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
2929f464c52Smaya    <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
2939f464c52Smaya    <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
2949f464c52Smaya    <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
2959f464c52Smaya    <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
2969f464c52Smaya    <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
2979f464c52Smaya    <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
2989f464c52Smaya      <value name="Intra Concealment" value="1"/>
2999f464c52Smaya      <value name="Inter Concealment" value="0"/>
3009f464c52Smaya    </field>
3019f464c52Smaya    <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
3029f464c52Smaya    <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
3039f464c52Smaya      <value name="Intra Concealment" value="1"/>
3049f464c52Smaya      <value name="Inter Concealment" value="0"/>
3059f464c52Smaya    </field>
3069f464c52Smaya    <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
3079f464c52Smaya    <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
3089f464c52Smaya      <value name="Intra Concealment" value="1"/>
3099f464c52Smaya      <value name="Inter Concealment" value="0"/>
3109f464c52Smaya    </field>
3119f464c52Smaya  </struct>
3129f464c52Smaya
31301e04c3fSmrg  <struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
31401e04c3fSmrg    <field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
3159f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
3169f464c52Smaya    <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
3179f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
3189f464c52Smaya    <field name="Floating Point Mode" start="80" end="80" type="uint">
3199f464c52Smaya      <value name="IEEE-754" value="0"/>
3209f464c52Smaya      <value name="Alternate" value="1"/>
32101e04c3fSmrg    </field>
32201e04c3fSmrg    <field name="Thread Priority" start="81" end="81" type="uint">
32301e04c3fSmrg      <value name="Normal Priority" value="0"/>
32401e04c3fSmrg      <value name="High Priority" value="1"/>
32501e04c3fSmrg    </field>
3269f464c52Smaya    <field name="Single Program Flow" start="82" end="82" type="bool"/>
3279f464c52Smaya    <field name="Denorm Mode" start="83" end="83" type="uint">
3289f464c52Smaya      <value name="Ftz" value="0"/>
3299f464c52Smaya      <value name="SetByKernel" value="1"/>
33001e04c3fSmrg    </field>
33101e04c3fSmrg    <field name="Sampler Count" start="98" end="100" type="uint">
33201e04c3fSmrg      <value name="No samplers used" value="0"/>
33301e04c3fSmrg      <value name="Between 1 and 4 samplers used" value="1"/>
33401e04c3fSmrg      <value name="Between 5 and 8 samplers used" value="2"/>
33501e04c3fSmrg      <value name="Between 9 and 12 samplers used" value="3"/>
33601e04c3fSmrg      <value name="Between 13 and 16 samplers used" value="4"/>
33701e04c3fSmrg    </field>
3389f464c52Smaya    <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
33901e04c3fSmrg    <field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
3409f464c52Smaya    <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
34101e04c3fSmrg    <field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
3429f464c52Smaya    <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
3439f464c52Smaya    <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
34401e04c3fSmrg    <field name="Shared Local Memory Size" start="208" end="212" type="uint">
34501e04c3fSmrg      <value name="Encodes 0k" value="0"/>
34601e04c3fSmrg      <value name="Encodes 4k" value="1"/>
34701e04c3fSmrg      <value name="Encodes 8k" value="2"/>
34801e04c3fSmrg      <value name="Encodes 16k" value="4"/>
34901e04c3fSmrg      <value name="Encodes 32k" value="8"/>
35001e04c3fSmrg      <value name="Encodes 64k" value="16"/>
35101e04c3fSmrg    </field>
3529f464c52Smaya    <field name="Barrier Enable" start="213" end="213" type="bool"/>
3539f464c52Smaya    <field name="Rounding Mode" start="214" end="215" type="uint">
3549f464c52Smaya      <value name="RTNE" value="0"/>
3559f464c52Smaya      <value name="RU" value="1"/>
3569f464c52Smaya      <value name="RD" value="2"/>
3579f464c52Smaya      <value name="RTZ" value="3"/>
3589f464c52Smaya    </field>
35901e04c3fSmrg    <field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
36001e04c3fSmrg  </struct>
36101e04c3fSmrg
3629f464c52Smaya  <struct name="MEMORYADDRESSATTRIBUTES" length="1">
3639f464c52Smaya    <field name="Age for QUADLRU" start="0" end="1" type="uint"/>
3649f464c52Smaya    <field name="Target Cache" start="3" end="4" type="uint">
3659f464c52Smaya      <value name="eLLC Only" value="0"/>
3669f464c52Smaya      <value name="LLC Only" value="1"/>
3679f464c52Smaya      <value name="LLC/eLLC" value="2"/>
3689f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
3699f464c52Smaya    </field>
3709f464c52Smaya    <field name="Arbitration Priority Control" start="7" end="8" type="uint"/>
37101e04c3fSmrg  </struct>
37201e04c3fSmrg
3739f464c52Smaya  <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
3749f464c52Smaya    <field name="Age for QUADLRU" start="0" end="1" type="uint"/>
3759f464c52Smaya    <field name="Target Cache" start="3" end="4" type="uint">
3769f464c52Smaya      <value name="eLLC Only (when eDRAM is present, else gets allocated in LLC)" value="0"/>
3779f464c52Smaya      <value name="LLC Only" value="1"/>
3789f464c52Smaya      <value name="LLC/eLLC Allowed" value="2"/>
3799f464c52Smaya      <value name="L3 + Defer to PAT for LLC/eLLC selection" value="3"/>
3809f464c52Smaya    </field>
3819f464c52Smaya    <field name="Memory Type:LLC/eLLC Cacheability Control" start="5" end="6" type="uint">
3829f464c52Smaya      <value name=" UC with Fence (if coherent cycle)" value="0"/>
3839f464c52Smaya      <value name="UC (Uncacheable)" value="1"/>
3849f464c52Smaya      <value name="WT" value="2"/>
3859f464c52Smaya      <value name="WB" value="3"/>
3869f464c52Smaya    </field>
38701e04c3fSmrg  </struct>
38801e04c3fSmrg
3899f464c52Smaya  <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
3909f464c52Smaya    <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
3919f464c52Smaya    <field name="Last MB" start="3" end="3" type="bool"/>
3929f464c52Smaya    <field name="Last Pic Slice" start="5" end="5" type="bool"/>
3939f464c52Smaya    <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
3949f464c52Smaya    <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
3959f464c52Smaya    <field name="MB Count" start="8" end="15" type="uint"/>
3969f464c52Smaya    <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
3979f464c52Smaya    <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
3989f464c52Smaya    <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
3999f464c52Smaya    <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
4009f464c52Smaya    <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
4019f464c52Smaya  </struct>
4029f464c52Smaya
4039f464c52Smaya  <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
4049f464c52Smaya    <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
4059f464c52Smaya      <value name="REG0" value="0x00"/>
4069f464c52Smaya      <value name="REG1" value="0x01"/>
4079f464c52Smaya      <value name="REG2" value="0x02"/>
4089f464c52Smaya      <value name="REG3" value="0x03"/>
4099f464c52Smaya      <value name="REG4" value="0x04"/>
4109f464c52Smaya      <value name="REG5" value="0x05"/>
4119f464c52Smaya      <value name="REG6" value="0x06"/>
4129f464c52Smaya      <value name="REG7" value="0x07"/>
4139f464c52Smaya      <value name="REG8" value="0x08"/>
4149f464c52Smaya      <value name="REG9" value="0x09"/>
4159f464c52Smaya      <value name="REG10" value="0x0a"/>
4169f464c52Smaya      <value name="REG11" value="0x0b"/>
4179f464c52Smaya      <value name="REG12" value="0x0c"/>
4189f464c52Smaya      <value name="REG13" value="0x0d"/>
4199f464c52Smaya      <value name="REG14" value="0x0e"/>
4209f464c52Smaya      <value name="REG15" value="0x0f"/>
4219f464c52Smaya      <value name="SRCA" value="0x20"/>
4229f464c52Smaya      <value name="SRCB" value="0x21"/>
4239f464c52Smaya      <value name="ACCU" value="0x31"/>
4249f464c52Smaya      <value name="ZF" value="0x32"/>
4259f464c52Smaya      <value name="CF" value="0x33"/>
42601e04c3fSmrg    </field>
4279f464c52Smaya    <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
4289f464c52Smaya      <value name="REG0" value="0x00"/>
4299f464c52Smaya      <value name="REG1" value="0x01"/>
4309f464c52Smaya      <value name="REG2" value="0x02"/>
4319f464c52Smaya      <value name="REG3" value="0x03"/>
4329f464c52Smaya      <value name="REG4" value="0x04"/>
4339f464c52Smaya      <value name="REG5" value="0x05"/>
4349f464c52Smaya      <value name="REG6" value="0x06"/>
4359f464c52Smaya      <value name="REG7" value="0x07"/>
4369f464c52Smaya      <value name="REG8" value="0x08"/>
4379f464c52Smaya      <value name="REG9" value="0x09"/>
4389f464c52Smaya      <value name="REG10" value="0x0a"/>
4399f464c52Smaya      <value name="REG11" value="0x0b"/>
4409f464c52Smaya      <value name="REG12" value="0x0c"/>
4419f464c52Smaya      <value name="REG13" value="0x0d"/>
4429f464c52Smaya      <value name="REG14" value="0x0e"/>
4439f464c52Smaya      <value name="REG15" value="0x0f"/>
4449f464c52Smaya      <value name="SRCA" value="0x20"/>
4459f464c52Smaya      <value name="SRCB" value="0x21"/>
4469f464c52Smaya      <value name="ACCU" value="0x31"/>
4479f464c52Smaya      <value name="ZF" value="0x32"/>
4489f464c52Smaya      <value name="CF" value="0x33"/>
44901e04c3fSmrg    </field>
4509f464c52Smaya    <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
4519f464c52Smaya      <value name="NOOP" value="0x000"/>
4529f464c52Smaya      <value name="LOAD" value="0x080"/>
4539f464c52Smaya      <value name="LOADINV" value="0x480"/>
4549f464c52Smaya      <value name="LOAD0" value="0x081"/>
4559f464c52Smaya      <value name="LOAD1" value="0x481"/>
4569f464c52Smaya      <value name="ADD" value="0x100"/>
4579f464c52Smaya      <value name="SUB" value="0x101"/>
4589f464c52Smaya      <value name="AND" value="0x102"/>
4599f464c52Smaya      <value name="OR" value="0x103"/>
4609f464c52Smaya      <value name="XOR" value="0x104"/>
4619f464c52Smaya      <value name="STORE" value="0x180"/>
4629f464c52Smaya      <value name="STOREINV" value="0x580"/>
46301e04c3fSmrg    </field>
4649f464c52Smaya  </struct>
4659f464c52Smaya
4669f464c52Smaya  <struct name="PALETTE_ENTRY" length="1">
4679f464c52Smaya    <field name="Blue" start="0" end="7" type="uint"/>
4689f464c52Smaya    <field name="Green" start="8" end="15" type="uint"/>
4699f464c52Smaya    <field name="Red" start="16" end="23" type="uint"/>
4709f464c52Smaya    <field name="Alpha" start="24" end="31" type="uint"/>
4719f464c52Smaya  </struct>
4729f464c52Smaya
4739f464c52Smaya  <struct name="RENDER_SURFACE_STATE" length="16">
47401e04c3fSmrg    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
47501e04c3fSmrg    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
47601e04c3fSmrg    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
47701e04c3fSmrg    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
47801e04c3fSmrg    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
47901e04c3fSmrg    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
4809f464c52Smaya    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
4819f464c52Smaya      <value name="NORMAL_MODE" value="0"/>
4829f464c52Smaya      <value name="PROGRESSIVE_FRAME" value="2"/>
4839f464c52Smaya      <value name="INTERLACED_FRAME" value="3"/>
4849f464c52Smaya    </field>
4859f464c52Smaya    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
4869f464c52Smaya      <value name="Write-Only Cache" value="0"/>
4879f464c52Smaya      <value name="Read-Write Cache" value="1"/>
4889f464c52Smaya    </field>
4899f464c52Smaya    <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
4909f464c52Smaya    <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
4919f464c52Smaya    <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
4929f464c52Smaya    <field name="Tile Mode" start="12" end="13" type="uint">
4939f464c52Smaya      <value name="LINEAR" value="0"/>
4949f464c52Smaya      <value name="WMAJOR" value="1"/>
4959f464c52Smaya      <value name="XMAJOR" value="2"/>
4969f464c52Smaya      <value name="YMAJOR" value="3"/>
4979f464c52Smaya    </field>
4989f464c52Smaya    <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
4997ec681f3Smrg      <value name="HALIGN_4" value="1"/>
5007ec681f3Smrg      <value name="HALIGN_8" value="2"/>
5017ec681f3Smrg      <value name="HALIGN_16" value="3"/>
5029f464c52Smaya    </field>
5039f464c52Smaya    <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
5047ec681f3Smrg      <value name="VALIGN_4" value="1"/>
5057ec681f3Smrg      <value name="VALIGN_8" value="2"/>
5067ec681f3Smrg      <value name="VALIGN_16" value="3"/>
5079f464c52Smaya    </field>
5089f464c52Smaya    <field name="Surface Format" start="18" end="26" type="uint"/>
5099f464c52Smaya    <field name="Surface Array" start="28" end="28" type="bool"/>
5109f464c52Smaya    <field name="Surface Type" start="29" end="31" type="uint">
5119f464c52Smaya      <value name="SURFTYPE_1D" value="0"/>
5129f464c52Smaya      <value name="SURFTYPE_2D" value="1"/>
5139f464c52Smaya      <value name="SURFTYPE_3D" value="2"/>
5149f464c52Smaya      <value name="SURFTYPE_CUBE" value="3"/>
5159f464c52Smaya      <value name="SURFTYPE_BUFFER" value="4"/>
5169f464c52Smaya      <value name="SURFTYPE_STRBUF" value="5"/>
5179f464c52Smaya      <value name="SURFTYPE_NULL" value="7"/>
5189f464c52Smaya    </field>
51901e04c3fSmrg    <field name="Surface QPitch" start="32" end="46" type="uint"/>
5209f464c52Smaya    <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
5219f464c52Smaya    <field name="MOCS" start="56" end="62" type="uint"/>
52201e04c3fSmrg    <field name="Width" start="64" end="77" type="uint"/>
5239f464c52Smaya    <field name="Height" start="80" end="93" type="uint"/>
52401e04c3fSmrg    <field name="Surface Pitch" start="96" end="113" type="uint"/>
5259f464c52Smaya    <field name="Depth" start="117" end="127" type="uint"/>
5269f464c52Smaya    <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
52701e04c3fSmrg    <field name="Number of Multisamples" start="131" end="133" type="uint">
52801e04c3fSmrg      <value name="MULTISAMPLECOUNT_1" value="0"/>
52901e04c3fSmrg      <value name="MULTISAMPLECOUNT_2" value="1"/>
53001e04c3fSmrg      <value name="MULTISAMPLECOUNT_4" value="2"/>
53101e04c3fSmrg      <value name="MULTISAMPLECOUNT_8" value="3"/>
53201e04c3fSmrg    </field>
5339f464c52Smaya    <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
5349f464c52Smaya      <value name="MSFMT_MSS" value="0"/>
5359f464c52Smaya      <value name="MSFMT_DEPTH_STENCIL" value="1"/>
5369f464c52Smaya    </field>
5379f464c52Smaya    <field name="Render Target View Extent" start="135" end="145" type="uint"/>
5389f464c52Smaya    <field name="Minimum Array Element" start="146" end="156" type="uint"/>
5399f464c52Smaya    <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
5409f464c52Smaya      <value name="0DEG" value="0"/>
5419f464c52Smaya      <value name="90DEG" value="1"/>
5429f464c52Smaya      <value name="270DEG" value="3"/>
5439f464c52Smaya    </field>
5449f464c52Smaya    <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
5459f464c52Smaya    <field name="Surface Min LOD" start="164" end="167" type="uint"/>
54601e04c3fSmrg    <field name="Coherency Type" start="174" end="174" type="uint">
54701e04c3fSmrg      <value name="GPU coherent" value="0"/>
54801e04c3fSmrg      <value name="IA coherent" value="1"/>
54901e04c3fSmrg    </field>
5509f464c52Smaya    <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
5519f464c52Smaya    <field name="Y Offset" start="181" end="183" type="uint"/>
5529f464c52Smaya    <field name="X Offset" start="185" end="191" type="uint"/>
55301e04c3fSmrg    <field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
55401e04c3fSmrg      <value name="AUX_NONE" value="0"/>
55501e04c3fSmrg      <value name="AUX_MCS" value="1"/>
55601e04c3fSmrg      <value name="AUX_APPEND" value="2"/>
55701e04c3fSmrg      <value name="AUX_HIZ" value="3"/>
55801e04c3fSmrg    </field>
55901e04c3fSmrg    <field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
5609f464c52Smaya    <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
5619f464c52Smaya    <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
5629f464c52Smaya    <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
5639f464c52Smaya    <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
56401e04c3fSmrg    <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
5659f464c52Smaya    <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
5669f464c52Smaya    <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
5679f464c52Smaya    <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
5689f464c52Smaya    <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
5699f464c52Smaya    <field name="Alpha Clear Color" start="252" end="252" type="Clear Color"/>
5709f464c52Smaya    <field name="Blue Clear Color" start="253" end="253" type="Clear Color"/>
5719f464c52Smaya    <field name="Green Clear Color" start="254" end="254" type="Clear Color"/>
5729f464c52Smaya    <field name="Red Clear Color" start="255" end="255" type="Clear Color"/>
57301e04c3fSmrg    <field name="Surface Base Address" start="256" end="319" type="address"/>
57401e04c3fSmrg    <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
5759f464c52Smaya    <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
5769f464c52Smaya    <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
5779f464c52Smaya    <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
57801e04c3fSmrg  </struct>
57901e04c3fSmrg
58001e04c3fSmrg  <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
58101e04c3fSmrg    <field name="Border Color Float Red" start="0" end="31" type="float"/>
58201e04c3fSmrg    <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
5839f464c52Smaya    <field name="Border Color Float Green" start="32" end="63" type="float"/>
58401e04c3fSmrg    <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
5859f464c52Smaya    <field name="Border Color Float Blue" start="64" end="95" type="float"/>
58601e04c3fSmrg    <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
5879f464c52Smaya    <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
58801e04c3fSmrg    <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
58901e04c3fSmrg  </struct>
59001e04c3fSmrg
59101e04c3fSmrg  <struct name="SAMPLER_STATE" length="4">
5929f464c52Smaya    <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
5939f464c52Smaya      <value name="LEGACY" value="0"/>
5949f464c52Smaya      <value name="EWA Approximation" value="1"/>
59501e04c3fSmrg    </field>
5969f464c52Smaya    <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
5979f464c52Smaya    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
59801e04c3fSmrg      <value name="NEAREST" value="0"/>
59901e04c3fSmrg      <value name="LINEAR" value="1"/>
60001e04c3fSmrg      <value name="ANISOTROPIC" value="2"/>
60101e04c3fSmrg      <value name="MONO" value="6"/>
60201e04c3fSmrg    </field>
6039f464c52Smaya    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
60401e04c3fSmrg      <value name="NEAREST" value="0"/>
60501e04c3fSmrg      <value name="LINEAR" value="1"/>
60601e04c3fSmrg      <value name="ANISOTROPIC" value="2"/>
60701e04c3fSmrg      <value name="MONO" value="6"/>
60801e04c3fSmrg    </field>
6099f464c52Smaya    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
6109f464c52Smaya      <value name="NONE" value="0"/>
6119f464c52Smaya      <value name="NEAREST" value="1"/>
6129f464c52Smaya      <value name="LINEAR" value="3"/>
61301e04c3fSmrg    </field>
6149f464c52Smaya    <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
6159f464c52Smaya    <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
6169f464c52Smaya      <value name="NONE" value="0"/>
6179f464c52Smaya      <value name="OGL" value="2"/>
6189f464c52Smaya    </field>
6199f464c52Smaya    <field name="Texture Border Color Mode" start="29" end="29" type="uint">
6209f464c52Smaya      <value name="DX10/OGL" value="0"/>
6219f464c52Smaya      <value name="DX9" value="1"/>
6229f464c52Smaya    </field>
6239f464c52Smaya    <field name="Sampler Disable" start="31" end="31" type="bool"/>
6249f464c52Smaya    <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
6259f464c52Smaya      <value name="PROGRAMMED" value="0"/>
6269f464c52Smaya      <value name="OVERRIDE" value="1"/>
62701e04c3fSmrg    </field>
6287ec681f3Smrg    <field name="Shadow Function" start="33" end="35" type="uint" prefix="PREFILTEROP">
6297ec681f3Smrg      <value name="ALWAYS" value="0"/>
6307ec681f3Smrg      <value name="NEVER" value="1"/>
6317ec681f3Smrg      <value name="LESS" value="2"/>
6327ec681f3Smrg      <value name="EQUAL" value="3"/>
6337ec681f3Smrg      <value name="LEQUAL" value="4"/>
6347ec681f3Smrg      <value name="GREATER" value="5"/>
6357ec681f3Smrg      <value name="NOTEQUAL" value="6"/>
6367ec681f3Smrg      <value name="GEQUAL" value="7"/>
63701e04c3fSmrg    </field>
6389f464c52Smaya    <field name="ChromaKey Mode" start="36" end="36" type="uint">
6399f464c52Smaya      <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
6409f464c52Smaya      <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
64101e04c3fSmrg    </field>
6429f464c52Smaya    <field name="ChromaKey Index" start="37" end="38" type="uint"/>
6439f464c52Smaya    <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
6449f464c52Smaya    <field name="Max LOD" start="40" end="51" type="u4.8"/>
6459f464c52Smaya    <field name="Min LOD" start="52" end="63" type="u4.8"/>
64601e04c3fSmrg    <field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
64701e04c3fSmrg      <value name="MIPNONE" value="0"/>
64801e04c3fSmrg      <value name="MIPFILTER" value="1"/>
64901e04c3fSmrg    </field>
6509f464c52Smaya    <field name="Border Color Pointer" start="70" end="87" type="offset"/>
6519f464c52Smaya    <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
6529f464c52Smaya    <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
6539f464c52Smaya    <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
6549f464c52Smaya    <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
6559f464c52Smaya    <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
6569f464c52Smaya      <value name="FULL" value="0"/>
6579f464c52Smaya      <value name="HIGH" value="1"/>
6589f464c52Smaya      <value name="MED" value="2"/>
6599f464c52Smaya      <value name="LOW" value="3"/>
6609f464c52Smaya    </field>
6619f464c52Smaya    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
6629f464c52Smaya    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
6639f464c52Smaya    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
6649f464c52Smaya    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
6659f464c52Smaya    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
6669f464c52Smaya    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
66701e04c3fSmrg    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
66801e04c3fSmrg      <value name="RATIO 2:1" value="0"/>
66901e04c3fSmrg      <value name="RATIO 4:1" value="1"/>
67001e04c3fSmrg      <value name="RATIO 6:1" value="2"/>
67101e04c3fSmrg      <value name="RATIO 8:1" value="3"/>
67201e04c3fSmrg      <value name="RATIO 10:1" value="4"/>
67301e04c3fSmrg      <value name="RATIO 12:1" value="5"/>
67401e04c3fSmrg      <value name="RATIO 14:1" value="6"/>
67501e04c3fSmrg      <value name="RATIO 16:1" value="7"/>
67601e04c3fSmrg    </field>
67701e04c3fSmrg  </struct>
67801e04c3fSmrg
67901e04c3fSmrg  <struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
68001e04c3fSmrg    <field name="Table 0X Filter Coefficient[n,0]" start="0" end="7" type="s1.6"/>
6819f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,0]" start="8" end="15" type="s1.6"/>
6829f464c52Smaya    <field name="Table 0X Filter Coefficient[n,1]" start="16" end="23" type="s1.6"/>
6839f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,1]" start="24" end="31" type="s1.6"/>
68401e04c3fSmrg    <field name="Table 0X Filter Coefficient[n,2]" start="32" end="39" type="s1.6"/>
6859f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,2]" start="40" end="47" type="s1.6"/>
6869f464c52Smaya    <field name="Table 0X Filter Coefficient[n,3]" start="48" end="55" type="s1.6"/>
6879f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,3]" start="56" end="63" type="s1.6"/>
68801e04c3fSmrg    <field name="Table 0X Filter Coefficient[n,4]" start="64" end="71" type="s1.6"/>
6899f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,4]" start="72" end="79" type="s1.6"/>
6909f464c52Smaya    <field name="Table 0X Filter Coefficient[n,5]" start="80" end="87" type="s1.6"/>
6919f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,5]" start="88" end="95" type="s1.6"/>
69201e04c3fSmrg    <field name="Table 0X Filter Coefficient[n,6]" start="96" end="103" type="s1.6"/>
6939f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,6]" start="104" end="111" type="s1.6"/>
6949f464c52Smaya    <field name="Table 0X Filter Coefficient[n,7]" start="112" end="119" type="s1.6"/>
6959f464c52Smaya    <field name="Table 0Y Filter Coefficient[n,7]" start="120" end="127" type="s1.6"/>
69601e04c3fSmrg    <field name="Table 1X Filter Coefficient[n,2]" start="144" end="151" type="s1.6"/>
6979f464c52Smaya    <field name="Table 1X Filter Coefficient[n,3]" start="152" end="159" type="s1.6"/>
69801e04c3fSmrg    <field name="Table 1X Filter Coefficient[n,4]" start="160" end="167" type="s1.6"/>
6999f464c52Smaya    <field name="Table 1X Filter Coefficient[n,5]" start="168" end="175" type="s1.6"/>
70001e04c3fSmrg    <field name="Table 1Y Filter Coefficient[n,2]" start="208" end="215" type="s1.6"/>
7019f464c52Smaya    <field name="Table 1Y Filter Coefficient[n,3]" start="216" end="223" type="s1.6"/>
70201e04c3fSmrg    <field name="Table 1Y Filter Coefficient[n,4]" start="224" end="231" type="s1.6"/>
7039f464c52Smaya    <field name="Table 1Y Filter Coefficient[n,5]" start="232" end="239" type="s1.6"/>
70401e04c3fSmrg  </struct>
70501e04c3fSmrg
7069f464c52Smaya  <struct name="SCISSOR_RECT" length="2">
7079f464c52Smaya    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
7089f464c52Smaya    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
7099f464c52Smaya    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
7109f464c52Smaya    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
7119f464c52Smaya  </struct>
7129f464c52Smaya
7139f464c52Smaya  <struct name="SF_CLIP_VIEWPORT" length="16">
7149f464c52Smaya    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
7159f464c52Smaya    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
7169f464c52Smaya    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
7179f464c52Smaya    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
7189f464c52Smaya    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
7199f464c52Smaya    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
7209f464c52Smaya    <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
7219f464c52Smaya    <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
7229f464c52Smaya    <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
7239f464c52Smaya    <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
7249f464c52Smaya    <field name="X Min ViewPort" start="384" end="415" type="float"/>
7259f464c52Smaya    <field name="X Max ViewPort" start="416" end="447" type="float"/>
7269f464c52Smaya    <field name="Y Min ViewPort" start="448" end="479" type="float"/>
7279f464c52Smaya    <field name="Y Max ViewPort" start="480" end="511" type="float"/>
7289f464c52Smaya  </struct>
7299f464c52Smaya
7309f464c52Smaya  <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
7319f464c52Smaya    <field name="Source Attribute" start="0" end="4" type="uint"/>
7329f464c52Smaya    <field name="Swizzle Select" start="6" end="7" type="uint">
7339f464c52Smaya      <value name="INPUTATTR" value="0"/>
7349f464c52Smaya      <value name="INPUTATTR_FACING" value="1"/>
7359f464c52Smaya      <value name="INPUTATTR_W" value="2"/>
7369f464c52Smaya      <value name="INPUTATTR_FACING_W" value="3"/>
73701e04c3fSmrg    </field>
7389f464c52Smaya    <field name="Constant Source" start="9" end="10" type="uint">
7399f464c52Smaya      <value name="CONST_0000" value="0"/>
7409f464c52Smaya      <value name="CONST_0001_FLOAT" value="1"/>
7419f464c52Smaya      <value name="CONST_1111_FLOAT" value="2"/>
7429f464c52Smaya      <value name="PRIM_ID" value="3"/>
74301e04c3fSmrg    </field>
7449f464c52Smaya    <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
7459f464c52Smaya    <field name="Component Override X" start="12" end="12" type="bool"/>
7469f464c52Smaya    <field name="Component Override Y" start="13" end="13" type="bool"/>
7479f464c52Smaya    <field name="Component Override Z" start="14" end="14" type="bool"/>
7489f464c52Smaya    <field name="Component Override W" start="15" end="15" type="bool"/>
74901e04c3fSmrg  </struct>
75001e04c3fSmrg
7519f464c52Smaya  <struct name="SO_DECL" length="1">
7529f464c52Smaya    <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
7539f464c52Smaya    <field name="Register Index" start="4" end="9" type="uint"/>
7547ec681f3Smrg    <field name="Hole Flag" start="11" end="11" type="bool"/>
7559f464c52Smaya    <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
7569f464c52Smaya  </struct>
7579f464c52Smaya
7589f464c52Smaya  <struct name="SO_DECL_ENTRY" length="2">
7599f464c52Smaya    <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
7609f464c52Smaya    <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
7619f464c52Smaya    <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
7629f464c52Smaya    <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
7639f464c52Smaya  </struct>
7649f464c52Smaya
7659f464c52Smaya  <struct name="VERTEX_BUFFER_STATE" length="4">
7669f464c52Smaya    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
7679f464c52Smaya    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
7689f464c52Smaya    <field name="Address Modify Enable" start="14" end="14" type="bool"/>
7699f464c52Smaya    <field name="MOCS" start="16" end="22" type="uint"/>
7709f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
7719f464c52Smaya    <field name="Buffer Starting Address" start="32" end="95" type="address"/>
7729f464c52Smaya    <field name="Buffer Size" start="96" end="127" type="uint"/>
7739f464c52Smaya  </struct>
7749f464c52Smaya
7759f464c52Smaya  <struct name="VERTEX_ELEMENT_STATE" length="2">
7769f464c52Smaya    <field name="Source Element Offset" start="0" end="11" type="uint"/>
7779f464c52Smaya    <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
7789f464c52Smaya    <field name="Source Element Format" start="16" end="24" type="uint"/>
7799f464c52Smaya    <field name="Valid" start="25" end="25" type="bool"/>
7809f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
7819f464c52Smaya    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
7829f464c52Smaya    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
7839f464c52Smaya    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
7849f464c52Smaya    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
7859f464c52Smaya  </struct>
7869f464c52Smaya
7879f464c52Smaya  <instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
78801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
7899f464c52Smaya    <field name="Predicate Enable" start="8" end="8" type="bool"/>
7909f464c52Smaya    <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
7919f464c52Smaya    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
7929f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
7939f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
7949f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7959f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
7969f464c52Smaya    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
79701e04c3fSmrg    <field name="Vertex Access Type" start="40" end="40" type="uint">
79801e04c3fSmrg      <value name="SEQUENTIAL" value="0"/>
79901e04c3fSmrg      <value name="RANDOM" value="1"/>
80001e04c3fSmrg    </field>
8019f464c52Smaya    <field name="End Offset Enable" start="41" end="41" type="bool"/>
80201e04c3fSmrg    <field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
80301e04c3fSmrg    <field name="Start Vertex Location" start="96" end="127" type="uint"/>
80401e04c3fSmrg    <field name="Instance Count" start="128" end="159" type="uint"/>
80501e04c3fSmrg    <field name="Start Instance Location" start="160" end="191" type="uint"/>
80601e04c3fSmrg    <field name="Base Vertex Location" start="192" end="223" type="int"/>
80701e04c3fSmrg  </instruction>
80801e04c3fSmrg
8099f464c52Smaya  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
81001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
8119f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
8129f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8139f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8149f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
81501e04c3fSmrg    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
8169f464c52Smaya    <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
8179f464c52Smaya    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
8189f464c52Smaya    <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
81901e04c3fSmrg    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
8209f464c52Smaya    <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
8219f464c52Smaya    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
8229f464c52Smaya    <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
82301e04c3fSmrg  </instruction>
82401e04c3fSmrg
8259f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
82601e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
8279f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
8289f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8299f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8309f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
83101e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
83201e04c3fSmrg      <value name="All Cores" value="3"/>
83301e04c3fSmrg      <value name="Core 1" value="2"/>
83401e04c3fSmrg      <value name="Core 0" value="1"/>
83501e04c3fSmrg    </field>
8369f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
83701e04c3fSmrg    <group count="0" start="64" size="32">
83801e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
83901e04c3fSmrg    </group>
84001e04c3fSmrg  </instruction>
84101e04c3fSmrg
8429f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
84301e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
8449f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
8459f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8469f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8479f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
84801e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
84901e04c3fSmrg      <value name="All Cores" value="3"/>
85001e04c3fSmrg      <value name="Core 1" value="2"/>
85101e04c3fSmrg      <value name="Core 0" value="1"/>
85201e04c3fSmrg    </field>
8539f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
85401e04c3fSmrg    <group count="0" start="64" size="32">
85501e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
85601e04c3fSmrg    </group>
85701e04c3fSmrg  </instruction>
85801e04c3fSmrg
8599f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
86001e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
8619f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
8629f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8639f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8649f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
86501e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
86601e04c3fSmrg      <value name="All Cores" value="3"/>
86701e04c3fSmrg      <value name="Core 1" value="2"/>
86801e04c3fSmrg      <value name="Core 0" value="1"/>
86901e04c3fSmrg    </field>
8709f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
87101e04c3fSmrg    <group count="0" start="64" size="32">
87201e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
87301e04c3fSmrg    </group>
87401e04c3fSmrg  </instruction>
87501e04c3fSmrg
8769f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
87701e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
8789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
8799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
88201e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
88301e04c3fSmrg      <value name="All Cores" value="3"/>
88401e04c3fSmrg      <value name="Core 1" value="2"/>
88501e04c3fSmrg      <value name="Core 0" value="1"/>
88601e04c3fSmrg    </field>
8879f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
88801e04c3fSmrg    <group count="0" start="64" size="32">
88901e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
89001e04c3fSmrg    </group>
89101e04c3fSmrg  </instruction>
89201e04c3fSmrg
8939f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
89401e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
8959f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
8969f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8979f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8989f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
89901e04c3fSmrg    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
90001e04c3fSmrg      <value name="All Cores" value="3"/>
90101e04c3fSmrg      <value name="Core 1" value="2"/>
90201e04c3fSmrg      <value name="Core 0" value="1"/>
90301e04c3fSmrg    </field>
9049f464c52Smaya    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
90501e04c3fSmrg    <group count="0" start="64" size="32">
90601e04c3fSmrg      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
90701e04c3fSmrg    </group>
90801e04c3fSmrg  </instruction>
90901e04c3fSmrg
9109f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
91101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9129f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
9139f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9149f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
9169f464c52Smaya    <field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
91701e04c3fSmrg  </instruction>
91801e04c3fSmrg
9199f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
92001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9219f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
9229f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9239f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9249f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
92501e04c3fSmrg    <field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
92601e04c3fSmrg  </instruction>
92701e04c3fSmrg
9289f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
92901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9309f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
9319f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9329f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9339f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
93401e04c3fSmrg    <field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
93501e04c3fSmrg  </instruction>
93601e04c3fSmrg
9379f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
93801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9399f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
9409f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9419f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9429f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
94301e04c3fSmrg    <field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
94401e04c3fSmrg  </instruction>
94501e04c3fSmrg
9469f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
94701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9489f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
9499f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9509f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
95201e04c3fSmrg    <field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
95301e04c3fSmrg  </instruction>
95401e04c3fSmrg
9559f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4" engine="render">
95601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
9579f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
9589f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
9599f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
9619f464c52Smaya    <field name="MOCS" start="32" end="38" type="uint"/>
9627ec681f3Smrg    <field name="Binding Table Pool Enable" start="43" end="43" type="bool"/>
9639f464c52Smaya    <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
96401e04c3fSmrg    <field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
96501e04c3fSmrg      <value name="No Valid Data" value="0"/>
96601e04c3fSmrg    </field>
96701e04c3fSmrg  </instruction>
96801e04c3fSmrg
9699f464c52Smaya  <instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
97001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9719f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
9729f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9739f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
97501e04c3fSmrg    <field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
9769f464c52Smaya    <field name="Blend State Pointer" start="38" end="63" type="offset"/>
97701e04c3fSmrg  </instruction>
97801e04c3fSmrg
9799f464c52Smaya  <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
98001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9819f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
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="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
9869f464c52Smaya    <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
98701e04c3fSmrg  </instruction>
98801e04c3fSmrg
9899f464c52Smaya  <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
99001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
9919f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
9929f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
9939f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9949f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
99501e04c3fSmrg    <field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
99601e04c3fSmrg    <field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
99701e04c3fSmrg    <field name="ChromaKey High Value" start="96" end="127" type="uint"/>
99801e04c3fSmrg  </instruction>
99901e04c3fSmrg
10009f464c52Smaya  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
100101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
10029f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
10039f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10049f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10059f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
100601e04c3fSmrg    <field name="Depth Clear Value" start="32" end="63" type="float"/>
100701e04c3fSmrg    <field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
100801e04c3fSmrg  </instruction>
100901e04c3fSmrg
10109f464c52Smaya  <instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
101101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
10129f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
10139f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10149f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
10169f464c52Smaya    <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
10179f464c52Smaya    <field name="Statistics Enable" start="42" end="42" type="bool"/>
10189f464c52Smaya    <field name="Force Clip Mode" start="48" end="48" type="bool"/>
10199f464c52Smaya    <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
10209f464c52Smaya    <field name="Early Cull Enable" start="50" end="50" type="bool"/>
102101e04c3fSmrg    <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
102201e04c3fSmrg      <value name="8 Bit" value="0"/>
102301e04c3fSmrg      <value name="4 Bit" value="1"/>
102401e04c3fSmrg    </field>
10259f464c52Smaya    <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
10269f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
10279f464c52Smaya    <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
10289f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
10299f464c52Smaya    <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
10309f464c52Smaya    <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
103101e04c3fSmrg    <field name="Clip Mode" start="77" end="79" type="uint">
103201e04c3fSmrg      <value name="CLIPMODE_NORMAL" value="0"/>
103301e04c3fSmrg      <value name="CLIPMODE_REJECT_ALL" value="3"/>
103401e04c3fSmrg      <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
103501e04c3fSmrg    </field>
10369f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
10379f464c52Smaya    <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
10389f464c52Smaya    <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
10399f464c52Smaya    <field name="API Mode" start="94" end="94" type="uint">
10409f464c52Smaya      <value name="APIMODE_OGL" value="0"/>
10419f464c52Smaya      <value name="APIMODE_D3D" value="1"/>
10429f464c52Smaya    </field>
10439f464c52Smaya    <field name="Clip Enable" start="95" end="95" type="bool"/>
104401e04c3fSmrg    <field name="Maximum VP Index" start="96" end="99" type="uint"/>
10459f464c52Smaya    <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
10469f464c52Smaya    <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
10479f464c52Smaya    <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
104801e04c3fSmrg  </instruction>
104901e04c3fSmrg
10509f464c52Smaya  <instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
105101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
10529f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
10539f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
10549f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10559f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10569f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
105701e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
105801e04c3fSmrg  </instruction>
105901e04c3fSmrg
10609f464c52Smaya  <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
106101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
10629f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
10639f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
10649f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10659f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10669f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
106701e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
106801e04c3fSmrg  </instruction>
106901e04c3fSmrg
10709f464c52Smaya  <instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
107101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
10729f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
10739f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
10749f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10759f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10769f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
107701e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
107801e04c3fSmrg  </instruction>
107901e04c3fSmrg
10809f464c52Smaya  <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
108101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
10829f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
10839f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
10849f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10859f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10869f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
108701e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
108801e04c3fSmrg  </instruction>
108901e04c3fSmrg
10909f464c52Smaya  <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
109101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
10929f464c52Smaya    <field name="MOCS" start="8" end="14" type="uint"/>
10939f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
10949f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10959f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10969f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
109701e04c3fSmrg    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
109801e04c3fSmrg  </instruction>
109901e04c3fSmrg
11009f464c52Smaya  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
110101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
11029f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
11039f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
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"/>
11069f464c52Smaya    <field name="Surface Pitch" start="32" end="49" type="uint"/>
11079f464c52Smaya    <field name="Surface Format" start="50" end="52" type="uint">
11089f464c52Smaya      <value name="D32_FLOAT" value="1"/>
11099f464c52Smaya      <value name="D24_UNORM_X8_UINT" value="3"/>
11109f464c52Smaya      <value name="D16_UNORM" value="5"/>
11119f464c52Smaya    </field>
11129f464c52Smaya    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
11139f464c52Smaya    <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
11149f464c52Smaya    <field name="Depth Write Enable" start="60" end="60" type="bool"/>
111501e04c3fSmrg    <field name="Surface Type" start="61" end="63" type="uint">
111601e04c3fSmrg      <value name="SURFTYPE_1D" value="0"/>
111701e04c3fSmrg      <value name="SURFTYPE_2D" value="1"/>
111801e04c3fSmrg      <value name="SURFTYPE_3D" value="2"/>
111901e04c3fSmrg      <value name="SURFTYPE_CUBE" value="3"/>
112001e04c3fSmrg      <value name="SURFTYPE_NULL" value="7"/>
112101e04c3fSmrg    </field>
112201e04c3fSmrg    <field name="Surface Base Address" start="64" end="127" type="address"/>
112301e04c3fSmrg    <field name="LOD" start="128" end="131" type="uint"/>
11249f464c52Smaya    <field name="Width" start="132" end="145" type="uint"/>
11259f464c52Smaya    <field name="Height" start="146" end="159" type="uint"/>
11269f464c52Smaya    <field name="MOCS" start="160" end="166" type="uint"/>
112701e04c3fSmrg    <field name="Minimum Array Element" start="170" end="180" type="uint"/>
11289f464c52Smaya    <field name="Depth" start="181" end="191" type="uint"/>
112901e04c3fSmrg    <field name="Surface QPitch" start="224" end="238" type="uint"/>
11309f464c52Smaya    <field name="Render Target View Extent" start="245" end="255" type="uint"/>
113101e04c3fSmrg  </instruction>
113201e04c3fSmrg
11339f464c52Smaya  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
11349f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
113501e04c3fSmrg    <field name="Core Mode Select" start="14" end="15" type="uint">
113601e04c3fSmrg      <value name="Legacy" value="0"/>
113701e04c3fSmrg      <value name="Core 0 Enabled" value="1"/>
113801e04c3fSmrg      <value name="Core 1 Enabled" value="2"/>
113901e04c3fSmrg    </field>
11409f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
11419f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
11429f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
114401e04c3fSmrg    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
11459f464c52Smaya    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
114601e04c3fSmrg    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
11479f464c52Smaya    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
114801e04c3fSmrg    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
11499f464c52Smaya    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
115001e04c3fSmrg  </instruction>
115101e04c3fSmrg
11529f464c52Smaya  <instruction name="3DSTATE_DS" bias="2" length="9" engine="render">
115301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
11549f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
11559f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11569f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11579f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
115801e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
11599f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
11609f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
11619f464c52Smaya    <field name="Accesses UAV" start="110" end="110" type="bool"/>
11629f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
11639f464c52Smaya      <value name="IEEE-754" value="0"/>
11649f464c52Smaya      <value name="Alternate" value="1"/>
11659f464c52Smaya    </field>
11669f464c52Smaya    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
11679f464c52Smaya      <value name="High" value="1"/>
11689f464c52Smaya    </field>
11699f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
117001e04c3fSmrg    <field name="Sampler Count" start="123" end="125" type="uint">
117101e04c3fSmrg      <value name="No Samplers" value="0"/>
117201e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
117301e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
117401e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
117501e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
117601e04c3fSmrg    </field>
11779f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
11789f464c52Smaya    <field name="Single Domain Point Dispatch" start="127" end="127" type="uint"/>
117901e04c3fSmrg    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
11809f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
118101e04c3fSmrg    <field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
11829f464c52Smaya    <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
11839f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
11849f464c52Smaya    <field name="Enable" start="224" end="224" type="bool"/>
11859f464c52Smaya    <field name="Cache Disable" start="225" end="225" type="bool"/>
11869f464c52Smaya    <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
118701e04c3fSmrg    <field name="Dispatch Mode" start="227" end="227" type="uint" prefix="DISPATCH_MODE">
118801e04c3fSmrg      <value name="SIMD4X2" value="0"/>
118901e04c3fSmrg      <value name="SIMD8_SINGLE_PATCH" value="1"/>
119001e04c3fSmrg    </field>
11919f464c52Smaya    <field name="Statistics Enable" start="234" end="234" type="bool"/>
11929f464c52Smaya    <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
119301e04c3fSmrg    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
11949f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
11959f464c52Smaya    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
11969f464c52Smaya    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
119701e04c3fSmrg  </instruction>
119801e04c3fSmrg
11999f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
120001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
12019f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
12029f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12039f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
120501e04c3fSmrg    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
12069f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
120701e04c3fSmrg    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
12089f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
120901e04c3fSmrg    <group count="0" start="96" size="32">
121001e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
121101e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
121201e04c3fSmrg    </group>
121301e04c3fSmrg  </instruction>
121401e04c3fSmrg
12159f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
121601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
12179f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
12189f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
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"/>
122101e04c3fSmrg    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
12229f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
122301e04c3fSmrg    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
12249f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
122501e04c3fSmrg    <group count="0" start="96" size="32">
122601e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
122701e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
122801e04c3fSmrg    </group>
122901e04c3fSmrg  </instruction>
123001e04c3fSmrg
12319f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
123201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
12339f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
12349f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12359f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12369f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
123701e04c3fSmrg    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
12389f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
123901e04c3fSmrg    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
12409f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
124101e04c3fSmrg    <group count="0" start="96" size="32">
124201e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
124301e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
124401e04c3fSmrg    </group>
124501e04c3fSmrg  </instruction>
124601e04c3fSmrg
12479f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
124801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
12499f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
12509f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12519f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
125301e04c3fSmrg    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
12549f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
125501e04c3fSmrg    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
12569f464c52Smaya    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
12579f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
125801e04c3fSmrg    <group count="0" start="96" size="32">
125901e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
126001e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
126101e04c3fSmrg    </group>
126201e04c3fSmrg  </instruction>
126301e04c3fSmrg
12649f464c52Smaya  <instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
126501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
12669f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
12679f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12689f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12699f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
127001e04c3fSmrg    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
12719f464c52Smaya    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
127201e04c3fSmrg    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
12739f464c52Smaya    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
12749f464c52Smaya    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
127501e04c3fSmrg    <group count="0" start="96" size="32">
127601e04c3fSmrg      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
127701e04c3fSmrg      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
127801e04c3fSmrg    </group>
127901e04c3fSmrg  </instruction>
128001e04c3fSmrg
12819f464c52Smaya  <instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4" engine="render">
128201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
12839f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
12849f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
12859f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12869f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
12879f464c52Smaya    <field name="MOCS" start="32" end="38" type="uint"/>
128801e04c3fSmrg    <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
12899f464c52Smaya    <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
129001e04c3fSmrg    <field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
129101e04c3fSmrg  </instruction>
129201e04c3fSmrg
12939f464c52Smaya  <instruction name="3DSTATE_GS" bias="2" length="10" engine="render">
129401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="8"/>
12959f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
12969f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
12979f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
12989f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
129901e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
13009f464c52Smaya    <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
13019f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
13029f464c52Smaya    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
13039f464c52Smaya    <field name="Accesses UAV" start="108" end="108" type="bool"/>
13049f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
13059f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
13069f464c52Smaya      <value name="IEEE-754" value="0"/>
13079f464c52Smaya      <value name="Alternate" value="1"/>
13089f464c52Smaya    </field>
13099f464c52Smaya    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
13109f464c52Smaya      <value name="High" value="1"/>
13119f464c52Smaya    </field>
13129f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
131301e04c3fSmrg    <field name="Sampler Count" start="123" end="125" type="uint">
131401e04c3fSmrg      <value name="No Samplers" value="0"/>
131501e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
131601e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
131701e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
131801e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
131901e04c3fSmrg    </field>
13209f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
13219f464c52Smaya    <field name="Single Program Flow" start="127" end="127" type="bool"/>
132201e04c3fSmrg    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
13239f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
132401e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
13259f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
13269f464c52Smaya    <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
13279f464c52Smaya    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
13289f464c52Smaya    <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
13299f464c52Smaya    <field name="Output Vertex Size" start="215" end="220" type="uint"/>
13309f464c52Smaya    <field name="Enable" start="224" end="224" type="bool"/>
13319f464c52Smaya    <field name="Discard Adjacency" start="225" end="225" type="bool"/>
13329f464c52Smaya    <field name="Reorder Mode" start="226" end="226" type="uint">
13339f464c52Smaya      <value name="LEADING" value="0"/>
13349f464c52Smaya      <value name="TRAILING" value="1"/>
13359f464c52Smaya    </field>
13369f464c52Smaya    <field name="Hint" start="227" end="227" type="uint"/>
13379f464c52Smaya    <field name="Include Primitive ID" start="228" end="228" type="bool"/>
13389f464c52Smaya    <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
13399f464c52Smaya    <field name="Statistics Enable" start="234" end="234" type="bool"/>
134001e04c3fSmrg    <field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
134101e04c3fSmrg      <value name="Dual Instance" value="1"/>
134201e04c3fSmrg      <value name="Dual Object" value="2"/>
134301e04c3fSmrg      <value name="SIMD8" value="3"/>
134401e04c3fSmrg    </field>
13459f464c52Smaya    <field name="Default Stream Id" start="237" end="238" type="uint"/>
13469f464c52Smaya    <field name="Instance Control" start="239" end="243" type="uint"/>
13479f464c52Smaya    <field name="Control Data Header Size" start="244" end="247" type="uint"/>
13489f464c52Smaya    <field name="Maximum Number of Threads" start="248" end="255" type="uint"/>
13499f464c52Smaya    <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
13509f464c52Smaya    <field name="Static Output" start="286" end="286" type="bool"/>
135101e04c3fSmrg    <field name="Control Data Format" start="287" end="287" type="uint">
135201e04c3fSmrg      <value name="CUT" value="0"/>
135301e04c3fSmrg      <value name="SID" value="1"/>
135401e04c3fSmrg    </field>
135501e04c3fSmrg    <field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
13569f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
13579f464c52Smaya    <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
13589f464c52Smaya    <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
135901e04c3fSmrg  </instruction>
136001e04c3fSmrg
13619f464c52Smaya  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5" engine="render">
136201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
13639f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
13649f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13659f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13669f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
136701e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
13689f464c52Smaya    <field name="MOCS" start="57" end="63" type="uint"/>
136901e04c3fSmrg    <field name="Surface Base Address" start="64" end="127" type="address"/>
137001e04c3fSmrg    <field name="Surface QPitch" start="128" end="142" type="uint"/>
137101e04c3fSmrg  </instruction>
137201e04c3fSmrg
13739f464c52Smaya  <instruction name="3DSTATE_HS" bias="2" length="9" engine="render">
137401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
13759f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
13769f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
13779f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
13789f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
13799f464c52Smaya    <field name="Software Exception Enable" start="44" end="44" type="bool"/>
13809f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
13819f464c52Smaya    <field name="Floating Point Mode" start="48" end="48" type="uint">
13829f464c52Smaya      <value name="IEEE-754" value="0"/>
13839f464c52Smaya      <value name="alternate" value="1"/>
13849f464c52Smaya    </field>
13859f464c52Smaya    <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
13869f464c52Smaya      <value name="High" value="1"/>
13879f464c52Smaya    </field>
13889f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
138901e04c3fSmrg    <field name="Sampler Count" start="59" end="61" type="uint">
139001e04c3fSmrg      <value name="No Samplers" value="0"/>
139101e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
139201e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
139301e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
139401e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
139501e04c3fSmrg    </field>
139601e04c3fSmrg    <field name="Instance Count" start="64" end="67" type="uint"/>
13979f464c52Smaya    <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
13989f464c52Smaya    <field name="Statistics Enable" start="93" end="93" type="bool"/>
13999f464c52Smaya    <field name="Enable" start="95" end="95" type="bool"/>
140001e04c3fSmrg    <field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
140101e04c3fSmrg    <field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
14029f464c52Smaya    <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
140301e04c3fSmrg    <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
14049f464c52Smaya    <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
14059f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
14069f464c52Smaya    <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
14079f464c52Smaya    <field name="Accesses UAV" start="249" end="249" type="bool"/>
14089f464c52Smaya    <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
14099f464c52Smaya    <field name="Single Program Flow" start="251" end="251" type="bool"/>
141001e04c3fSmrg  </instruction>
141101e04c3fSmrg
14129f464c52Smaya  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5" engine="render">
141301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
14149f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
14159f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14169f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14179f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
14189f464c52Smaya    <field name="MOCS" start="32" end="38" type="uint"/>
141901e04c3fSmrg    <field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
142001e04c3fSmrg      <value name="BYTE" value="0"/>
142101e04c3fSmrg      <value name="WORD" value="1"/>
142201e04c3fSmrg      <value name="DWORD" value="2"/>
142301e04c3fSmrg    </field>
142401e04c3fSmrg    <field name="Buffer Starting Address" start="64" end="127" type="address"/>
142501e04c3fSmrg    <field name="Buffer Size" start="128" end="159" type="uint"/>
142601e04c3fSmrg  </instruction>
142701e04c3fSmrg
14289f464c52Smaya  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
142901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
14309f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
14319f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
14329f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14339f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
143401e04c3fSmrg    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
14359f464c52Smaya    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
14369f464c52Smaya    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
14379f464c52Smaya    <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
143801e04c3fSmrg    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
14399f464c52Smaya    <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
144001e04c3fSmrg  </instruction>
144101e04c3fSmrg
14429f464c52Smaya  <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
144301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
14449f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
14459f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
14469f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14479f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
144801e04c3fSmrg    <field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
14499f464c52Smaya    <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
145001e04c3fSmrg  </instruction>
145101e04c3fSmrg
14529f464c52Smaya  <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2" engine="render">
145301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
14549f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
14559f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
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"/>
14589f464c52Smaya    <field name="Number of Multisamples" start="33" end="35" type="uint"/>
145901e04c3fSmrg    <field name="Pixel Location" start="36" end="36" type="uint">
146001e04c3fSmrg      <value name="CENTER" value="0"/>
146101e04c3fSmrg      <value name="UL_CORNER" value="1"/>
146201e04c3fSmrg    </field>
14639f464c52Smaya    <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
146401e04c3fSmrg  </instruction>
146501e04c3fSmrg
14669f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
146701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
14689f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
14699f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
14709f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
147201e04c3fSmrg    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
14739f464c52Smaya    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
147401e04c3fSmrg  </instruction>
147501e04c3fSmrg
14769f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
147701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
14789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
14799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
14809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
148201e04c3fSmrg    <group count="32" start="32" size="32">
148301e04c3fSmrg      <field name="Pattern Row" start="0" end="31" type="uint"/>
148401e04c3fSmrg    </group>
148501e04c3fSmrg  </instruction>
148601e04c3fSmrg
14879f464c52Smaya  <instruction name="3DSTATE_PS" bias="2" length="12" engine="render">
148801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="10"/>
14899f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
14909f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
14919f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
14929f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
149301e04c3fSmrg    <field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
14949f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
14959f464c52Smaya    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
14969f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
14979f464c52Smaya    <field name="Rounding Mode" start="110" end="111" type="uint">
14989f464c52Smaya      <value name="RTNE" value="0"/>
14999f464c52Smaya      <value name="RU" value="1"/>
15009f464c52Smaya      <value name="RD" value="2"/>
15019f464c52Smaya      <value name="RTZ" value="3"/>
150201e04c3fSmrg    </field>
15039f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
15049f464c52Smaya      <value name="IEEE-754" value="0"/>
15059f464c52Smaya      <value name="Alternate" value="1"/>
150601e04c3fSmrg    </field>
150701e04c3fSmrg    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
150801e04c3fSmrg      <value name="High" value="1"/>
150901e04c3fSmrg    </field>
15109f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
15119f464c52Smaya    <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
15129f464c52Smaya      <value name="Flushed to Zero" value="0"/>
15139f464c52Smaya      <value name="Retained" value="1"/>
151401e04c3fSmrg    </field>
15159f464c52Smaya    <field name="Sampler Count" start="123" end="125" type="uint">
15169f464c52Smaya      <value name="No Samplers" value="0"/>
15179f464c52Smaya      <value name="1-4 Samplers" value="1"/>
15189f464c52Smaya      <value name="5-8 Samplers" value="2"/>
15199f464c52Smaya      <value name="9-12 Samplers" value="3"/>
15209f464c52Smaya      <value name="13-16 Samplers" value="4"/>
152101e04c3fSmrg    </field>
15229f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
15239f464c52Smaya    <field name="Single Program Flow" start="127" end="127" type="bool"/>
152401e04c3fSmrg    <field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
15259f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
15269f464c52Smaya    <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
15279f464c52Smaya    <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
15289f464c52Smaya    <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
152901e04c3fSmrg    <field name="Position XY Offset Select" start="195" end="196" type="uint">
153001e04c3fSmrg      <value name="POSOFFSET_NONE" value="0"/>
153101e04c3fSmrg      <value name="POSOFFSET_CENTROID" value="2"/>
153201e04c3fSmrg      <value name="POSOFFSET_SAMPLE" value="3"/>
153301e04c3fSmrg    </field>
15349f464c52Smaya    <field name="Render Target Resolve Enable" start="198" end="198" type="bool"/>
15359f464c52Smaya    <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
15369f464c52Smaya    <field name="Push Constant Enable" start="203" end="203" type="bool"/>
15379f464c52Smaya    <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
153801e04c3fSmrg    <field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
15399f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
15409f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
154101e04c3fSmrg    <field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
154201e04c3fSmrg    <field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
154301e04c3fSmrg  </instruction>
154401e04c3fSmrg
15459f464c52Smaya  <instruction name="3DSTATE_PS_BLEND" bias="2" length="2" engine="render">
154601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
15479f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
15489f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15499f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
155101e04c3fSmrg    <field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
15529f464c52Smaya    <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
15539f464c52Smaya    <field name="Destination Blend Factor" start="41" end="45" type="uint"/>
15549f464c52Smaya    <field name="Source Blend Factor" start="46" end="50" type="uint"/>
15559f464c52Smaya    <field name="Destination Alpha Blend Factor" start="51" end="55" type="uint"/>
15569f464c52Smaya    <field name="Source Alpha Blend Factor" start="56" end="60" type="uint"/>
15579f464c52Smaya    <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
15589f464c52Smaya    <field name="Has Writeable RT" start="62" end="62" type="bool"/>
15599f464c52Smaya    <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
156001e04c3fSmrg  </instruction>
156101e04c3fSmrg
15629f464c52Smaya  <instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render">
156301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
15649f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
15659f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
15669f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15679f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15689f464c52Smaya    <field name="Pixel Shader Uses Input Coverage Mask" start="33" end="33" type="bool"/>
15699f464c52Smaya    <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
15709f464c52Smaya    <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
15719f464c52Smaya    <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
15729f464c52Smaya    <field name="Attribute Enable" start="40" end="40" type="bool"/>
15739f464c52Smaya    <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
15749f464c52Smaya    <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
15759f464c52Smaya    <field name="Force Computed Depth" start="57" end="57" type="bool"/>
157601e04c3fSmrg    <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
157701e04c3fSmrg      <value name="PSCDEPTH_OFF" value="0"/>
157801e04c3fSmrg      <value name="PSCDEPTH_ON" value="1"/>
157901e04c3fSmrg      <value name="PSCDEPTH_ON_GE" value="2"/>
158001e04c3fSmrg      <value name="PSCDEPTH_ON_LE" value="3"/>
158101e04c3fSmrg    </field>
15829f464c52Smaya    <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
15839f464c52Smaya    <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
15849f464c52Smaya    <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
15859f464c52Smaya    <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
158601e04c3fSmrg  </instruction>
158701e04c3fSmrg
15889f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render">
158901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
15909f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
15919f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
15929f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
15939f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
159401e04c3fSmrg    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
15959f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
159601e04c3fSmrg  </instruction>
159701e04c3fSmrg
15989f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render">
159901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
16009f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
16019f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
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    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
16059f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
160601e04c3fSmrg  </instruction>
160701e04c3fSmrg
16089f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render">
160901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
16109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
16119f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
16129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
161401e04c3fSmrg    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
16159f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
161601e04c3fSmrg  </instruction>
161701e04c3fSmrg
16189f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render">
161901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
16209f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
16219f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
16229f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16239f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
162401e04c3fSmrg    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
16259f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
162601e04c3fSmrg  </instruction>
162701e04c3fSmrg
16289f464c52Smaya  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" 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="18"/>
16319f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
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="Constant Buffer Size" start="32" end="37" type="uint"/>
16359f464c52Smaya    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
163601e04c3fSmrg  </instruction>
163701e04c3fSmrg
16389f464c52Smaya  <instruction name="3DSTATE_RASTER" bias="2" length="5" engine="render">
163901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
16409f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
16419f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
16429f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
16439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
16449f464c52Smaya    <field name="Viewport Z Clip Test Enable" start="32" end="32" type="bool"/>
16459f464c52Smaya    <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
16469f464c52Smaya    <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
16479f464c52Smaya    <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
16489f464c52Smaya      <value name="SOLID" value="0"/>
16499f464c52Smaya      <value name="WIREFRAME" value="1"/>
16509f464c52Smaya      <value name="POINT" value="2"/>
165101e04c3fSmrg    </field>
16529f464c52Smaya    <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
16539f464c52Smaya      <value name="SOLID" value="0"/>
16549f464c52Smaya      <value name="WIREFRAME" value="1"/>
16559f464c52Smaya      <value name="POINT" value="2"/>
16569f464c52Smaya    </field>
16579f464c52Smaya    <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
16589f464c52Smaya    <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
16599f464c52Smaya    <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
16609f464c52Smaya    <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
16619f464c52Smaya      <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
16629f464c52Smaya      <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
16639f464c52Smaya      <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
16649f464c52Smaya      <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
166501e04c3fSmrg    </field>
16669f464c52Smaya    <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
16679f464c52Smaya    <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
16689f464c52Smaya    <field name="Force Multisampling" start="46" end="46" type="uint"/>
166901e04c3fSmrg    <field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
167001e04c3fSmrg      <value name="BOTH" value="0"/>
167101e04c3fSmrg      <value name="NONE" value="1"/>
167201e04c3fSmrg      <value name="FRONT" value="2"/>
167301e04c3fSmrg      <value name="BACK" value="3"/>
167401e04c3fSmrg    </field>
16759f464c52Smaya    <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
16769f464c52Smaya      <value name="NUMRASTSAMPLES_0" value="0"/>
16779f464c52Smaya      <value name="NUMRASTSAMPLES_1" value="1"/>
16789f464c52Smaya      <value name="NUMRASTSAMPLES_2" value="2"/>
16799f464c52Smaya      <value name="NUMRASTSAMPLES_4" value="3"/>
16809f464c52Smaya      <value name="NUMRASTSAMPLES_8" value="4"/>
16819f464c52Smaya      <value name="NUMRASTSAMPLES_16" value="5"/>
168201e04c3fSmrg    </field>
16839f464c52Smaya    <field name="Front Winding" start="53" end="53" type="uint">
16849f464c52Smaya      <value name="Clockwise" value="0"/>
16859f464c52Smaya      <value name="Counter Clockwise" value="1"/>
168601e04c3fSmrg    </field>
16879f464c52Smaya    <field name="API Mode" start="54" end="55" type="uint">
16889f464c52Smaya      <value name="DX9/OGL" value="0"/>
16899f464c52Smaya      <value name="DX10.0" value="1"/>
16909f464c52Smaya      <value name="DX10.1+" value="2"/>
169101e04c3fSmrg    </field>
169201e04c3fSmrg    <field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
169301e04c3fSmrg    <field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
169401e04c3fSmrg    <field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
169501e04c3fSmrg  </instruction>
169601e04c3fSmrg
16979f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
169801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint"/>
16999f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
17009f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
17019f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17029f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
170301e04c3fSmrg    <group count="0" start="32" size="32">
170401e04c3fSmrg      <field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
170501e04c3fSmrg    </group>
170601e04c3fSmrg  </instruction>
170701e04c3fSmrg
17089f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
170901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
17109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
17119f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
17129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
171401e04c3fSmrg    <group count="0" start="32" size="32">
171501e04c3fSmrg      <field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
171601e04c3fSmrg      <field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
171701e04c3fSmrg      <field name="Palette Green[0:N-1]" start="8" end="15" type="uint"/>
171801e04c3fSmrg      <field name="Palette Blue[0:N-1]" start="0" end="7" type="uint"/>
171901e04c3fSmrg    </group>
172001e04c3fSmrg  </instruction>
172101e04c3fSmrg
17229f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render">
172301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
17249f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
17259f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17269f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
172801e04c3fSmrg    <field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
172901e04c3fSmrg  </instruction>
173001e04c3fSmrg
17319f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render">
173201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
17339f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
17349f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17359f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17369f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
173701e04c3fSmrg    <field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
173801e04c3fSmrg  </instruction>
173901e04c3fSmrg
17409f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render">
174101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
17429f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
17439f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17449f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17459f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
174601e04c3fSmrg    <field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
174701e04c3fSmrg  </instruction>
174801e04c3fSmrg
17499f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render">
175001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
17519f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
17529f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17539f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
175501e04c3fSmrg    <field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
175601e04c3fSmrg  </instruction>
175701e04c3fSmrg
17589f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render">
175901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
17609f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
17619f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17629f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17639f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
176401e04c3fSmrg    <field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
176501e04c3fSmrg  </instruction>
176601e04c3fSmrg
17679f464c52Smaya  <instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
176801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
17699f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
17709f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
17719f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17729f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
177301e04c3fSmrg    <field name="Sample Mask" start="32" end="47" type="uint"/>
177401e04c3fSmrg  </instruction>
177501e04c3fSmrg
17769f464c52Smaya  <instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9" engine="render">
177701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
17789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
17799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
17809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
17819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
178201e04c3fSmrg    <field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
17839f464c52Smaya    <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
17849f464c52Smaya    <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
17859f464c52Smaya    <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
17869f464c52Smaya    <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
17879f464c52Smaya    <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
17889f464c52Smaya    <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
17899f464c52Smaya    <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
179001e04c3fSmrg    <field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
17919f464c52Smaya    <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
17929f464c52Smaya    <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
17939f464c52Smaya    <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
17949f464c52Smaya    <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
17959f464c52Smaya    <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
17969f464c52Smaya    <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
17979f464c52Smaya    <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
179801e04c3fSmrg    <field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
17999f464c52Smaya    <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
18009f464c52Smaya    <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
18019f464c52Smaya    <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
18029f464c52Smaya    <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
18039f464c52Smaya    <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
18049f464c52Smaya    <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
18059f464c52Smaya    <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
180601e04c3fSmrg    <field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
18079f464c52Smaya    <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
18089f464c52Smaya    <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
18099f464c52Smaya    <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
18109f464c52Smaya    <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
18119f464c52Smaya    <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
181201e04c3fSmrg  </instruction>
181301e04c3fSmrg
18149f464c52Smaya  <instruction name="3DSTATE_SBE" bias="2" length="4" engine="render">
181501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
18169f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
18179f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
18189f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18199f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
18209f464c52Smaya    <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
18219f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
18229f464c52Smaya    <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
18239f464c52Smaya    <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
18249f464c52Smaya    <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
18259f464c52Smaya    <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
18269f464c52Smaya    <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
182701e04c3fSmrg    <field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
182801e04c3fSmrg      <value name="UPPERLEFT" value="0"/>
182901e04c3fSmrg      <value name="LOWERLEFT" value="1"/>
183001e04c3fSmrg    </field>
18319f464c52Smaya    <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
18329f464c52Smaya    <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
18339f464c52Smaya    <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
18349f464c52Smaya    <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
183501e04c3fSmrg    <field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
183601e04c3fSmrg    <field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
183701e04c3fSmrg  </instruction>
183801e04c3fSmrg
18399f464c52Smaya  <instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11" engine="render">
184001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
18419f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
18429f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
18439f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18449f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
184501e04c3fSmrg    <group count="16" start="32" size="16">
184601e04c3fSmrg      <field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
184701e04c3fSmrg    </group>
184801e04c3fSmrg    <group count="16" start="288" size="4">
184901e04c3fSmrg      <field name="Attribute Wrap Shortest Enables" start="0" end="3" type="uint"/>
185001e04c3fSmrg    </group>
185101e04c3fSmrg  </instruction>
185201e04c3fSmrg
18539f464c52Smaya  <instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
185401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
18559f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
18569f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
18579f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18589f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
185901e04c3fSmrg    <field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
186001e04c3fSmrg  </instruction>
186101e04c3fSmrg
18629f464c52Smaya  <instruction name="3DSTATE_SF" bias="2" length="4" engine="render">
186301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
18649f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
18659f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
18669f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
18679f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
186801e04c3fSmrg    <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
18699f464c52Smaya    <field name="Statistics Enable" start="42" end="42" type="bool"/>
18709f464c52Smaya    <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
187101e04c3fSmrg    <field name="CHV Line Width" start="44" end="61" type="u11.7"/>
187201e04c3fSmrg    <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint">
187301e04c3fSmrg      <value name="0.5 pixels" value="0"/>
187401e04c3fSmrg      <value name="1.0 pixels" value="1"/>
187501e04c3fSmrg      <value name="2.0 pixels" value="2"/>
187601e04c3fSmrg      <value name="4.0 pixels" value="3"/>
187701e04c3fSmrg    </field>
18789f464c52Smaya    <field name="Line Width" start="82" end="91" type="u3.7"/>
18799f464c52Smaya    <field name="Point Width" start="96" end="106" type="u8.3"/>
18809f464c52Smaya    <field name="Point Width Source" start="107" end="107" type="uint">
18819f464c52Smaya      <value name="Vertex" value="0"/>
18829f464c52Smaya      <value name="State" value="1"/>
188301e04c3fSmrg    </field>
1884993e1d59Smrg    <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint">
1885993e1d59Smrg      <value name="8 Bit" value="0"/>
1886993e1d59Smrg      <value name="4 Bit" value="1"/>
1887993e1d59Smrg    </field>
18889f464c52Smaya    <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
18899f464c52Smaya    <field name="AA Line Distance Mode" start="110" end="110" type="uint">
18909f464c52Smaya      <value name="AALINEDISTANCE_TRUE" value="1"/>
18919f464c52Smaya    </field>
18929f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
18939f464c52Smaya    <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
18949f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
18959f464c52Smaya    <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
189601e04c3fSmrg  </instruction>
189701e04c3fSmrg
18989f464c52Smaya  <instruction name="3DSTATE_SO_BUFFER" bias="2" length="8" engine="render">
189901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
19009f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
19019f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
19029f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19039f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
190401e04c3fSmrg    <field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
19059f464c52Smaya    <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
19069f464c52Smaya    <field name="MOCS" start="54" end="60" type="uint"/>
19079f464c52Smaya    <field name="SO Buffer Index" start="61" end="62" type="uint"/>
19089f464c52Smaya    <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
190901e04c3fSmrg    <field name="Surface Base Address" start="66" end="111" type="address"/>
191001e04c3fSmrg    <field name="Surface Size" start="128" end="157" type="uint"/>
191101e04c3fSmrg    <field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
191201e04c3fSmrg    <field name="Stream Offset" start="224" end="255" type="uint"/>
191301e04c3fSmrg  </instruction>
191401e04c3fSmrg
19159f464c52Smaya  <instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render">
191601e04c3fSmrg    <field name="DWord Length" start="0" end="8" type="uint"/>
19179f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
19189f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
19199f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19209f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
192101e04c3fSmrg    <field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
19229f464c52Smaya    <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
19239f464c52Smaya    <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
19249f464c52Smaya    <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
192501e04c3fSmrg    <field name="Num Entries [0]" start="64" end="71" type="uint"/>
19269f464c52Smaya    <field name="Num Entries [1]" start="72" end="79" type="uint"/>
19279f464c52Smaya    <field name="Num Entries [2]" start="80" end="87" type="uint"/>
19289f464c52Smaya    <field name="Num Entries [3]" start="88" end="95" type="uint"/>
192901e04c3fSmrg    <group count="0" start="96" size="64">
193001e04c3fSmrg      <field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
193101e04c3fSmrg    </group>
193201e04c3fSmrg  </instruction>
193301e04c3fSmrg
19349f464c52Smaya  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5" engine="render">
193501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
19369f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
19379f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
19389f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19399f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
194001e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
19419f464c52Smaya    <field name="MOCS" start="54" end="60" type="uint"/>
19429f464c52Smaya    <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
194301e04c3fSmrg    <field name="Surface Base Address" start="64" end="127" type="address"/>
194401e04c3fSmrg    <field name="Surface QPitch" start="128" end="142" type="uint"/>
194501e04c3fSmrg  </instruction>
194601e04c3fSmrg
19479f464c52Smaya  <instruction name="3DSTATE_STREAMOUT" bias="2" length="5" engine="render">
194801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
19499f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
19509f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
19519f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
195301e04c3fSmrg    <field name="Force Rendering" start="55" end="56" type="uint">
195401e04c3fSmrg      <value name="Resreved" value="1"/>
195501e04c3fSmrg      <value name="Force_Off" value="2"/>
195601e04c3fSmrg      <value name="Force_on" value="3"/>
195701e04c3fSmrg    </field>
19589f464c52Smaya    <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
19599f464c52Smaya    <field name="Reorder Mode" start="58" end="58" type="uint">
19609f464c52Smaya      <value name="LEADING" value="0"/>
19619f464c52Smaya      <value name="TRAILING" value="1"/>
19629f464c52Smaya    </field>
19639f464c52Smaya    <field name="Render Stream Select" start="59" end="60" type="uint"/>
19649f464c52Smaya    <field name="Rendering Disable" start="62" end="62" type="bool"/>
19659f464c52Smaya    <field name="SO Function Enable" start="63" end="63" type="bool"/>
196601e04c3fSmrg    <field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
19679f464c52Smaya    <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
19689f464c52Smaya    <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
19699f464c52Smaya    <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
19709f464c52Smaya    <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
19719f464c52Smaya    <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
19729f464c52Smaya    <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
19739f464c52Smaya    <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
197401e04c3fSmrg    <field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
19759f464c52Smaya    <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
197601e04c3fSmrg    <field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
19779f464c52Smaya    <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
197801e04c3fSmrg  </instruction>
197901e04c3fSmrg
19809f464c52Smaya  <instruction name="3DSTATE_TE" bias="2" length="4" engine="render">
198101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
19829f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
19839f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
19849f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
19859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
19869f464c52Smaya    <field name="TE Enable" start="32" end="32" type="bool"/>
19879f464c52Smaya    <field name="TE Mode" start="33" end="34" type="uint">
19889f464c52Smaya      <value name="HW_TESS" value="0"/>
19899f464c52Smaya      <value name="SW_TESS" value="1"/>
19909f464c52Smaya    </field>
19919f464c52Smaya    <field name="TE Domain" start="36" end="37" type="uint">
19929f464c52Smaya      <value name="QUAD" value="0"/>
19939f464c52Smaya      <value name="TRI" value="1"/>
19949f464c52Smaya      <value name="ISOLINE" value="2"/>
199501e04c3fSmrg    </field>
199601e04c3fSmrg    <field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
199701e04c3fSmrg      <value name="POINT" value="0"/>
199801e04c3fSmrg      <value name="LINE" value="1"/>
199901e04c3fSmrg      <value name="TRI_CW" value="2"/>
200001e04c3fSmrg      <value name="TRI_CCW" value="3"/>
200101e04c3fSmrg    </field>
20029f464c52Smaya    <field name="Partitioning" start="44" end="45" type="uint">
20039f464c52Smaya      <value name="INTEGER" value="0"/>
20049f464c52Smaya      <value name="ODD_FRACTIONAL" value="1"/>
20059f464c52Smaya      <value name="EVEN_FRACTIONAL" value="2"/>
200601e04c3fSmrg    </field>
200701e04c3fSmrg    <field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
200801e04c3fSmrg    <field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
200901e04c3fSmrg  </instruction>
201001e04c3fSmrg
20119f464c52Smaya  <instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render">
201201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20139f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
20149f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20159f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
201701e04c3fSmrg    <field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
20189f464c52Smaya    <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
20199f464c52Smaya    <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
202001e04c3fSmrg  </instruction>
202101e04c3fSmrg
20229f464c52Smaya  <instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render">
202301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20249f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
20259f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20269f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
202801e04c3fSmrg    <field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
20299f464c52Smaya    <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
20309f464c52Smaya    <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
203101e04c3fSmrg  </instruction>
203201e04c3fSmrg
20339f464c52Smaya  <instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render">
203401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20359f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
20369f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20379f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20389f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
203901e04c3fSmrg    <field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
20409f464c52Smaya    <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
20419f464c52Smaya    <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
204201e04c3fSmrg  </instruction>
204301e04c3fSmrg
20449f464c52Smaya  <instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render">
204501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20469f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
20479f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20489f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20499f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
205001e04c3fSmrg    <field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
20519f464c52Smaya    <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
20529f464c52Smaya    <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
205301e04c3fSmrg  </instruction>
205401e04c3fSmrg
20559f464c52Smaya  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
205601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
20579f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
20589f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20599f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
206101e04c3fSmrg    <group count="0" start="32" size="128">
206201e04c3fSmrg      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
206301e04c3fSmrg    </group>
206401e04c3fSmrg  </instruction>
206501e04c3fSmrg
20669f464c52Smaya  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
206701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
20689f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
20699f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20709f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
207201e04c3fSmrg    <group count="0" start="32" size="64">
207301e04c3fSmrg      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
207401e04c3fSmrg    </group>
207501e04c3fSmrg  </instruction>
207601e04c3fSmrg
20779f464c52Smaya  <instruction name="3DSTATE_VF" bias="2" length="2" engine="render">
207801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
20799f464c52Smaya    <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
20809f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
20819f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20829f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
208401e04c3fSmrg    <field name="Cut Index" start="32" end="63" type="uint"/>
208501e04c3fSmrg  </instruction>
208601e04c3fSmrg
20879f464c52Smaya  <instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3" engine="render">
208801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
20899f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
20909f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
20919f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
20929f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
209301e04c3fSmrg    <field name="Vertex Element Index" start="32" end="37" type="uint"/>
20949f464c52Smaya    <field name="Instancing Enable" start="40" end="40" type="bool"/>
209501e04c3fSmrg    <field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
209601e04c3fSmrg  </instruction>
209701e04c3fSmrg
20989f464c52Smaya  <instruction name="3DSTATE_VF_SGVS" bias="2" length="2" engine="render">
209901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21009f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
21019f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21029f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21039f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21049f464c52Smaya    <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
21059f464c52Smaya    <field name="VertexID Component Number" start="45" end="46" type="uint">
210601e04c3fSmrg      <value name="COMP_0" value="0"/>
210701e04c3fSmrg      <value name="COMP_1" value="1"/>
210801e04c3fSmrg      <value name="COMP_2" value="2"/>
210901e04c3fSmrg      <value name="COMP_3" value="3"/>
211001e04c3fSmrg    </field>
211101e04c3fSmrg    <field name="VertexID Enable" start="47" end="47" type="bool"/>
21129f464c52Smaya    <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
21139f464c52Smaya    <field name="InstanceID Component Number" start="61" end="62" type="uint">
211401e04c3fSmrg      <value name="COMP_0" value="0"/>
211501e04c3fSmrg      <value name="COMP_1" value="1"/>
211601e04c3fSmrg      <value name="COMP_2" value="2"/>
211701e04c3fSmrg      <value name="COMP_3" value="3"/>
211801e04c3fSmrg    </field>
21199f464c52Smaya    <field name="InstanceID Enable" start="63" end="63" type="bool"/>
212001e04c3fSmrg  </instruction>
212101e04c3fSmrg
21229f464c52Smaya  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
212301e04c3fSmrg    <field name="Statistics Enable" start="0" end="0" type="bool"/>
21249f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
21259f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21269f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
21279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
212801e04c3fSmrg  </instruction>
212901e04c3fSmrg
21309f464c52Smaya  <instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2" engine="render">
213101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21329f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
21339f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21349f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21359f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
213601e04c3fSmrg    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
213701e04c3fSmrg  </instruction>
213801e04c3fSmrg
21399f464c52Smaya  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render">
214001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21419f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
21429f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21439f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21449f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
214501e04c3fSmrg    <field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
214601e04c3fSmrg  </instruction>
214701e04c3fSmrg
21489f464c52Smaya  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render">
214901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
21509f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
21519f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21529f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21539f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
215401e04c3fSmrg    <field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
215501e04c3fSmrg  </instruction>
215601e04c3fSmrg
21579f464c52Smaya  <instruction name="3DSTATE_VS" bias="2" length="9" engine="render">
215801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
21599f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
21609f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
21619f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
21629f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
216301e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
21649f464c52Smaya    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
21659f464c52Smaya    <field name="Accesses UAV" start="108" end="108" type="bool"/>
21669f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
21679f464c52Smaya    <field name="Floating Point Mode" start="112" end="112" type="uint">
21689f464c52Smaya      <value name="IEEE-754" value="0"/>
21699f464c52Smaya      <value name="Alternate" value="1"/>
21709f464c52Smaya    </field>
21719f464c52Smaya    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
21729f464c52Smaya      <value name="High" value="1"/>
21739f464c52Smaya    </field>
21749f464c52Smaya    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
217501e04c3fSmrg    <field name="Sampler Count" start="123" end="125" type="uint">
217601e04c3fSmrg      <value name="No Samplers" value="0"/>
217701e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
217801e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
217901e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
218001e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
218101e04c3fSmrg    </field>
21829f464c52Smaya    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
21839f464c52Smaya    <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
218401e04c3fSmrg    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
21859f464c52Smaya    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
218601e04c3fSmrg    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
21879f464c52Smaya    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
21889f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
218901e04c3fSmrg    <field name="Enable" start="224" end="224" type="bool"/>
21909f464c52Smaya    <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
21919f464c52Smaya    <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
21929f464c52Smaya    <field name="Statistics Enable" start="234" end="234" type="bool"/>
21939f464c52Smaya    <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
219401e04c3fSmrg    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
21959f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
21969f464c52Smaya    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
21979f464c52Smaya    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
219801e04c3fSmrg  </instruction>
219901e04c3fSmrg
22009f464c52Smaya  <instruction name="3DSTATE_WM" bias="2" length="2" engine="render">
220101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
22029f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
22039f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
22049f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
22059f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
22069f464c52Smaya    <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
220701e04c3fSmrg      <value name="ForceOff" value="1"/>
220801e04c3fSmrg      <value name="ForceON" value="2"/>
220901e04c3fSmrg    </field>
22109f464c52Smaya    <field name="Point Rasterization Rule" start="34" end="34" type="uint">
22119f464c52Smaya      <value name="RASTRULE_UPPER_LEFT" value="0"/>
22129f464c52Smaya      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
221301e04c3fSmrg    </field>
22149f464c52Smaya    <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
22159f464c52Smaya    <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
22169f464c52Smaya    <field name="Line Antialiasing Region Width" start="38" end="39" type="uint">
221701e04c3fSmrg      <value name="0.5 pixels" value="0"/>
221801e04c3fSmrg      <value name="1.0 pixels" value="1"/>
221901e04c3fSmrg      <value name="2.0 pixels" value="2"/>
222001e04c3fSmrg      <value name="4.0 pixels" value="3"/>
222101e04c3fSmrg    </field>
22229f464c52Smaya    <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
222301e04c3fSmrg      <value name="0.5 pixels" value="0"/>
222401e04c3fSmrg      <value name="1.0 pixels" value="1"/>
222501e04c3fSmrg      <value name="2.0 pixels" value="2"/>
222601e04c3fSmrg      <value name="4.0 pixels" value="3"/>
222701e04c3fSmrg    </field>
22289f464c52Smaya    <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
22299f464c52Smaya      <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
22309f464c52Smaya      <value name="BIM_PERSPECTIVE_CENTROID" value="2"/>
22319f464c52Smaya      <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
22329f464c52Smaya      <value name="BIM_LINEAR_PIXEL" value="8"/>
22339f464c52Smaya      <value name="BIM_LINEAR_CENTROID" value="16"/>
22349f464c52Smaya      <value name="BIM_LINEAR_SAMPLE" value="32"/>
223501e04c3fSmrg    </field>
22369f464c52Smaya    <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
22379f464c52Smaya      <value name="INTERP_PIXEL" value="0"/>
22389f464c52Smaya      <value name="INTERP_CENTROID" value="2"/>
22399f464c52Smaya      <value name="INTERP_SAMPLE" value="3"/>
22409f464c52Smaya    </field>
22419f464c52Smaya    <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
224201e04c3fSmrg      <value name="ForceOff" value="1"/>
224301e04c3fSmrg      <value name="ForceON" value="2"/>
224401e04c3fSmrg    </field>
22459f464c52Smaya    <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
22469f464c52Smaya      <value name="EDSC_NORMAL" value="0"/>
22479f464c52Smaya      <value name="EDSC_PSEXEC" value="1"/>
22489f464c52Smaya      <value name="EDSC_PREPS" value="2"/>
22499f464c52Smaya    </field>
22509f464c52Smaya    <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
22519f464c52Smaya    <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
22529f464c52Smaya    <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
22539f464c52Smaya    <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
22549f464c52Smaya    <field name="Statistics Enable" start="63" end="63" type="bool"/>
225501e04c3fSmrg  </instruction>
225601e04c3fSmrg
22579f464c52Smaya  <instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2" engine="render">
225801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
22599f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
22609f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
22619f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
22629f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
226301e04c3fSmrg    <field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
226401e04c3fSmrg  </instruction>
226501e04c3fSmrg
22669f464c52Smaya  <instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="3" engine="render">
226701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
22689f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
22699f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
22709f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
22719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
227201e04c3fSmrg    <field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
22739f464c52Smaya    <field name="Depth Test Enable" start="33" end="33" type="bool"/>
22749f464c52Smaya    <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
22759f464c52Smaya    <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
22769f464c52Smaya    <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
22779f464c52Smaya    <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
22789f464c52Smaya    <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
22799f464c52Smaya    <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
22809f464c52Smaya    <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
22819f464c52Smaya    <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
22829f464c52Smaya    <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
22839f464c52Smaya    <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
22849f464c52Smaya    <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
22859f464c52Smaya    <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
228601e04c3fSmrg    <field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
22879f464c52Smaya    <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
22889f464c52Smaya    <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
22899f464c52Smaya    <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
229001e04c3fSmrg  </instruction>
229101e04c3fSmrg
22929f464c52Smaya  <instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5" engine="render">
229301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
22949f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
22959f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
22969f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
22979f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
229801e04c3fSmrg    <field name="Number of Multisamples" start="45" end="47" type="uint"/>
22999f464c52Smaya    <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
23009f464c52Smaya    <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
23019f464c52Smaya    <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
23029f464c52Smaya    <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
23039f464c52Smaya    <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
23049f464c52Smaya    <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
23059f464c52Smaya    <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
23069f464c52Smaya    <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
230701e04c3fSmrg    <field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
23089f464c52Smaya    <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
230901e04c3fSmrg    <field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
23109f464c52Smaya    <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
231101e04c3fSmrg    <field name="Sample Mask" start="128" end="143" type="uint"/>
231201e04c3fSmrg  </instruction>
231301e04c3fSmrg
23149f464c52Smaya  <instruction name="GPGPU_CSR_BASE_ADDRESS" bias="2" length="3" engine="render">
231501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
23169f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
23179f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
23189f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
23199f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
232001e04c3fSmrg    <field name="GPGPU CSR Base Address" start="44" end="95" type="address"/>
232101e04c3fSmrg  </instruction>
232201e04c3fSmrg
23239f464c52Smaya  <instruction name="GPGPU_WALKER" bias="2" length="15" engine="render">
232401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="13"/>
23259f464c52Smaya    <field name="Predicate Enable" start="8" end="8" type="bool"/>
23269f464c52Smaya    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
23279f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
23289f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
23299f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
23309f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
233101e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
233201e04c3fSmrg    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
233301e04c3fSmrg    <field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
23349f464c52Smaya    <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
23359f464c52Smaya    <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
23369f464c52Smaya    <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
233701e04c3fSmrg    <field name="SIMD Size" start="158" end="159" type="uint">
233801e04c3fSmrg      <value name="SIMD8" value="0"/>
233901e04c3fSmrg      <value name="SIMD16" value="1"/>
234001e04c3fSmrg      <value name="SIMD32" value="2"/>
234101e04c3fSmrg    </field>
234201e04c3fSmrg    <field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
234301e04c3fSmrg    <field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
234401e04c3fSmrg    <field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
234501e04c3fSmrg    <field name="Thread Group ID Y Dimension" start="320" end="351" type="uint"/>
234601e04c3fSmrg    <field name="Thread Group ID Starting/Resume Z" start="352" end="383" type="uint"/>
234701e04c3fSmrg    <field name="Thread Group ID Z Dimension" start="384" end="415" type="uint"/>
234801e04c3fSmrg    <field name="Right Execution Mask" start="416" end="447" type="uint"/>
234901e04c3fSmrg    <field name="Bottom Execution Mask" start="448" end="479" type="uint"/>
235001e04c3fSmrg  </instruction>
235101e04c3fSmrg
23529f464c52Smaya  <instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
235301e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
23549f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
23559f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
23569f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
23579f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
235801e04c3fSmrg    <field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
235901e04c3fSmrg    <field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
236001e04c3fSmrg  </instruction>
236101e04c3fSmrg
23629f464c52Smaya  <instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
236301e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
23649f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
23659f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
23669f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
23679f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
236801e04c3fSmrg    <field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
236901e04c3fSmrg    <field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
237001e04c3fSmrg  </instruction>
237101e04c3fSmrg
23729f464c52Smaya  <instruction name="MEDIA_OBJECT" bias="2" engine="render">
237301e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="4"/>
23749f464c52Smaya    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
23759f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
23769f464c52Smaya    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
23779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
237801e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
23799f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
23809f464c52Smaya    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
23819f464c52Smaya      <value name="SubSlice 2" value="2"/>
23829f464c52Smaya      <value name="SubSlice 1" value="1"/>
23839f464c52Smaya      <value name="SubSlice 0" value="0"/>
238401e04c3fSmrg    </field>
238501e04c3fSmrg    <field name="Slice Destination Select" start="83" end="84" type="uint">
238601e04c3fSmrg      <value name="Slice 0" value="0"/>
238701e04c3fSmrg      <value name="Slice 1" value="1"/>
238801e04c3fSmrg      <value name="Slice 2" value="2"/>
238901e04c3fSmrg    </field>
23909f464c52Smaya    <field name="Use Scoreboard" start="85" end="85" type="uint">
23919f464c52Smaya      <value name="Not using scoreboard" value="0"/>
23929f464c52Smaya      <value name="Using scoreboard" value="1"/>
23939f464c52Smaya    </field>
23949f464c52Smaya    <field name="Force Destination" start="86" end="86" type="uint"/>
23959f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
23969f464c52Smaya      <value name="No thread synchronization" value="0"/>
23979f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
23989f464c52Smaya    </field>
23999f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
24009f464c52Smaya    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
24019f464c52Smaya    <field name="Scoreboard X" start="128" end="136" type="uint"/>
24029f464c52Smaya    <field name="Scoredboard Y" start="144" end="152" type="uint"/>
24039f464c52Smaya    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
24049f464c52Smaya    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
24059f464c52Smaya    <group count="0" start="192" size="32">
24069f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
24079f464c52Smaya    </group>
24089f464c52Smaya  </instruction>
24099f464c52Smaya
24109f464c52Smaya  <instruction name="MEDIA_OBJECT_GRPID" bias="2" engine="render">
24119f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="5"/>
24129f464c52Smaya    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
24139f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
24149f464c52Smaya    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
24159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
24169f464c52Smaya    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
24179f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
241801e04c3fSmrg    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
241901e04c3fSmrg      <value name="SubSlice 2" value="2"/>
242001e04c3fSmrg      <value name="SubSlice 1" value="1"/>
242101e04c3fSmrg      <value name="SubSlice 0" value="0"/>
242201e04c3fSmrg    </field>
24239f464c52Smaya    <field name="Slice Destination Select" start="83" end="84" type="uint">
24249f464c52Smaya      <value name="Slice 0" value="0"/>
24259f464c52Smaya      <value name="Slice 1" value="1"/>
24269f464c52Smaya      <value name="Slice 2" value="2"/>
24279f464c52Smaya    </field>
24289f464c52Smaya    <field name="Use Scoreboard" start="85" end="85" type="uint">
24299f464c52Smaya      <value name="Not using scoreboard" value="0"/>
24309f464c52Smaya      <value name="Using scoreboard" value="1"/>
24319f464c52Smaya    </field>
24329f464c52Smaya    <field name="Force Destination" start="86" end="86" type="uint"/>
24339f464c52Smaya    <field name="End of Thread Group" start="87" end="87" type="uint"/>
243401e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
243501e04c3fSmrg    <field name="Scoreboard X" start="128" end="136" type="uint"/>
24369f464c52Smaya    <field name="Scoreboard Y" start="144" end="152" type="uint"/>
24379f464c52Smaya    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
243801e04c3fSmrg    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
24399f464c52Smaya    <field name="GroupID" start="192" end="223" type="uint"/>
24409f464c52Smaya    <group count="0" start="224" size="32">
24419f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
24429f464c52Smaya    </group>
24439f464c52Smaya  </instruction>
24449f464c52Smaya
24459f464c52Smaya  <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
24469f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="14"/>
24479f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
24489f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
24499f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
24509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
24519f464c52Smaya    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
24529f464c52Smaya    <field name="PRT_FenceType" start="86" end="86" type="uint">
24539f464c52Smaya      <value name="Root thread queue" value="0"/>
24549f464c52Smaya      <value name="VFE state flush" value="1"/>
24559f464c52Smaya    </field>
24569f464c52Smaya    <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
24579f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
24589f464c52Smaya    <group count="12" start="128" size="32">
24599f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
24609f464c52Smaya    </group>
24619f464c52Smaya  </instruction>
24629f464c52Smaya
24639f464c52Smaya  <instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
24649f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="15"/>
24659f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
24669f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
24679f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
24689f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
24699f464c52Smaya    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
24709f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
24719f464c52Smaya    <field name="Use Scoreboard" start="85" end="85" type="uint">
24729f464c52Smaya      <value name="Not using scoreboard" value="0"/>
24739f464c52Smaya      <value name="Using scoreboard" value="1"/>
24749f464c52Smaya    </field>
24759f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
24769f464c52Smaya      <value name="No thread synchronization" value="0"/>
24779f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
24789f464c52Smaya    </field>
24799f464c52Smaya    <field name="Children Present" start="95" end="95" type="uint"/>
24809f464c52Smaya    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
248101e04c3fSmrg    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
24829f464c52Smaya    <field name="Group ID Loop Select" start="168" end="191" type="uint"/>
24839f464c52Smaya    <field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
24849f464c52Smaya    <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
24859f464c52Smaya    <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
24869f464c52Smaya    <field name="Color Count Minus One" start="216" end="219" type="uint"/>
24879f464c52Smaya    <field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
24889f464c52Smaya    <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
24899f464c52Smaya    <field name="Block Resolution X" start="256" end="264" type="uint"/>
24909f464c52Smaya    <field name="Block Resolution Y" start="272" end="280" type="uint"/>
24919f464c52Smaya    <field name="Local Start X" start="288" end="296" type="uint"/>
24929f464c52Smaya    <field name="Local Start Y" start="304" end="312" type="uint"/>
24939f464c52Smaya    <field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
24949f464c52Smaya    <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
24959f464c52Smaya    <field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
24969f464c52Smaya    <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
24979f464c52Smaya    <field name="Global Resolution X" start="416" end="424" type="uint"/>
24989f464c52Smaya    <field name="Global Resolution Y" start="432" end="440" type="uint"/>
24999f464c52Smaya    <field name="Global Start X" start="448" end="457" type="int"/>
25009f464c52Smaya    <field name="Global Start Y" start="464" end="473" type="int"/>
25019f464c52Smaya    <field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
25029f464c52Smaya    <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
25039f464c52Smaya    <field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
25049f464c52Smaya    <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
25059f464c52Smaya    <group count="0" start="544" size="32">
25069f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
25079f464c52Smaya    </group>
25089f464c52Smaya  </instruction>
25099f464c52Smaya
25109f464c52Smaya  <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
25119f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="0"/>
25129f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
25139f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
25149f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
25159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
25169f464c52Smaya    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
25179f464c52Smaya    <field name="Watermark Required" start="38" end="38" type="uint"/>
25189f464c52Smaya    <field name="Flush to GO" start="39" end="39" type="bool"/>
25199f464c52Smaya  </instruction>
25209f464c52Smaya
25219f464c52Smaya  <instruction name="MEDIA_VFE_STATE" bias="2" length="9" engine="render">
25229f464c52Smaya    <field name="DWord Length" start="0" end="15" type="uint" default="7"/>
25239f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
25249f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
25259f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
25269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
25279f464c52Smaya    <field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
25289f464c52Smaya    <field name="Stack Size" start="36" end="39" type="uint"/>
25299f464c52Smaya    <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
25309f464c52Smaya    <field name="Bypass Gateway Control" start="102" end="102" type="uint">
25319f464c52Smaya      <value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
25329f464c52Smaya      <value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
25339f464c52Smaya    </field>
25349f464c52Smaya    <field name="Reset Gateway Timer" start="103" end="103" type="uint">
25359f464c52Smaya      <value name="Maintaining the existing timestamp state" value="0"/>
25369f464c52Smaya      <value name="Resetting relative timer and latching the global timestamp" value="1"/>
25379f464c52Smaya    </field>
25389f464c52Smaya    <field name="Number of URB Entries" start="104" end="111" type="uint"/>
25399f464c52Smaya    <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
25409f464c52Smaya    <field name="Slice Disable" start="128" end="129" type="uint">
25419f464c52Smaya      <value name="All Subslices Enabled" value="0"/>
25429f464c52Smaya      <value name="Only Slice 0 Enabled" value="1"/>
25439f464c52Smaya      <value name="Only Slice 0 Subslice 0 Enabled" value="3"/>
25449f464c52Smaya    </field>
25459f464c52Smaya    <field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
25469f464c52Smaya    <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
25479f464c52Smaya    <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
25489f464c52Smaya    <field name="Scoreboard Type" start="222" end="222" type="uint">
25499f464c52Smaya      <value name="Stalling Scoreboard" value="0"/>
25509f464c52Smaya      <value name="Non-Stalling Scoreboard" value="1"/>
25519f464c52Smaya    </field>
25529f464c52Smaya    <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
25539f464c52Smaya    <field name="Scoreboard 0 Delta X" start="224" end="227" type="int"/>
25549f464c52Smaya    <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
25559f464c52Smaya    <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
25569f464c52Smaya    <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
25579f464c52Smaya    <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
25589f464c52Smaya    <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
25599f464c52Smaya    <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
25609f464c52Smaya    <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
25619f464c52Smaya    <field name="Scoreboard 4 Delta X" start="256" end="259" type="int"/>
25629f464c52Smaya    <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
25639f464c52Smaya    <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
25649f464c52Smaya    <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
25659f464c52Smaya    <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
25669f464c52Smaya    <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
25679f464c52Smaya    <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
25689f464c52Smaya    <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
25699f464c52Smaya  </instruction>
25709f464c52Smaya
25719f464c52Smaya  <instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="12" engine="video">
25729f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="10"/>
25739f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
25749f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
25759f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
25769f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
25779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
25789f464c52Smaya    <field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
25799f464c52Smaya    <field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
25809f464c52Smaya    <group count="8" start="96" size="32">
25819f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
25829f464c52Smaya    </group>
25839f464c52Smaya  </instruction>
25849f464c52Smaya
25859f464c52Smaya  <instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video">
25869f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="7"/>
25879f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
25889f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
25899f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
25909f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
25919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
25929f464c52Smaya    <group count="8" start="32" size="32">
259301e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
259401e04c3fSmrg    </group>
259501e04c3fSmrg  </instruction>
259601e04c3fSmrg
25979f464c52Smaya  <instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video">
25989f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="6"/>
25999f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
26009f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
26019f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
26029f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
26039f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
26049f464c52Smaya    <field name="Stream ID" start="32" end="33" type="uint"/>
26059f464c52Smaya    <field name="Slice ID" start="36" end="39" type="uint"/>
26069f464c52Smaya    <field name="Intra Slice Flag" start="44" end="44" type="bool"/>
26079f464c52Smaya    <field name="Intra Slice" start="45" end="45" type="bool"/>
26089f464c52Smaya    <field name="First Slice Header Disable" start="46" end="46" type="bool"/>
26099f464c52Smaya    <field name="Tail Insertion Present" start="47" end="47" type="bool"/>
26109f464c52Smaya    <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/>
26119f464c52Smaya    <field name="Header Insertion Present" start="49" end="49" type="bool"/>
26129f464c52Smaya    <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/>
26139f464c52Smaya    <field name="Last Slice" start="51" end="51" type="bool"/>
26149f464c52Smaya    <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/>
26159f464c52Smaya    <field name="Rate Control Panic Type" start="54" end="54" type="uint">
26169f464c52Smaya      <value name="QP Panic" value="0"/>
26179f464c52Smaya      <value name="CBP Panic" value="1"/>
26189f464c52Smaya    </field>
26199f464c52Smaya    <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/>
26209f464c52Smaya    <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/>
26219f464c52Smaya    <field name="Rate Control Triggle Mode" start="60" end="61" type="uint">
26229f464c52Smaya      <value name="Always Rate Control" value="0"/>
26239f464c52Smaya      <value name="Gentle Rate Control" value="1"/>
26249f464c52Smaya      <value name="Loose Rate Control" value="2"/>
26259f464c52Smaya    </field>
26269f464c52Smaya    <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/>
26279f464c52Smaya    <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/>
26289f464c52Smaya    <field name="First MB X Count" start="64" end="71" type="uint"/>
26299f464c52Smaya    <field name="First MB Y Count" start="72" end="79" type="uint"/>
26309f464c52Smaya    <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/>
26319f464c52Smaya    <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/>
26329f464c52Smaya    <field name="Slice Group QP" start="96" end="101" type="uint"/>
26339f464c52Smaya    <field name="Slice Group Skip" start="104" end="104" type="bool"/>
26349f464c52Smaya    <field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/>
26359f464c52Smaya    <field name="Grow Init" start="160" end="163" type="uint"/>
26369f464c52Smaya    <field name="Grow Resistance" start="164" end="167" type="uint"/>
26379f464c52Smaya    <field name="Shrink Init" start="168" end="171" type="uint"/>
26389f464c52Smaya    <field name="Shrink Resistance" start="172" end="175" type="uint"/>
26399f464c52Smaya    <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/>
26409f464c52Smaya    <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/>
26419f464c52Smaya    <field name="Correct 1" start="192" end="195" type="uint"/>
26429f464c52Smaya    <field name="Correct 2" start="196" end="199" type="uint"/>
26439f464c52Smaya    <field name="Correct 3" start="200" end="203" type="uint"/>
26449f464c52Smaya    <field name="Correct 4" start="204" end="207" type="uint"/>
26459f464c52Smaya    <field name="Correct 5" start="208" end="211" type="uint"/>
26469f464c52Smaya    <field name="Correct 6" start="212" end="215" type="uint"/>
26479f464c52Smaya    <field name="CV0" start="224" end="227" type="uint"/>
26489f464c52Smaya    <field name="CV1" start="228" end="231" type="uint"/>
26499f464c52Smaya    <field name="CV2" start="232" end="235" type="uint"/>
26509f464c52Smaya    <field name="CV3" start="236" end="239" type="uint"/>
26519f464c52Smaya    <field name="CV4" start="240" end="243" type="uint"/>
26529f464c52Smaya    <field name="CV5" start="244" end="247" type="uint"/>
26539f464c52Smaya    <field name="CV6" start="248" end="251" type="uint"/>
26549f464c52Smaya    <field name="CV7" start="252" end="255" type="uint"/>
26559f464c52Smaya  </instruction>
26569f464c52Smaya
26579f464c52Smaya  <instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
26589f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
26599f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
26609f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
26619f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
26629f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
26639f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
26649f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
26659f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
26669f464c52Smaya    <field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/>
26679f464c52Smaya  </instruction>
26689f464c52Smaya
26699f464c52Smaya  <instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
26709f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
26719f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
26729f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
26739f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
26749f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
26759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
26769f464c52Smaya    <group count="16" start="32" size="1">
26779f464c52Smaya      <field name="Non-Existing Frame" start="0" end="0" type="uint">
26789f464c52Smaya        <value name="INVALID" value="1"/>
26799f464c52Smaya        <value name="VALID" value="0"/>
26809f464c52Smaya      </field>
26819f464c52Smaya    </group>
26829f464c52Smaya    <group count="16" start="48" size="1">
26839f464c52Smaya      <field name="Long Term Frame" start="0" end="0" type="uint"/>
26849f464c52Smaya    </group>
26859f464c52Smaya    <group count="16" start="64" size="2">
26869f464c52Smaya      <field name="Used for Reference" start="0" end="1" type="uint">
26879f464c52Smaya        <value name="NOT_REFERENCE" value="0"/>
26889f464c52Smaya        <value name="TOP_FIELD" value="1"/>
26899f464c52Smaya        <value name="BOTTOM_FIELD" value="2"/>
26909f464c52Smaya        <value name="FRAME" value="3"/>
26919f464c52Smaya      </field>
26929f464c52Smaya    </group>
26939f464c52Smaya    <group count="16" start="96" size="16">
26949f464c52Smaya      <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST">
26959f464c52Smaya        <value name="Long Term Frame" value="1"/>
26969f464c52Smaya        <value name="Short Term Frame" value="0"/>
26979f464c52Smaya      </field>
26989f464c52Smaya    </group>
26999f464c52Smaya    <group count="16" start="352" size="16">
27009f464c52Smaya      <field name="View ID" start="0" end="15" type="uint"/>
27019f464c52Smaya    </group>
27029f464c52Smaya    <group count="16" start="608" size="8">
27039f464c52Smaya      <field name="L0 View Order" start="0" end="7" type="uint"/>
27049f464c52Smaya    </group>
27059f464c52Smaya    <group count="16" start="736" size="8">
27069f464c52Smaya      <field name="L1 View Order" start="0" end="7" type="uint"/>
27079f464c52Smaya    </group>
27089f464c52Smaya  </instruction>
27099f464c52Smaya
27109f464c52Smaya  <instruction name="MFD_AVC_PICID_STATE" bias="2" length="10" engine="video">
27119f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
27129f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
27139f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
27149f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
27159f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27179f464c52Smaya    <field name="PictureID Remapping Disable" start="32" end="32" type="uint">
27189f464c52Smaya      <value name="Use 16 bits Picture ID" value="0"/>
27199f464c52Smaya      <value name="Use 4 bits FrameStoreID" value="1"/>
27209f464c52Smaya    </field>
27219f464c52Smaya    <group count="16" start="64" size="16">
27229f464c52Smaya      <field name="Picture ID" start="0" end="15" type="uint"/>
27239f464c52Smaya    </group>
27249f464c52Smaya  </instruction>
27259f464c52Smaya
27269f464c52Smaya  <instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video">
27279f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
27289f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
27299f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
27309f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
27319f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27329f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27339f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
27349f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
27359f464c52Smaya  </instruction>
27369f464c52Smaya
27379f464c52Smaya  <instruction name="MFD_IT_OBJECT" bias="2" engine="video">
27389f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="6"/>
27399f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
27409f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
27419f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
27429f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27449f464c52Smaya    <field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
27459f464c52Smaya    <field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
27469f464c52Smaya    <field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
27479f464c52Smaya    <field name="Indirect IT-COEFF Data Start Address Offset" start="128" end="156" type="offset"/>
27489f464c52Smaya    <field name="Indirect IT-DBLK Control Data Length" start="160" end="165" type="uint"/>
27499f464c52Smaya    <field name="Indirect IT-DBLK Control Data Start Address Offset" start="192" end="220" type="offset"/>
27509f464c52Smaya    <group count="0" start="224" size="32">
27519f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
27529f464c52Smaya    </group>
27539f464c52Smaya  </instruction>
27549f464c52Smaya
27559f464c52Smaya  <instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video">
27569f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
27579f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
27589f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
27599f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
27609f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27619f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27629f464c52Smaya    <field name="Indirect Data Length" start="32" end="63" type="uint"/>
27639f464c52Smaya    <field name="Indirect Data Start Address" start="64" end="92" type="offset"/>
27649f464c52Smaya    <field name="Scan Vertical Position" start="96" end="108" type="uint"/>
27659f464c52Smaya    <field name="Scan Horizontal Position" start="112" end="124" type="uint"/>
27669f464c52Smaya    <field name="MCU Count" start="128" end="153" type="uint"/>
27679f464c52Smaya    <field name="Scan Components" start="155" end="157" type="uint"/>
27689f464c52Smaya    <field name="Interleaved" start="158" end="158" type="bool"/>
27699f464c52Smaya    <field name="Restart Interval" start="160" end="175" type="uint"/>
27709f464c52Smaya  </instruction>
27719f464c52Smaya
27729f464c52Smaya  <instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
27739f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
27749f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
27759f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
27769f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
27779f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27789f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27799f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/>
27809f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
27819f464c52Smaya    <field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/>
27829f464c52Smaya  </instruction>
27839f464c52Smaya
27849f464c52Smaya  <instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video">
27859f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
27869f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
27879f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
27889f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
27899f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
27909f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
27919f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="55" type="uint"/>
27929f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/>
27939f464c52Smaya    <field name="Next Slice Vertical Position" start="96" end="104" type="uint"/>
27949f464c52Smaya    <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/>
27959f464c52Smaya    <field name="First MB Bit Offset" start="128" end="130" type="uint"/>
27969f464c52Smaya    <field name="Emulation Prevention Byte Present" start="132" end="132" type="uint"/>
27979f464c52Smaya    <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/>
27989f464c52Smaya  </instruction>
27999f464c52Smaya
28009f464c52Smaya  <instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video">
28019f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
28029f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
28039f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
28049f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
28059f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
28069f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
28079f464c52Smaya    <field name="Picture Width In MBs" start="32" end="39" type="uint"/>
28089f464c52Smaya    <field name="Picture Height In MBs" start="48" end="55" type="uint"/>
28099f464c52Smaya    <field name="VC1 Profile" start="64" end="64" type="uint">
28109f464c52Smaya      <value name="Simple/Main Profile" value="0"/>
28119f464c52Smaya      <value name="Advanced Profile" value="1"/>
28129f464c52Smaya    </field>
28139f464c52Smaya    <field name="Second Field" start="67" end="67" type="bool"/>
28149f464c52Smaya    <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/>
28159f464c52Smaya    <field name="Loop Filter Enable" start="69" end="69" type="bool"/>
28169f464c52Smaya    <field name="Range Reduction Enable" start="70" end="70" type="bool"/>
28179f464c52Smaya    <field name="Range Reduction Scale" start="71" end="71" type="uint"/>
28189f464c52Smaya    <field name="MV Mode" start="72" end="75" type="uint"/>
28199f464c52Smaya    <field name="Sync Marker" start="76" end="76" type="bool"/>
28209f464c52Smaya    <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/>
28219f464c52Smaya    <field name="Implicit Quantizer" start="78" end="78" type="bool"/>
28229f464c52Smaya    <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
28239f464c52Smaya    <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
28249f464c52Smaya    <field name="B Scale Factor" start="96" end="103" type="uint"/>
28259f464c52Smaya    <field name="PQ Value" start="104" end="108" type="uint"/>
28269f464c52Smaya    <field name="Alternative PQ Value" start="112" end="116" type="uint"/>
28279f464c52Smaya    <field name="Frame Coding Mode" start="120" end="121" type="uint">
28289f464c52Smaya      <value name="Progressive Frame Picture" value="0"/>
28299f464c52Smaya      <value name="Interlaced Frame Picture" value="1"/>
28309f464c52Smaya      <value name="Field Picture with Top Field First" value="2"/>
28319f464c52Smaya      <value name="Field Picture with Bottom Field First" value="3"/>
28329f464c52Smaya    </field>
28339f464c52Smaya    <field name="Picure Type" start="122" end="124" type="uint"/>
28349f464c52Smaya    <field name="CONDOVER" start="125" end="126" type="uint"/>
28359f464c52Smaya    <field name="PQ Uniform" start="128" end="128" type="bool"/>
28369f464c52Smaya    <field name="Half QP" start="129" end="129" type="bool"/>
28379f464c52Smaya    <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/>
28389f464c52Smaya    <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/>
28399f464c52Smaya    <field name="Extended MV Range" start="136" end="137" type="uint"/>
28409f464c52Smaya    <field name="Extended DMV Range" start="138" end="139" type="uint"/>
28419f464c52Smaya    <field name="Forward Reference Distance" start="144" end="147" type="uint"/>
28429f464c52Smaya    <field name="Backward Reference Distance" start="148" end="151" type="uint"/>
28439f464c52Smaya    <field name="Number of References" start="152" end="152" type="uint">
28449f464c52Smaya      <value name="One field referenced" value="0"/>
28459f464c52Smaya      <value name="Two fields referenced" value="1"/>
28469f464c52Smaya    </field>
28479f464c52Smaya    <field name="Reference Field Picture Polarity" start="153" end="153" type="uint">
28489f464c52Smaya      <value name="Top (even) Field" value="0"/>
28499f464c52Smaya      <value name="Bottom (odd) Field" value="1"/>
28509f464c52Smaya    </field>
28519f464c52Smaya    <field name="Fast UV Motion Compensation" start="154" end="154" type="uint">
28529f464c52Smaya      <value name="No Rounding" value="0"/>
28539f464c52Smaya      <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
28549f464c52Smaya    </field>
28559f464c52Smaya    <field name="Four MV Switch" start="155" end="155" type="uint">
28569f464c52Smaya      <value name="Only 1-MV" value="0"/>
28579f464c52Smaya      <value name="1, 2, or 4 MVs" value="1"/>
28589f464c52Smaya    </field>
28599f464c52Smaya    <field name="Unified MV Mode" start="156" end="157" type="uint">
28609f464c52Smaya      <value name="1-MV half-pel bilinear" value="3"/>
28619f464c52Smaya      <value name="1-MV" value="1"/>
28629f464c52Smaya      <value name="1-MV half-pel" value="2"/>
28639f464c52Smaya      <value name="Mixed MV" value="0"/>
28649f464c52Smaya    </field>
28659f464c52Smaya    <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/>
28669f464c52Smaya    <field name="Intra Transform DC Table" start="163" end="163" type="uint"/>
28679f464c52Smaya    <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/>
28689f464c52Smaya    <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/>
28699f464c52Smaya    <field name="MB Mode Table" start="168" end="170" type="uint"/>
28709f464c52Smaya    <field name="MB Transform Type" start="171" end="171" type="bool"/>
28719f464c52Smaya    <field name="Picture-level Transform Type" start="172" end="173" type="uint">
28729f464c52Smaya      <value name="8x8 Transform" value="0"/>
28739f464c52Smaya      <value name="8x4 Transform" value="1"/>
28749f464c52Smaya      <value name="4x8 Transform" value="2"/>
28759f464c52Smaya      <value name="4x4 Transform" value="3"/>
28769f464c52Smaya    </field>
28779f464c52Smaya    <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/>
28789f464c52Smaya    <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/>
28799f464c52Smaya    <field name="MV Table" start="180" end="182" type="uint"/>
28809f464c52Smaya    <field name="FIELDTX Raw" start="184" end="184" type="bool"/>
28819f464c52Smaya    <field name="ACPRED Raw" start="185" end="185" type="bool"/>
28829f464c52Smaya    <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/>
28839f464c52Smaya    <field name="DIRECTMB Raw" start="187" end="187" type="bool"/>
28849f464c52Smaya    <field name="SKIPMB Raw" start="188" end="188" type="bool"/>
28859f464c52Smaya    <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/>
28869f464c52Smaya    <field name="FORWARDMB Raw" start="190" end="190" type="bool"/>
28879f464c52Smaya    <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/>
28889f464c52Smaya  </instruction>
28899f464c52Smaya
28909f464c52Smaya  <instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video">
28919f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
28929f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
28939f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
28949f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
28959f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
28969f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
28979f464c52Smaya    <field name="Picture Width" start="32" end="39" type="uint"/>
28989f464c52Smaya    <field name="Picture Height" start="48" end="55" type="uint"/>
28999f464c52Smaya    <field name="Picture Structure" start="64" end="65" type="uint"/>
29009f464c52Smaya    <field name="Second Field" start="67" end="67" type="bool"/>
29019f464c52Smaya    <field name="Intra Picture" start="68" end="68" type="bool"/>
29029f464c52Smaya    <field name="Backward Prediction Present" start="69" end="69" type="bool"/>
29039f464c52Smaya    <field name="VC1 Profile" start="75" end="75" type="uint">
29049f464c52Smaya      <value name="Simple/Main Profile" value="0"/>
29059f464c52Smaya      <value name="Advanced Profile" value="1"/>
29069f464c52Smaya    </field>
29079f464c52Smaya    <field name="DMV Surface Valid" start="79" end="79" type="bool"/>
29089f464c52Smaya    <field name="MV Mode" start="80" end="83" type="uint"/>
29099f464c52Smaya    <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/>
29109f464c52Smaya    <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/>
29119f464c52Smaya    <field name="variable-sized transform coding" start="96" end="96" type="bool"/>
29129f464c52Smaya    <field name="DQUANT" start="97" end="98" type="uint"/>
29139f464c52Smaya    <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/>
29149f464c52Smaya    <field name="Fast UV Motion Compensation" start="100" end="100" type="uint">
29159f464c52Smaya      <value name="No Rounding" value="0"/>
29169f464c52Smaya      <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
29179f464c52Smaya    </field>
29189f464c52Smaya    <field name="Loop Filter Enable" start="101" end="101" type="bool"/>
29199f464c52Smaya    <field name="REFDIST_FLAG" start="102" end="102" type="bool"/>
29209f464c52Smaya    <field name="PANSCAN Present" start="103" end="103" type="bool"/>
29219f464c52Smaya    <field name="MAXBFRAMES" start="104" end="106" type="uint"/>
29229f464c52Smaya    <field name="RANGERED Present" start="107" end="107" type="bool"/>
29239f464c52Smaya    <field name="SYNCMARKER Present" start="108" end="108" type="bool"/>
29249f464c52Smaya    <field name="MULTIRES Present" start="109" end="109" type="bool"/>
29259f464c52Smaya    <field name="QUANTIZER" start="110" end="111" type="uint"/>
29269f464c52Smaya    <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/>
29279f464c52Smaya    <field name="Progressive Pic Type" start="118" end="119" type="uint"/>
29289f464c52Smaya    <field name="Range Reduction Enable" start="124" end="124" type="uint"/>
29299f464c52Smaya    <field name="Range Reduction Scale" start="125" end="125" type="uint"/>
29309f464c52Smaya    <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/>
29319f464c52Smaya    <field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/>
29329f464c52Smaya    <field name="PSF" start="129" end="129" type="bool"/>
29339f464c52Smaya    <field name="REFPIC" start="130" end="130" type="bool"/>
29349f464c52Smaya    <field name="FINTERFLAG" start="131" end="131" type="bool"/>
29359f464c52Smaya    <field name="TFCNTRFLAG" start="132" end="132" type="bool"/>
29369f464c52Smaya    <field name="INTERLACE" start="133" end="133" type="bool"/>
29379f464c52Smaya    <field name="PULLDOWN" start="134" end="134" type="bool"/>
29389f464c52Smaya    <field name="POSTPROC" start="135" end="135" type="bool"/>
29399f464c52Smaya    <field name="4-MV Allowed" start="136" end="136" type="bool"/>
29409f464c52Smaya    <field name="BFraction Enumeration" start="152" end="156" type="uint"/>
29419f464c52Smaya  </instruction>
29429f464c52Smaya
29439f464c52Smaya  <instruction name="MFD_VP8_BSD_OBJECT" bias="2" length="22" engine="video">
29449f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="20"/>
29459f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
29469f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
29479f464c52Smaya    <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
29489f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
29499f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29509f464c52Smaya    <field name="Partition0 First MB Bit Offset from Frame Header" start="32" end="34" type="uint"/>
29519f464c52Smaya    <field name="Coded Num of Coeff Token Partitions" start="36" end="37" type="uint"/>
29529f464c52Smaya    <field name="Partition0 CPBAC Entropy Range" start="40" end="47" type="uint"/>
29539f464c52Smaya    <field name="Partition0 CPBAC Entropy Count" start="48" end="52" type="uint"/>
29549f464c52Smaya    <field name="Partition0 CPBAC Entropy Value" start="88" end="95" type="uint"/>
29559f464c52Smaya    <field name="Indirect Partition0 Data Length" start="96" end="119" type="uint"/>
29569f464c52Smaya    <field name="Indirect Partition0 Data Start Offset" start="128" end="159" type="uint"/>
29579f464c52Smaya    <field name="Indirect Partition1 Data Length" start="160" end="183" type="uint"/>
29589f464c52Smaya    <field name="Indirect Partition1 Data Start Offset" start="192" end="223" type="uint"/>
29599f464c52Smaya    <field name="Indirect Partition2 Data Length" start="224" end="247" type="uint"/>
29609f464c52Smaya    <field name="Indirect Partition2 Data Start Offset" start="256" end="287" type="uint"/>
29619f464c52Smaya    <field name="Indirect Partition3 Data Length" start="288" end="311" type="uint"/>
29629f464c52Smaya    <field name="Indirect Partition3 Data Start Offset" start="320" end="351" type="uint"/>
29639f464c52Smaya    <field name="Indirect Partition4 Data Length" start="352" end="375" type="uint"/>
29649f464c52Smaya    <field name="Indirect Partition4 Data Start Offset" start="384" end="415" type="uint"/>
29659f464c52Smaya    <field name="Indirect Partition5 Data Length" start="416" end="439" type="uint"/>
29669f464c52Smaya    <field name="Indirect Partition5 Data Start Offset" start="448" end="479" type="uint"/>
29679f464c52Smaya    <field name="Indirect Partition6 Data Length" start="480" end="503" type="uint"/>
29689f464c52Smaya    <field name="Indirect Partition6 Data Start Offset" start="512" end="543" type="uint"/>
29699f464c52Smaya    <field name="Indirect Partition7 Data Length" start="544" end="567" type="uint"/>
29709f464c52Smaya    <field name="Indirect Partition7 Data Start Offset" start="576" end="607" type="uint"/>
29719f464c52Smaya    <field name="Indirect Partition8 Data Length" start="608" end="631" type="uint"/>
29729f464c52Smaya    <field name="Indirect Partition8 Data Start Offset" start="640" end="671" type="uint"/>
29739f464c52Smaya    <field name="MB Header Error Handling" start="680" end="680" type="uint"/>
29749f464c52Smaya    <field name="Entropy Error Handling" start="682" end="682" type="uint"/>
29759f464c52Smaya    <field name="MPR Error (MV out of range) Handling" start="684" end="684" type="uint"/>
29769f464c52Smaya    <field name="BSD Premature Complete Error Handling" start="686" end="686" type="uint"/>
29779f464c52Smaya    <field name="Concealment Picture ID" start="688" end="689" type="uint"/>
29789f464c52Smaya    <field name="Concealment Method" start="703" end="703" type="uint">
29799f464c52Smaya      <value name="Intra 16x16 Prediction" value="0"/>
29809f464c52Smaya      <value name="Inter P Copy" value="1"/>
29819f464c52Smaya    </field>
29829f464c52Smaya  </instruction>
29839f464c52Smaya
29849f464c52Smaya  <instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="71" engine="video">
29859f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="69"/>
29869f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
29879f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
29889f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
29899f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
29909f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
29919f464c52Smaya    <group count="16" start="32" size="64">
29929f464c52Smaya      <field name="Direct MV Buffer - Address" start="0" end="63" type="address"/>
29939f464c52Smaya    </group>
29949f464c52Smaya    <field name="Direct MV Buffer - Attributes" start="1056" end="1087" type="MEMORYADDRESSATTRIBUTES"/>
29959f464c52Smaya    <field name="Direct MV Buffer (Write) - Address" start="1088" end="1151" type="address"/>
29969f464c52Smaya    <field name="Direct MV Buffer (Write) - Attributes" start="1152" end="1183" type="MEMORYADDRESSATTRIBUTES"/>
29979f464c52Smaya    <group count="34" start="1184" size="32">
29989f464c52Smaya      <field name="POC List" start="0" end="31" type="uint"/>
29999f464c52Smaya    </group>
30009f464c52Smaya  </instruction>
30019f464c52Smaya
30029f464c52Smaya  <instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
30039f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="12"/>
30049f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
30059f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
30069f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
30079f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
30089f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
30099f464c52Smaya    <field name="Frame Size" start="32" end="47" type="uint"/>
30109f464c52Smaya    <field name="Frame Width" start="64" end="71" type="uint"/>
30119f464c52Smaya    <field name="Frame Height" start="80" end="87" type="uint"/>
30129f464c52Smaya    <field name="Image Structure" start="104" end="105" type="uint">
30139f464c52Smaya      <value name="Frame Picture" value="0"/>
30149f464c52Smaya      <value name="Top Field Picture" value="1"/>
30159f464c52Smaya      <value name="Bottom Field Picture" value="3"/>
30169f464c52Smaya      <value name="Invalid, not allowed." value="2"/>
30179f464c52Smaya    </field>
30189f464c52Smaya    <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint">
30199f464c52Smaya      <value name="DEFAULT" value="0"/>
30209f464c52Smaya      <value name="EXPLICIT" value="1"/>
30219f464c52Smaya      <value name="IMPLICIT" value="2"/>
30229f464c52Smaya    </field>
30239f464c52Smaya    <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/>
30249f464c52Smaya    <field name="First Chroma QP Offset" start="112" end="116" type="uint"/>
30259f464c52Smaya    <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
30269f464c52Smaya    <field name="Field Picure" start="128" end="128" type="bool"/>
30279f464c52Smaya    <field name="MBAFF Mode" start="129" end="129" type="bool"/>
30289f464c52Smaya    <field name="Frame MB Only" start="130" end="130" type="bool"/>
30299f464c52Smaya    <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
30309f464c52Smaya    <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
30319f464c52Smaya    <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
30329f464c52Smaya    <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
30339f464c52Smaya    <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/>
30349f464c52Smaya    <field name="MB MV Format" start="136" end="136" type="uint">
30359f464c52Smaya      <value name="IGNORE" value="0"/>
30369f464c52Smaya      <value name="FOLLOW" value="1"/>
30379f464c52Smaya    </field>
30389f464c52Smaya    <field name="Chroma Format IDC" start="138" end="139" type="uint">
30399f464c52Smaya      <value name="Monochrome picture" value="0"/>
30409f464c52Smaya      <value name="4:2:0 picture" value="1"/>
30419f464c52Smaya      <value name="4:2:2 picture (not supported)" value="2"/>
30429f464c52Smaya      <value name="4:4:4 picture (not supported)" value="3"/>
30439f464c52Smaya    </field>
30449f464c52Smaya    <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
30459f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
30469f464c52Smaya    <field name="MB Status Read" start="143" end="143" type="bool"/>
30479f464c52Smaya    <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
30489f464c52Smaya    <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
30499f464c52Smaya    <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
30509f464c52Smaya    <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
30519f464c52Smaya    <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
30529f464c52Smaya    <field name="Force IPCM Control" start="167" end="167" type="bool"/>
30539f464c52Smaya    <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
30549f464c52Smaya    <field name="Minimum Frame Size Units" start="170" end="171" type="uint">
30559f464c52Smaya      <value name="Compatibility mode" value="0"/>
30569f464c52Smaya      <value name="16 bytes" value="1"/>
30579f464c52Smaya      <value name="4Kb" value="2"/>
30589f464c52Smaya      <value name="16Kb" value="3"/>
30599f464c52Smaya    </field>
30609f464c52Smaya    <field name="Non First Pass" start="176" end="176" type="uint"/>
30619f464c52Smaya    <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/>
30629f464c52Smaya    <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/>
30639f464c52Smaya    <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/>
30649f464c52Smaya    <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
30659f464c52Smaya    <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
30669f464c52Smaya    <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
30679f464c52Smaya    <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
30689f464c52Smaya    <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/>
30699f464c52Smaya    <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
30709f464c52Smaya    <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
30719f464c52Smaya    <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
30729f464c52Smaya    <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
30739f464c52Smaya    <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
30749f464c52Smaya    <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
30759f464c52Smaya    <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
30769f464c52Smaya      <value name="Compatibility mode" value="0"/>
30779f464c52Smaya      <value name="New mode" value="1"/>
30789f464c52Smaya    </field>
30799f464c52Smaya    <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
30809f464c52Smaya    <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
30819f464c52Smaya    <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
30829f464c52Smaya      <value name="Compatibility mode" value="0"/>
30839f464c52Smaya      <value name="New mode" value="1"/>
30849f464c52Smaya    </field>
30859f464c52Smaya    <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
30869f464c52Smaya    <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
30879f464c52Smaya    <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
30889f464c52Smaya    <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/>
30899f464c52Smaya    <field name="Initial QP Value" start="416" end="423" type="int"/>
30909f464c52Smaya    <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/>
30919f464c52Smaya    <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/>
30929f464c52Smaya    <field name="Number of Reference Frames" start="440" end="444" type="uint"/>
30939f464c52Smaya    <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/>
30949f464c52Smaya    <field name="Pic Order Present" start="448" end="448" type="bool"/>
30959f464c52Smaya    <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/>
30969f464c52Smaya    <field name="Pic Order Count Type" start="450" end="451" type="uint"/>
30979f464c52Smaya    <field name="Slice Group Map Type" start="456" end="458" type="uint"/>
30989f464c52Smaya    <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/>
30999f464c52Smaya    <field name="Number of Slice Groups" start="460" end="462" type="uint"/>
31009f464c52Smaya    <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/>
31019f464c52Smaya    <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/>
31029f464c52Smaya    <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/>
31039f464c52Smaya    <field name="Slice Group Change Rate" start="480" end="495" type="uint"/>
31049f464c52Smaya    <field name="Current Picture Frame Number" start="496" end="511" type="uint"/>
31059f464c52Smaya    <field name="Current Frame View ID" start="512" end="521" type="uint"/>
31069f464c52Smaya    <field name="Max View IDXL0" start="524" end="527" type="uint"/>
31079f464c52Smaya    <field name="Max View IDXL1" start="530" end="533" type="uint"/>
31089f464c52Smaya    <field name="Inter View Order Disable" start="543" end="543" type="bool"/>
31099f464c52Smaya  </instruction>
31109f464c52Smaya
31119f464c52Smaya  <instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
31129f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
31139f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
31149f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
31159f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
31169f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31179f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31189f464c52Smaya    <field name="Reference Picture List Select" start="32" end="32" type="uint"/>
31199f464c52Smaya    <group count="32" start="64" size="8">
31209f464c52Smaya      <field name="Reference List Entry" start="0" end="7" type="uint"/>
31219f464c52Smaya    </group>
31229f464c52Smaya  </instruction>
31239f464c52Smaya
31249f464c52Smaya  <instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
31259f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
31269f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
31279f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
31289f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
31299f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
31309f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
31319f464c52Smaya    <field name="Slice Type" start="32" end="35" type="uint">
31329f464c52Smaya      <value name="P Slice" value="0"/>
31339f464c52Smaya      <value name="B Slice" value="1"/>
31349f464c52Smaya      <value name="I Slice" value="2"/>
31359f464c52Smaya    </field>
31369f464c52Smaya    <field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
31379f464c52Smaya    <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
31389f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
31399f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
31409f464c52Smaya    <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
31419f464c52Smaya    <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
31429f464c52Smaya    <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
31439f464c52Smaya    <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
31449f464c52Smaya    <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
31459f464c52Smaya    <field name="Direct Prediction Type" start="125" end="125" type="uint">
31469f464c52Smaya      <value name="Temporal" value="0"/>
31479f464c52Smaya      <value name="Spatial" value="1"/>
31489f464c52Smaya    </field>
31499f464c52Smaya    <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
31509f464c52Smaya    <field name="Slice Start MB Number" start="128" end="142" type="uint"/>
31519f464c52Smaya    <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
31529f464c52Smaya    <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
31539f464c52Smaya    <field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
31549f464c52Smaya    <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
31559f464c52Smaya    <field name="Stream ID" start="192" end="193" type="uint"/>
31569f464c52Smaya    <field name="Slice ID" start="196" end="199" type="uint"/>
31579f464c52Smaya    <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
31589f464c52Smaya    <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
31599f464c52Smaya    <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
31609f464c52Smaya    <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
31619f464c52Smaya    <field name="Header Insertion Present" start="209" end="209" type="bool"/>
31629f464c52Smaya    <field name="Last Slice Group" start="211" end="211" type="bool"/>
31639f464c52Smaya    <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
31649f464c52Smaya    <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
31659f464c52Smaya    <field name="Rate Control Panic Type" start="214" end="214" type="uint">
31669f464c52Smaya      <value name="QP Panic" value="0"/>
31679f464c52Smaya      <value name="CBP Panic" value="1"/>
31689f464c52Smaya    </field>
31699f464c52Smaya    <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
31709f464c52Smaya    <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
31719f464c52Smaya    <field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
31729f464c52Smaya      <value name="Always Rate Control" value="0"/>
31739f464c52Smaya      <value name="Gentle Rate Control" value="1"/>
31749f464c52Smaya      <value name="Loose Rate Control" value="2"/>
31759f464c52Smaya    </field>
31769f464c52Smaya    <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
31779f464c52Smaya    <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/>
31789f464c52Smaya    <field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
31799f464c52Smaya    <field name="Grow Init" start="256" end="259" type="uint"/>
31809f464c52Smaya    <field name="Grow Resistance" start="260" end="263" type="uint"/>
31819f464c52Smaya    <field name="Shrink Init" start="264" end="267" type="uint"/>
31829f464c52Smaya    <field name="Shrink Resistance" start="268" end="271" type="uint"/>
31839f464c52Smaya    <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
31849f464c52Smaya    <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
31859f464c52Smaya    <field name="Correct 1" start="288" end="291" type="uint"/>
31869f464c52Smaya    <field name="Correct 2" start="292" end="295" type="uint"/>
31879f464c52Smaya    <field name="Correct 3" start="296" end="299" type="uint"/>
31889f464c52Smaya    <field name="Correct 4" start="300" end="303" type="uint"/>
31899f464c52Smaya    <field name="Correct 5" start="304" end="307" type="uint"/>
31909f464c52Smaya    <field name="Correct 6" start="308" end="311" type="uint"/>
31919f464c52Smaya    <field name="Round Intra" start="312" end="314" type="uint">
31929f464c52Smaya      <value name="+1/16" value="0"/>
31939f464c52Smaya      <value name="+2/16" value="1"/>
31949f464c52Smaya      <value name="+3/16" value="2"/>
31959f464c52Smaya      <value name="+4/16" value="3"/>
31969f464c52Smaya      <value name="+5/16" value="4"/>
31979f464c52Smaya      <value name="+6/16" value="5"/>
31989f464c52Smaya      <value name="+7/16" value="6"/>
31999f464c52Smaya      <value name="+8/16" value="7"/>
32009f464c52Smaya    </field>
32019f464c52Smaya    <field name="Round Intra Enable" start="315" end="315" type="bool"/>
32029f464c52Smaya    <field name="Round Inter" start="316" end="318" type="uint">
32039f464c52Smaya      <value name="+1/16" value="0"/>
32049f464c52Smaya      <value name="+2/16" value="1"/>
32059f464c52Smaya      <value name="+3/16" value="2"/>
32069f464c52Smaya      <value name="+4/16" value="3"/>
32079f464c52Smaya      <value name="+5/16" value="4"/>
32089f464c52Smaya      <value name="+6/16" value="5"/>
32099f464c52Smaya      <value name="+7/16" value="6"/>
32109f464c52Smaya      <value name="+8/16" value="7"/>
32119f464c52Smaya    </field>
32129f464c52Smaya    <field name="Round Inter Enable" start="319" end="319" type="bool"/>
32139f464c52Smaya    <field name="CV0" start="320" end="323" type="uint"/>
32149f464c52Smaya    <field name="CV1" start="324" end="327" type="uint"/>
32159f464c52Smaya    <field name="CV2" start="328" end="331" type="uint"/>
32169f464c52Smaya    <field name="CV3" start="332" end="335" type="uint"/>
32179f464c52Smaya    <field name="CV4" start="336" end="339" type="uint"/>
32189f464c52Smaya    <field name="CV5" start="340" end="343" type="uint"/>
32199f464c52Smaya    <field name="CV6" start="344" end="347" type="uint"/>
32209f464c52Smaya    <field name="CV7" start="348" end="351" type="uint"/>
32219f464c52Smaya  </instruction>
32229f464c52Smaya
32239f464c52Smaya  <instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video">
32249f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="96"/>
32259f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
32269f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
32279f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
32289f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
32299f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
32309f464c52Smaya    <field name="Weight and Offset Select" start="32" end="32" type="uint">
32319f464c52Smaya      <value name="L0 table" value="0"/>
32329f464c52Smaya      <value name="L1 table" value="1"/>
32339f464c52Smaya    </field>
32349f464c52Smaya    <group count="96" start="64" size="32">
32359f464c52Smaya      <field name="Weight Offset" start="0" end="31" type="uint"/>
32369f464c52Smaya    </group>
32379f464c52Smaya  </instruction>
32389f464c52Smaya
32399f464c52Smaya  <instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="10" engine="video">
32409f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
32419f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
32429f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
32439f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
32449f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
32459f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
32469f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="79" type="address"/>
32479f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Age for QUADLRU" start="96" end="97" type="uint"/>
32489f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Target Cache" start="99" end="100" type="uint">
32499f464c52Smaya      <value name="eLLC Only" value="0"/>
32509f464c52Smaya      <value name="LLC Only" value="1"/>
32519f464c52Smaya      <value name="LLC/eLLC" value="2"/>
32529f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
32539f464c52Smaya    </field>
32549f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Cacheability Control" start="101" end="102" type="uint">
32559f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
32569f464c52Smaya      <value name="Uncacheable" value="1"/>
32579f464c52Smaya      <value name="Writethrough" value="2"/>
32589f464c52Smaya      <value name="Writeback" value="3"/>
32599f464c52Smaya    </field>
32609f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="103" end="104" type="uint">
32619f464c52Smaya      <value name="Highest priority" value="0"/>
32629f464c52Smaya      <value name="Second highest priority" value="1"/>
32639f464c52Smaya      <value name="Third highest priority" value="2"/>
32649f464c52Smaya      <value name="Lowest priority" value="3"/>
32659f464c52Smaya    </field>
32669f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Address" start="134" end="175" type="address"/>
32679f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Age for QUADLRU" start="192" end="193" type="uint"/>
32689f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Target Cache" start="195" end="196" type="uint">
32699f464c52Smaya      <value name="eLLC Only" value="0"/>
32709f464c52Smaya      <value name="LLC Only" value="1"/>
32719f464c52Smaya      <value name="LLC/eLLC" value="2"/>
32729f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
32739f464c52Smaya    </field>
32749f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Cacheability Control" start="197" end="198" type="uint">
32759f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
32769f464c52Smaya      <value name="Uncacheable" value="1"/>
32779f464c52Smaya      <value name="Writethrough" value="2"/>
32789f464c52Smaya      <value name="Writeback" value="3"/>
32799f464c52Smaya    </field>
32809f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="199" end="200" type="uint">
32819f464c52Smaya      <value name="Highest priority" value="0"/>
32829f464c52Smaya      <value name="Second highest priority" value="1"/>
32839f464c52Smaya      <value name="Third highest priority" value="2"/>
32849f464c52Smaya      <value name="Lowest priority" value="3"/>
32859f464c52Smaya    </field>
32869f464c52Smaya    <field name="Bitplane Read Buffer - Address" start="230" end="271" type="uint"/>
32879f464c52Smaya    <field name="Bitplane Read Buffer - Age for QUADLRU" start="288" end="289" type="uint"/>
32889f464c52Smaya    <field name="Bitplane Read Buffer - Target Cache" start="291" end="292" type="uint">
32899f464c52Smaya      <value name="eLLC Only" value="0"/>
32909f464c52Smaya      <value name="LLC Only" value="1"/>
32919f464c52Smaya      <value name="LLC/eLLC" value="2"/>
32929f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
32939f464c52Smaya    </field>
32949f464c52Smaya    <field name="Bitplane Read Buffer - Cacheability Control" start="293" end="294" type="uint">
32959f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence (if coherent cycle)" value="0"/>
32969f464c52Smaya      <value name="Uncacheable" value="1"/>
32979f464c52Smaya      <value name="Writethrough" value="2"/>
32989f464c52Smaya      <value name="Writeback" value="3"/>
32999f464c52Smaya    </field>
33009f464c52Smaya    <field name="Bitplane Read Buffer - Arbitration Priority Control" start="295" end="296" type="uint">
33019f464c52Smaya      <value name="Highest priority" value="0"/>
33029f464c52Smaya      <value name="Second highest priority" value="1"/>
33039f464c52Smaya      <value name="Third highest priority" value="2"/>
33049f464c52Smaya      <value name="Lowest priority" value="3"/>
33059f464c52Smaya    </field>
33069f464c52Smaya  </instruction>
33079f464c52Smaya
33089f464c52Smaya  <instruction name="MFX_DBK_OBJECT" bias="2" length="13" engine="video">
33099f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="11"/>
33109f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
33119f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
33129f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
33139f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
33149f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
33159f464c52Smaya    <field name="Pre Deblocking Source - Address" start="38" end="79" type="address"/>
33169f464c52Smaya    <field name="Pre Deblocking Source - Age for QUADLRU" start="96" end="97" type="uint"/>
33179f464c52Smaya    <field name="Pre Deblocking Source - Target Cache" start="99" end="100" type="uint">
33189f464c52Smaya      <value name="eLLC Only" value="0"/>
33199f464c52Smaya      <value name="LLC Only" value="1"/>
33209f464c52Smaya      <value name="LLC/eLLC" value="2"/>
33219f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
33229f464c52Smaya    </field>
33239f464c52Smaya    <field name="Pre Deblocking Source - Cacheability Control" start="101" end="102" type="uint">
33249f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
33259f464c52Smaya      <value name="Uncacheable" value="1"/>
33269f464c52Smaya      <value name="Writethrough" value="2"/>
33279f464c52Smaya      <value name="Writeback" value="3"/>
33289f464c52Smaya    </field>
33299f464c52Smaya    <field name="Pre Deblocking Source - Arbitration Priority Control" start="103" end="104" type="uint">
33309f464c52Smaya      <value name="Highest priority" value="0"/>
33319f464c52Smaya      <value name="Second highest priority" value="1"/>
33329f464c52Smaya      <value name="Third highest priority" value="2"/>
33339f464c52Smaya      <value name="Lowest priority" value="3"/>
33349f464c52Smaya    </field>
33359f464c52Smaya    <field name="Deblocking Control - Address" start="134" end="175" type="address"/>
33369f464c52Smaya    <field name="Deblocking Control - Age for QUADLRU" start="192" end="193" type="uint"/>
33379f464c52Smaya    <field name="Deblocking Control - Target Cache" start="195" end="196" type="uint">
33389f464c52Smaya      <value name="eLLC Only" value="0"/>
33399f464c52Smaya      <value name="LLC Only" value="1"/>
33409f464c52Smaya      <value name="LLC/eLLC" value="2"/>
33419f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
33429f464c52Smaya    </field>
33439f464c52Smaya    <field name="Deblocking Control - Cacheability Control" start="197" end="198" type="uint">
33449f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
33459f464c52Smaya      <value name="Uncacheable" value="1"/>
33469f464c52Smaya      <value name="Writethrough" value="2"/>
33479f464c52Smaya      <value name="Writeback" value="3"/>
33489f464c52Smaya    </field>
33499f464c52Smaya    <field name="Deblocking Control - Arbitration Priority Control" start="199" end="200" type="uint">
33509f464c52Smaya      <value name="Highest priority" value="0"/>
33519f464c52Smaya      <value name="Second highest priority" value="1"/>
33529f464c52Smaya      <value name="Third highest priority" value="2"/>
33539f464c52Smaya      <value name="Lowest priority" value="3"/>
33549f464c52Smaya    </field>
33559f464c52Smaya    <field name="Deblocking Destination - Address" start="230" end="271" type="address"/>
33569f464c52Smaya    <field name="Deblocking Destination - Age for QUADLRU" start="288" end="289" type="uint"/>
33579f464c52Smaya    <field name="Deblocking Destination - Target Cache" start="291" end="292" type="uint">
33589f464c52Smaya      <value name="eLLC Only" value="0"/>
33599f464c52Smaya      <value name="LLC Only" value="1"/>
33609f464c52Smaya      <value name="LLC/eLLC" value="2"/>
33619f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
33629f464c52Smaya    </field>
33639f464c52Smaya    <field name="Deblocking Destination - Cacheability Control" start="293" end="294" type="uint">
33649f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
33659f464c52Smaya      <value name="Uncacheable" value="1"/>
33669f464c52Smaya      <value name="Writethrough" value="2"/>
33679f464c52Smaya      <value name="Writeback" value="3"/>
33689f464c52Smaya    </field>
33699f464c52Smaya    <field name="Deblocking Destination - Arbitration Priority Control" start="295" end="296" type="uint">
33709f464c52Smaya      <value name="Highest priority" value="0"/>
33719f464c52Smaya      <value name="Second highest priority" value="1"/>
33729f464c52Smaya      <value name="Third highest priority" value="2"/>
33739f464c52Smaya      <value name="Lowest priority" value="3"/>
33749f464c52Smaya    </field>
33759f464c52Smaya    <field name="Deblock Row Store - Address" start="326" end="367" type="address"/>
33769f464c52Smaya    <field name="Deblock Row Store - Age for QUADLRU" start="384" end="385" type="uint"/>
33779f464c52Smaya    <field name="Deblock Row Store - Target Cache" start="387" end="388" type="uint">
33789f464c52Smaya      <value name="eLLC Only" value="0"/>
33799f464c52Smaya      <value name="LLC Only" value="1"/>
33809f464c52Smaya      <value name="LLC/eLLC" value="2"/>
33819f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
33829f464c52Smaya    </field>
33839f464c52Smaya    <field name="Deblock Row Store - Cacheability Control" start="389" end="390" type="uint">
33849f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
33859f464c52Smaya      <value name="Uncacheable" value="1"/>
33869f464c52Smaya      <value name="Writethrough" value="2"/>
33879f464c52Smaya      <value name="Writeback" value="3"/>
33889f464c52Smaya    </field>
33899f464c52Smaya    <field name="Deblock Row Store - Arbitration Priority Control" start="391" end="392" type="uint">
33909f464c52Smaya      <value name="Highest priority" value="0"/>
33919f464c52Smaya      <value name="Second highest priority" value="1"/>
33929f464c52Smaya      <value name="Third highest priority" value="2"/>
33939f464c52Smaya      <value name="Lowest priority" value="3"/>
33949f464c52Smaya    </field>
33959f464c52Smaya  </instruction>
33969f464c52Smaya
33979f464c52Smaya  <instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video">
33989f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="32"/>
33999f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
34009f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
34019f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
34029f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
340301e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34049f464c52Smaya    <field name="AVC" start="32" end="33" type="uint">
34059f464c52Smaya      <value name="AVC_4x4_Intra_MATRIX" value="0"/>
34069f464c52Smaya      <value name="AVC_4x4_Inter_MATRIX" value="1"/>
34079f464c52Smaya      <value name="AVC_8x8_Intra_MATRIX" value="2"/>
34089f464c52Smaya      <value name="AVC_8x8_Inter_MATRIX" value="3"/>
340901e04c3fSmrg    </field>
34109f464c52Smaya    <field name="MPEG2" start="32" end="33" type="uint">
34119f464c52Smaya      <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
34129f464c52Smaya      <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
341301e04c3fSmrg    </field>
34149f464c52Smaya    <field name="Forward Quantizer Matrix" start="64" end="1087" type="uint"/>
34159f464c52Smaya  </instruction>
34169f464c52Smaya
34179f464c52Smaya  <instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="26" engine="video">
34189f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="24"/>
34199f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
34209f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
34219f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
34229f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
34239f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34249f464c52Smaya    <field name="MFX Indirect Bitstream Object - Address" start="32" end="95" type="address"/>
34259f464c52Smaya    <field name="MFX Indirect Bitstream Object - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
34269f464c52Smaya    <field name="MFX Indirect Bitstream Object - Upper Bound" start="128" end="191" type="address"/>
34279f464c52Smaya    <field name="MFX Indirect MV Object - Address" start="192" end="255" type="address"/>
34289f464c52Smaya    <field name="MFX Indirect MV Object - Attributes" start="256" end="287" type="MEMORYADDRESSATTRIBUTES"/>
34299f464c52Smaya    <field name="MFX Indirect MV Object - Upper Bound" start="288" end="351" type="address"/>
34309f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Address" start="352" end="415" type="address"/>
34319f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Attributes" start="416" end="447" type="MEMORYADDRESSATTRIBUTES"/>
34329f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Upper Bound" start="448" end="511" type="address"/>
34339f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Address" start="512" end="575" type="address"/>
34349f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Attributes" start="576" end="607" type="MEMORYADDRESSATTRIBUTES"/>
34359f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Upper Bound" start="608" end="671" type="address"/>
34369f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Address" start="672" end="735" type="address"/>
34379f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Attributes" start="736" end="767" type="MEMORYADDRESSATTRIBUTES"/>
34389f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Upper Bound" start="768" end="831" type="address"/>
34399f464c52Smaya  </instruction>
34409f464c52Smaya
34419f464c52Smaya  <instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video">
34429f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="829"/>
34439f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
34449f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
34459f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
34469f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
34479f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34489f464c52Smaya    <field name="Huffman Table ID" start="32" end="32" type="uint"/>
34499f464c52Smaya    <group count="12" start="64" size="8">
34509f464c52Smaya      <field name="DC_BITS" start="0" end="7" type="uint"/>
34519f464c52Smaya    </group>
34529f464c52Smaya    <group count="12" start="160" size="8">
34539f464c52Smaya      <field name="DC_HUFFVAL" start="0" end="7" type="uint"/>
34549f464c52Smaya    </group>
34559f464c52Smaya    <group count="16" start="256" size="8">
34569f464c52Smaya      <field name="AC_BITS" start="0" end="15" type="uint"/>
34579f464c52Smaya    </group>
34589f464c52Smaya    <group count="160" start="384" size="8">
34599f464c52Smaya      <field name="AC_HUFFVAL" start="0" end="7" type="uint"/>
34609f464c52Smaya    </group>
34619f464c52Smaya    <group count="2" start="1664" size="8">
34629f464c52Smaya      <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/>
346301e04c3fSmrg    </group>
346401e04c3fSmrg  </instruction>
346501e04c3fSmrg
34669f464c52Smaya  <instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video">
34679f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
34689f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
34699f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
34709f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/>
34719f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
347201e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34739f464c52Smaya    <field name="Input Format YUV" start="32" end="34" type="uint"/>
34749f464c52Smaya    <field name="Rotation" start="36" end="37" type="uint"/>
34759f464c52Smaya    <field name="Output Format YUV" start="40" end="43" type="uint"/>
34769f464c52Smaya    <field name="Average Down Sampling" start="48" end="48" type="uint"/>
34779f464c52Smaya    <field name="Vertical Down-Sampling Enable" start="49" end="49" type="bool"/>
34789f464c52Smaya    <field name="Horizontal Down-Sampling Enable" start="50" end="50" type="bool"/>
34799f464c52Smaya    <field name="Vertical Up-Sampling Enable" start="52" end="52" type="bool"/>
34809f464c52Smaya    <field name="Frame Width In Blocks" start="64" end="76" type="uint"/>
34819f464c52Smaya    <field name="Frame Height In Blocks" start="80" end="92" type="uint"/>
34829f464c52Smaya  </instruction>
34839f464c52Smaya
34849f464c52Smaya  <instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video">
34859f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
34869f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
34879f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
34889f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
348901e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
34909f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
34919f464c52Smaya    <field name="Scan Order" start="38" end="38" type="uint">
34929f464c52Smaya      <value name="MPEG_ZIGZAG_SCAN" value="0"/>
34939f464c52Smaya      <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
34949f464c52Smaya    </field>
34959f464c52Smaya    <field name="Intra VLC Format" start="39" end="39" type="uint"/>
34969f464c52Smaya    <field name="Quantizer Scale Type" start="40" end="40" type="uint">
34979f464c52Smaya      <value name="MPEG_QSCALE_LINEAR" value="0"/>
34989f464c52Smaya      <value name="MPEG_QSCALE_NONLINEAR" value="1"/>
34999f464c52Smaya    </field>
35009f464c52Smaya    <field name="Concealment MV" start="41" end="41" type="bool"/>
35019f464c52Smaya    <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
35029f464c52Smaya    <field name="Top Field First" start="43" end="43" type="bool"/>
35039f464c52Smaya    <field name="Picture Structure" start="44" end="45" type="uint">
35049f464c52Smaya      <value name="MPEG_TOP_FIELD" value="1"/>
35059f464c52Smaya      <value name="MPEG_BOTTOM_FIELD" value="2"/>
35069f464c52Smaya      <value name="MPEG_FRAME" value="3"/>
35079f464c52Smaya    </field>
35089f464c52Smaya    <field name="Intra DC Precision" start="46" end="47" type="uint"/>
35099f464c52Smaya    <field name="F_code[0][0]" start="48" end="51" type="uint"/>
35109f464c52Smaya    <field name="F_code[0][1]" start="52" end="55" type="uint"/>
35119f464c52Smaya    <field name="F_code[1][0]" start="56" end="59" type="uint"/>
35129f464c52Smaya    <field name="F_code[1][1]" start="60" end="63" type="uint"/>
35139f464c52Smaya    <field name="Disable Mismatch" start="64" end="64" type="bool"/>
35149f464c52Smaya    <field name="Mismatch Control Disable" start="65" end="65" type="bool"/>
35159f464c52Smaya    <field name="Picture Coding Type" start="73" end="74" type="uint">
35169f464c52Smaya      <value name="MPEG_I_PICTURE" value="1"/>
35179f464c52Smaya      <value name="MPEG_P_PICTURE" value="2"/>
35189f464c52Smaya      <value name="MPEG_B_PICTURE" value="3"/>
35199f464c52Smaya    </field>
35209f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/>
35219f464c52Smaya    <field name="P/B Slice Predicted MV Override" start="88" end="88" type="uint">
35229f464c52Smaya      <value name="Predicted" value="0"/>
35239f464c52Smaya      <value name="ZERO" value="1"/>
35249f464c52Smaya    </field>
35259f464c52Smaya    <field name="P/B Slice Predicted Bi-direction MV Type Override" start="89" end="90" type="uint" prefix="MPEG2_MVTO">
35269f464c52Smaya      <value name="BID" value="0"/>
35279f464c52Smaya      <value name="RESERVED" value="1"/>
35289f464c52Smaya      <value name="FWD" value="2"/>
35299f464c52Smaya      <value name="BWD" value="3"/>
35309f464c52Smaya    </field>
35319f464c52Smaya    <field name="P/B Slice Concealment Mode" start="92" end="93" type="uint" prefix="MPEG2_CM">
35329f464c52Smaya      <value name="INTER" value="0"/>
35339f464c52Smaya      <value name="LEFT" value="1"/>
35349f464c52Smaya      <value name="ZERO" value="2"/>
35359f464c52Smaya      <value name="INTRA" value="3"/>
35369f464c52Smaya    </field>
35379f464c52Smaya    <field name="I Slice Concealment Mode" start="95" end="95" type="uint" prefix="MPEG2_CM">
35389f464c52Smaya      <value name="Intra Concealment" value="0"/>
35399f464c52Smaya      <value name="Inter Concealment" value="1"/>
35409f464c52Smaya    </field>
35419f464c52Smaya    <field name="Frame Width In MBs" start="96" end="103" type="uint"/>
35429f464c52Smaya    <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
35439f464c52Smaya    <field name="Slice Concealment Disable" start="127" end="127" type="bool"/>
35449f464c52Smaya    <field name="Round Intra DC" start="129" end="130" type="uint"/>
35459f464c52Smaya    <field name="Round Inter DC" start="132" end="134" type="uint"/>
35469f464c52Smaya    <field name="Round Intra AC" start="136" end="138" type="uint"/>
35479f464c52Smaya    <field name="Round Inter AC," start="140" end="142" type="uint"/>
35489f464c52Smaya    <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
35499f464c52Smaya    <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/>
35509f464c52Smaya    <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/>
35519f464c52Smaya    <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/>
35529f464c52Smaya    <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/>
35539f464c52Smaya    <field name="MBRateControlMask" start="169" end="169" type="uint"/>
35549f464c52Smaya    <field name="Minimum Frame Size Units" start="170" end="171" type="uint">
35559f464c52Smaya      <value name="Compatibility mode" value="0"/>
35569f464c52Smaya      <value name="16 bytes" value="1"/>
35579f464c52Smaya      <value name="4Kb" value="2"/>
35589f464c52Smaya      <value name="16Kb" value="3"/>
35599f464c52Smaya    </field>
35609f464c52Smaya    <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/>
35619f464c52Smaya    <field name="Frame Size Control" start="176" end="176" type="uint"/>
35629f464c52Smaya    <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
35639f464c52Smaya    <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
35649f464c52Smaya    <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
35659f464c52Smaya    <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
35669f464c52Smaya    <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
35679f464c52Smaya    <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
35689f464c52Smaya    <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
35699f464c52Smaya    <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
35709f464c52Smaya    <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
35719f464c52Smaya    <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
35729f464c52Smaya    <field name="Frame Bitrate Min" start="320" end="333" type="uint"/>
35739f464c52Smaya    <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint">
35749f464c52Smaya      <value name="Compatibility mode" value="0"/>
35759f464c52Smaya      <value name="New Mode" value="1"/>
35769f464c52Smaya    </field>
35779f464c52Smaya    <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
35789f464c52Smaya    <field name="Frame Bitrate Max" start="336" end="349" type="uint"/>
35799f464c52Smaya    <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint">
35809f464c52Smaya      <value name="Compatibility mode" value="0"/>
35819f464c52Smaya      <value name="New mode" value="1"/>
35829f464c52Smaya    </field>
35839f464c52Smaya    <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
35849f464c52Smaya    <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/>
35859f464c52Smaya    <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/>
35869f464c52Smaya  </instruction>
35879f464c52Smaya
35889f464c52Smaya  <instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video">
35899f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
35909f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
35919f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
35929f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
35939f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
35949f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
35959f464c52Smaya    <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
35969f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
35979f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
35989f464c52Smaya    <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
35999f464c52Smaya    <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
36009f464c52Smaya    <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
36019f464c52Smaya    <field name="Slice Header Indicator" start="46" end="46" type="uint">
36029f464c52Smaya      <value name="SLICE_HEADER" value="1"/>
36039f464c52Smaya      <value name="LEGACY" value="0"/>
360401e04c3fSmrg    </field>
36059f464c52Smaya    <field name="Header Length Excluded From Size" start="47" end="47" type="uint">
36069f464c52Smaya      <value name="NO_ACCUMULATION" value="1"/>
36079f464c52Smaya      <value name="ACCUMULATE" value="0"/>
36089f464c52Smaya    </field>
36099f464c52Smaya    <field name="Data Byte Offset" start="48" end="49" type="uint"/>
36109f464c52Smaya    <group count="0" start="64" size="32">
36119f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
361201e04c3fSmrg    </group>
361301e04c3fSmrg  </instruction>
361401e04c3fSmrg
36159f464c52Smaya  <instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="61" engine="video">
36169f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="59"/>
36179f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
36189f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
36199f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
36209f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
362101e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
36229f464c52Smaya    <field name="Pre Deblocking Destination - Address" start="38" end="79" type="address"/>
36239f464c52Smaya    <field name="Pre Deblocking Destination - MOCS" start="96" end="102" type="uint"/>
36249f464c52Smaya    <field name="Pre Deblocking Destination - Arbitration Priority Control" start="103" end="104" type="uint">
36259f464c52Smaya      <value name="Highest priority" value="0"/>
36269f464c52Smaya      <value name="Second highest priority" value="1"/>
36279f464c52Smaya      <value name="Third highest priority" value="2"/>
36289f464c52Smaya      <value name="Lowest priority" value="3"/>
36299f464c52Smaya    </field>
36309f464c52Smaya    <field name="Post Deblocking Destination - Address" start="134" end="175" type="address"/>
36319f464c52Smaya    <field name="Post Deblocking Destination - MOCS" start="192" end="198" type="uint"/>
36329f464c52Smaya    <field name="Post Deblocking Destination - Arbitration Priority Control" start="199" end="200" type="uint">
36339f464c52Smaya      <value name="Highest priority" value="0"/>
36349f464c52Smaya      <value name="Second highest priority" value="1"/>
36359f464c52Smaya      <value name="Third highest priority" value="2"/>
36369f464c52Smaya      <value name="Lowest priority" value="3"/>
36379f464c52Smaya    </field>
36389f464c52Smaya    <field name="Original Uncompressed Picture Source - Address" start="230" end="271" type="address"/>
36399f464c52Smaya    <field name="Original Uncompressed Picture Source - MOCS" start="288" end="294" type="uint"/>
36409f464c52Smaya    <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="295" end="296" type="uint">
36419f464c52Smaya      <value name="Highest priority" value="0"/>
36429f464c52Smaya      <value name="Second highest priority" value="1"/>
36439f464c52Smaya      <value name="Third highest priority" value="2"/>
36449f464c52Smaya      <value name="Lowest priority" value="3"/>
36459f464c52Smaya    </field>
36469f464c52Smaya    <field name="Stream-Out Data Destination - Address" start="326" end="367" type="address"/>
36479f464c52Smaya    <field name="Stream-Out Data Destination - MOCS" start="384" end="390" type="uint"/>
36489f464c52Smaya    <field name="Stream-Out Data Destination - Arbitration Priority Control" start="391" end="392" type="uint">
36499f464c52Smaya      <value name="Highest priority" value="0"/>
36509f464c52Smaya      <value name="Second highest priority" value="1"/>
36519f464c52Smaya      <value name="Third highest priority" value="2"/>
36529f464c52Smaya      <value name="Lowest priority" value="3"/>
36539f464c52Smaya    </field>
36549f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Address High" start="422" end="463" type="address"/>
36559f464c52Smaya    <field name="Intra Row Store Scratch Buffer - MOCS" start="480" end="486" type="uint"/>
36569f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="487" end="488" type="uint">
36579f464c52Smaya      <value name="Highest priority" value="0"/>
36589f464c52Smaya      <value name="Second highest priority" value="1"/>
36599f464c52Smaya      <value name="Third highest priority" value="2"/>
36609f464c52Smaya      <value name="Lowest priority" value="3"/>
36619f464c52Smaya    </field>
36629f464c52Smaya    <field name="Deblocking Filter Row Store Scratch - Address High" start="518" end="559" type="address"/>
36639f464c52Smaya    <field name="Deblocking Filter Row Store Scratch - MOCS" start="576" end="582" type="uint"/>
36649f464c52Smaya    <field name="Deblocking Filter Row Store Scratch - Arbitration Priority Control" start="583" end="584" type="uint">
36659f464c52Smaya      <value name="Highest priority" value="0"/>
36669f464c52Smaya      <value name="Second highest priority" value="1"/>
36679f464c52Smaya      <value name="Third highest priority" value="2"/>
36689f464c52Smaya      <value name="Lowest priority" value="3"/>
36699f464c52Smaya    </field>
36709f464c52Smaya    <group count="16" start="608" size="64">
36719f464c52Smaya      <field name="Reference Picture - Address" start="0" end="63" type="address"/>
36729f464c52Smaya    </group>
36739f464c52Smaya    <field name="Reference Picture - MOCS" start="1632" end="1638" type="uint"/>
36749f464c52Smaya    <field name="Reference Picture - Arbitration Priority Control" start="1639" end="1640" type="uint">
36759f464c52Smaya      <value name="Highest priority" value="0"/>
36769f464c52Smaya      <value name="Second highest priority" value="1"/>
36779f464c52Smaya      <value name="Third highest priority" value="2"/>
36789f464c52Smaya      <value name="Lowest priority" value="3"/>
36799f464c52Smaya    </field>
36809f464c52Smaya    <field name="MB Status Buffer - Address" start="1670" end="1711" type="address"/>
36819f464c52Smaya    <field name="MB Status Buffer - MOCS" start="1728" end="1734" type="uint"/>
36829f464c52Smaya    <field name="MB Status Buffer - Arbitration Priority Control" start="1735" end="1736" type="uint">
36839f464c52Smaya      <value name="Highest priority" value="0"/>
36849f464c52Smaya      <value name="Second highest priority" value="1"/>
36859f464c52Smaya      <value name="Third highest priority" value="2"/>
36869f464c52Smaya      <value name="Lowest priority" value="3"/>
36879f464c52Smaya    </field>
36889f464c52Smaya    <field name="MB ILDB Stream-Out Buffer - Address" start="1766" end="1807" type="address"/>
36899f464c52Smaya    <field name="MB ILDB Stream-Out Buffer - MOCS" start="1824" end="1830" type="uint"/>
36909f464c52Smaya    <field name="MB ILDB Stream-Out Buffer - Arbitration Priority Control" start="1831" end="1832" type="uint">
36919f464c52Smaya      <value name="Highest priority" value="0"/>
36929f464c52Smaya      <value name="Second highest priority" value="1"/>
36939f464c52Smaya      <value name="Third highest priority" value="2"/>
36949f464c52Smaya      <value name="Lowest priority" value="3"/>
36959f464c52Smaya    </field>
36969f464c52Smaya    <field name="Second MB ILDB Stream-Out Buffer - Address High" start="1862" end="1903" type="address"/>
36979f464c52Smaya    <field name="Second MB ILDB Stream-Out Buffer - MOCS" start="1920" end="1926" type="uint"/>
36989f464c52Smaya    <field name="Second MB ILDB Stream-Out Buffer - Arbitration Priority Control" start="1927" end="1928" type="uint">
36999f464c52Smaya      <value name="Highest priority" value="0"/>
37009f464c52Smaya      <value name="Second highest priority" value="1"/>
37019f464c52Smaya      <value name="Third highest priority" value="2"/>
37029f464c52Smaya      <value name="Lowest priority" value="3"/>
37039f464c52Smaya    </field>
37049f464c52Smaya  </instruction>
37059f464c52Smaya
37069f464c52Smaya  <instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video">
37079f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
37089f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
37099f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
37109f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
371101e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
37139f464c52Smaya    <field name="Standard Select" start="32" end="35" type="uint" prefix="SS">
37149f464c52Smaya      <value name="MPEG2" value="0"/>
37159f464c52Smaya      <value name="VC1" value="1"/>
37169f464c52Smaya      <value name="AVC" value="2"/>
37179f464c52Smaya      <value name="JPEG" value="3"/>
37189f464c52Smaya      <value name="VP8" value="5"/>
37199f464c52Smaya      <value name="UVLD" value="15"/>
37209f464c52Smaya    </field>
37219f464c52Smaya    <field name="Codec Select" start="36" end="36" type="uint">
37229f464c52Smaya      <value name="Decode" value="0"/>
37239f464c52Smaya      <value name="Encode" value="1"/>
37249f464c52Smaya    </field>
37259f464c52Smaya    <field name="Stitch Mode" start="37" end="37" type="bool"/>
37269f464c52Smaya    <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
37279f464c52Smaya    <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
37289f464c52Smaya    <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
37299f464c52Smaya    <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/>
37309f464c52Smaya    <field name="Deblocker Stream-Out Enable" start="44" end="44" type="bool"/>
37319f464c52Smaya    <field name="Decoder Mode select" start="47" end="48" type="uint">
37329f464c52Smaya      <value name="VLD Mode" value="0"/>
37339f464c52Smaya      <value name="IT Mode" value="1"/>
37349f464c52Smaya      <value name="Deblocker Mode" value="2"/>
37359f464c52Smaya      <value name="Interlayer Mode" value="3"/>
37369f464c52Smaya    </field>
37379f464c52Smaya    <field name="Decoder Short Format Mode" start="49" end="49" type="uint">
37389f464c52Smaya      <value name="Short Format Driver Interface" value="0"/>
37399f464c52Smaya      <value name="Long Format Driver Interface" value="1"/>
37409f464c52Smaya    </field>
37419f464c52Smaya    <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/>
37429f464c52Smaya    <field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/>
37439f464c52Smaya  </instruction>
37449f464c52Smaya
37459f464c52Smaya  <instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
37469f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="32"/>
37479f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/>
37489f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
37499f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
37509f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
37529f464c52Smaya    <field name="AVC" start="32" end="33" type="uint">
37539f464c52Smaya      <value name="AVC_4x4_Intra_MATRIX" value="0"/>
37549f464c52Smaya      <value name="AVC_4x4_Inter_MATRIX" value="1"/>
37559f464c52Smaya      <value name="AVC_8x8_Intra_MATRIX" value="2"/>
37569f464c52Smaya      <value name="AVC_8x8_Inter_MATRIX" value="3"/>
375701e04c3fSmrg    </field>
37589f464c52Smaya    <field name="MPEG2" start="32" end="33" type="uint">
37599f464c52Smaya      <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
37609f464c52Smaya      <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
376101e04c3fSmrg    </field>
37629f464c52Smaya    <field name="Forward Quantizer Matrix" start="64" end="1087" type="uint"/>
37639f464c52Smaya  </instruction>
37649f464c52Smaya
37659f464c52Smaya  <instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
37669f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
37679f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
37689f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
37699f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
37709f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
37729f464c52Smaya    <field name="State Pointer Index" start="32" end="33" type="uint"/>
37739f464c52Smaya    <field name="State Pointer" start="37" end="63" type="uint"/>
37749f464c52Smaya  </instruction>
37759f464c52Smaya
37769f464c52Smaya  <instruction name="MFX_STITCH_OBJECT" bias="2" engine="video">
37779f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
37789f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
37799f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
37809f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
37819f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
37829f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
37839f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
37849f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
37859f464c52Smaya    <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
37869f464c52Smaya    <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/>
37879f464c52Smaya    <field name="Indirect Data Length" start="64" end="82" type="uint"/>
378801e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
37899f464c52Smaya    <group count="0" start="128" size="32">
37909f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
379101e04c3fSmrg    </group>
379201e04c3fSmrg  </instruction>
379301e04c3fSmrg
37949f464c52Smaya  <instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
37959f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
37969f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
37979f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
37989f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
37999f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
380001e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38019f464c52Smaya    <field name="Surface ID" start="32" end="35" type="uint">
38029f464c52Smaya      <value name="Source Input Picture" value="4"/>
38039f464c52Smaya      <value name="Reconstructed Scaled Reference Picture" value="5"/>
38049f464c52Smaya    </field>
38059f464c52Smaya    <field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="u0.2"/>
38069f464c52Smaya    <field name="Width" start="68" end="81" type="uint"/>
38079f464c52Smaya    <field name="Height" start="82" end="95" type="uint"/>
38089f464c52Smaya    <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
38099f464c52Smaya      <value name="XMAJOR" value="0"/>
38109f464c52Smaya      <value name="YMAJOR" value="1"/>
38119f464c52Smaya    </field>
38129f464c52Smaya    <field name="Tiled Surface" start="97" end="97" type="bool"/>
38139f464c52Smaya    <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
38149f464c52Smaya    <field name="Surface Pitch" start="99" end="115" type="uint"/>
38159f464c52Smaya    <field name="Interleave Chroma" start="123" end="123" type="bool"/>
38169f464c52Smaya    <field name="Surface Format" start="124" end="127" type="uint">
38179f464c52Smaya      <value name="YCRCB_NORMAL" value="0"/>
38189f464c52Smaya      <value name="YCRCB_SWAPUVY" value="1"/>
38199f464c52Smaya      <value name="YCRCB_SWAPUV" value="2"/>
38209f464c52Smaya      <value name="YCRCB_SWAPY" value="3"/>
38219f464c52Smaya      <value name="PLANAR_420_8" value="4"/>
38229f464c52Smaya      <value name="PLANAR_411_8" value="5"/>
38239f464c52Smaya      <value name="PLANAR_422_8" value="6"/>
38249f464c52Smaya      <value name="STMM_DN_STATISTICS" value="7"/>
38259f464c52Smaya      <value name="R10G10B10A2_UNORM" value="8"/>
38269f464c52Smaya      <value name="R8G8B8A8_UNORM" value="9"/>
38279f464c52Smaya      <value name="R8B8_UNORM (CrCb)" value="10"/>
38289f464c52Smaya      <value name="R8_UNORM (Cr/Cb)" value="11"/>
38299f464c52Smaya      <value name="Y8_UNORM" value="12"/>
38309f464c52Smaya    </field>
38319f464c52Smaya    <field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/>
38329f464c52Smaya    <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/>
38339f464c52Smaya    <field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/>
38349f464c52Smaya    <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
38359f464c52Smaya  </instruction>
38369f464c52Smaya
38379f464c52Smaya  <instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="7" engine="video">
38389f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="5"/>
38399f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
38409f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
38419f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
384201e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38449f464c52Smaya    <field name="Direct MV Write Buffer - Address" start="32" end="95" type="address"/>
38459f464c52Smaya    <field name="Direct MV Write Buffer - Attributes" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
38469f464c52Smaya    <field name="Direct MV Read Buffer - Address" start="128" end="191" type="address"/>
38479f464c52Smaya    <field name="Direct MV Read Buffer - Attributes" start="192" end="223" type="MEMORYADDRESSATTRIBUTES"/>
384801e04c3fSmrg  </instruction>
384901e04c3fSmrg
38509f464c52Smaya  <instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video">
38519f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
38529f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
38539f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
38549f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
38559f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
385601e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38579f464c52Smaya    <field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/>
38589f464c52Smaya    <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/>
38599f464c52Smaya    <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/>
38609f464c52Smaya    <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/>
38619f464c52Smaya    <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/>
38629f464c52Smaya    <field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
38639f464c52Smaya    <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
38649f464c52Smaya    <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
38659f464c52Smaya    <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
38669f464c52Smaya    <field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
38679f464c52Smaya    <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
38689f464c52Smaya    <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
38699f464c52Smaya    <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
38709f464c52Smaya    <field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
38719f464c52Smaya    <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
38729f464c52Smaya    <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
38739f464c52Smaya    <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
38749f464c52Smaya    <field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
38759f464c52Smaya    <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
38769f464c52Smaya    <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
38779f464c52Smaya    <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
38789f464c52Smaya  </instruction>
38799f464c52Smaya
38809f464c52Smaya  <instruction name="MFX_VP8_PAK_OBJECT" bias="2" length="7" engine="video">
38819f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="5"/>
38829f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
38839f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
38849f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="4"/>
388501e04c3fSmrg    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38869f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38879f464c52Smaya    <field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
38889f464c52Smaya    <field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
38899f464c52Smaya    <field name="Inline Data" start="96" end="223" type="uint"/>
38909f464c52Smaya  </instruction>
38919f464c52Smaya
38929f464c52Smaya  <instruction name="MFX_VP8_PIC_STATE" bias="2" length="2" engine="video">
38939f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
38949f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
38959f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
38969f464c52Smaya    <field name="Media Command OpCode" start="24" end="26" type="uint" default="4"/>
38979f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
38989f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
38999f464c52Smaya    <field name="Frame Width" start="32" end="39" type="uint"/>
39009f464c52Smaya    <field name="Frame Height" start="48" end="55" type="uint"/>
39019f464c52Smaya    <field name="MC Filter Select" start="64" end="64" type="uint"/>
39029f464c52Smaya    <field name="Chroma Full Pixel MC Filter Mode" start="65" end="65" type="uint"/>
39039f464c52Smaya    <field name="DBLK Filter Type" start="68" end="68" type="uint"/>
39049f464c52Smaya    <field name="Key Frame" start="69" end="69" type="bool"/>
39059f464c52Smaya    <field name="Segmentation ID Stream-Out Enable" start="70" end="70" type="bool"/>
39069f464c52Smaya    <field name="Segmentation ID Stream-In Enable" start="71" end="71" type="bool"/>
39079f464c52Smaya    <field name="Segment Enable" start="72" end="72" type="bool"/>
39089f464c52Smaya    <field name="Update MB Segment Map" start="73" end="73" type="bool"/>
39099f464c52Smaya    <field name="MB NoCoeff Skip" start="74" end="74" type="bool"/>
39109f464c52Smaya    <field name="Mode Reference Loop Filter Delta Enable" start="75" end="75" type="bool"/>
39119f464c52Smaya    <field name="Golden Ref Picture MV Sign Bias" start="76" end="76" type="bool"/>
39129f464c52Smaya    <field name="Alternate Ref Pic MV Sign Bias" start="77" end="77" type="bool"/>
39139f464c52Smaya    <field name="Deblock Sharpness Level" start="80" end="82" type="uint"/>
39149f464c52Smaya    <field name="Log2 Num of Partition" start="88" end="89" type="uint">
39159f464c52Smaya      <value name="1 Token partition" value="0"/>
39169f464c52Smaya      <value name="2 Token partition" value="1"/>
39179f464c52Smaya      <value name="4 Token partition" value="2"/>
39189f464c52Smaya      <value name="8 Token partition" value="3"/>
39199f464c52Smaya    </field>
39209f464c52Smaya    <field name="DBLK Filter Level for Segment0" start="96" end="101" type="uint"/>
39219f464c52Smaya    <field name="DBLK Filter Level for Segment1" start="104" end="109" type="uint"/>
39229f464c52Smaya    <field name="DBLK Filter Level for Segment2" start="112" end="117" type="uint"/>
39239f464c52Smaya    <field name="DBLK Filter Level for Segment3" start="120" end="125" type="uint"/>
39249f464c52Smaya    <field name="Quantizer Value [0][Y1DC]" start="128" end="136" type="uint"/>
39259f464c52Smaya    <field name="Quantizer Value [0][Y1AC]" start="144" end="152" type="uint"/>
39269f464c52Smaya    <field name="Quantizer Value [0][UVDC]" start="160" end="168" type="uint"/>
39279f464c52Smaya    <field name="Quantizer Value [0][UVAC]" start="176" end="184" type="uint"/>
39289f464c52Smaya    <field name="Quantizer Value [0][Y2DC]" start="192" end="200" type="uint"/>
39299f464c52Smaya    <field name="Quantizer Value [0][Y2AC]" start="208" end="216" type="uint"/>
39309f464c52Smaya    <field name="Quantizer Value [1][Y1DC]" start="224" end="232" type="uint"/>
39319f464c52Smaya    <field name="Quantizer Value [1][Y1AC]" start="240" end="248" type="uint"/>
39329f464c52Smaya    <field name="Quantizer Value [1][UVDC]" start="256" end="264" type="uint"/>
39339f464c52Smaya    <field name="Quantizer Value [1][UVAC]" start="272" end="280" type="uint"/>
39349f464c52Smaya    <field name="Quantizer Value [1][Y2DC]" start="288" end="296" type="uint"/>
39359f464c52Smaya    <field name="Quantizer Value [1][Y2AC]" start="304" end="312" type="uint"/>
39369f464c52Smaya    <field name="Quantizer Value [2][Y1DC]" start="320" end="328" type="uint"/>
39379f464c52Smaya    <field name="Quantizer Value [2][Y1AC]" start="336" end="344" type="uint"/>
39389f464c52Smaya    <field name="Quantizer Value [2][UVDC]" start="352" end="360" type="uint"/>
39399f464c52Smaya    <field name="Quantizer Value [2][UVAC]" start="368" end="376" type="uint"/>
39409f464c52Smaya    <field name="Quantizer Value [2][Y2DC]" start="384" end="392" type="uint"/>
39419f464c52Smaya    <field name="Quantizer Value [2][Y2AC]" start="400" end="408" type="uint"/>
39429f464c52Smaya    <field name="Quantizer Value [3][Y1DC]" start="416" end="424" type="uint"/>
39439f464c52Smaya    <field name="Quantizer Value [3][Y1AC]" start="432" end="440" type="uint"/>
39449f464c52Smaya    <field name="Quantizer Value [3][UVDC]" start="448" end="456" type="uint"/>
39459f464c52Smaya    <field name="Quantizer Value [3][UVAC]" start="464" end="472" type="uint"/>
39469f464c52Smaya    <field name="Quantizer Value [3][Y2DC]" start="480" end="488" type="uint"/>
39479f464c52Smaya    <field name="Quantizer Value [3][Y2AC]" start="496" end="504" type="uint"/>
39489f464c52Smaya    <field name="CoeffProbability Stream-In - Address" start="518" end="559" type="address"/>
39499f464c52Smaya    <field name="CoeffProbability Stream-In - Age for QUADLRU" start="576" end="577" type="uint"/>
39509f464c52Smaya    <field name="CoeffProbability Stream-In - Target Cache" start="579" end="580" type="uint">
39519f464c52Smaya      <value name="eLLC Only" value="0"/>
39529f464c52Smaya      <value name="LLC Only" value="1"/>
39539f464c52Smaya      <value name="LLC/eLLC" value="2"/>
39549f464c52Smaya      <value name="L3, LLC, eLLC" value="3"/>
39559f464c52Smaya    </field>
39569f464c52Smaya    <field name="CoeffProbability Stream-In - Cacheability Control" start="581" end="582" type="uint">
39579f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
39589f464c52Smaya      <value name="Uncacheable" value="1"/>
39599f464c52Smaya      <value name="Writethrough" value="2"/>
39609f464c52Smaya      <value name="Writeback" value="3"/>
39619f464c52Smaya    </field>
39629f464c52Smaya    <field name="CoeffProbability Stream-In - Arbitration Priority Control" start="583" end="584" type="uint">
39639f464c52Smaya      <value name="Highest priority" value="0"/>
39649f464c52Smaya      <value name="Second highest priority" value="1"/>
39659f464c52Smaya      <value name="Third highest priority" value="2"/>
39669f464c52Smaya      <value name="Lowest priority" value="3"/>
39679f464c52Smaya    </field>
39689f464c52Smaya    <field name="MBSegmentIDTreeProbs[0]" start="608" end="615" type="uint"/>
39699f464c52Smaya    <field name="MBSegmentIDTreeProbs[1]" start="616" end="623" type="uint"/>
39709f464c52Smaya    <field name="MBSegmentIDTreeProbs[2]" start="624" end="631" type="uint"/>
39719f464c52Smaya    <field name="InterPredFromGRefRefProb" start="640" end="647" type="uint"/>
39729f464c52Smaya    <field name="InterPredFromLastRefProb" start="648" end="655" type="uint"/>
39739f464c52Smaya    <field name="IntraMBProb" start="656" end="663" type="uint"/>
39749f464c52Smaya    <field name="MBNoCoeffSkipFalseProb" start="664" end="671" type="uint"/>
39759f464c52Smaya    <field name="YModeProb[0]" start="672" end="679" type="uint"/>
39769f464c52Smaya    <field name="YModeProb[1]" start="680" end="687" type="uint"/>
39779f464c52Smaya    <field name="YModeProb[2]" start="688" end="695" type="uint"/>
39789f464c52Smaya    <field name="YModeProb[3]" start="696" end="703" type="uint"/>
39799f464c52Smaya    <field name="UVModeProb[0]" start="704" end="711" type="uint"/>
39809f464c52Smaya    <field name="UVModeProb[1]" start="712" end="719" type="uint"/>
39819f464c52Smaya    <field name="UVModeProb[2]" start="720" end="727" type="uint"/>
39829f464c52Smaya    <field name="MVUpdateProbs[0][0]" start="736" end="743" type="uint"/>
39839f464c52Smaya    <field name="MVUpdateProbs[0][1]" start="744" end="751" type="uint"/>
39849f464c52Smaya    <field name="MVUpdateProbs[0][2]" start="752" end="759" type="uint"/>
39859f464c52Smaya    <field name="MVUpdateProbs[0][3]" start="760" end="767" type="uint"/>
39869f464c52Smaya    <field name="MVUpdateProbs[0][4]" start="768" end="775" type="uint"/>
39879f464c52Smaya    <field name="MVUpdateProbs[0][5]" start="776" end="783" type="uint"/>
39889f464c52Smaya    <field name="MVUpdateProbs[0][6]" start="784" end="791" type="uint"/>
39899f464c52Smaya    <field name="MVUpdateProbs[0][7]" start="792" end="799" type="uint"/>
39909f464c52Smaya    <field name="MVUpdateProbs[0][8]" start="800" end="807" type="uint"/>
39919f464c52Smaya    <field name="MVUpdateProbs[0][9]" start="808" end="815" type="uint"/>
39929f464c52Smaya    <field name="MVUpdateProbs[0][10]" start="816" end="823" type="uint"/>
39939f464c52Smaya    <field name="MVUpdateProbs[0][11]" start="824" end="831" type="uint"/>
39949f464c52Smaya    <field name="MVUpdateProbs[0][12]" start="832" end="839" type="uint"/>
39959f464c52Smaya    <field name="MVUpdateProbs[0][13]" start="840" end="847" type="uint"/>
39969f464c52Smaya    <field name="MVUpdateProbs[0][14]" start="848" end="855" type="uint"/>
39979f464c52Smaya    <field name="MVUpdateProbs[0][15]" start="856" end="863" type="uint"/>
39989f464c52Smaya    <field name="MVUpdateProbs[0][16]" start="864" end="871" type="uint"/>
39999f464c52Smaya    <field name="MVUpdateProbs[0][17]" start="872" end="879" type="uint"/>
40009f464c52Smaya    <field name="MVUpdateProbs[0][18]" start="880" end="887" type="uint"/>
40019f464c52Smaya    <field name="MVUpdateProbs[1][0]" start="896" end="903" type="uint"/>
40029f464c52Smaya    <field name="MVUpdateProbs[1][1]" start="904" end="911" type="uint"/>
40039f464c52Smaya    <field name="MVUpdateProbs[1][2]" start="912" end="919" type="uint"/>
40049f464c52Smaya    <field name="MVUpdateProbs[1][3]" start="920" end="927" type="uint"/>
40059f464c52Smaya    <field name="MVUpdateProbs[1][4]" start="928" end="935" type="uint"/>
40069f464c52Smaya    <field name="MVUpdateProbs[1][5]" start="936" end="943" type="uint"/>
40079f464c52Smaya    <field name="MVUpdateProbs[1][6]" start="944" end="951" type="uint"/>
40089f464c52Smaya    <field name="MVUpdateProbs[1][7]" start="952" end="959" type="uint"/>
40099f464c52Smaya    <field name="MVUpdateProbs[1][8]" start="960" end="967" type="uint"/>
40109f464c52Smaya    <field name="MVUpdateProbs[1][9]" start="968" end="975" type="uint"/>
40119f464c52Smaya    <field name="MVUpdateProbs[1][10]" start="976" end="983" type="uint"/>
40129f464c52Smaya    <field name="MVUpdateProbs[1][11]" start="984" end="991" type="uint"/>
40139f464c52Smaya    <field name="MVUpdateProbs[1][12]" start="992" end="999" type="uint"/>
40149f464c52Smaya    <field name="MVUpdateProbs[1][13]" start="1000" end="1007" type="uint"/>
40159f464c52Smaya    <field name="MVUpdateProbs[1][14]" start="1008" end="1015" type="uint"/>
40169f464c52Smaya    <field name="MVUpdateProbs[1][15]" start="1016" end="1023" type="uint"/>
40179f464c52Smaya    <field name="MVUpdateProbs[1][16]" start="1024" end="1031" type="uint"/>
40189f464c52Smaya    <field name="MVUpdateProbs[1][17]" start="1032" end="1039" type="uint"/>
40199f464c52Smaya    <field name="MVUpdateProbs[1][18]" start="1040" end="1047" type="uint"/>
40209f464c52Smaya    <field name="RefLFDelta0" start="1056" end="1062" type="int"/>
40219f464c52Smaya    <field name="RefLFDelta1" start="1064" end="1070" type="int"/>
40229f464c52Smaya    <field name="RefLFDelta2" start="1072" end="1078" type="int"/>
40239f464c52Smaya    <field name="RefLFDelta3" start="1080" end="1086" type="int"/>
40249f464c52Smaya    <field name="ModeLFDelta0" start="1088" end="1094" type="int"/>
40259f464c52Smaya    <field name="ModeLFDelta1" start="1096" end="1102" type="int"/>
40269f464c52Smaya    <field name="ModeLFDelta2" start="1104" end="1110" type="int"/>
40279f464c52Smaya    <field name="ModeLFDelta3" start="1112" end="1118" type="int"/>
40289f464c52Smaya    <field name="Segmentation ID Stream - Address" start="1120" end="1167" type="uint"/>
40299f464c52Smaya    <field name="Segmentation ID Stream - Age for QUADLRU" start="1184" end="1185" type="uint"/>
40309f464c52Smaya    <field name="Segmentation ID Stream - Target Cache" start="1187" end="1188" type="uint">
40319f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
40329f464c52Smaya      <value name="Uncacheable" value="1"/>
40339f464c52Smaya      <value name="Writethrough" value="2"/>
40349f464c52Smaya      <value name="Writeback" value="3"/>
40359f464c52Smaya    </field>
40369f464c52Smaya    <field name="Segmentation ID Stream - Cacheability Control" start="1189" end="1190" type="uint">
40379f464c52Smaya      <value name="Use Cacheability Controls From Page Table / UC with Fence" value="0"/>
40389f464c52Smaya      <value name="Uncacheable" value="1"/>
40399f464c52Smaya      <value name="Writethrough" value="2"/>
40409f464c52Smaya      <value name="Writeback" value="3"/>
40419f464c52Smaya    </field>
40429f464c52Smaya    <field name="Segmentation ID Stream - Arbitration Priority Control" start="1191" end="1192" type="uint">
40439f464c52Smaya      <value name="Highest priority" value="0"/>
40449f464c52Smaya      <value name="Second highest priority" value="1"/>
40459f464c52Smaya      <value name="Third highest priority" value="2"/>
40469f464c52Smaya      <value name="Lowest priority" value="3"/>
40479f464c52Smaya    </field>
40489f464c52Smaya  </instruction>
40499f464c52Smaya
40509f464c52Smaya  <instruction name="MFX_WAIT" bias="1" length="1" engine="video">
40519f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
40529f464c52Smaya    <field name="MFX Sync Control Flag" start="8" end="8" type="uint"/>
40539f464c52Smaya    <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
40549f464c52Smaya    <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
40559f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
405601e04c3fSmrg  </instruction>
405701e04c3fSmrg
405801e04c3fSmrg  <instruction name="MI_ARB_CHECK" bias="1" length="1">
405901e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
40609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
406101e04c3fSmrg  </instruction>
406201e04c3fSmrg
406301e04c3fSmrg  <instruction name="MI_ARB_ON_OFF" bias="1" length="1">
406401e04c3fSmrg    <field name="Arbitration Enable" start="0" end="0" type="bool" default="1"/>
40659f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
40669f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
406701e04c3fSmrg  </instruction>
406801e04c3fSmrg
406901e04c3fSmrg  <instruction name="MI_ATOMIC" bias="2" length="3">
40709f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
40719f464c52Smaya    <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
40729f464c52Smaya    <field name="Return Data Control" start="16" end="16" type="uint"/>
40739f464c52Smaya    <field name="CS STALL" start="17" end="17" type="uint"/>
40749f464c52Smaya    <field name="Inline Data" start="18" end="18" type="uint"/>
407501e04c3fSmrg    <field name="Data Size" start="19" end="20" type="uint">
407601e04c3fSmrg      <value name="DWORD" value="0"/>
407701e04c3fSmrg      <value name="QWORD" value="1"/>
407801e04c3fSmrg      <value name="OCTWORD" value="2"/>
407901e04c3fSmrg      <value name="RESERVED" value="3"/>
408001e04c3fSmrg    </field>
40819f464c52Smaya    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
40829f464c52Smaya    <field name="Memory Type" start="22" end="22" type="uint">
40839f464c52Smaya      <value name="Per Process Graphics Address" value="0"/>
40849f464c52Smaya      <value name="Global Graphics Address" value="1"/>
40859f464c52Smaya    </field>
40869f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
40879f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
408801e04c3fSmrg    <field name="Memory Address" start="34" end="79" type="address"/>
408901e04c3fSmrg    <field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
409001e04c3fSmrg    <field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
409101e04c3fSmrg    <field name="Operand1 Data Dword 1" start="160" end="191" type="uint"/>
409201e04c3fSmrg    <field name="Operand2 Data Dword 1" start="192" end="223" type="uint"/>
409301e04c3fSmrg    <field name="Operand1 Data Dword 2" start="224" end="255" type="uint"/>
409401e04c3fSmrg    <field name="Operand2 Data Dword 2" start="256" end="287" type="uint"/>
409501e04c3fSmrg    <field name="Operand1 Data Dword 3" start="288" end="319" type="uint"/>
409601e04c3fSmrg    <field name="Operand2 Data Dword 3" start="320" end="351" type="uint"/>
409701e04c3fSmrg  </instruction>
409801e04c3fSmrg
409901e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
410001e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
41019f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
410201e04c3fSmrg  </instruction>
410301e04c3fSmrg
410401e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
41059f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
410601e04c3fSmrg    <field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
410701e04c3fSmrg      <value name="GGTT" value="0"/>
410801e04c3fSmrg      <value name="PPGTT" value="1"/>
410901e04c3fSmrg    </field>
41109f464c52Smaya    <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
41119f464c52Smaya    <field name="Predication Enable" start="15" end="15" type="bool"/>
41129f464c52Smaya    <field name="Add Offset Enable" start="16" end="16" type="bool"/>
41139f464c52Smaya    <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
41149f464c52Smaya      <value name="First level batch" value="0"/>
41159f464c52Smaya      <value name="Second level batch" value="1"/>
41169f464c52Smaya    </field>
41179f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
41189f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
411901e04c3fSmrg    <field name="Batch Buffer Start Address" start="34" end="79" type="address"/>
412001e04c3fSmrg  </instruction>
412101e04c3fSmrg
41229f464c52Smaya  <instruction name="MI_CLFLUSH" bias="2" engine="render">
412301e04c3fSmrg    <field name="DWord Length" start="0" end="9" type="uint" default="1"/>
41249f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
41259f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
41269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
412701e04c3fSmrg    <field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
41289f464c52Smaya    <field name="Page Base Address" start="44" end="79" type="address"/>
412901e04c3fSmrg    <group count="0" start="96" size="32">
413001e04c3fSmrg      <field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
413101e04c3fSmrg    </group>
413201e04c3fSmrg  </instruction>
413301e04c3fSmrg
413401e04c3fSmrg  <instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="3">
413501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
41369f464c52Smaya    <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
41379f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
41389f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
41399f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
414001e04c3fSmrg    <field name="Compare Data Dword" start="32" end="63" type="uint"/>
414101e04c3fSmrg    <field name="Compare Address" start="67" end="111" type="address"/>
414201e04c3fSmrg  </instruction>
414301e04c3fSmrg
414401e04c3fSmrg  <instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
414501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
41469f464c52Smaya    <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
41479f464c52Smaya    <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
41489f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
41499f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
415001e04c3fSmrg    <field name="Destination Memory Address" start="34" end="95" type="address"/>
415101e04c3fSmrg    <field name="Source Memory Address" start="98" end="159" type="address"/>
415201e04c3fSmrg  </instruction>
415301e04c3fSmrg
41549f464c52Smaya  <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="video">
41557ec681f3Smrg    <field name="DWord Length" start="0" end="5" type="uint" default="3"/>
41569f464c52Smaya    <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
41579f464c52Smaya    <field name="Notify Enable" start="8" end="8" type="bool"/>
41589f464c52Smaya    <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
41599f464c52Smaya    <field name="TLB Invalidate" start="18" end="18" type="bool"/>
41609f464c52Smaya    <field name="Store Data Index" start="21" end="21" type="uint"/>
41619f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
416201e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
41639f464c52Smaya    <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
41649f464c52Smaya      <value name="PPGTT" value="0"/>
41659f464c52Smaya      <value name="GGTT" value="1"/>
41669f464c52Smaya    </field>
41679f464c52Smaya    <field name="Address" start="35" end="79" type="address"/>
41689f464c52Smaya    <field name="Immediate Data" start="96" end="159" type="uint"/>
41699f464c52Smaya  </instruction>
41709f464c52Smaya
41719f464c52Smaya  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
417201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
41739f464c52Smaya    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
41749f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
41759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
417601e04c3fSmrg    <field name="Register Offset" start="34" end="54" type="offset"/>
417701e04c3fSmrg    <field name="Data DWord" start="64" end="95" type="uint"/>
417801e04c3fSmrg    <group count="0" start="64" size="64">
417901e04c3fSmrg      <field name="Register Offset" start="2" end="22" type="offset"/>
418001e04c3fSmrg      <field name="Data DWord" start="32" end="63" type="uint"/>
418101e04c3fSmrg    </group>
418201e04c3fSmrg  </instruction>
418301e04c3fSmrg
418401e04c3fSmrg  <instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
418501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
41869f464c52Smaya    <field name="Async Mode Enable" start="21" end="21" type="bool"/>
41879f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
41889f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
41899f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
419001e04c3fSmrg    <field name="Register Address" start="34" end="54" type="offset"/>
419101e04c3fSmrg    <field name="Memory Address" start="66" end="127" type="address"/>
419201e04c3fSmrg  </instruction>
419301e04c3fSmrg
419401e04c3fSmrg  <instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
419501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
41969f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
41979f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
419801e04c3fSmrg    <field name="Source Register Address" start="34" end="54" type="offset"/>
419901e04c3fSmrg    <field name="Destination Register Address" start="66" end="86" type="offset"/>
420001e04c3fSmrg  </instruction>
420101e04c3fSmrg
42029f464c52Smaya  <instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
42039f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
420401e04c3fSmrg    <field name="Display (Plane) Select" start="19" end="21" type="uint">
420501e04c3fSmrg      <value name="Display Plane A" value="0"/>
420601e04c3fSmrg      <value name="Display Plane B" value="1"/>
420701e04c3fSmrg      <value name="Display Plane C" value="4"/>
420801e04c3fSmrg    </field>
42099f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
42109f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
421101e04c3fSmrg    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
42129f464c52Smaya    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
421301e04c3fSmrg  </instruction>
421401e04c3fSmrg
42159f464c52Smaya  <instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render">
42169f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
42179f464c52Smaya    <field name="Scan Line Event Done Forward" start="17" end="18" type="uint"/>
421801e04c3fSmrg    <field name="Display (Plane) Select" start="19" end="21" type="uint">
421901e04c3fSmrg      <value name="Display Plane A" value="0"/>
422001e04c3fSmrg      <value name="Display Plane B" value="1"/>
422101e04c3fSmrg      <value name="Display Plane C" value="4"/>
422201e04c3fSmrg    </field>
42239f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
42249f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
422501e04c3fSmrg    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
42269f464c52Smaya    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
422701e04c3fSmrg  </instruction>
422801e04c3fSmrg
42299f464c52Smaya  <instruction name="MI_LOAD_URB_MEM" bias="2" length="4" engine="render">
423001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
42319f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
42329f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
423301e04c3fSmrg    <field name="URB Address" start="34" end="46" type="uint"/>
423401e04c3fSmrg    <field name="Memory Address" start="70" end="127" type="address"/>
423501e04c3fSmrg  </instruction>
423601e04c3fSmrg
423701e04c3fSmrg  <instruction name="MI_MATH" bias="2">
423801e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
42399f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
42409f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
424101e04c3fSmrg    <group count="0" start="32" size="32">
424201e04c3fSmrg      <field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
424301e04c3fSmrg    </group>
424401e04c3fSmrg  </instruction>
424501e04c3fSmrg
424601e04c3fSmrg  <instruction name="MI_NOOP" bias="1" length="1">
424701e04c3fSmrg    <field name="Identification Number" start="0" end="21" type="uint"/>
42489f464c52Smaya    <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
42499f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
42509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
425101e04c3fSmrg  </instruction>
425201e04c3fSmrg
425301e04c3fSmrg  <instruction name="MI_PREDICATE" bias="1" length="1">
42549f464c52Smaya    <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
42559f464c52Smaya      <value name="TRUE" value="0"/>
42569f464c52Smaya      <value name="FALSE" value="1"/>
42579f464c52Smaya      <value name="SRCS_EQUAL" value="2"/>
42589f464c52Smaya      <value name="DELTAS_EQUAL" value="3"/>
425901e04c3fSmrg    </field>
426001e04c3fSmrg    <field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
426101e04c3fSmrg      <value name="SET" value="0"/>
426201e04c3fSmrg      <value name="AND" value="1"/>
426301e04c3fSmrg      <value name="OR" value="2"/>
426401e04c3fSmrg      <value name="XOR" value="3"/>
426501e04c3fSmrg    </field>
42669f464c52Smaya    <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
42679f464c52Smaya      <value name="KEEP" value="0"/>
42689f464c52Smaya      <value name="LOAD" value="2"/>
42699f464c52Smaya      <value name="LOADINV" value="3"/>
427001e04c3fSmrg    </field>
42719f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
42729f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
427301e04c3fSmrg  </instruction>
427401e04c3fSmrg
427501e04c3fSmrg  <instruction name="MI_REPORT_HEAD" bias="1" length="1">
427601e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
42779f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
427801e04c3fSmrg  </instruction>
427901e04c3fSmrg
42809f464c52Smaya  <instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4" engine="render">
428101e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
42829f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
42839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
428401e04c3fSmrg    <field name="Use Global GTT" start="32" end="32" type="bool"/>
42859f464c52Smaya    <field name="Core Mode Enable" start="36" end="36" type="uint"/>
42869f464c52Smaya    <field name="Memory Address" start="38" end="95" type="address"/>
428701e04c3fSmrg    <field name="Report ID" start="96" end="127" type="uint"/>
428801e04c3fSmrg  </instruction>
428901e04c3fSmrg
42909f464c52Smaya  <instruction name="MI_RS_CONTEXT" bias="1" length="1" engine="render">
429101e04c3fSmrg    <field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
429201e04c3fSmrg      <value name="Restore" value="0"/>
429301e04c3fSmrg      <value name="Save" value="1"/>
429401e04c3fSmrg    </field>
42959f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
42969f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
429701e04c3fSmrg  </instruction>
429801e04c3fSmrg
42999f464c52Smaya  <instruction name="MI_RS_CONTROL" bias="1" length="1" engine="render">
430001e04c3fSmrg    <field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
430101e04c3fSmrg      <value name="Stop" value="0"/>
430201e04c3fSmrg      <value name="Start" value="1"/>
430301e04c3fSmrg    </field>
43049f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
43059f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
430601e04c3fSmrg  </instruction>
430701e04c3fSmrg
43089f464c52Smaya  <instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4" engine="render">
430901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
43109f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
43119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
431201e04c3fSmrg    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
43139f464c52Smaya    <field name="Destination Address" start="34" end="95" type="address"/>
431401e04c3fSmrg    <field name="Data DWord 0" start="96" end="127" type="uint"/>
431501e04c3fSmrg  </instruction>
431601e04c3fSmrg
431701e04c3fSmrg  <instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
43189f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
431901e04c3fSmrg    <field name="Target Engine Select" start="15" end="17" type="uint">
432001e04c3fSmrg      <value name="RCS" value="0"/>
432101e04c3fSmrg      <value name="VCS0" value="1"/>
432201e04c3fSmrg      <value name="BCS" value="2"/>
432301e04c3fSmrg      <value name="VECS" value="3"/>
432401e04c3fSmrg      <value name="VCS1" value="4"/>
432501e04c3fSmrg    </field>
43269f464c52Smaya    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
43279f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
43289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
432901e04c3fSmrg    <field name="Target Context ID" start="32" end="63" type="uint"/>
433001e04c3fSmrg  </instruction>
433101e04c3fSmrg
433201e04c3fSmrg  <instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
43339f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
433401e04c3fSmrg    <field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
433501e04c3fSmrg      <value name="SAD_GREATER_THAN_SDD" value="0"/>
433601e04c3fSmrg      <value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
433701e04c3fSmrg      <value name="SAD_LESS_THAN_SDD" value="2"/>
433801e04c3fSmrg      <value name="SAD_LESS_THAN_OR_EQUAL_SDD" value="3"/>
433901e04c3fSmrg      <value name="SAD_EQUAL_SDD" value="4"/>
434001e04c3fSmrg      <value name="SAD_NOT_EQUAL_SDD" value="5"/>
434101e04c3fSmrg    </field>
43429f464c52Smaya    <field name="Wait Mode" start="15" end="15" type="uint">
43439f464c52Smaya      <value name="Polling Mode" value="1"/>
43449f464c52Smaya      <value name="Signal Mode" value="0"/>
43459f464c52Smaya    </field>
43469f464c52Smaya    <field name="Memory Type" start="22" end="22" type="uint">
43479f464c52Smaya      <value name="Per Process Graphics Address" value="0"/>
43489f464c52Smaya      <value name="Global Graphics Address" value="1"/>
43499f464c52Smaya    </field>
43509f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
43519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
435201e04c3fSmrg    <field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
435301e04c3fSmrg    <field name="Semaphore Address" start="66" end="95" type="address"/>
435401e04c3fSmrg    <field name="Semaphore Address High" start="96" end="111" type="address"/>
435501e04c3fSmrg  </instruction>
435601e04c3fSmrg
43579f464c52Smaya  <instruction name="MI_SET_CONTEXT" bias="2" length="2" engine="render">
435801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
43599f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
43609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
436101e04c3fSmrg    <field name="Restore Inhibit" start="32" end="32" type="uint"/>
43629f464c52Smaya    <field name="Force Restore" start="33" end="33" type="uint"/>
43639f464c52Smaya    <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
43649f464c52Smaya    <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
43659f464c52Smaya    <field name="Core Mode Enable" start="36" end="36" type="bool"/>
43669f464c52Smaya    <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
43679f464c52Smaya    <field name="Logical Context Address" start="44" end="63" type="address"/>
436801e04c3fSmrg  </instruction>
436901e04c3fSmrg
437001e04c3fSmrg  <instruction name="MI_SET_PREDICATE" bias="1" length="1">
437101e04c3fSmrg    <field name="PREDICATE ENABLE" start="0" end="3" type="uint">
437201e04c3fSmrg      <value name="NOOP Never" value="0"/>
437301e04c3fSmrg      <value name="NOOP on Result2 clear" value="1"/>
437401e04c3fSmrg      <value name="NOOP on Result2 set" value="2"/>
437501e04c3fSmrg      <value name="NOOP on Result clear" value="3"/>
437601e04c3fSmrg      <value name="NOOP on Result set" value="4"/>
437701e04c3fSmrg      <value name="Execute when one slice enabled." value="5"/>
437801e04c3fSmrg      <value name="Execute when two slices are enabled." value="6"/>
437901e04c3fSmrg      <value name="Execute when three slices are enabled." value="7"/>
438001e04c3fSmrg      <value name="NOOP Always" value="15"/>
438101e04c3fSmrg    </field>
43829f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
43839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
438401e04c3fSmrg  </instruction>
438501e04c3fSmrg
438601e04c3fSmrg  <instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
438701e04c3fSmrg    <field name="DWord Length" start="0" end="9" type="uint" default="2"/>
43889f464c52Smaya    <field name="Store Qword" start="21" end="21" type="uint"/>
43899f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
43909f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
43919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
439201e04c3fSmrg    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
43939f464c52Smaya    <field name="Address" start="34" end="79" type="address"/>
439401e04c3fSmrg    <field name="Immediate Data" start="96" end="159" type="uint"/>
439501e04c3fSmrg  </instruction>
439601e04c3fSmrg
439701e04c3fSmrg  <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
439801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
43999f464c52Smaya    <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
44009f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
44019f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
440201e04c3fSmrg    <field name="Offset" start="34" end="43" type="uint"/>
440301e04c3fSmrg    <field name="Data DWord 0" start="64" end="95" type="uint"/>
440401e04c3fSmrg    <field name="Data DWord 1" start="96" end="127" type="uint"/>
440501e04c3fSmrg  </instruction>
440601e04c3fSmrg
440701e04c3fSmrg  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
440801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
44099f464c52Smaya    <field name="Predicate Enable" start="21" end="21" type="bool"/>
44109f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
44119f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
44129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
441301e04c3fSmrg    <field name="Register Address" start="34" end="54" type="offset"/>
441401e04c3fSmrg    <field name="Memory Address" start="66" end="127" type="address"/>
441501e04c3fSmrg  </instruction>
441601e04c3fSmrg
44179f464c52Smaya  <instruction name="MI_STORE_URB_MEM" bias="2" length="4" engine="render">
441801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
44199f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
44209f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
442101e04c3fSmrg    <field name="URB Address" start="34" end="46" type="uint"/>
442201e04c3fSmrg    <field name="Memory Address" start="70" end="127" type="address"/>
442301e04c3fSmrg  </instruction>
442401e04c3fSmrg
442501e04c3fSmrg  <instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
442601e04c3fSmrg    <field name="Suspend Flush" start="0" end="0" type="bool"/>
44279f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
44289f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
442901e04c3fSmrg  </instruction>
443001e04c3fSmrg
44319f464c52Smaya  <instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1" engine="render">
443201e04c3fSmrg    <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
44339f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
44349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
443501e04c3fSmrg  </instruction>
443601e04c3fSmrg
44379f464c52Smaya  <instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1" engine="render">
443801e04c3fSmrg    <field name="URB Atomic Storage Size" start="0" end="8" type="uint"/>
44399f464c52Smaya    <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
44409f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
44419f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
444201e04c3fSmrg  </instruction>
444301e04c3fSmrg
44449f464c52Smaya  <instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render">
444501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
44469f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
44479f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
444801e04c3fSmrg    <field name="URB Address" start="32" end="46" type="offset"/>
44499f464c52Smaya    <field name="URB Clear Length" start="48" end="61" type="uint"/>
445001e04c3fSmrg  </instruction>
445101e04c3fSmrg
445201e04c3fSmrg  <instruction name="MI_USER_INTERRUPT" bias="1" length="1">
445301e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
44549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
445501e04c3fSmrg  </instruction>
445601e04c3fSmrg
44579f464c52Smaya  <instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter">
445801e04c3fSmrg    <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
44599f464c52Smaya    <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
44609f464c52Smaya    <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
44619f464c52Smaya    <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
44629f464c52Smaya    <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
44639f464c52Smaya    <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
44649f464c52Smaya    <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
44659f464c52Smaya    <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
44669f464c52Smaya    <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/>
44679f464c52Smaya    <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/>
44689f464c52Smaya    <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/>
44699f464c52Smaya    <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
44709f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
44719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
447201e04c3fSmrg  </instruction>
447301e04c3fSmrg
44749f464c52Smaya  <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
447501e04c3fSmrg    <field name="Pipeline Selection" start="0" end="1" type="uint">
447601e04c3fSmrg      <value name="3D" value="0"/>
447701e04c3fSmrg      <value name="Media" value="1"/>
447801e04c3fSmrg      <value name="GPGPU" value="2"/>
447901e04c3fSmrg    </field>
44809f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
44819f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
44829f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
44839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
448401e04c3fSmrg  </instruction>
448501e04c3fSmrg
44869f464c52Smaya  <instruction name="PIPE_CONTROL" bias="2" length="6" engine="render">
448701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
44889f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
44899f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
44909f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
44919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
44929f464c52Smaya    <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
44939f464c52Smaya    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
44949f464c52Smaya    <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
44959f464c52Smaya    <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
44969f464c52Smaya    <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
44979f464c52Smaya    <field name="DC Flush Enable" start="37" end="37" type="bool"/>
44989f464c52Smaya    <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
44999f464c52Smaya    <field name="Notify Enable" start="40" end="40" type="bool"/>
45009f464c52Smaya    <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
45019f464c52Smaya    <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
45029f464c52Smaya    <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
45039f464c52Smaya    <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
45049f464c52Smaya    <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
450501e04c3fSmrg    <field name="Post Sync Operation" start="46" end="47" type="uint">
450601e04c3fSmrg      <value name="No Write" value="0"/>
450701e04c3fSmrg      <value name="Write Immediate Data" value="1"/>
450801e04c3fSmrg      <value name="Write PS Depth Count" value="2"/>
450901e04c3fSmrg      <value name="Write Timestamp" value="3"/>
451001e04c3fSmrg    </field>
45119f464c52Smaya    <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
45129f464c52Smaya    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
45139f464c52Smaya    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
45149f464c52Smaya    <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
45159f464c52Smaya    <field name="Store Data Index" start="53" end="53" type="uint"/>
45169f464c52Smaya    <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
45179f464c52Smaya      <value name="No LRI Operation" value="0"/>
45189f464c52Smaya      <value name="MMIO Write Immediate Data" value="1"/>
45199f464c52Smaya    </field>
45209f464c52Smaya    <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
45219f464c52Smaya      <value name="PPGTT" value="0"/>
45229f464c52Smaya      <value name="GGTT" value="1"/>
45239f464c52Smaya    </field>
452401e04c3fSmrg    <field name="Address" start="66" end="111" type="address"/>
452501e04c3fSmrg    <field name="Immediate Data" start="128" end="191" type="uint"/>
452601e04c3fSmrg  </instruction>
452701e04c3fSmrg
45289f464c52Smaya  <instruction name="STATE_BASE_ADDRESS" bias="2" length="16" engine="render">
452901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="14"/>
45309f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
45319f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
45329f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
45339f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
453401e04c3fSmrg    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
45359f464c52Smaya    <field name="General State MOCS" start="36" end="42" type="uint"/>
45369f464c52Smaya    <field name="General State Base Address" start="44" end="95" type="address"/>
45379f464c52Smaya    <field name="Stateless Data Port Access MOCS" start="112" end="118" type="uint"/>
453801e04c3fSmrg    <field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
45399f464c52Smaya    <field name="Surface State MOCS" start="132" end="138" type="uint"/>
45409f464c52Smaya    <field name="Surface State Base Address" start="140" end="191" type="address"/>
454101e04c3fSmrg    <field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
45429f464c52Smaya    <field name="Dynamic State MOCS" start="196" end="202" type="uint"/>
45439f464c52Smaya    <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
454401e04c3fSmrg    <field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
45459f464c52Smaya    <field name="Indirect Object MOCS" start="260" end="266" type="uint"/>
45469f464c52Smaya    <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
454701e04c3fSmrg    <field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
45489f464c52Smaya    <field name="Instruction MOCS" start="324" end="330" type="uint"/>
45499f464c52Smaya    <field name="Instruction Base Address" start="332" end="383" type="address"/>
455001e04c3fSmrg    <field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
45519f464c52Smaya    <field name="General State Buffer Size" start="396" end="415" type="uint"/>
455201e04c3fSmrg    <field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
45539f464c52Smaya    <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
455401e04c3fSmrg    <field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
45559f464c52Smaya    <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
455601e04c3fSmrg    <field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
45579f464c52Smaya    <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
455801e04c3fSmrg  </instruction>
455901e04c3fSmrg
45609f464c52Smaya  <instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
456101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
45629f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
45639f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
45649f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
45659f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
456601e04c3fSmrg    <field name="Prefetch Count" start="32" end="34" type="uint"/>
45679f464c52Smaya    <field name="Prefetch Pointer" start="38" end="63" type="address"/>
456801e04c3fSmrg  </instruction>
456901e04c3fSmrg
45709f464c52Smaya  <instruction name="STATE_SIP" bias="2" length="3" engine="render">
457101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
45729f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
45739f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
45749f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
45759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
457601e04c3fSmrg    <field name="System Instruction Pointer" start="36" end="95" type="offset"/>
457701e04c3fSmrg  </instruction>
457801e04c3fSmrg
45799f464c52Smaya  <instruction name="SWTESS_BASE_ADDRESS" bias="2" length="2" engine="render">
458001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
45819f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
45829f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
45839f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
45849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
45859f464c52Smaya    <field name="SW Tessellation MOCS" start="40" end="43" type="uint"/>
458601e04c3fSmrg    <field name="SW Tessellation Base Address" start="44" end="79" type="address"/>
458701e04c3fSmrg  </instruction>
458801e04c3fSmrg
45899f464c52Smaya  <register name="ACTHD_UDW" length="1" num="0x205c">
45909f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
459101e04c3fSmrg  </register>
459201e04c3fSmrg
45939f464c52Smaya  <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
45949f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
459501e04c3fSmrg  </register>
459601e04c3fSmrg
45979f464c52Smaya  <register name="BCS_INSTDONE" length="1" num="0x2206c">
45989f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
45999f464c52Smaya    <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
46009f464c52Smaya    <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
46019f464c52Smaya    <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
460201e04c3fSmrg  </register>
460301e04c3fSmrg
46049f464c52Smaya  <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
46059f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
46069f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
46079f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
46089f464c52Smaya      <value name="MI_AUTOREPORT_64KB" value="1"/>
46099f464c52Smaya      <value name="MI_AUTOREPORT_4KB" value="2"/>
46109f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
46119f464c52Smaya    </field>
46129f464c52Smaya    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
46139f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
46149f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
46159f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
46169f464c52Smaya  </register>
46179f464c52Smaya
46189f464c52Smaya  <register name="CACHE_MODE_1" length="1" num="0x7004">
46199f464c52Smaya    <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
46209f464c52Smaya    <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
46219f464c52Smaya    <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
46229f464c52Smaya    <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
46239f464c52Smaya    <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
46249f464c52Smaya    <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
46259f464c52Smaya    <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
46269f464c52Smaya    <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
46279f464c52Smaya    <field name="MSC Resolve Optimization Disable" start="14" end="14" type="uint"/>
46289f464c52Smaya    <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
46299f464c52Smaya    <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
46309f464c52Smaya    <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
46319f464c52Smaya    <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
46329f464c52Smaya    <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
46339f464c52Smaya    <field name="NP PMA Fix Enable Mask" start="27" end="27" type="uint"/>
46349f464c52Smaya    <field name="HIZ Eviction Policy Mask" start="28" end="28" type="uint"/>
46359f464c52Smaya    <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="uint"/>
46369f464c52Smaya    <field name="MSC Resolve Optimization Disable Mask" start="30" end="30" type="uint"/>
46379f464c52Smaya  </register>
46389f464c52Smaya
46399f464c52Smaya  <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
46409f464c52Smaya    <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
46419f464c52Smaya  </register>
46429f464c52Smaya
46439f464c52Smaya  <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
46449f464c52Smaya    <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
46459f464c52Smaya  </register>
46469f464c52Smaya
46479f464c52Smaya  <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
46489f464c52Smaya    <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
464901e04c3fSmrg  </register>
465001e04c3fSmrg
465101e04c3fSmrg  <register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
465201e04c3fSmrg    <field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
465301e04c3fSmrg  </register>
465401e04c3fSmrg
46559f464c52Smaya  <register name="FAULT_REG" length="1" num="0x4094">
46569f464c52Smaya    <field name="Valid Bit" start="0" end="0" type="bool"/>
46579f464c52Smaya    <field name="Fault Type" start="1" end="2" type="uint">
46589f464c52Smaya      <value name="Invalid PTE Fault" value="0"/>
46599f464c52Smaya      <value name="Invalid PDE Fault" value="1"/>
46609f464c52Smaya      <value name="Invalid PDPE Fault" value="2"/>
46619f464c52Smaya      <value name="Invalid PML4E Fault" value="3"/>
46629f464c52Smaya    </field>
46639f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
46649f464c52Smaya    <field name="GTTSEL" start="11" end="11" type="uint">
46659f464c52Smaya      <value name="PPGTT" value="0"/>
46669f464c52Smaya      <value name="GGTT" value="1"/>
46679f464c52Smaya    </field>
46689f464c52Smaya    <field name="Engine ID" start="12" end="14" type="uint">
46699f464c52Smaya      <value name="GFX" value="0"/>
46709f464c52Smaya      <value name="MFX0" value="1"/>
46719f464c52Smaya      <value name="MFX1" value="2"/>
46729f464c52Smaya      <value name="VEBX" value="3"/>
46739f464c52Smaya      <value name="BLT" value="4"/>
46749f464c52Smaya      <value name="GUC" value="5"/>
46759f464c52Smaya    </field>
467601e04c3fSmrg  </register>
467701e04c3fSmrg
46789f464c52Smaya  <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
46799f464c52Smaya    <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
46809f464c52Smaya    <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
46819f464c52Smaya    <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
46829f464c52Smaya    <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
46839f464c52Smaya    <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
46849f464c52Smaya    <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
46859f464c52Smaya    <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
46869f464c52Smaya    <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
46879f464c52Smaya    <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
46889f464c52Smaya    <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
46899f464c52Smaya    <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
46909f464c52Smaya    <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
46919f464c52Smaya    <field name="PASID Not Valid" start="13" end="13" type="bool"/>
46929f464c52Smaya    <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
46939f464c52Smaya    <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
469401e04c3fSmrg  </register>
469501e04c3fSmrg
46969f464c52Smaya  <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
46979f464c52Smaya    <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
469801e04c3fSmrg  </register>
469901e04c3fSmrg
47009f464c52Smaya  <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
47019f464c52Smaya    <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
470201e04c3fSmrg  </register>
470301e04c3fSmrg
47049f464c52Smaya  <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
47059f464c52Smaya    <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
470601e04c3fSmrg  </register>
470701e04c3fSmrg
47089f464c52Smaya  <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
47099f464c52Smaya    <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
471001e04c3fSmrg  </register>
471101e04c3fSmrg
47129f464c52Smaya  <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
47139f464c52Smaya    <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
471401e04c3fSmrg  </register>
471501e04c3fSmrg
471601e04c3fSmrg  <register name="INSTDONE_1" length="1" num="0x206c">
471701e04c3fSmrg    <field name="PRB0 Ring Enable" start="0" end="0" type="bool"/>
471801e04c3fSmrg    <field name="VFG Done" start="1" end="1" type="bool"/>
471901e04c3fSmrg    <field name="VS Done" start="2" end="2" type="bool"/>
472001e04c3fSmrg    <field name="HS Done" start="3" end="3" type="bool"/>
472101e04c3fSmrg    <field name="TE Done" start="4" end="4" type="bool"/>
472201e04c3fSmrg    <field name="DS Done" start="5" end="5" type="bool"/>
472301e04c3fSmrg    <field name="GS Done" start="6" end="6" type="bool"/>
472401e04c3fSmrg    <field name="SOL Done" start="7" end="7" type="bool"/>
472501e04c3fSmrg    <field name="CL Done" start="8" end="8" type="bool"/>
472601e04c3fSmrg    <field name="SF Done" start="9" end="9" type="bool"/>
472701e04c3fSmrg    <field name="TDG Done" start="12" end="12" type="bool"/>
472801e04c3fSmrg    <field name="URBM Done" start="13" end="13" type="bool"/>
472901e04c3fSmrg    <field name="SVG Done" start="14" end="14" type="bool"/>
473001e04c3fSmrg    <field name="GAFS Done" start="15" end="15" type="bool"/>
473101e04c3fSmrg    <field name="VFE Done" start="16" end="16" type="bool"/>
473201e04c3fSmrg    <field name="TSG Done" start="17" end="17" type="bool"/>
473301e04c3fSmrg    <field name="GAFM Done" start="18" end="18" type="bool"/>
473401e04c3fSmrg    <field name="GAM Done" start="19" end="19" type="bool"/>
47359f464c52Smaya    <field name="RS Done" start="20" end="20" type="bool"/>
47369f464c52Smaya    <field name="CS Done" start="21" end="21" type="bool"/>
47379f464c52Smaya    <field name="SDE Done" start="22" end="22" type="bool"/>
47389f464c52Smaya    <field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
473901e04c3fSmrg  </register>
474001e04c3fSmrg
47419f464c52Smaya  <register name="INSTPM" length="1" num="0x20c0">
47429f464c52Smaya    <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
47439f464c52Smaya    <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
47449f464c52Smaya    <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
47459f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
47469f464c52Smaya    <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
47479f464c52Smaya    <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
47489f464c52Smaya    <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
47499f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
475001e04c3fSmrg  </register>
475101e04c3fSmrg
47529f464c52Smaya  <register name="L3CNTLREG" length="1" num="0x7034">
47539f464c52Smaya    <field name="SLM Enable" start="0" end="0" type="bool"/>
47549f464c52Smaya    <field name="URB Allocation" start="1" end="7" type="uint"/>
47559f464c52Smaya    <field name="RO Allocation" start="11" end="17" type="uint"/>
47569f464c52Smaya    <field name="DC Allocation" start="18" end="24" type="uint"/>
47579f464c52Smaya    <field name="All Allocation" start="25" end="31" type="uint"/>
47589f464c52Smaya  </register>
47599f464c52Smaya
47607ec681f3Smrg  <register name="PERFCNT1" length="2" num="0x91b8">
47617ec681f3Smrg    <field name="Value" start="0" end="43" type="uint"/>
47627ec681f3Smrg    <field name="Event Selection" start="52" end="59" type="uint"/>
47637ec681f3Smrg    <field name="Counter Clear" start="60" end="60" type="bool"/>
47647ec681f3Smrg    <field name="Edge Detect" start="61" end="61" type="bool"/>
47657ec681f3Smrg    <field name="Overflow Enable" start="62" end="62" type="bool"/>
47667ec681f3Smrg    <field name="Counter Enable" start="63" end="63" type="bool"/>
47677ec681f3Smrg  </register>
47687ec681f3Smrg
47697ec681f3Smrg  <register name="PERFCNT2" length="2" num="0x91c0">
47707ec681f3Smrg    <field name="Value" start="0" end="43" type="uint"/>
47717ec681f3Smrg    <field name="Event Selection" start="52" end="59" type="uint"/>
47727ec681f3Smrg    <field name="Counter Clear" start="60" end="60" type="bool"/>
47737ec681f3Smrg    <field name="Edge Detect" start="61" end="61" type="bool"/>
47747ec681f3Smrg    <field name="Overflow Enable" start="62" end="62" type="bool"/>
47757ec681f3Smrg    <field name="Counter Enable" start="63" end="63" type="bool"/>
47767ec681f3Smrg  </register>
47777ec681f3Smrg
47789f464c52Smaya  <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
47799f464c52Smaya    <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
47809f464c52Smaya  </register>
47819f464c52Smaya
47829f464c52Smaya  <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
47839f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
47849f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
47859f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
47869f464c52Smaya      <value name="MI_AUTOREPORT_64KB" value="1"/>
47879f464c52Smaya      <value name="MI_AUTOREPORT_4KB" value="2"/>
47889f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
47899f464c52Smaya    </field>
47909f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
47919f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
47929f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
479301e04c3fSmrg  </register>
479401e04c3fSmrg
479501e04c3fSmrg  <register name="ROW_INSTDONE" length="1" num="0xe164">
479601e04c3fSmrg    <field name="BC Done" start="0" end="0" type="bool"/>
479701e04c3fSmrg    <field name="PSD Done" start="1" end="1" type="bool"/>
479801e04c3fSmrg    <field name="DAPR Done" start="3" end="3" type="bool"/>
479901e04c3fSmrg    <field name="TDL Done" start="6" end="6" type="bool"/>
480001e04c3fSmrg    <field name="IC Done" start="12" end="12" type="bool"/>
480101e04c3fSmrg    <field name="MA0 Done" start="15" end="15" type="bool"/>
480201e04c3fSmrg    <field name="EU00 Done SS0" start="16" end="16" type="bool"/>
480301e04c3fSmrg    <field name="EU01 Done SS0" start="17" end="17" type="bool"/>
480401e04c3fSmrg    <field name="EU02 Done SS0" start="18" end="18" type="bool"/>
480501e04c3fSmrg    <field name="EU03 Done SS0" start="19" end="19" type="bool"/>
480601e04c3fSmrg    <field name="EU10 Done SS0" start="21" end="21" type="bool"/>
480701e04c3fSmrg    <field name="EU11 Done SS0" start="22" end="22" type="bool"/>
480801e04c3fSmrg    <field name="EU12 Done SS0" start="23" end="23" type="bool"/>
480901e04c3fSmrg    <field name="EU13 Done SS0" start="24" end="24" type="bool"/>
481001e04c3fSmrg    <field name="MA1 Done SS0" start="26" end="26" type="bool"/>
481101e04c3fSmrg  </register>
481201e04c3fSmrg
48137ec681f3Smrg  <register name="RPSTAT1" length="1" num="0xa01c">
48147ec681f3Smrg    <field name="Previous GT Frequency" start="0" end="6" type="uint"/>
48157ec681f3Smrg    <field name="Current GT Frequency" start="7" end="14" type="uint"/>
48167ec681f3Smrg  </register>
48177ec681f3Smrg
481801e04c3fSmrg  <register name="SAMPLER_INSTDONE" length="1" num="0xe160">
481901e04c3fSmrg    <field name="IME Done" start="0" end="0" type="bool"/>
482001e04c3fSmrg    <field name="PL0 Done" start="1" end="1" type="bool"/>
482101e04c3fSmrg    <field name="SO0 Done" start="2" end="2" type="bool"/>
482201e04c3fSmrg    <field name="DG0 Done" start="3" end="3" type="bool"/>
482301e04c3fSmrg    <field name="FT0 Done" start="4" end="4" type="bool"/>
482401e04c3fSmrg    <field name="DM0 Done" start="5" end="5" type="bool"/>
482501e04c3fSmrg    <field name="SC Done" start="6" end="6" type="bool"/>
482601e04c3fSmrg    <field name="FL0 Done" start="7" end="7" type="bool"/>
482701e04c3fSmrg    <field name="QC Done" start="8" end="8" type="bool"/>
482801e04c3fSmrg    <field name="SVSM Done" start="9" end="9" type="bool"/>
482901e04c3fSmrg    <field name="SI0 Done" start="10" end="10" type="bool"/>
483001e04c3fSmrg    <field name="MT0 Done" start="11" end="11" type="bool"/>
483101e04c3fSmrg    <field name="AVS Done" start="12" end="12" type="bool"/>
483201e04c3fSmrg    <field name="IEF Done" start="13" end="13" type="bool"/>
483301e04c3fSmrg    <field name="CRE Done" start="14" end="14" type="bool"/>
483401e04c3fSmrg    <field name="SVSM ARB3" start="15" end="15" type="bool"/>
483501e04c3fSmrg    <field name="SVSM ARB2" start="16" end="16" type="bool"/>
483601e04c3fSmrg    <field name="SVSM ARB1" start="17" end="17" type="bool"/>
483701e04c3fSmrg    <field name="SVSM Adapter" start="18" end="18" type="bool"/>
483801e04c3fSmrg    <field name="BDM Done" start="19" end="19" type="bool"/>
483901e04c3fSmrg  </register>
484001e04c3fSmrg
48419f464c52Smaya  <register name="SC_INSTDONE" length="1" num="0x7100">
48429f464c52Smaya    <field name="SVL Done" start="0" end="0" type="bool"/>
48439f464c52Smaya    <field name="WMFE Done" start="1" end="1" type="bool"/>
48449f464c52Smaya    <field name="WMBE Done" start="2" end="2" type="bool"/>
48459f464c52Smaya    <field name="HIZ Done" start="3" end="3" type="bool"/>
48469f464c52Smaya    <field name="STC Done" start="4" end="4" type="bool"/>
48479f464c52Smaya    <field name="IZ Done" start="5" end="5" type="bool"/>
48489f464c52Smaya    <field name="SBE Done" start="6" end="6" type="bool"/>
48499f464c52Smaya    <field name="RCZ Done" start="8" end="8" type="bool"/>
48509f464c52Smaya    <field name="RCC Done" start="9" end="9" type="bool"/>
48519f464c52Smaya    <field name="RCPBE Done" start="10" end="10" type="bool"/>
48529f464c52Smaya    <field name="RCPFE Done" start="11" end="11" type="bool"/>
48539f464c52Smaya    <field name="DAPB Done" start="12" end="12" type="bool"/>
48549f464c52Smaya    <field name="DAPRBE Done" start="13" end="13" type="bool"/>
48559f464c52Smaya    <field name="SARB Done" start="15" end="15" type="bool"/>
48569f464c52Smaya    <field name="DC0 Done" start="16" end="16" type="bool"/>
48579f464c52Smaya    <field name="DC1 Done" start="17" end="17" type="bool"/>
48589f464c52Smaya    <field name="DC2 Done" start="18" end="18" type="bool"/>
48599f464c52Smaya    <field name="GW0 Done" start="20" end="20" type="bool"/>
48609f464c52Smaya    <field name="GW1 Done" start="21" end="21" type="bool"/>
48619f464c52Smaya    <field name="GW2 Done" start="22" end="22" type="bool"/>
48629f464c52Smaya    <field name="TDC Done" start="24" end="24" type="bool"/>
486301e04c3fSmrg  </register>
486401e04c3fSmrg
48659f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200">
48669f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
486701e04c3fSmrg  </register>
486801e04c3fSmrg
48699f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN1" length="2" num="0x5208">
48709f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
487101e04c3fSmrg  </register>
487201e04c3fSmrg
48739f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN2" length="2" num="0x5210">
48749f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
487501e04c3fSmrg  </register>
487601e04c3fSmrg
48779f464c52Smaya  <register name="SO_NUM_PRIMS_WRITTEN3" length="2" num="0x5218">
48789f464c52Smaya    <field name="Num Prims Written Count" start="0" end="63" type="uint"/>
487901e04c3fSmrg  </register>
488001e04c3fSmrg
48819f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED0" length="2" num="0x5240">
48829f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
488301e04c3fSmrg  </register>
488401e04c3fSmrg
48859f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED1" length="2" num="0x5248">
48869f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
488701e04c3fSmrg  </register>
488801e04c3fSmrg
48899f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED2" length="2" num="0x5250">
48909f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
489101e04c3fSmrg  </register>
489201e04c3fSmrg
48939f464c52Smaya  <register name="SO_PRIM_STORAGE_NEEDED3" length="2" num="0x5258">
48949f464c52Smaya    <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/>
489501e04c3fSmrg  </register>
489601e04c3fSmrg
48979f464c52Smaya  <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
48989f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
489901e04c3fSmrg  </register>
490001e04c3fSmrg
49019f464c52Smaya  <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
49029f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
490301e04c3fSmrg  </register>
490401e04c3fSmrg
49059f464c52Smaya  <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
49069f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
490701e04c3fSmrg  </register>
490801e04c3fSmrg
49099f464c52Smaya  <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
49109f464c52Smaya    <field name="Write Offset" start="2" end="31" type="offset"/>
49119f464c52Smaya  </register>
49129f464c52Smaya
49139f464c52Smaya  <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
491401e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
491501e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
491601e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
491701e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
491801e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
491901e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
492001e04c3fSmrg    </field>
492101e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
492201e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
492301e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
492401e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
492501e04c3fSmrg  </register>
492601e04c3fSmrg
49279f464c52Smaya  <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
49289f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
492901e04c3fSmrg  </register>
493001e04c3fSmrg
49319f464c52Smaya  <register name="VCS_INSTDONE" length="1" num="0x1206c">
49329f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
49339f464c52Smaya    <field name="USB Done" start="1" end="1" type="bool"/>
49349f464c52Smaya    <field name="QRC Done" start="2" end="2" type="bool"/>
49359f464c52Smaya    <field name="SEC Done" start="3" end="3" type="bool"/>
49369f464c52Smaya    <field name="MPC Done" start="4" end="4" type="bool"/>
49379f464c52Smaya    <field name="VFT Done" start="5" end="5" type="bool"/>
49389f464c52Smaya    <field name="BSP Done" start="6" end="6" type="bool"/>
49399f464c52Smaya    <field name="VLF Done" start="7" end="7" type="bool"/>
49409f464c52Smaya    <field name="VOP Done" start="8" end="8" type="bool"/>
49419f464c52Smaya    <field name="VMC Done" start="9" end="9" type="bool"/>
49429f464c52Smaya    <field name="VIP Done" start="10" end="10" type="bool"/>
49439f464c52Smaya    <field name="VIT Done" start="11" end="11" type="bool"/>
49449f464c52Smaya    <field name="VDS Done" start="12" end="12" type="bool"/>
49459f464c52Smaya    <field name="VMX Done" start="13" end="13" type="bool"/>
49469f464c52Smaya    <field name="VCP Done" start="14" end="14" type="bool"/>
49479f464c52Smaya    <field name="VCD Done" start="15" end="15" type="bool"/>
49489f464c52Smaya    <field name="VAD Done" start="16" end="16" type="bool"/>
49499f464c52Smaya    <field name="VMD Done" start="17" end="17" type="bool"/>
49509f464c52Smaya    <field name="VIS Done" start="18" end="18" type="bool"/>
49519f464c52Smaya    <field name="VAC Done" start="19" end="19" type="bool"/>
49529f464c52Smaya    <field name="VAM Done" start="20" end="20" type="bool"/>
49539f464c52Smaya    <field name="JPG Done" start="21" end="21" type="bool"/>
49549f464c52Smaya    <field name="VBP Done" start="22" end="22" type="bool"/>
49559f464c52Smaya    <field name="VHR Done" start="23" end="23" type="bool"/>
49569f464c52Smaya    <field name="VCI Done" start="24" end="24" type="bool"/>
49579f464c52Smaya    <field name="VCR Done" start="25" end="25" type="bool"/>
49589f464c52Smaya    <field name="VIN Done" start="26" end="26" type="bool"/>
49599f464c52Smaya    <field name="VPR Done" start="27" end="27" type="bool"/>
49609f464c52Smaya    <field name="VTQ Done" start="28" end="28" type="bool"/>
49619f464c52Smaya    <field name="Reserved" start="29" end="29" type="bool"/>
49629f464c52Smaya    <field name="VCS Done" start="30" end="30" type="bool"/>
49639f464c52Smaya    <field name="GAC Done" start="31" end="31" type="bool"/>
496401e04c3fSmrg  </register>
496501e04c3fSmrg
496601e04c3fSmrg  <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
496701e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
496801e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
496901e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
497001e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
497101e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
497201e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
497301e04c3fSmrg    </field>
497401e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
497501e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
497601e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
497701e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
497801e04c3fSmrg  </register>
497901e04c3fSmrg
49809f464c52Smaya  <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
49819f464c52Smaya    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
49829f464c52Smaya  </register>
49839f464c52Smaya
49849f464c52Smaya  <register name="VECS_INSTDONE" length="1" num="0x1a06c">
49859f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
49869f464c52Smaya    <field name="VECS Done" start="30" end="30" type="bool"/>
49879f464c52Smaya    <field name="GAM Done" start="31" end="31" type="bool"/>
49889f464c52Smaya  </register>
49899f464c52Smaya
49909f464c52Smaya  <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
499101e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
499201e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
499301e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
499401e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
499501e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
499601e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
499701e04c3fSmrg    </field>
499801e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
499901e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
500001e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
500101e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
500201e04c3fSmrg  </register>
500301e04c3fSmrg
50049f464c52Smaya  <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
50059f464c52Smaya    <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
500601e04c3fSmrg  </register>
500701e04c3fSmrg</genxml>
5008