101e04c3fSmrg<?xml version="1.0" ?>
201e04c3fSmrg<genxml name="SNB" gen="6">
301e04c3fSmrg
401e04c3fSmrg  <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
501e04c3fSmrg    <value name="ONE" value="1"/>
601e04c3fSmrg    <value name="SRC_COLOR" value="2"/>
701e04c3fSmrg    <value name="SRC_ALPHA" value="3"/>
801e04c3fSmrg    <value name="DST_ALPHA" value="4"/>
901e04c3fSmrg    <value name="DST_COLOR" value="5"/>
1001e04c3fSmrg    <value name="SRC_ALPHA_SATURATE" value="6"/>
1101e04c3fSmrg    <value name="CONST_COLOR" value="7"/>
1201e04c3fSmrg    <value name="CONST_ALPHA" value="8"/>
1301e04c3fSmrg    <value name="SRC1_COLOR" value="9"/>
1401e04c3fSmrg    <value name="SRC1_ALPHA" value="10"/>
1501e04c3fSmrg    <value name="ZERO" value="17"/>
1601e04c3fSmrg    <value name="INV_SRC_COLOR" value="18"/>
1701e04c3fSmrg    <value name="INV_SRC_ALPHA" value="19"/>
1801e04c3fSmrg    <value name="INV_DST_ALPHA" value="20"/>
1901e04c3fSmrg    <value name="INV_DST_COLOR" value="21"/>
2001e04c3fSmrg    <value name="INV_CONST_COLOR" value="23"/>
2101e04c3fSmrg    <value name="INV_CONST_ALPHA" value="24"/>
2201e04c3fSmrg    <value name="INV_SRC1_COLOR" value="25"/>
2301e04c3fSmrg    <value name="INV_SRC1_ALPHA" value="26"/>
2401e04c3fSmrg  </enum>
2501e04c3fSmrg
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
3401e04c3fSmrg  <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
3501e04c3fSmrg    <value name="ALWAYS" value="0"/>
3601e04c3fSmrg    <value name="NEVER" value="1"/>
3701e04c3fSmrg    <value name="LESS" value="2"/>
3801e04c3fSmrg    <value name="EQUAL" value="3"/>
3901e04c3fSmrg    <value name="LEQUAL" value="4"/>
4001e04c3fSmrg    <value name="GREATER" value="5"/>
4101e04c3fSmrg    <value name="NOTEQUAL" value="6"/>
4201e04c3fSmrg    <value name="GEQUAL" value="7"/>
4301e04c3fSmrg  </enum>
4401e04c3fSmrg
4501e04c3fSmrg  <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
4601e04c3fSmrg    <value name="CLEAR" value="0"/>
4701e04c3fSmrg    <value name="NOR" value="1"/>
4801e04c3fSmrg    <value name="AND_INVERTED" value="2"/>
4901e04c3fSmrg    <value name="COPY_INVERTED" value="3"/>
5001e04c3fSmrg    <value name="AND_REVERSE" value="4"/>
5101e04c3fSmrg    <value name="INVERT" value="5"/>
5201e04c3fSmrg    <value name="XOR" value="6"/>
5301e04c3fSmrg    <value name="NAND" value="7"/>
5401e04c3fSmrg    <value name="AND" value="8"/>
5501e04c3fSmrg    <value name="EQUIV" value="9"/>
5601e04c3fSmrg    <value name="NOOP" value="10"/>
5701e04c3fSmrg    <value name="OR_INVERTED" value="11"/>
5801e04c3fSmrg    <value name="COPY" value="12"/>
5901e04c3fSmrg    <value name="OR_REVERSE" value="13"/>
6001e04c3fSmrg    <value name="OR" value="14"/>
6101e04c3fSmrg    <value name="SET" value="15"/>
6201e04c3fSmrg  </enum>
6301e04c3fSmrg
649f464c52Smaya  <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
659f464c52Smaya    <value name="POINTLIST" value="1"/>
669f464c52Smaya    <value name="LINELIST" value="2"/>
679f464c52Smaya    <value name="LINESTRIP" value="3"/>
689f464c52Smaya    <value name="TRILIST" value="4"/>
699f464c52Smaya    <value name="TRISTRIP" value="5"/>
709f464c52Smaya    <value name="TRIFAN" value="6"/>
719f464c52Smaya    <value name="QUADLIST" value="7"/>
729f464c52Smaya    <value name="QUADSTRIP" value="8"/>
739f464c52Smaya    <value name="LINELIST_ADJ" value="9"/>
749f464c52Smaya    <value name="LINESTRIP_ADJ" value="10"/>
759f464c52Smaya    <value name="TRILIST_ADJ" value="11"/>
769f464c52Smaya    <value name="TRISTRIP_ADJ" value="12"/>
779f464c52Smaya    <value name="TRISTRIP_REVERSE" value="13"/>
789f464c52Smaya    <value name="POLYGON" value="14"/>
799f464c52Smaya    <value name="RECTLIST" value="15"/>
809f464c52Smaya    <value name="LINELOOP" value="16"/>
819f464c52Smaya    <value name="POINTLIST _BF" value="17"/>
829f464c52Smaya    <value name="LINESTRIP_CONT" value="18"/>
839f464c52Smaya    <value name="LINESTRIP_BF" value="19"/>
849f464c52Smaya    <value name="LINESTRIP_CONT_BF" value="20"/>
859f464c52Smaya    <value name="TRIFAN_NOSTIPPLE" value="22"/>
869f464c52Smaya  </enum>
879f464c52Smaya
889f464c52Smaya  <enum name="3D_Stencil_Operation" prefix="STENCILOP">
899f464c52Smaya    <value name="KEEP" value="0"/>
909f464c52Smaya    <value name="ZERO" value="1"/>
919f464c52Smaya    <value name="REPLACE" value="2"/>
929f464c52Smaya    <value name="INCRSAT" value="3"/>
939f464c52Smaya    <value name="DECRSAT" value="4"/>
949f464c52Smaya    <value name="INCR" value="5"/>
959f464c52Smaya    <value name="DECR" value="6"/>
969f464c52Smaya    <value name="INVERT" value="7"/>
979f464c52Smaya  </enum>
989f464c52Smaya
999f464c52Smaya  <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
1009f464c52Smaya    <value name="NOSTORE" value="0"/>
1019f464c52Smaya    <value name="STORE_SRC" value="1"/>
1029f464c52Smaya    <value name="STORE_0" value="2"/>
1039f464c52Smaya    <value name="STORE_1_FP" value="3"/>
1049f464c52Smaya    <value name="STORE_1_INT" value="4"/>
1059f464c52Smaya    <value name="STORE_VID" value="5"/>
1069f464c52Smaya    <value name="STORE_IID" value="6"/>
1079f464c52Smaya    <value name="STORE_PID" value="7"/>
1089f464c52Smaya  </enum>
1099f464c52Smaya
11001e04c3fSmrg  <enum name="Texture Coordinate Mode" prefix="TCM">
11101e04c3fSmrg    <value name="WRAP" value="0"/>
11201e04c3fSmrg    <value name="MIRROR" value="1"/>
11301e04c3fSmrg    <value name="CLAMP" value="2"/>
11401e04c3fSmrg    <value name="CUBE" value="3"/>
11501e04c3fSmrg    <value name="CLAMP_BORDER" value="4"/>
11601e04c3fSmrg    <value name="MIRROR_ONCE" value="5"/>
11701e04c3fSmrg  </enum>
11801e04c3fSmrg
1199f464c52Smaya  <struct name="3DSTATE_CONSTANT_BODY" length="4">
1209f464c52Smaya    <field name="Constant Buffer 0 Read Length" start="0" end="4" type="uint"/>
1219f464c52Smaya    <field name="Pointer to Constant Buffer 0" start="5" end="31" type="offset"/>
1229f464c52Smaya    <field name="Constant Buffer 1 Read Length" start="32" end="36" type="uint"/>
1239f464c52Smaya    <field name="Pointer to Constant Buffer 1" start="37" end="63" type="address"/>
1249f464c52Smaya    <field name="Constant Buffer 2 Read Length" start="64" end="68" type="uint"/>
1259f464c52Smaya    <field name="Pointer to Constant Buffer 2" start="69" end="95" type="address"/>
1269f464c52Smaya    <field name="Constant Buffer 3 Read Length" start="96" end="100" type="uint"/>
1279f464c52Smaya    <field name="Pointer to Constant Buffer 3" start="101" end="127" type="address"/>
12801e04c3fSmrg  </struct>
12901e04c3fSmrg
1309f464c52Smaya  <struct name="BINDING_TABLE_STATE" length="1">
1319f464c52Smaya    <field name="Surface State Pointer" start="5" end="31" type="offset"/>
13201e04c3fSmrg  </struct>
13301e04c3fSmrg
13401e04c3fSmrg  <struct name="BLEND_STATE_ENTRY" length="2">
13501e04c3fSmrg    <field name="Destination Blend Factor" start="0" end="4" type="3D_Color_Buffer_Blend_Factor"/>
1369f464c52Smaya    <field name="Source Blend Factor" start="5" end="9" type="3D_Color_Buffer_Blend_Factor"/>
1379f464c52Smaya    <field name="Color Blend Function" start="11" end="13" type="3D_Color_Buffer_Blend_Function"/>
1389f464c52Smaya    <field name="Destination Alpha Blend Factor" start="15" end="19" type="3D_Color_Buffer_Blend_Factor"/>
1399f464c52Smaya    <field name="Source Alpha Blend Factor" start="20" end="24" type="3D_Color_Buffer_Blend_Factor"/>
1409f464c52Smaya    <field name="Alpha Blend Function" start="26" end="28" type="3D_Color_Buffer_Blend_Function"/>
1419f464c52Smaya    <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
1429f464c52Smaya    <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
1439f464c52Smaya    <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
1449f464c52Smaya    <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
14501e04c3fSmrg    <field name="Color Clamp Range" start="34" end="35" type="uint">
14601e04c3fSmrg      <value name="COLORCLAMP_UNORM" value="0"/>
14701e04c3fSmrg      <value name="COLORCLAMP_SNORM" value="1"/>
14801e04c3fSmrg      <value name="COLORCLAMP_RTFORMAT" value="2"/>
14901e04c3fSmrg    </field>
1509f464c52Smaya    <field name="Y Dither Offset" start="40" end="41" type="uint"/>
1519f464c52Smaya    <field name="X Dither Offset" start="42" end="43" type="uint"/>
1529f464c52Smaya    <field name="Color Dither Enable" start="44" end="44" type="bool"/>
1539f464c52Smaya    <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/>
1549f464c52Smaya    <field name="Alpha Test Enable" start="48" end="48" type="bool"/>
1559f464c52Smaya    <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/>
1569f464c52Smaya    <field name="Logic Op Enable" start="54" end="54" type="bool"/>
1579f464c52Smaya    <field name="Write Disable Blue" start="56" end="56" type="bool"/>
1589f464c52Smaya    <field name="Write Disable Green" start="57" end="57" type="bool"/>
1599f464c52Smaya    <field name="Write Disable Red" start="58" end="58" type="bool"/>
1609f464c52Smaya    <field name="Write Disable Alpha" start="59" end="59" type="bool"/>
1619f464c52Smaya    <field name="AlphaToCoverage Dither Enable" start="61" end="61" type="bool"/>
1629f464c52Smaya    <field name="AlphaToOne Enable" start="62" end="62" type="bool"/>
1639f464c52Smaya    <field name="AlphaToCoverage Enable" start="63" end="63" type="bool"/>
16401e04c3fSmrg  </struct>
16501e04c3fSmrg
16601e04c3fSmrg  <struct name="BLEND_STATE" length="0">
16701e04c3fSmrg    <group count="0" start="0" size="64">
16801e04c3fSmrg      <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
16901e04c3fSmrg    </group>
17001e04c3fSmrg  </struct>
17101e04c3fSmrg
17201e04c3fSmrg  <struct name="CC_VIEWPORT" length="2">
17301e04c3fSmrg    <field name="Minimum Depth" start="0" end="31" type="float"/>
17401e04c3fSmrg    <field name="Maximum Depth" start="32" end="63" type="float"/>
17501e04c3fSmrg  </struct>
17601e04c3fSmrg
1779f464c52Smaya  <struct name="CLIP_VIEWPORT" length="4">
1789f464c52Smaya    <field name="XMin Clip Guardband" start="0" end="31" type="float"/>
1799f464c52Smaya    <field name="XMax Clip Guardband" start="32" end="63" type="float"/>
1809f464c52Smaya    <field name="YMin Clip Guardband" start="64" end="95" type="float"/>
1819f464c52Smaya    <field name="YMax Clip Guardband" start="96" end="127" type="float"/>
1829f464c52Smaya  </struct>
1839f464c52Smaya
18401e04c3fSmrg  <struct name="COLOR_CALC_STATE" length="6">
18501e04c3fSmrg    <field name="Alpha Test Format" start="0" end="0" type="uint">
18601e04c3fSmrg      <value name="ALPHATEST_UNORM8" value="0"/>
18701e04c3fSmrg      <value name="ALPHATEST_FLOAT32" value="1"/>
18801e04c3fSmrg    </field>
1899f464c52Smaya    <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
1909f464c52Smaya    <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/>
1919f464c52Smaya    <field name="Stencil Reference Value" start="24" end="31" type="uint"/>
19201e04c3fSmrg    <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
19301e04c3fSmrg    <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
19401e04c3fSmrg    <field name="Blend Constant Color Red" start="64" end="95" type="float"/>
19501e04c3fSmrg    <field name="Blend Constant Color Green" start="96" end="127" type="float"/>
19601e04c3fSmrg    <field name="Blend Constant Color Blue" start="128" end="159" type="float"/>
19701e04c3fSmrg    <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
19801e04c3fSmrg  </struct>
19901e04c3fSmrg
20001e04c3fSmrg  <struct name="DEPTH_STENCIL_STATE" length="3">
20101e04c3fSmrg    <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
2029f464c52Smaya    <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
2039f464c52Smaya    <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
2049f464c52Smaya    <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
2059f464c52Smaya    <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
2069f464c52Smaya    <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
2079f464c52Smaya    <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
2089f464c52Smaya    <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
2099f464c52Smaya    <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
2109f464c52Smaya    <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
2119f464c52Smaya    <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
21201e04c3fSmrg    <field name="Backface Stencil Write Mask" start="32" end="39" type="uint"/>
2139f464c52Smaya    <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/>
2149f464c52Smaya    <field name="Stencil Write Mask" start="48" end="55" type="uint"/>
2159f464c52Smaya    <field name="Stencil Test Mask" start="56" end="63" type="uint"/>
21601e04c3fSmrg    <field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/>
2179f464c52Smaya    <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/>
2189f464c52Smaya    <field name="Depth Test Enable" start="95" end="95" type="bool"/>
21901e04c3fSmrg  </struct>
22001e04c3fSmrg
22101e04c3fSmrg  <struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
22201e04c3fSmrg    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
2239f464c52Smaya    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
2249f464c52Smaya    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
2259f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
22601e04c3fSmrg    <field name="Floating Point Mode" start="48" end="48" type="uint">
22701e04c3fSmrg      <value name="IEEE-754" value="0"/>
22801e04c3fSmrg      <value name="Alternate" value="1"/>
22901e04c3fSmrg    </field>
2309f464c52Smaya    <field name="Thread Priority" start="49" end="49" type="uint">
2319f464c52Smaya      <value name="Normal Priority" value="0"/>
2329f464c52Smaya      <value name="High Priority" value="1"/>
2339f464c52Smaya    </field>
2349f464c52Smaya    <field name="Single Program Flow" start="50" end="50" type="bool"/>
23501e04c3fSmrg    <field name="Sampler Count" start="66" end="68" type="uint">
23601e04c3fSmrg      <value name="No samplers used" value="0"/>
23701e04c3fSmrg      <value name="Between 1 and 4 samplers used" value="1"/>
23801e04c3fSmrg      <value name="Between 5 and 8 samplers used" value="2"/>
23901e04c3fSmrg      <value name="Between 9 and 12 samplers used" value="3"/>
24001e04c3fSmrg      <value name="Between 13 and 16 samplers used" value="4"/>
24101e04c3fSmrg    </field>
2429f464c52Smaya    <field name="Sampler State Pointer" start="69" end="95" type="offset"/>
24301e04c3fSmrg    <field name="Binding Table Entry Count" start="96" end="100" type="uint"/>
2449f464c52Smaya    <field name="Binding Table Pointer" start="101" end="127" type="offset"/>
24501e04c3fSmrg    <field name="Constant URB Entry Read Offset" start="128" end="143" type="uint"/>
2469f464c52Smaya    <field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/>
24701e04c3fSmrg    <field name="Barrier ID" start="160" end="163" type="uint"/>
2489f464c52Smaya    <field name="Barrier Return Byte" start="168" end="175" type="uint"/>
2499f464c52Smaya    <field name="Barrier Return GRF Offset" start="184" end="191" type="uint"/>
25001e04c3fSmrg  </struct>
25101e04c3fSmrg
2529f464c52Smaya  <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
2539f464c52Smaya    <field name="Cacheability Control" start="0" end="1" type="uint"/>
2549f464c52Smaya    <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
25501e04c3fSmrg  </struct>
25601e04c3fSmrg
2579f464c52Smaya  <struct name="PALETTE_ENTRY" length="1">
2589f464c52Smaya    <field name="Blue" start="0" end="7" type="uint"/>
2599f464c52Smaya    <field name="Green" start="8" end="15" type="uint"/>
2609f464c52Smaya    <field name="Red" start="16" end="23" type="uint"/>
2619f464c52Smaya    <field name="Alpha" start="24" end="31" type="uint"/>
26201e04c3fSmrg  </struct>
26301e04c3fSmrg
26401e04c3fSmrg  <struct name="RENDER_SURFACE_STATE" length="6">
2659f464c52Smaya    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
2669f464c52Smaya    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
2679f464c52Smaya    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
2689f464c52Smaya    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
2699f464c52Smaya    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
2709f464c52Smaya    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
2719f464c52Smaya    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
2729f464c52Smaya      <value name="NORMAL_MODE" value="0"/>
2739f464c52Smaya      <value name="PROGRESSIVE_FRAME" value="2"/>
2749f464c52Smaya      <value name="INTERLACED_FRAME" value="3"/>
27501e04c3fSmrg    </field>
2769f464c52Smaya    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
2779f464c52Smaya      <value name="WRITE_ONLY" value="0"/>
2789f464c52Smaya      <value name="READ_WRITE" value="1"/>
27901e04c3fSmrg    </field>
28001e04c3fSmrg    <field name="Cube Map Corner Mode" start="9" end="9" type="uint">
28101e04c3fSmrg      <value name="CUBE_REPLICATE" value="0"/>
28201e04c3fSmrg      <value name="CUBE_AVERAGE" value="1"/>
28301e04c3fSmrg    </field>
2849f464c52Smaya    <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
2859f464c52Smaya      <value name="MIPLAYOUT_BELOW" value="0"/>
2869f464c52Smaya      <value name="MIPLAYOUT_RIGHT" value="1"/>
28701e04c3fSmrg    </field>
2889f464c52Smaya    <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
2899f464c52Smaya    <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
2909f464c52Smaya    <field name="Surface Format" start="18" end="26" type="uint"/>
2919f464c52Smaya    <field name="Data Return Format" start="27" end="27" type="uint">
2929f464c52Smaya      <value name="DATA_RETURN_FLOAT32" value="0"/>
2939f464c52Smaya    </field>
2949f464c52Smaya    <field name="Surface Type" start="29" end="31" type="uint">
2959f464c52Smaya      <value name="SURFTYPE_1D" value="0"/>
2969f464c52Smaya      <value name="SURFTYPE_2D" value="1"/>
2979f464c52Smaya      <value name="SURFTYPE_3D" value="2"/>
2989f464c52Smaya      <value name="SURFTYPE_CUBE" value="3"/>
2999f464c52Smaya      <value name="SURFTYPE_BUFFER" value="4"/>
3009f464c52Smaya      <value name="SURFTYPE_NULL" value="7"/>
30101e04c3fSmrg    </field>
30201e04c3fSmrg    <field name="Surface Base Address" start="32" end="63" type="address"/>
30301e04c3fSmrg    <field name="Render Target Rotation" start="64" end="65" type="uint">
30401e04c3fSmrg      <value name="RTROTATE_0DEG" value="0"/>
30501e04c3fSmrg      <value name="RTROTATE_90DEG" value="1"/>
30601e04c3fSmrg      <value name="RTROTATE_270DEG" value="3"/>
30701e04c3fSmrg    </field>
3089f464c52Smaya    <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
3099f464c52Smaya    <field name="Width" start="70" end="82" type="uint"/>
3109f464c52Smaya    <field name="Height" start="83" end="95" type="uint"/>
31101e04c3fSmrg    <field name="Tile Walk" start="96" end="96" type="uint">
31201e04c3fSmrg      <value name="TILEWALK_XMAJOR" value="0"/>
31301e04c3fSmrg      <value name="TILEWALK_YMAJOR" value="1"/>
31401e04c3fSmrg    </field>
3159f464c52Smaya    <field name="Tiled Surface" start="97" end="97" type="bool"/>
3169f464c52Smaya    <field name="Surface Pitch" start="99" end="115" type="uint"/>
3179f464c52Smaya    <field name="Depth" start="117" end="127" type="uint"/>
3189f464c52Smaya    <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
31901e04c3fSmrg    <field name="Number of Multisamples" start="132" end="134" type="uint">
32001e04c3fSmrg      <value name="MULTISAMPLECOUNT_1" value="0"/>
32101e04c3fSmrg      <value name="MULTISAMPLECOUNT_4" value="2"/>
32201e04c3fSmrg    </field>
3239f464c52Smaya    <field name="Render Target View Extent" start="136" end="144" type="uint"/>
3249f464c52Smaya    <field name="Minimum Array Element" start="145" end="155" type="uint"/>
3259f464c52Smaya    <field name="Surface Min LOD" start="156" end="159" type="uint"/>
3269f464c52Smaya    <field name="MOCS" start="176" end="179" type="uint"/>
3279f464c52Smaya    <field name="Y Offset" start="180" end="183" type="uint"/>
32801e04c3fSmrg    <field name="Surface Vertical Alignment" start="184" end="184" type="uint">
32901e04c3fSmrg      <value name="VALIGN_2" value="0"/>
33001e04c3fSmrg      <value name="VALIGN_4" value="1"/>
33101e04c3fSmrg    </field>
3329f464c52Smaya    <field name="X Offset" start="185" end="191" type="uint"/>
33301e04c3fSmrg  </struct>
33401e04c3fSmrg
33501e04c3fSmrg  <struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
33601e04c3fSmrg    <field name="Border Color Unorm Red" start="0" end="7" type="uint"/>
33701e04c3fSmrg    <field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
33801e04c3fSmrg    <field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
33901e04c3fSmrg    <field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
34001e04c3fSmrg    <field name="Border Color Float Red" start="32" end="63" type="float"/>
34101e04c3fSmrg    <field name="Border Color Float Green" start="64" end="95" type="float"/>
34201e04c3fSmrg    <field name="Border Color Float Blue" start="96" end="127" type="float"/>
34301e04c3fSmrg    <field name="Border Color Float Alpha" start="128" end="159" type="float"/>
34401e04c3fSmrg    <field name="Border Color Float16 Red" start="160" end="175" type="uint"/>
34501e04c3fSmrg    <field name="Border Color Float16 Green" start="176" end="191" type="uint"/>
34601e04c3fSmrg    <field name="Border Color Float16 Blue" start="192" end="207" type="uint"/>
34701e04c3fSmrg    <field name="Border Color Float16 Alpha" start="208" end="223" type="uint"/>
34801e04c3fSmrg    <field name="Border Color Unorm16 Red" start="224" end="239" type="uint"/>
34901e04c3fSmrg    <field name="Border Color Unorm16 Green" start="240" end="255" type="uint"/>
35001e04c3fSmrg    <field name="Border Color Unorm16 Blue" start="256" end="271" type="uint"/>
35101e04c3fSmrg    <field name="Border Color Unorm16 Alpha" start="272" end="287" type="uint"/>
35201e04c3fSmrg    <field name="Border Color Snorm16 Red" start="288" end="303" type="int"/>
35301e04c3fSmrg    <field name="Border Color Snorm16 Green" start="304" end="319" type="int"/>
35401e04c3fSmrg    <field name="Border Color Snorm16 Blue" start="320" end="335" type="int"/>
35501e04c3fSmrg    <field name="Border Color Snorm16 Alpha" start="336" end="351" type="int"/>
35601e04c3fSmrg    <field name="Border Color Snorm8 Red" start="352" end="359" type="int"/>
35701e04c3fSmrg    <field name="Border Color Snorm8 Green" start="360" end="367" type="int"/>
35801e04c3fSmrg    <field name="Border Color Snorm8 Blue" start="368" end="375" type="int"/>
35901e04c3fSmrg    <field name="Border Color Snorm8 Alpha" start="376" end="383" type="int"/>
36001e04c3fSmrg  </struct>
36101e04c3fSmrg
36201e04c3fSmrg  <struct name="SAMPLER_STATE" length="4">
3637ec681f3Smrg    <field name="Shadow Function" start="0" end="2" type="uint" prefix="PREFILTEROP">
3647ec681f3Smrg      <value name="ALWAYS" value="0"/>
3657ec681f3Smrg      <value name="NEVER" value="1"/>
3667ec681f3Smrg      <value name="LESS" value="2"/>
3677ec681f3Smrg      <value name="EQUAL" value="3"/>
3687ec681f3Smrg      <value name="LEQUAL" value="4"/>
3697ec681f3Smrg      <value name="GREATER" value="5"/>
3707ec681f3Smrg      <value name="NOTEQUAL" value="6"/>
3717ec681f3Smrg      <value name="GEQUAL" value="7"/>
37201e04c3fSmrg    </field>
3739f464c52Smaya    <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
3749f464c52Smaya    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
3759f464c52Smaya    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
3769f464c52Smaya      <value name="NEAREST" value="0"/>
3779f464c52Smaya      <value name="LINEAR" value="1"/>
3789f464c52Smaya      <value name="ANISOTROPIC" value="2"/>
3799f464c52Smaya      <value name="MONO" value="6"/>
3809f464c52Smaya    </field>
3819f464c52Smaya    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
3829f464c52Smaya      <value name="NONE" value="0"/>
3839f464c52Smaya      <value name="NEAREST" value="1"/>
3849f464c52Smaya      <value name="LINEAR" value="3"/>
3859f464c52Smaya    </field>
3869f464c52Smaya    <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
3879f464c52Smaya    <field name="Min and Mag State Not Equal" start="27" end="27" type="uint">
3889f464c52Smaya      <value name="MIN_MAG_EQ" value="0"/>
3899f464c52Smaya      <value name="MIN_MAG_NEQ" value="1"/>
3909f464c52Smaya    </field>
3919f464c52Smaya    <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE">
3929f464c52Smaya      <value name="OGL" value="1"/>
3939f464c52Smaya    </field>
3949f464c52Smaya    <field name="Texture Border Color Mode" start="29" end="29" type="uint">
3959f464c52Smaya      <value name="DX10/OGL" value="0"/>
3969f464c52Smaya      <value name="DX9" value="1"/>
3979f464c52Smaya    </field>
3989f464c52Smaya    <field name="Sampler Disable" start="31" end="31" type="bool"/>
3999f464c52Smaya    <field name="TCZ Address Control Mode" start="32" end="34" type="Texture Coordinate Mode"/>
4009f464c52Smaya    <field name="TCY Address Control Mode" start="35" end="37" type="Texture Coordinate Mode"/>
4019f464c52Smaya    <field name="TCX Address Control Mode" start="38" end="40" type="Texture Coordinate Mode"/>
40201e04c3fSmrg    <field name="Cube Surface Control Mode" start="41" end="41" type="uint">
40301e04c3fSmrg      <value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
40401e04c3fSmrg      <value name="CUBECTRLMODE_OVERRIDE" value="1"/>
40501e04c3fSmrg    </field>
4069f464c52Smaya    <field name="Max LOD" start="44" end="53" type="u4.6"/>
4079f464c52Smaya    <field name="Min LOD" start="54" end="63" type="u4.6"/>
40801e04c3fSmrg    <field name="Border Color Pointer" start="69" end="95" type="offset"/>
4099f464c52Smaya    <field name="Non-normalized Coordinate Enable" start="96" end="96" type="bool"/>
4109f464c52Smaya    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
4119f464c52Smaya    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
4129f464c52Smaya    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
4139f464c52Smaya    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
4149f464c52Smaya    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
4159f464c52Smaya    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
41601e04c3fSmrg    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
41701e04c3fSmrg      <value name="RATIO 2:1" value="0"/>
41801e04c3fSmrg      <value name="RATIO 4:1" value="1"/>
41901e04c3fSmrg      <value name="RATIO 6:1" value="2"/>
42001e04c3fSmrg      <value name="RATIO 8:1" value="3"/>
42101e04c3fSmrg      <value name="RATIO 10:1" value="4"/>
42201e04c3fSmrg      <value name="RATIO 12:1" value="5"/>
42301e04c3fSmrg      <value name="RATIO 14:1" value="6"/>
42401e04c3fSmrg      <value name="RATIO 16:1" value="7"/>
42501e04c3fSmrg    </field>
4269f464c52Smaya    <field name="ChromaKey Mode" start="118" end="118" type="uint">
4279f464c52Smaya      <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
4289f464c52Smaya      <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
4299f464c52Smaya    </field>
4309f464c52Smaya    <field name="ChromaKey Index" start="119" end="120" type="uint"/>
4319f464c52Smaya    <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
4329f464c52Smaya    <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
4339f464c52Smaya    <field name="Monochrome Filter Height: Reserved" start="125" end="127" type="uint"/>
43401e04c3fSmrg  </struct>
43501e04c3fSmrg
4369f464c52Smaya  <struct name="SCISSOR_RECT" length="2">
4379f464c52Smaya    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
4389f464c52Smaya    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
4399f464c52Smaya    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
4409f464c52Smaya    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
4419f464c52Smaya  </struct>
4429f464c52Smaya
4439f464c52Smaya  <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
4449f464c52Smaya    <field name="Source Attribute" start="0" end="4" type="uint"/>
4459f464c52Smaya    <field name="Swizzle Select" start="6" end="7" type="uint">
4469f464c52Smaya      <value name="INPUTATTR" value="0"/>
4479f464c52Smaya      <value name="INPUTATTR_FACING" value="1"/>
4489f464c52Smaya      <value name="INPUTATTR_W" value="2"/>
4499f464c52Smaya      <value name="INPUTATTR_FACING_W" value="3"/>
4509f464c52Smaya    </field>
4519f464c52Smaya    <field name="Constant Source" start="9" end="10" type="uint">
4529f464c52Smaya      <value name="CONST_0000" value="0"/>
4539f464c52Smaya      <value name="CONST_0001_FLOAT" value="1"/>
4549f464c52Smaya      <value name="CONST_1111_FLOAT" value="2"/>
4559f464c52Smaya      <value name="PRIM_ID" value="3"/>
4569f464c52Smaya    </field>
4579f464c52Smaya    <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
4589f464c52Smaya    <field name="Component Override X" start="12" end="12" type="bool"/>
4599f464c52Smaya    <field name="Component Override Y" start="13" end="13" type="bool"/>
4609f464c52Smaya    <field name="Component Override Z" start="14" end="14" type="bool"/>
4619f464c52Smaya    <field name="Component Override W" start="15" end="15" type="bool"/>
4629f464c52Smaya  </struct>
4639f464c52Smaya
4649f464c52Smaya  <struct name="SF_VIEWPORT" length="8">
4659f464c52Smaya    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
4669f464c52Smaya    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
4679f464c52Smaya    <field name="Viewport Matrix Element m22" start="64" end="95" type="float">
4689f464c52Smaya      <value name="Excludes DWord (0,1)" value="0"/>
4699f464c52Smaya    </field>
4709f464c52Smaya    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
4719f464c52Smaya    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
4729f464c52Smaya    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
4739f464c52Smaya  </struct>
4749f464c52Smaya
4759f464c52Smaya  <struct name="VERTEX_BUFFER_STATE" length="4">
4769f464c52Smaya    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
4779f464c52Smaya    <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/>
4789f464c52Smaya    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
4799f464c52Smaya    <field name="MOCS" start="16" end="19" type="uint"/>
4809f464c52Smaya    <field name="Buffer Access Type" start="20" end="20" type="uint">
4819f464c52Smaya      <value name="VERTEXDATA" value="0"/>
4829f464c52Smaya      <value name="INSTANCEDATA" value="1"/>
4839f464c52Smaya    </field>
4849f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
4859f464c52Smaya    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
4869f464c52Smaya    <field name="End Address" start="64" end="95" type="address"/>
4879f464c52Smaya    <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
4889f464c52Smaya  </struct>
4899f464c52Smaya
4909f464c52Smaya  <struct name="VERTEX_ELEMENT_STATE" length="2">
4919f464c52Smaya    <field name="Source Element Offset" start="0" end="11" type="uint"/>
4929f464c52Smaya    <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
4939f464c52Smaya    <field name="Source Element Format" start="16" end="24" type="uint"/>
4949f464c52Smaya    <field name="Valid" start="25" end="25" type="bool"/>
4959f464c52Smaya    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
4969f464c52Smaya    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
4979f464c52Smaya    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
4989f464c52Smaya    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
4999f464c52Smaya    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
5009f464c52Smaya  </struct>
5019f464c52Smaya
5029f464c52Smaya  <instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
50301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
5049f464c52Smaya    <field name="Internal Vertex Count" start="9" end="9" type="uint"/>
5059f464c52Smaya    <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
5069f464c52Smaya    <field name="Vertex Access Type" start="15" end="15" type="uint">
5079f464c52Smaya      <value name="SEQUENTIAL" value="0"/>
5089f464c52Smaya      <value name="RANDOM" value="1"/>
5099f464c52Smaya    </field>
5109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
5119f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
5129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
5139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
51401e04c3fSmrg    <field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
51501e04c3fSmrg    <field name="Start Vertex Location" start="64" end="95" type="uint"/>
51601e04c3fSmrg    <field name="Instance Count" start="96" end="127" type="uint">
51701e04c3fSmrg      <value name="UNDEFINED" value="0"/>
51801e04c3fSmrg      <value name="'non-instanced' operation" value="1"/>
51901e04c3fSmrg    </field>
52001e04c3fSmrg    <field name="Start Instance Location" start="128" end="159" type="uint"/>
52101e04c3fSmrg    <field name="Base Vertex Location" start="160" end="191" type="int"/>
52201e04c3fSmrg  </instruction>
52301e04c3fSmrg
5249f464c52Smaya  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
52501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
5269f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
5279f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
5289f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
5299f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
53001e04c3fSmrg    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
5319f464c52Smaya    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
53201e04c3fSmrg    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
5339f464c52Smaya    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
53401e04c3fSmrg  </instruction>
53501e04c3fSmrg
5369f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="4" engine="render">
53701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
5389f464c52Smaya    <field name="VS Binding Table Change" start="8" end="8" type="bool"/>
5399f464c52Smaya    <field name="GS Binding Table Change" start="9" end="9" type="bool"/>
5409f464c52Smaya    <field name="PS Binding Table Change" start="12" end="12" type="bool"/>
5419f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
5429f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
5439f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
5449f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
54501e04c3fSmrg    <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
54601e04c3fSmrg    <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
54701e04c3fSmrg    <field name="Pointer to PS Binding Table" start="101" end="127" type="offset"/>
54801e04c3fSmrg  </instruction>
54901e04c3fSmrg
5509f464c52Smaya  <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="4" engine="render">
55101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
5529f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
5539f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
5549f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
5559f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
55601e04c3fSmrg    <field name="BLEND_STATE Change" start="32" end="32" type="bool"/>
5579f464c52Smaya    <field name="Pointer to BLEND_STATE" start="38" end="63" type="offset"/>
55801e04c3fSmrg    <field name="DEPTH_STENCIL_STATE Change" start="64" end="64" type="bool"/>
5599f464c52Smaya    <field name="Pointer to DEPTH_STENCIL_STATE" start="70" end="95" type="offset"/>
56001e04c3fSmrg    <field name="Color Calc State Pointer Valid" start="96" end="96" type="bool"/>
5619f464c52Smaya    <field name="Color Calc State Pointer" start="102" end="127" type="offset"/>
56201e04c3fSmrg  </instruction>
56301e04c3fSmrg
5649f464c52Smaya  <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
56501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
5669f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
5679f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
5689f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
5699f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
57001e04c3fSmrg    <field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
57101e04c3fSmrg    <field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
57201e04c3fSmrg    <field name="ChromaKey High Value" start="96" end="127" type="uint"/>
57301e04c3fSmrg  </instruction>
57401e04c3fSmrg
5759f464c52Smaya  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="2" engine="render">
57601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
5779f464c52Smaya    <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
5789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
5799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
5809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
5819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
58201e04c3fSmrg    <field name="Depth Clear Value" start="32" end="63" type="uint"/>
58301e04c3fSmrg  </instruction>
58401e04c3fSmrg
5859f464c52Smaya  <instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
58601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
5879f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
5889f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
5899f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
5909f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
59101e04c3fSmrg    <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
5929f464c52Smaya    <field name="Statistics Enable" start="42" end="42" type="bool"/>
5939f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint">
59401e04c3fSmrg      <value name="Vertex 0" value="0"/>
59501e04c3fSmrg      <value name="Vertex 1" value="1"/>
59601e04c3fSmrg      <value name="Vertex 2" value="2"/>
59701e04c3fSmrg    </field>
59801e04c3fSmrg    <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint">
59901e04c3fSmrg      <value name="Vertex 0" value="0"/>
60001e04c3fSmrg      <value name="Vertex 1" value="1"/>
60101e04c3fSmrg    </field>
6029f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint">
60301e04c3fSmrg      <value name="Vertex 0" value="0"/>
60401e04c3fSmrg      <value name="Vertex 1" value="1"/>
60501e04c3fSmrg      <value name="Vertex 2" value="2"/>
60601e04c3fSmrg    </field>
6079f464c52Smaya    <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
6089f464c52Smaya    <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
6099f464c52Smaya    <field name="Clip Mode" start="77" end="79" type="uint">
6109f464c52Smaya      <value name="CLIPMODE_NORMAL" value="0"/>
6119f464c52Smaya      <value name="CLIPMODE_REJECT_ALL" value="3"/>
6129f464c52Smaya      <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
6139f464c52Smaya    </field>
6149f464c52Smaya    <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
6159f464c52Smaya    <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
6169f464c52Smaya    <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/>
6179f464c52Smaya    <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
6189f464c52Smaya    <field name="API Mode" start="94" end="94" type="uint">
6199f464c52Smaya      <value name="APIMODE_OGL" value="0"/>
6209f464c52Smaya      <value name="APIMODE_D3D" value="1"/>
6219f464c52Smaya    </field>
6229f464c52Smaya    <field name="Clip Enable" start="95" end="95" type="bool"/>
62301e04c3fSmrg    <field name="Maximum VP Index" start="96" end="99" type="uint"/>
6249f464c52Smaya    <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
6259f464c52Smaya    <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
6269f464c52Smaya    <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
62701e04c3fSmrg  </instruction>
62801e04c3fSmrg
6299f464c52Smaya  <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="5" engine="render">
63001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
6319f464c52Smaya    <field name="MOCS" start="8" end="11" type="uint"/>
6329f464c52Smaya    <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
6339f464c52Smaya    <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
6349f464c52Smaya    <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
6359f464c52Smaya    <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
6369f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
6379f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6389f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6399f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
64001e04c3fSmrg    <field name="Constant Body" start="32" end="159" type="3DSTATE_CONSTANT_BODY"/>
64101e04c3fSmrg  </instruction>
64201e04c3fSmrg
6439f464c52Smaya  <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="5" engine="render">
64401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
6459f464c52Smaya    <field name="MOCS" start="8" end="11" type="uint"/>
6469f464c52Smaya    <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
6479f464c52Smaya    <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
6489f464c52Smaya    <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
6499f464c52Smaya    <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
6509f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
6519f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6529f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6539f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
65401e04c3fSmrg    <field name="Constant Body" start="32" end="159" type="3DSTATE_CONSTANT_BODY"/>
65501e04c3fSmrg  </instruction>
65601e04c3fSmrg
6579f464c52Smaya  <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="5" engine="render">
65801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
6599f464c52Smaya    <field name="MOCS" start="8" end="11" type="uint"/>
6609f464c52Smaya    <field name="Buffer 0 Valid" start="12" end="12" type="bool"/>
6619f464c52Smaya    <field name="Buffer 1 Valid" start="13" end="13" type="bool"/>
6629f464c52Smaya    <field name="Buffer 2 Valid" start="14" end="14" type="bool"/>
6639f464c52Smaya    <field name="Buffer 3 Valid" start="15" end="15" type="bool"/>
6649f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
6659f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6669f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6679f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
66801e04c3fSmrg    <field name="Constant Body" start="32" end="159" type="3DSTATE_CONSTANT_BODY"/>
66901e04c3fSmrg  </instruction>
67001e04c3fSmrg
6719f464c52Smaya  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="7" engine="render">
67201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
6739f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
6749f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
6759f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6769f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
6779f464c52Smaya    <field name="Surface Pitch" start="32" end="48" type="uint"/>
67801e04c3fSmrg    <field name="Surface Format" start="50" end="52" type="uint">
67901e04c3fSmrg      <value name="D32_FLOAT_S8X24_UINT" value="0"/>
68001e04c3fSmrg      <value name="D32_FLOAT" value="1"/>
68101e04c3fSmrg      <value name="D24_UNORM_S8_UINT" value="2"/>
68201e04c3fSmrg      <value name="D24_UNORM_X8_UINT" value="3"/>
68301e04c3fSmrg      <value name="D16_UNORM" value="5"/>
68401e04c3fSmrg    </field>
6859f464c52Smaya    <field name="Separate Stencil Buffer Enable" start="53" end="53" type="bool"/>
6869f464c52Smaya    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
6879f464c52Smaya    <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
6889f464c52Smaya      <value name="NORMAL" value="0"/>
6899f464c52Smaya      <value name="STR1" value="1"/>
6909f464c52Smaya      <value name="STR2" value="3"/>
6919f464c52Smaya    </field>
6929f464c52Smaya    <field name="Tile Walk" start="58" end="58" type="uint">
6939f464c52Smaya      <value name="TILEWALK_YMAJOR" value="1"/>
6949f464c52Smaya    </field>
6959f464c52Smaya    <field name="Tiled Surface" start="59" end="59" type="bool"/>
6969f464c52Smaya    <field name="Surface Type" start="61" end="63" type="uint">
6979f464c52Smaya      <value name="SURFTYPE_1D" value="0"/>
6989f464c52Smaya      <value name="SURFTYPE_2D" value="1"/>
6999f464c52Smaya      <value name="SURFTYPE_3D" value="2"/>
7009f464c52Smaya      <value name="SURFTYPE_CUBE" value="3"/>
7019f464c52Smaya      <value name="SURFTYPE_NULL" value="7"/>
7029f464c52Smaya    </field>
70301e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
70401e04c3fSmrg    <field name="MIP Map Layout Mode" start="97" end="97" type="uint">
70501e04c3fSmrg      <value name="MIPLAYOUT_BELOW" value="0"/>
70601e04c3fSmrg      <value name="MIPLAYOUT_RIGHT" value="1"/>
70701e04c3fSmrg    </field>
7089f464c52Smaya    <field name="LOD" start="98" end="101" type="uint"/>
7099f464c52Smaya    <field name="Width" start="102" end="114" type="uint"/>
7109f464c52Smaya    <field name="Height" start="115" end="127" type="uint"/>
71101e04c3fSmrg    <field name="Render Target View Extent" start="129" end="137" type="uint"/>
7129f464c52Smaya    <field name="Minimum Array Element" start="138" end="148" type="uint"/>
7139f464c52Smaya    <field name="Depth" start="149" end="159" type="uint"/>
71401e04c3fSmrg    <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
7159f464c52Smaya    <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
7169f464c52Smaya    <field name="MOCS" start="219" end="223" type="uint"/>
71701e04c3fSmrg  </instruction>
71801e04c3fSmrg
7199f464c52Smaya  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
72001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
7219f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
7229f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7239f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7249f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
72501e04c3fSmrg    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
7269f464c52Smaya    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
72701e04c3fSmrg    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
7289f464c52Smaya    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
72901e04c3fSmrg    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
7309f464c52Smaya    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
73101e04c3fSmrg  </instruction>
73201e04c3fSmrg
7339f464c52Smaya  <instruction name="3DSTATE_GS" bias="2" length="7" engine="render">
73401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
7359f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
7369f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
7379f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7389f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
73901e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
7409f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
7419f464c52Smaya    <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
7429f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
7439f464c52Smaya    <field name="Floating Point Mode" start="80" end="80" type="uint">
7449f464c52Smaya      <value name="IEEE-754" value="0"/>
7459f464c52Smaya      <value name="Alternate" value="1"/>
7469f464c52Smaya    </field>
7479f464c52Smaya    <field name="Thread Priority" start="81" end="81" type="uint">
7489f464c52Smaya      <value name="Normal Priority" value="0"/>
7499f464c52Smaya      <value name="High Priority" value="1"/>
7509f464c52Smaya    </field>
7519f464c52Smaya    <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
75201e04c3fSmrg    <field name="Sampler Count" start="91" end="93" type="uint">
75301e04c3fSmrg      <value name="No Samplers" value="0"/>
75401e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
75501e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
75601e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
75701e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
75801e04c3fSmrg    </field>
7599f464c52Smaya    <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
7609f464c52Smaya    <field name="Single Program Flow" start="95" end="95" type="bool"/>
76101e04c3fSmrg    <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
7629f464c52Smaya    <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
76301e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="128" end="131" type="uint"/>
7649f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
7659f464c52Smaya    <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
76601e04c3fSmrg    <field name="Rendering Enabled" start="168" end="168" type="uint"/>
7679f464c52Smaya    <field name="SO Statistics Enable" start="169" end="169" type="bool"/>
7689f464c52Smaya    <field name="Statistics Enable" start="170" end="170" type="bool"/>
7699f464c52Smaya    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
7709f464c52Smaya    <field name="Enable" start="207" end="207" type="bool"/>
7719f464c52Smaya    <field name="SVBI Post-Increment Value" start="208" end="217" type="uint"/>
7729f464c52Smaya    <field name="SVBI Post-Increment Enable" start="219" end="219" type="bool"/>
7739f464c52Smaya    <field name="SVBI Payload Enable" start="220" end="220" type="bool"/>
7749f464c52Smaya    <field name="Discard Adjacency" start="221" end="221" type="bool"/>
77501e04c3fSmrg    <field name="Reorder Mode" start="222" end="222" type="uint">
77601e04c3fSmrg      <value name="LEADING" value="0"/>
77701e04c3fSmrg      <value name="TRAILING" value="1"/>
77801e04c3fSmrg    </field>
77901e04c3fSmrg  </instruction>
78001e04c3fSmrg
7817ec681f3Smrg  <instruction name="3DSTATE_GS_SVB_INDEX" bias="2" length="4" engine="render">
7827ec681f3Smrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
7839f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
7849f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7859f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7869f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
78701e04c3fSmrg    <field name="Load Internal Vertex Count" start="32" end="32" type="uint"/>
7889f464c52Smaya    <field name="Index Number" start="61" end="62" type="uint"/>
78901e04c3fSmrg    <field name="Streamed Vertex Buffer Index" start="64" end="95" type="uint"/>
79001e04c3fSmrg    <field name="Maximum Index" start="96" end="127" type="uint"/>
79101e04c3fSmrg  </instruction>
79201e04c3fSmrg
7939f464c52Smaya  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
79401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
7959f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
7969f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7979f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7989f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
79901e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
8009f464c52Smaya    <field name="MOCS" start="57" end="60" type="uint"/>
80101e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
80201e04c3fSmrg  </instruction>
80301e04c3fSmrg
8049f464c52Smaya  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
8059f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
80601e04c3fSmrg    <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
80701e04c3fSmrg      <value name="BYTE" value="0"/>
80801e04c3fSmrg      <value name="WORD" value="1"/>
80901e04c3fSmrg      <value name="DWORD" value="2"/>
81001e04c3fSmrg    </field>
8119f464c52Smaya    <field name="Cut Index Enable" start="10" end="10" type="bool"/>
8129f464c52Smaya    <field name="MOCS" start="12" end="15" type="uint"/>
8139f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
8149f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8159f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
81701e04c3fSmrg    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
81801e04c3fSmrg    <field name="Buffer Ending Address" start="64" end="95" type="address"/>
81901e04c3fSmrg  </instruction>
82001e04c3fSmrg
8219f464c52Smaya  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
82201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
8239f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
8249f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8259f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8269f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
82701e04c3fSmrg    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
8289f464c52Smaya    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
8299f464c52Smaya    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
8309f464c52Smaya    <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
83101e04c3fSmrg    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
8329f464c52Smaya    <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
83301e04c3fSmrg  </instruction>
83401e04c3fSmrg
8359f464c52Smaya  <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
83601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
8379f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
8389f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8399f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8409f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
84101e04c3fSmrg    <field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
8429f464c52Smaya    <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
84301e04c3fSmrg  </instruction>
84401e04c3fSmrg
8459f464c52Smaya  <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="3" engine="render">
84601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
8479f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
8489f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8499f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
85101e04c3fSmrg    <field name="Number of Multisamples" start="33" end="35" type="uint">
85201e04c3fSmrg      <value name="NUMSAMPLES_1" value="0"/>
85301e04c3fSmrg      <value name="NUMSAMPLES_4" value="2"/>
85401e04c3fSmrg    </field>
8559f464c52Smaya    <field name="Pixel Location" start="36" end="36" type="uint">
8569f464c52Smaya      <value name="CENTER" value="0"/>
8579f464c52Smaya      <value name="UL_CORNER" value="1"/>
8589f464c52Smaya    </field>
85901e04c3fSmrg    <field name="Sample0 Y Offset" start="64" end="67" type="u0.4"/>
8609f464c52Smaya    <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/>
8619f464c52Smaya    <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/>
8629f464c52Smaya    <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/>
8639f464c52Smaya    <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/>
8649f464c52Smaya    <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/>
8659f464c52Smaya    <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/>
8669f464c52Smaya    <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/>
86701e04c3fSmrg  </instruction>
86801e04c3fSmrg
8699f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
87001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
8719f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
8729f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8739f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
87501e04c3fSmrg    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
8769f464c52Smaya    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
87701e04c3fSmrg  </instruction>
87801e04c3fSmrg
8799f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
88001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
8819f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
8829f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8839f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
88501e04c3fSmrg    <group count="32" start="32" size="32">
88601e04c3fSmrg      <field name="Pattern Row" start="0" end="31" type="uint"/>
88701e04c3fSmrg    </group>
88801e04c3fSmrg  </instruction>
88901e04c3fSmrg
8909f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render">
89101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint"/>
8929f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
8939f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8949f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8959f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
89601e04c3fSmrg    <group count="0" start="32" size="32">
89701e04c3fSmrg      <field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
89801e04c3fSmrg    </group>
89901e04c3fSmrg  </instruction>
90001e04c3fSmrg
9019f464c52Smaya  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render">
90201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9039f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
9049f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
9059f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9069f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
90701e04c3fSmrg    <group count="0" start="32" size="32">
90801e04c3fSmrg      <field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
90901e04c3fSmrg      <field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
91001e04c3fSmrg      <field name="Palette Green[0:N-1]" start="8" end="15" type="uint"/>
91101e04c3fSmrg      <field name="Palette Blue[0:N-1]" start="0" end="7" type="uint"/>
91201e04c3fSmrg    </group>
91301e04c3fSmrg  </instruction>
91401e04c3fSmrg
9159f464c52Smaya  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS" bias="2" length="4" engine="render">
91601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
9179f464c52Smaya    <field name="VS Sampler State Change" start="8" end="8" type="uint"/>
9189f464c52Smaya    <field name="GS Sampler State Change" start="9" end="9" type="uint"/>
9199f464c52Smaya    <field name="PS Sampler State Change" start="12" end="12" type="uint"/>
9209f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
9219f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9229f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9239f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
92401e04c3fSmrg    <field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
92501e04c3fSmrg    <field name="Pointer to GS Sampler State" start="69" end="95" type="offset"/>
92601e04c3fSmrg    <field name="Pointer to PS Sampler State" start="101" end="127" type="offset"/>
92701e04c3fSmrg  </instruction>
92801e04c3fSmrg
9299f464c52Smaya  <instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render">
93001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9319f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
9329f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9339f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
93501e04c3fSmrg    <field name="Sample Mask" start="32" end="35" type="uint"/>
93601e04c3fSmrg  </instruction>
93701e04c3fSmrg
9389f464c52Smaya  <instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render">
93901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9409f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
9419f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9429f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
94401e04c3fSmrg    <field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
94501e04c3fSmrg  </instruction>
94601e04c3fSmrg
9479f464c52Smaya  <instruction name="3DSTATE_SF" bias="2" length="20" engine="render">
94801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="18"/>
9499f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
9509f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9519f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
9539f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/>
9549f464c52Smaya    <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
95501e04c3fSmrg    <field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
95601e04c3fSmrg      <value name="UPPERLEFT" value="0"/>
95701e04c3fSmrg      <value name="LOWERLEFT" value="1"/>
95801e04c3fSmrg    </field>
9599f464c52Smaya    <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
9609f464c52Smaya    <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
9619f464c52Smaya    <field name="Front Winding" start="64" end="64" type="uint">
9629f464c52Smaya      <value name="FRONTWINDING_CW" value="0"/>
9639f464c52Smaya      <value name="FRONTWINDING_CCW" value="1"/>
9649f464c52Smaya    </field>
9659f464c52Smaya    <field name="Viewport Transform Enable" start="65" end="65" type="bool"/>
9669f464c52Smaya    <field name="BackFace Fill Mode" start="67" end="68" type="uint" prefix="FILL_MODE">
96701e04c3fSmrg      <value name="SOLID" value="0"/>
96801e04c3fSmrg      <value name="WIREFRAME" value="1"/>
96901e04c3fSmrg      <value name="POINT" value="2"/>
97001e04c3fSmrg    </field>
9719f464c52Smaya    <field name="FrontFace Fill Mode" start="69" end="70" type="uint" prefix="FILL_MODE">
97201e04c3fSmrg      <value name="SOLID" value="0"/>
97301e04c3fSmrg      <value name="WIREFRAME" value="1"/>
97401e04c3fSmrg      <value name="POINT" value="2"/>
97501e04c3fSmrg    </field>
9769f464c52Smaya    <field name="Global Depth Offset Enable Point" start="71" end="71" type="bool"/>
9779f464c52Smaya    <field name="Global Depth Offset Enable Wireframe" start="72" end="72" type="bool"/>
9789f464c52Smaya    <field name="Global Depth Offset Enable Solid" start="73" end="73" type="bool"/>
9799f464c52Smaya    <field name="Statistics Enable" start="74" end="74" type="bool"/>
9809f464c52Smaya    <field name="Legacy Global Depth Bias Enable" start="75" end="75" type="bool"/>
9819f464c52Smaya    <field name="Multisample Rasterization Mode" start="104" end="105" type="uint">
9829f464c52Smaya      <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
9839f464c52Smaya      <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
9849f464c52Smaya      <value name="MSRASTMODE_ON_PIXEL" value="2"/>
9859f464c52Smaya      <value name="MSRASTMODE_ON_PATTERN" value="3"/>
98601e04c3fSmrg    </field>
9879f464c52Smaya    <field name="Scissor Rectangle Enable" start="107" end="107" type="bool"/>
9889f464c52Smaya    <field name="Line End Cap Antialiasing Region Width" start="112" end="113" type="uint">
9899f464c52Smaya      <value name="0.5 pixels" value="0"/>
9909f464c52Smaya      <value name="1.0 pixels" value="1"/>
9919f464c52Smaya      <value name="2.0 pixels" value="2"/>
9929f464c52Smaya      <value name="4.0 pixels" value="3"/>
9939f464c52Smaya    </field>
9949f464c52Smaya    <field name="Line Width" start="114" end="123" type="u3.7"/>
99501e04c3fSmrg    <field name="Cull Mode" start="125" end="126" type="uint" prefix="CULLMODE">
99601e04c3fSmrg      <value name="BOTH" value="0"/>
99701e04c3fSmrg      <value name="NONE" value="1"/>
99801e04c3fSmrg      <value name="FRONT" value="2"/>
99901e04c3fSmrg      <value name="BACK" value="3"/>
100001e04c3fSmrg    </field>
10017ec681f3Smrg    <field name="Antialiasing Enable" start="127" end="127" type="bool"/>
10029f464c52Smaya    <field name="Point Width" start="128" end="138" type="u8.3"/>
10039f464c52Smaya    <field name="Point Width Source" start="139" end="139" type="uint">
10049f464c52Smaya      <value name="Vertex" value="0"/>
10059f464c52Smaya      <value name="State" value="1"/>
100601e04c3fSmrg    </field>
10079f464c52Smaya    <field name="Vertex Sub Pixel Precision Select" start="140" end="140" type="uint">
10089f464c52Smaya      <value name="8 Sub-Pixel Precision Bits" value="0"/>
10099f464c52Smaya      <value name="4 Sub-Pixel Precision Bits" value="1"/>
101001e04c3fSmrg    </field>
10119f464c52Smaya    <field name="AA Line Distance Mode" start="142" end="142" type="uint">
10129f464c52Smaya      <value name="AALINEDISTANCE_TRUE" value="1"/>
10139f464c52Smaya    </field>
10149f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="153" end="154" type="uint">
101501e04c3fSmrg      <value name="Vertex 0" value="0"/>
101601e04c3fSmrg      <value name="Vertex 1" value="1"/>
101701e04c3fSmrg      <value name="Vertex 2" value="2"/>
101801e04c3fSmrg    </field>
101901e04c3fSmrg    <field name="Line Strip/List Provoking Vertex Select" start="155" end="156" type="uint">
102001e04c3fSmrg      <value name="Vertex 0" value="0"/>
102101e04c3fSmrg      <value name="Vertex 1" value="1"/>
102201e04c3fSmrg    </field>
10239f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="157" end="158" type="uint">
102401e04c3fSmrg      <value name="Vertex 0" value="0"/>
102501e04c3fSmrg      <value name="Vertex 1" value="1"/>
102601e04c3fSmrg      <value name="Vertex 2" value="2"/>
102701e04c3fSmrg    </field>
10289f464c52Smaya    <field name="Last Pixel Enable" start="159" end="159" type="bool"/>
102901e04c3fSmrg    <field name="Global Depth Offset Constant" start="160" end="191" type="float"/>
103001e04c3fSmrg    <field name="Global Depth Offset Scale" start="192" end="223" type="float"/>
103101e04c3fSmrg    <field name="Global Depth Offset Clamp" start="224" end="255" type="float"/>
103201e04c3fSmrg    <group count="16" start="256" size="16">
103301e04c3fSmrg      <field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
10349f464c52Smaya    </group>
10359f464c52Smaya    <field name="Point Sprite Texture Coordinate Enable" start="512" end="543" type="uint"/>
10369f464c52Smaya    <field name="Constant Interpolation Enable" start="544" end="575" type="uint"/>
10379f464c52Smaya    <field name="Attribute 0 WrapShortest Enables" start="576" end="579" type="uint"/>
10389f464c52Smaya    <field name="Attribute 1 WrapShortest Enables" start="580" end="583" type="uint"/>
10399f464c52Smaya    <field name="Attribute 2 WrapShortest Enables" start="584" end="587" type="uint"/>
10409f464c52Smaya    <field name="Attribute 3 WrapShortest Enables" start="588" end="591" type="uint"/>
10419f464c52Smaya    <field name="Attribute 4 WrapShortest Enables" start="592" end="595" type="uint"/>
10429f464c52Smaya    <field name="Attribute 5 WrapShortest Enables" start="596" end="599" type="uint"/>
10439f464c52Smaya    <field name="Attribute 6 WrapShortest Enables" start="600" end="603" type="uint"/>
10449f464c52Smaya    <field name="Attribute 7 WrapShortest Enables" start="604" end="607" type="uint"/>
104501e04c3fSmrg    <field name="Attribute 8 WrapShortest Enables" start="608" end="611" type="uint"/>
10469f464c52Smaya    <field name="Attribute 9 WrapShortest Enables" start="612" end="615" type="uint"/>
10479f464c52Smaya    <field name="Attribute 10 WrapShortest Enables" start="616" end="619" type="uint"/>
10489f464c52Smaya    <field name="Attribute 11 WrapShortest Enables" start="620" end="623" type="uint"/>
10499f464c52Smaya    <field name="Attribute 12 WrapShortest Enables" start="624" end="627" type="uint"/>
10509f464c52Smaya    <field name="Attribute 13 WrapShortest Enables" start="628" end="631" type="uint"/>
10519f464c52Smaya    <field name="Attribute 14 WrapShortest Enables" start="632" end="635" type="uint"/>
10529f464c52Smaya    <field name="Attribute 15 WrapShortest Enables" start="636" end="639" type="uint"/>
105301e04c3fSmrg  </instruction>
105401e04c3fSmrg
10559f464c52Smaya  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
105601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
10579f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
10589f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
10599f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
106101e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
10629f464c52Smaya    <field name="MOCS" start="57" end="60" type="uint"/>
106301e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
106401e04c3fSmrg  </instruction>
106501e04c3fSmrg
10669f464c52Smaya  <instruction name="3DSTATE_URB" bias="2" length="3" engine="render">
106701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
10689f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
10699f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10709f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
107201e04c3fSmrg    <field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
10739f464c52Smaya    <field name="VS URB Entry Allocation Size" start="48" end="55" type="uint"/>
107401e04c3fSmrg    <field name="GS URB Entry Allocation Size" start="64" end="66" type="uint"/>
10759f464c52Smaya    <field name="GS Number of URB Entries" start="72" end="81" type="uint"/>
107601e04c3fSmrg  </instruction>
107701e04c3fSmrg
10789f464c52Smaya  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
107901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
10809f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
10819f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10829f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10839f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
108401e04c3fSmrg    <group count="0" start="32" size="128">
108501e04c3fSmrg      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
108601e04c3fSmrg    </group>
108701e04c3fSmrg  </instruction>
108801e04c3fSmrg
10899f464c52Smaya  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
109001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
10919f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
10929f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10939f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10949f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
109501e04c3fSmrg    <group count="0" start="32" size="64">
109601e04c3fSmrg      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
109701e04c3fSmrg    </group>
109801e04c3fSmrg  </instruction>
109901e04c3fSmrg
11009f464c52Smaya  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
110101e04c3fSmrg    <field name="Statistics Enable" start="0" end="0" type="bool"/>
11029f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
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="1"/>
11059f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
110601e04c3fSmrg  </instruction>
110701e04c3fSmrg
11089f464c52Smaya  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS" bias="2" length="4" engine="render">
110901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
11109f464c52Smaya    <field name="CLIP Viewport State Change" start="10" end="10" type="uint"/>
11119f464c52Smaya    <field name="SF Viewport State Change" start="11" end="11" type="uint"/>
11129f464c52Smaya    <field name="CC Viewport State Change" start="12" end="12" type="uint"/>
11139f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
11149f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11159f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
111701e04c3fSmrg    <field name="Pointer to CLIP_VIEWPORT" start="37" end="63" type="offset"/>
111801e04c3fSmrg    <field name="Pointer to SF_VIEWPORT" start="69" end="95" type="offset"/>
111901e04c3fSmrg    <field name="Pointer to CC_VIEWPORT" start="101" end="127" type="offset"/>
112001e04c3fSmrg  </instruction>
112101e04c3fSmrg
11229f464c52Smaya  <instruction name="3DSTATE_VS" bias="2" length="6" engine="render">
112301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
11249f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
11259f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11269f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
112801e04c3fSmrg    <field name="Kernel Start Pointer" start="38" end="63" type="offset"/>
11299f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
11309f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
11319f464c52Smaya    <field name="Floating Point Mode" start="80" end="80" type="uint">
11329f464c52Smaya      <value name="IEEE-754" value="0"/>
11339f464c52Smaya      <value name="Alternate" value="1"/>
11349f464c52Smaya    </field>
11359f464c52Smaya    <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
113601e04c3fSmrg    <field name="Sampler Count" start="91" end="93" type="uint">
113701e04c3fSmrg      <value name="No Samplers" value="0"/>
113801e04c3fSmrg      <value name="1-4 Samplers" value="1"/>
113901e04c3fSmrg      <value name="5-8 Samplers" value="2"/>
114001e04c3fSmrg      <value name="9-12 Samplers" value="3"/>
114101e04c3fSmrg      <value name="13-16 Samplers" value="4"/>
114201e04c3fSmrg    </field>
11439f464c52Smaya    <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
11449f464c52Smaya    <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/>
114501e04c3fSmrg    <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/>
11469f464c52Smaya    <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
114701e04c3fSmrg    <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/>
11489f464c52Smaya    <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/>
11499f464c52Smaya    <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/>
115001e04c3fSmrg    <field name="Enable" start="160" end="160" type="bool"/>
11519f464c52Smaya    <field name="Vertex Cache Disable" start="161" end="161" type="bool"/>
11529f464c52Smaya    <field name="Statistics Enable" start="170" end="170" type="bool"/>
11539f464c52Smaya    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
115401e04c3fSmrg  </instruction>
115501e04c3fSmrg
11569f464c52Smaya  <instruction name="3DSTATE_WM" bias="2" length="9" engine="render">
115701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
11589f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
11599f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
11609f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
11619f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
116201e04c3fSmrg    <field name="Kernel Start Pointer 0" start="38" end="63" type="offset"/>
11639f464c52Smaya    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
11649f464c52Smaya    <field name="MaskStack Exception Enable" start="75" end="75" type="bool"/>
11659f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
116601e04c3fSmrg    <field name="Floating Point Mode" start="80" end="80" type="uint" prefix="FLOATING_POINT_MODE">
116701e04c3fSmrg      <value name="IEEE-745" value="0"/>
116801e04c3fSmrg      <value name="Alternate" value="1"/>
116901e04c3fSmrg    </field>
11709f464c52Smaya    <field name="Thread Priority" start="81" end="81" type="uint">
11719f464c52Smaya      <value name="High" value="1"/>
11729f464c52Smaya    </field>
11739f464c52Smaya    <field name="Binding Table Entry Count" start="82" end="89" type="uint"/>
11749f464c52Smaya    <field name="Sampler Count" start="91" end="93" type="uint"/>
11759f464c52Smaya    <field name="Vector Mask Enable" start="94" end="94" type="bool"/>
11769f464c52Smaya    <field name="Single Program Flow" start="95" end="95" type="bool"/>
117701e04c3fSmrg    <field name="Per Thread Scratch Space" start="96" end="99" type="uint"/>
11789f464c52Smaya    <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/>
117901e04c3fSmrg    <field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="128" end="134" type="uint"/>
11809f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="136" end="142" type="uint"/>
11819f464c52Smaya    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="144" end="150" type="uint"/>
11829f464c52Smaya    <field name="Hierarchical Depth Buffer Resolve Enable" start="155" end="155" type="bool"/>
11839f464c52Smaya    <field name="Depth Buffer Resolve Enable" start="156" end="156" type="bool"/>
11849f464c52Smaya    <field name="Depth Buffer Clear" start="158" end="158" type="bool"/>
11859f464c52Smaya    <field name="Statistics Enable" start="159" end="159" type="bool"/>
11869f464c52Smaya    <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
11879f464c52Smaya    <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
11889f464c52Smaya    <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
11899f464c52Smaya    <field name="Dual Source Blend Enable" start="167" end="167" type="bool"/>
11909f464c52Smaya    <field name="Pixel Shader Uses Source W" start="168" end="168" type="bool"/>
11919f464c52Smaya    <field name="oMask Present to RenderTarget" start="169" end="169" type="bool"/>
11929f464c52Smaya    <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
11939f464c52Smaya    <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
11949f464c52Smaya    <field name="Line Antialiasing Region Width" start="174" end="175" type="uint">
119501e04c3fSmrg      <value name="0.5 pixels" value="0"/>
119601e04c3fSmrg      <value name="1.0 pixels" value="1"/>
119701e04c3fSmrg      <value name="2.0 pixels" value="2"/>
119801e04c3fSmrg      <value name="4.0 pixels" value="3"/>
119901e04c3fSmrg    </field>
12009f464c52Smaya    <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
120101e04c3fSmrg      <value name="0.5 pixels" value="0"/>
120201e04c3fSmrg      <value name="1.0 pixels" value="1"/>
120301e04c3fSmrg      <value name="2.0 pixels" value="2"/>
120401e04c3fSmrg      <value name="4.0 pixels" value="3"/>
120501e04c3fSmrg    </field>
12069f464c52Smaya    <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
12079f464c52Smaya    <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
12089f464c52Smaya    <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
12099f464c52Smaya    <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
12109f464c52Smaya    <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
12119f464c52Smaya    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
12129f464c52Smaya    <field name="Multisample Dispatch Mode" start="192" end="192" type="uint">
12139f464c52Smaya      <value name="MSDISPMODE_PERSAMPLE" value="0"/>
12149f464c52Smaya      <value name="MSDISPMODE_PERPIXEL" value="1"/>
121501e04c3fSmrg    </field>
12169f464c52Smaya    <field name="Multisample Rasterization Mode" start="193" end="194" type="uint">
12179f464c52Smaya      <value name="MSRASTMODE_OFF_PIXEL" value="0"/>
12189f464c52Smaya      <value name="MSRASTMODE_OFF_PATTERN" value="1"/>
12199f464c52Smaya      <value name="MSRASTMODE_ON_PIXEL" value="2"/>
12209f464c52Smaya      <value name="MSRASTMODE_ON_PATTERN" value="3"/>
12219f464c52Smaya    </field>
12229f464c52Smaya    <field name="Point Rasterization Rule" start="201" end="201" type="uint">
12239f464c52Smaya      <value name="RASTRULE_UPPER_LEFT" value="0"/>
12249f464c52Smaya      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
122501e04c3fSmrg    </field>
122601e04c3fSmrg    <field name="Barycentric Interpolation Mode" start="202" end="207" type="uint">
122701e04c3fSmrg      <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
12289f464c52Smaya      <value name="BIM_PERSPECTIVE_CENTROID" value="2"/>
122901e04c3fSmrg      <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
123001e04c3fSmrg      <value name="BIM_LINEAR_PIXEL" value="8"/>
123101e04c3fSmrg      <value name="BIM_LINEAR_CENTROID" value="16"/>
123201e04c3fSmrg      <value name="BIM_LINEAR_SAMPLE" value="32"/>
123301e04c3fSmrg    </field>
12349f464c52Smaya    <field name="Position ZW Interpolation Mode" start="208" end="209" type="uint">
12359f464c52Smaya      <value name="INTERP_PIXEL" value="0"/>
12369f464c52Smaya      <value name="INTERP_CENTROID" value="2"/>
12379f464c52Smaya      <value name="INTERP_SAMPLE" value="3"/>
123801e04c3fSmrg    </field>
12399f464c52Smaya    <field name="Position XY Offset Select" start="210" end="211" type="uint">
12409f464c52Smaya      <value name="POSOFFSET_NONE" value="0"/>
12419f464c52Smaya      <value name="POSOFFSET_CENTROID" value="2"/>
12429f464c52Smaya      <value name="POSOFFSET_SAMPLE" value="3"/>
124301e04c3fSmrg    </field>
12449f464c52Smaya    <field name="Number of SF Output Attributes" start="212" end="217" type="uint"/>
124501e04c3fSmrg    <field name="Kernel Start Pointer 1" start="230" end="255" type="offset"/>
124601e04c3fSmrg    <field name="Kernel Start Pointer 2" start="262" end="287" type="offset"/>
124701e04c3fSmrg  </instruction>
124801e04c3fSmrg
12499f464c52Smaya  <instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render">
125001e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
12519f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
12529f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
12539f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
12549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
125501e04c3fSmrg    <field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
125601e04c3fSmrg    <field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
125701e04c3fSmrg  </instruction>
125801e04c3fSmrg
12599f464c52Smaya  <instruction name="MEDIA_GATEWAY_STATE" bias="2" length="2" engine="render">
126001e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="0"/>
12619f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
12629f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
12639f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
12649f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
126501e04c3fSmrg    <field name="Barrier.ThreadCount" start="32" end="39" type="uint"/>
12669f464c52Smaya    <field name="Barrier.Byte" start="40" end="47" type="uint"/>
12679f464c52Smaya    <field name="BarrierID" start="48" end="55" type="uint"/>
126801e04c3fSmrg  </instruction>
126901e04c3fSmrg
12709f464c52Smaya  <instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render">
127101e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
12729f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
12739f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
12749f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
12759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
127601e04c3fSmrg    <field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
127701e04c3fSmrg    <field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
127801e04c3fSmrg  </instruction>
127901e04c3fSmrg
12809f464c52Smaya  <instruction name="MEDIA_OBJECT" bias="2" engine="render">
128101e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="4"/>
12829f464c52Smaya    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
12839f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
12849f464c52Smaya    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
12859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
128601e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
12879f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
128801e04c3fSmrg    <field name="Use Scoreboard" start="85" end="85" type="uint">
128901e04c3fSmrg      <value name="Not using scoreboard" value="0"/>
129001e04c3fSmrg      <value name="Using scoreboard" value="1"/>
129101e04c3fSmrg    </field>
12929f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
12939f464c52Smaya      <value name="No thread synchronization" value="0"/>
12949f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
12959f464c52Smaya    </field>
12969f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
129701e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
129801e04c3fSmrg    <field name="Scoreboard X" start="128" end="136" type="uint"/>
12999f464c52Smaya    <field name="Scoredboard Y" start="144" end="152" type="uint"/>
130001e04c3fSmrg    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
13019f464c52Smaya    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
130201e04c3fSmrg    <group count="0" start="192" size="32">
130301e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
130401e04c3fSmrg    </group>
130501e04c3fSmrg  </instruction>
130601e04c3fSmrg
13079f464c52Smaya  <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render">
130801e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="14"/>
13099f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
13109f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
13119f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
13129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
131301e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
131401e04c3fSmrg    <field name="PRT_FenceType" start="86" end="86" type="uint">
131501e04c3fSmrg      <value name="Root thread queue" value="0"/>
131601e04c3fSmrg      <value name="VFE state flush" value="1"/>
131701e04c3fSmrg    </field>
13189f464c52Smaya    <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
13199f464c52Smaya    <field name="Children Present" start="95" end="95" type="bool"/>
132001e04c3fSmrg    <group count="12" start="128" size="32">
132101e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
132201e04c3fSmrg    </group>
132301e04c3fSmrg  </instruction>
132401e04c3fSmrg
13259f464c52Smaya  <instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render">
132601e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="15"/>
13279f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
13289f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
13299f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
13309f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
133101e04c3fSmrg    <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/>
13329f464c52Smaya    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
133301e04c3fSmrg    <field name="Use Scoreboard" start="85" end="85" type="uint">
133401e04c3fSmrg      <value name="Not using scoreboard" value="0"/>
133501e04c3fSmrg      <value name="Using scoreboard" value="1"/>
133601e04c3fSmrg    </field>
13379f464c52Smaya    <field name="Thread Synchronization" start="88" end="88" type="uint">
13389f464c52Smaya      <value name="No thread synchronization" value="0"/>
13399f464c52Smaya      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
13409f464c52Smaya    </field>
13419f464c52Smaya    <field name="Children Present" start="95" end="95" type="uint"/>
134201e04c3fSmrg    <field name="Indirect Data Start Address" start="96" end="127" type="offset"/>
134301e04c3fSmrg    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
134401e04c3fSmrg    <field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
13459f464c52Smaya    <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
13469f464c52Smaya    <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
13479f464c52Smaya    <field name="Color Count Minus One" start="216" end="219" type="uint"/>
13489f464c52Smaya    <field name="Repel" start="222" end="222" type="uint"/>
13499f464c52Smaya    <field name="Dual Mode" start="223" end="223" type="uint"/>
135001e04c3fSmrg    <field name="Local Loop Exec Count" start="224" end="233" type="uint"/>
13519f464c52Smaya    <field name="Global Loop Exec Count" start="240" end="249" type="uint"/>
135201e04c3fSmrg    <field name="Block Resolution X" start="256" end="264" type="uint"/>
13539f464c52Smaya    <field name="Block Resolution Y" start="272" end="280" type="uint"/>
135401e04c3fSmrg    <field name="Local Start X" start="288" end="296" type="uint"/>
13559f464c52Smaya    <field name="Local Start Y" start="304" end="312" type="uint"/>
135601e04c3fSmrg    <field name="Local End X" start="320" end="328" type="uint"/>
13579f464c52Smaya    <field name="Local End Y" start="336" end="344" type="uint"/>
135801e04c3fSmrg    <field name="Local Outer Loop Stride X" start="352" end="361" type="int"/>
13599f464c52Smaya    <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/>
136001e04c3fSmrg    <field name="Local Inner Loop Unit X" start="384" end="393" type="int"/>
13619f464c52Smaya    <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/>
136201e04c3fSmrg    <field name="Global Resolution X" start="416" end="424" type="uint"/>
13639f464c52Smaya    <field name="Global Resolution Y" start="432" end="440" type="uint"/>
136401e04c3fSmrg    <field name="Global Start X" start="448" end="457" type="int"/>
13659f464c52Smaya    <field name="Global Start Y" start="464" end="473" type="int"/>
136601e04c3fSmrg    <field name="Global Outer Loop Stride X" start="480" end="489" type="int"/>
13679f464c52Smaya    <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/>
136801e04c3fSmrg    <field name="Global Inner Loop Unit X" start="512" end="521" type="int"/>
13699f464c52Smaya    <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/>
137001e04c3fSmrg    <group count="0" start="544" size="32">
137101e04c3fSmrg      <field name="Inline Data" start="0" end="31" type="uint"/>
137201e04c3fSmrg    </group>
137301e04c3fSmrg  </instruction>
137401e04c3fSmrg
13759f464c52Smaya  <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render">
137601e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="0"/>
13779f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
13789f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
13799f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
13809f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
138101e04c3fSmrg    <field name="Barrier Mask" start="32" end="47" type="uint">
138201e04c3fSmrg      <value name="Not Waiting" value="0"/>
138301e04c3fSmrg      <value name="Waiting" value="1"/>
138401e04c3fSmrg    </field>
13859f464c52Smaya    <field name="Thread Count WaterMark" start="48" end="55" type="uint"/>
138601e04c3fSmrg  </instruction>
138701e04c3fSmrg
13889f464c52Smaya  <instruction name="MEDIA_VFE_STATE" bias="2" length="8" engine="render">
138901e04c3fSmrg    <field name="DWord Length" start="0" end="15" type="uint" default="6"/>
13909f464c52Smaya    <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
13919f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
13929f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
13939f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
139401e04c3fSmrg    <field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
13959f464c52Smaya    <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
13969f464c52Smaya    <field name="Fast Preempt" start="69" end="69" type="uint">
13979f464c52Smaya      <value name="Preempt only _PRT" value="0"/>
139801e04c3fSmrg    </field>
139901e04c3fSmrg    <field name="Bypass Gateway Control" start="70" end="70" type="uint">
140001e04c3fSmrg      <value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
140101e04c3fSmrg      <value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
140201e04c3fSmrg    </field>
14039f464c52Smaya    <field name="Reset Gateway Timer" start="71" end="71" type="uint">
14049f464c52Smaya      <value name="Maintaining the existing timestamp state" value="0"/>
14059f464c52Smaya      <value name="Resetting relative timer and latching the global timestamp" value="1"/>
140601e04c3fSmrg    </field>
14079f464c52Smaya    <field name="Number of URB Entries" start="72" end="79" type="uint"/>
14089f464c52Smaya    <field name="Maximum Number of Threads" start="80" end="95" type="uint"/>
140901e04c3fSmrg    <field name="CURBE Allocation Size" start="128" end="143" type="uint"/>
14109f464c52Smaya    <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/>
14119f464c52Smaya    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
14129f464c52Smaya    <field name="Scoreboard Type" start="190" end="190" type="uint">
14139f464c52Smaya      <value name="Stalling Scoreboard" value="0"/>
14149f464c52Smaya    </field>
141501e04c3fSmrg    <field name="Scoreboard Enable" start="191" end="191" type="uint">
141601e04c3fSmrg      <value name="Scoreboard disabled" value="0"/>
141701e04c3fSmrg      <value name="Scoreboard enabled" value="1"/>
141801e04c3fSmrg    </field>
14199f464c52Smaya    <field name="Scoreboard 0 Delta X" start="192" end="195" type="int"/>
14209f464c52Smaya    <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/>
14219f464c52Smaya    <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/>
14229f464c52Smaya    <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/>
14239f464c52Smaya    <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/>
14249f464c52Smaya    <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/>
14259f464c52Smaya    <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/>
14269f464c52Smaya    <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/>
14279f464c52Smaya    <field name="Scoreboard 4 Delta X" start="224" end="227" type="int"/>
14289f464c52Smaya    <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/>
14299f464c52Smaya    <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/>
14309f464c52Smaya    <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/>
14319f464c52Smaya    <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/>
14329f464c52Smaya    <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/>
14339f464c52Smaya    <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/>
14349f464c52Smaya    <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/>
14359f464c52Smaya  </instruction>
14369f464c52Smaya
14379f464c52Smaya  <instruction name="MFC_AVC_FQM_STATE" bias="2" length="113" engine="video">
14389f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="111"/>
14399f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
14409f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
14419f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
14429f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
14439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
14449f464c52Smaya    <group count="8" start="32" size="32">
14459f464c52Smaya      <field name="Luma4x4 Intra InvWeightScale" start="0" end="31" type="uint"/>
14469f464c52Smaya    </group>
14479f464c52Smaya    <group count="8" start="288" size="32">
14489f464c52Smaya      <field name="Cb4x4 Intra InvWeightScale" start="0" end="31" type="uint"/>
14499f464c52Smaya    </group>
14509f464c52Smaya    <group count="8" start="544" size="32">
14519f464c52Smaya      <field name="Cr4x4 Intra InvWeightScale" start="0" end="31" type="uint"/>
14529f464c52Smaya    </group>
14539f464c52Smaya    <group count="6" start="800" size="32">
14549f464c52Smaya      <field name="Luma4x4 Inter InvWeightScale" start="0" end="31" type="uint"/>
14559f464c52Smaya    </group>
14569f464c52Smaya    <group count="10" start="992" size="32">
14579f464c52Smaya      <field name="Cb4x4 Inter InvWeightScale" start="0" end="31" type="uint"/>
14589f464c52Smaya    </group>
14599f464c52Smaya    <group count="8" start="1312" size="32">
14609f464c52Smaya      <field name="Cr4x4 Inter InvWeightScale" start="0" end="31" type="uint"/>
14619f464c52Smaya    </group>
14629f464c52Smaya    <group count="32" start="1568" size="32">
14639f464c52Smaya      <field name="Luma8x8 Intra InvWeightScale" start="0" end="31" type="uint"/>
14649f464c52Smaya    </group>
14659f464c52Smaya    <group count="32" start="2592" size="32">
14669f464c52Smaya      <field name="Luma8x8 Inter InvWeightScale" start="0" end="31" type="uint"/>
14679f464c52Smaya    </group>
14689f464c52Smaya  </instruction>
14699f464c52Smaya
14709f464c52Smaya  <instruction name="MFC_AVC_PAK_INSERT_OBJECT" bias="2" engine="video">
14719f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
14729f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
14739f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
14749f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
14759f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
14769f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
14779f464c52Smaya    <field name="Bitstream Start Reset" start="32" end="32" type="bool"/>
14789f464c52Smaya    <field name="End of Slice" start="33" end="33" type="bool"/>
14799f464c52Smaya    <field name="Last Header" start="34" end="34" type="bool"/>
14809f464c52Smaya    <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/>
14819f464c52Smaya    <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/>
14829f464c52Smaya    <field name="Data Bits In Last DW" start="40" end="45" type="uint"/>
14839f464c52Smaya    <field name="Data Byte Offset" start="48" end="49" type="uint"/>
14849f464c52Smaya    <group count="0" start="64" size="32">
14859f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
14869f464c52Smaya    </group>
14879f464c52Smaya  </instruction>
14889f464c52Smaya
14899f464c52Smaya  <instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="11" engine="video">
14909f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
14919f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
14929f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
14939f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
14949f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
14959f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
14969f464c52Smaya    <field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/>
14979f464c52Smaya    <field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/>
14989f464c52Smaya    <group count="8" start="96" size="32">
14999f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
15009f464c52Smaya    </group>
15019f464c52Smaya  </instruction>
15029f464c52Smaya
15039f464c52Smaya  <instruction name="MFC_STITCH_OBJECT" bias="2" engine="video">
15049f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint"/>
15059f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/>
15069f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/>
15079f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
15089f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
15099f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15109f464c52Smaya    <field name="Last Dst Data Insert Command" start="33" end="33" type="bool"/>
15119f464c52Smaya    <field name="Last Src Header Data Insert Command" start="34" end="34" type="bool"/>
15129f464c52Smaya    <field name="SrC Data Ending Bit Inclusion" start="40" end="45" type="uint"/>
15139f464c52Smaya    <field name="Src Data Starting Byte Offset" start="48" end="49" type="uint"/>
15149f464c52Smaya    <field name="Indirect Data Length" start="64" end="82" type="uint"/>
15159f464c52Smaya    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
15169f464c52Smaya    <group count="0" start="128" size="32">
15179f464c52Smaya      <field name="Insert Data PayLoad" start="0" end="31" type="uint"/>
15189f464c52Smaya    </group>
15199f464c52Smaya  </instruction>
15209f464c52Smaya
15219f464c52Smaya  <instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video">
15229f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
15239f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
15249f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
15259f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
15269f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
15279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15289f464c52Smaya    <field name="Indirect BSD Data Length" start="32" end="53" type="uint"/>
15299f464c52Smaya    <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/>
15309f464c52Smaya    <group count="3" start="96" size="32">
15319f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
15329f464c52Smaya    </group>
15339f464c52Smaya  </instruction>
15349f464c52Smaya
15359f464c52Smaya  <instruction name="MFD_IT_OBJECT" bias="2" engine="video">
15369f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="12"/>
15379f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/>
15389f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
15399f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
15409f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
15419f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15429f464c52Smaya    <field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/>
15439f464c52Smaya    <field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/>
15449f464c52Smaya    <field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/>
15459f464c52Smaya    <field name="Indirect IT-COEFF Data Start Address Offset" start="128" end="156" type="offset"/>
15469f464c52Smaya    <field name="Indirect IT-DBLK Control Data Length" start="160" end="165" type="uint"/>
15479f464c52Smaya    <field name="Indirect IT-DBLK Control Data Start Address Offset" start="192" end="220" type="offset"/>
15489f464c52Smaya    <group count="0" start="224" size="32">
15499f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
15509f464c52Smaya    </group>
15519f464c52Smaya  </instruction>
15529f464c52Smaya
15539f464c52Smaya  <instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video">
15549f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="3"/>
15559f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
15569f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
15579f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
15589f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
15599f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15609f464c52Smaya    <field name="Indirect Data Length" start="32" end="48" type="uint"/>
15619f464c52Smaya    <field name="Indirect Data Start Address" start="64" end="92" type="address"/>
15629f464c52Smaya    <group count="2" start="96" size="32">
15639f464c52Smaya      <field name="Inline Data" start="0" end="31" type="uint"/>
15649f464c52Smaya    </group>
15659f464c52Smaya  </instruction>
15669f464c52Smaya
15679f464c52Smaya  <instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="4" engine="video">
15689f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="2"/>
15699f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/>
15709f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/>
15719f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
15729f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
15739f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15749f464c52Smaya    <field name="Indirect Data Length" start="32" end="53" type="uint"/>
15759f464c52Smaya    <field name="Indirect Data Start Address" start="64" end="92" type="address"/>
15769f464c52Smaya    <field name="First MB Bit Offset" start="96" end="98" type="uint"/>
15779f464c52Smaya    <field name="Next Slice Start Vertical Position" start="112" end="119" type="uint"/>
15789f464c52Smaya    <field name="Slice Start Vertical Position" start="120" end="127" type="uint"/>
15799f464c52Smaya  </instruction>
15809f464c52Smaya
15819f464c52Smaya  <instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="69" engine="video">
15829f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="67"/>
15839f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
15849f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
15859f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
15869f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
15879f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
15889f464c52Smaya    <group count="32" start="32" size="32">
15899f464c52Smaya      <field name="Direct MV Buffer - Address" start="6" end="31" type="address"/>
15909f464c52Smaya      <field name="Direct MV Buffer - Arbitration Priority Control" start="4" end="5" type="uint">
15919f464c52Smaya        <value name="Highest priority" value="0"/>
15929f464c52Smaya        <value name="Second highest priority" value="1"/>
15939f464c52Smaya        <value name="Third highest priority" value="2"/>
15949f464c52Smaya        <value name="Lowest priority" value="3"/>
15959f464c52Smaya      </field>
15969f464c52Smaya      <field name="Direct MV Buffer - Graphics Data Type" start="2" end="2" type="uint"/>
15979f464c52Smaya      <field name="Direct MV Buffer - Cacheability Control" start="0" end="1" type="uint">
15989f464c52Smaya        <value name="GTT entry" value="0"/>
15999f464c52Smaya        <value name="Not in LLC or MLC" value="1"/>
16009f464c52Smaya        <value name="In LLC but not MLC" value="2"/>
16019f464c52Smaya        <value name="Both LLC and MLC" value="3"/>
16029f464c52Smaya      </field>
16039f464c52Smaya    </group>
16049f464c52Smaya    <group count="2" start="1056" size="32">
16059f464c52Smaya      <field name="Direct MV Buffer (Write) - Address" start="6" end="31" type="address"/>
16069f464c52Smaya      <field name="Direct MV Buffer (Write) - Arbitration Priority Control" start="4" end="5" type="uint">
16079f464c52Smaya        <value name="Highest priority" value="0"/>
16089f464c52Smaya        <value name="Second highest priority" value="1"/>
16099f464c52Smaya        <value name="Third highest priority" value="2"/>
16109f464c52Smaya        <value name="Lowest priority" value="3"/>
16119f464c52Smaya      </field>
16129f464c52Smaya      <field name="Direct MV Buffer (Write) - Graphics Data Type" start="2" end="2" type="uint"/>
16139f464c52Smaya      <field name="Direct MV Buffer (Write) - Cacheability Control" start="0" end="1" type="uint">
16149f464c52Smaya        <value name="GTT entry" value="0"/>
16159f464c52Smaya        <value name="Not in LLC or MLC" value="1"/>
16169f464c52Smaya        <value name="In LLC but not MLC" value="2"/>
16179f464c52Smaya        <value name="Both LLC and MLC" value="3"/>
16189f464c52Smaya      </field>
16199f464c52Smaya    </group>
16209f464c52Smaya    <group count="34" start="1120" size="32">
16219f464c52Smaya      <field name="POC List" start="0" end="31" type="uint"/>
16229f464c52Smaya    </group>
16239f464c52Smaya  </instruction>
16249f464c52Smaya
16259f464c52Smaya  <instruction name="MFX_AVC_IMG_STATE" bias="2" length="13" engine="video">
16269f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="11"/>
16279f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
16289f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
16299f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
16309f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
16319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
16329f464c52Smaya    <field name="Frame Size" start="32" end="47" type="uint"/>
16339f464c52Smaya    <field name="Frame Width" start="64" end="71" type="uint"/>
16349f464c52Smaya    <field name="Frame Height" start="80" end="87" type="uint"/>
16359f464c52Smaya    <field name="Current Decoded Image Frame Store ID" start="96" end="103" type="uint"/>
16369f464c52Smaya    <field name="Image Structure" start="104" end="105" type="uint">
16379f464c52Smaya      <value name="Frame Picture" value="0"/>
16389f464c52Smaya      <value name="Top Field Picture" value="1"/>
16399f464c52Smaya      <value name="Bottom Field Picture" value="3"/>
16409f464c52Smaya      <value name="Invalid, not allowed" value="2"/>
16419f464c52Smaya    </field>
16429f464c52Smaya    <field name="QM Present" start="106" end="106" type="bool"/>
16439f464c52Smaya    <field name="Monochrome PWT Decoding Mode" start="108" end="108" type="bool"/>
16449f464c52Smaya    <field name="Inter MB Conformance" start="109" end="109" type="bool"/>
16459f464c52Smaya    <field name="Intra MB Conformance" start="110" end="110" type="bool"/>
16469f464c52Smaya    <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/>
16479f464c52Smaya    <field name="Field Picture" start="128" end="128" type="bool"/>
16489f464c52Smaya    <field name="MBAFF Mode" start="129" end="129" type="bool"/>
16499f464c52Smaya    <field name="Frame MB Only" start="130" end="130" type="bool"/>
16509f464c52Smaya    <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/>
16519f464c52Smaya    <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/>
16529f464c52Smaya    <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/>
16539f464c52Smaya    <field name="Non-Reference Picture" start="134" end="134" type="bool"/>
16549f464c52Smaya    <field name="Entropy Coding" start="135" end="135" type="bool"/>
16559f464c52Smaya    <field name="Chroma Format IDC" start="138" end="139" type="uint">
16569f464c52Smaya      <value name="Monochrome picture" value="0"/>
16579f464c52Smaya      <value name="4:2:0 picture" value="1"/>
16589f464c52Smaya      <value name="4:2:2 picture (not supported)" value="2"/>
16599f464c52Smaya      <value name="4:4:4 picture (not supported)" value="3"/>
16609f464c52Smaya    </field>
16619f464c52Smaya    <field name="MV Unpacked Enable" start="140" end="140" type="bool"/>
16629f464c52Smaya    <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/>
16639f464c52Smaya    <field name="MB Status Read" start="143" end="143" type="bool"/>
16649f464c52Smaya    <field name="Minimum Frame Size" start="144" end="159" type="uint"/>
16659f464c52Smaya    <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/>
16669f464c52Smaya    <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/>
16679f464c52Smaya    <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/>
16689f464c52Smaya    <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/>
16699f464c52Smaya    <field name="Force IPCM Control" start="167" end="167" type="bool"/>
16709f464c52Smaya    <field name="MB Level Rate Control" start="169" end="169" type="bool"/>
16719f464c52Smaya    <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/>
16729f464c52Smaya    <field name="Frame Size Rate Control" start="176" end="176" type="bool"/>
16739f464c52Smaya    <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/>
16749f464c52Smaya    <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/>
16759f464c52Smaya    <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/>
16769f464c52Smaya    <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/>
16779f464c52Smaya    <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/>
16789f464c52Smaya    <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/>
16799f464c52Smaya    <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/>
16809f464c52Smaya    <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/>
16819f464c52Smaya    <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/>
16829f464c52Smaya    <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/>
16839f464c52Smaya    <field name="Frame Bitrate Min" start="320" end="331" type="uint"/>
16849f464c52Smaya    <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/>
16859f464c52Smaya    <field name="Frame Bitrate Max" start="336" end="347" type="uint"/>
16869f464c52Smaya    <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/>
16879f464c52Smaya    <field name="Frame Bitrate Min Delta" start="352" end="363" type="uint"/>
16889f464c52Smaya    <field name="Frame Bitrate Max Delta" start="368" end="379" type="uint"/>
16899f464c52Smaya  </instruction>
16909f464c52Smaya
16919f464c52Smaya  <instruction name="MFX_AVC_QM_STATE" bias="2" length="2" engine="video">
16929f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
16939f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
16949f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
16959f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
16969f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
16979f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
16989f464c52Smaya    <field name="QM List Present Flags for the current Slice" start="32" end="39" type="uint"/>
16999f464c52Smaya    <field name="Use built-in Default QM Flags for the current Slice" start="40" end="47" type="uint"/>
17009f464c52Smaya    <group count="4" start="64" size="32">
17019f464c52Smaya      <field name="Luma4x4 Intra Weight Scale" start="0" end="31" type="uint"/>
17029f464c52Smaya    </group>
17039f464c52Smaya    <group count="4" start="192" size="32">
17049f464c52Smaya      <field name="Cb4x4 Intra Weight Scale" start="0" end="31" type="uint"/>
17059f464c52Smaya    </group>
17069f464c52Smaya    <group count="4" start="320" size="32">
17079f464c52Smaya      <field name="Cr4x4 Intra Weight Scale" start="0" end="31" type="uint"/>
17089f464c52Smaya    </group>
17099f464c52Smaya    <group count="4" start="448" size="32">
17109f464c52Smaya      <field name="Luma4x4 Inter Weight Scale" start="0" end="31" type="uint"/>
17119f464c52Smaya    </group>
17129f464c52Smaya    <group count="4" start="576" size="32">
17139f464c52Smaya      <field name="Cb4x4 Inter Weight Scale" start="0" end="31" type="uint"/>
17149f464c52Smaya    </group>
17159f464c52Smaya    <group count="4" start="704" size="32">
17169f464c52Smaya      <field name="Cr4x4 Inter Weight Scale" start="0" end="31" type="uint"/>
17179f464c52Smaya    </group>
17189f464c52Smaya    <group count="4" start="832" size="128">
17199f464c52Smaya      <field name="Luma8x8 Intra Weight Scale" start="0" end="127" type="uint"/>
17209f464c52Smaya    </group>
17219f464c52Smaya    <group count="4" start="1344" size="128">
17229f464c52Smaya      <field name="Luma8x8 Inter Weight Scale" start="0" end="127" type="uint"/>
17239f464c52Smaya    </group>
17249f464c52Smaya  </instruction>
17259f464c52Smaya
17269f464c52Smaya  <instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
17279f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
17289f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
17299f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
17309f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
17319f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
17329f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
17339f464c52Smaya    <field name="Reference Picture List Select" start="32" end="32" type="uint"/>
17349f464c52Smaya    <group count="32" start="64" size="8">
17359f464c52Smaya      <field name="Reference List Entry" start="0" end="7" type="uint"/>
17369f464c52Smaya    </group>
17379f464c52Smaya  </instruction>
17389f464c52Smaya
17399f464c52Smaya  <instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
17409f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="8"/>
17419f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
17429f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
17439f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
17449f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
17459f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
17469f464c52Smaya    <field name="Slice Type" start="32" end="35" type="uint">
17479f464c52Smaya      <value name="P Slice" value="0"/>
17489f464c52Smaya      <value name="B Slice" value="1"/>
17499f464c52Smaya      <value name="I Slice" value="2"/>
17509f464c52Smaya    </field>
17519f464c52Smaya    <field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/>
17529f464c52Smaya    <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/>
17539f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/>
17549f464c52Smaya    <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/>
17559f464c52Smaya    <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/>
17569f464c52Smaya    <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/>
17579f464c52Smaya    <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/>
17589f464c52Smaya    <field name="CABAC Init IDC" start="120" end="121" type="uint"/>
17599f464c52Smaya    <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/>
17609f464c52Smaya    <field name="Direct Prediction Type" start="125" end="125" type="uint">
17619f464c52Smaya      <value name="Temporal" value="0"/>
17629f464c52Smaya      <value name="Spatial" value="1"/>
17639f464c52Smaya    </field>
17649f464c52Smaya    <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/>
17659f464c52Smaya    <field name="Slice Start MB Number" start="128" end="142" type="uint"/>
17669f464c52Smaya    <field name="Slice Horizontal Position" start="144" end="151" type="uint"/>
17679f464c52Smaya    <field name="Slice Vertical Position" start="152" end="159" type="uint"/>
17689f464c52Smaya    <field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/>
17699f464c52Smaya    <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/>
17709f464c52Smaya    <field name="Stream ID" start="192" end="193" type="uint"/>
17719f464c52Smaya    <field name="Slice ID" start="196" end="199" type="uint"/>
17729f464c52Smaya    <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/>
17739f464c52Smaya    <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/>
17749f464c52Smaya    <field name="Tail Insertion Present" start="207" end="207" type="bool"/>
17759f464c52Smaya    <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/>
17769f464c52Smaya    <field name="Header Insertion Present" start="209" end="209" type="bool"/>
17779f464c52Smaya    <field name="Last Slice Group" start="211" end="211" type="bool"/>
17789f464c52Smaya    <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/>
17799f464c52Smaya    <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/>
17809f464c52Smaya    <field name="Rate Control Panic Type" start="214" end="214" type="uint">
17819f464c52Smaya      <value name="QP Panic" value="0"/>
17829f464c52Smaya      <value name="CBP Panic" value="1"/>
17839f464c52Smaya    </field>
17849f464c52Smaya    <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/>
17859f464c52Smaya    <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/>
17869f464c52Smaya    <field name="Rate Control Triggle Mode" start="220" end="221" type="uint">
17879f464c52Smaya      <value name="Always Rate Control" value="0"/>
17889f464c52Smaya      <value name="Gentle Rate Control" value="1"/>
17899f464c52Smaya      <value name="Loose Rate Control" value="2"/>
17909f464c52Smaya    </field>
17919f464c52Smaya    <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/>
17929f464c52Smaya    <field name="Rate Control Counter Enable" start="223" end="223" type="bool"/>
17939f464c52Smaya    <field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/>
17949f464c52Smaya    <field name="Grow Init" start="256" end="259" type="uint"/>
17959f464c52Smaya    <field name="Grow Resistance" start="260" end="263" type="uint"/>
17969f464c52Smaya    <field name="Shrink Init" start="264" end="267" type="uint"/>
17979f464c52Smaya    <field name="Shrink Resistance" start="268" end="271" type="uint"/>
17989f464c52Smaya    <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/>
17999f464c52Smaya    <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/>
18009f464c52Smaya    <field name="Correct 1" start="288" end="291" type="uint"/>
18019f464c52Smaya    <field name="Correct 2" start="292" end="295" type="uint"/>
18029f464c52Smaya    <field name="Correct 3" start="296" end="299" type="uint"/>
18039f464c52Smaya    <field name="Correct 4" start="300" end="303" type="uint"/>
18049f464c52Smaya    <field name="Correct 5" start="304" end="307" type="uint"/>
18059f464c52Smaya    <field name="Correct 6" start="308" end="311" type="uint"/>
18069f464c52Smaya    <field name="CV0" start="320" end="323" type="uint"/>
18079f464c52Smaya    <field name="CV1" start="324" end="327" type="uint"/>
18089f464c52Smaya    <field name="CV2" start="328" end="331" type="uint"/>
18099f464c52Smaya    <field name="CV3" start="332" end="335" type="uint"/>
18109f464c52Smaya    <field name="CV4" start="336" end="339" type="uint"/>
18119f464c52Smaya    <field name="CV5" start="340" end="343" type="uint"/>
18129f464c52Smaya    <field name="CV6" start="344" end="347" type="uint"/>
18139f464c52Smaya    <field name="CV7" start="348" end="351" type="uint"/>
18149f464c52Smaya  </instruction>
18159f464c52Smaya
18169f464c52Smaya  <instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="50" engine="video">
18179f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="48"/>
18189f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/>
18199f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
18209f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
18219f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
18229f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
18239f464c52Smaya    <field name="Weight and Offset Select" start="32" end="32" type="uint">
18249f464c52Smaya      <value name="L0 table" value="0"/>
18259f464c52Smaya      <value name="L1 table" value="1"/>
18269f464c52Smaya    </field>
18279f464c52Smaya    <group count="96" start="64" size="32">
18289f464c52Smaya      <field name="Weight Offset" start="0" end="31" type="uint"/>
18299f464c52Smaya    </group>
18309f464c52Smaya  </instruction>
18319f464c52Smaya
18329f464c52Smaya  <instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="4" engine="video">
18339f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="2"/>
18349f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/>
18359f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
18369f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
18379f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
18389f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
18399f464c52Smaya    <field name="BSP Row Store Scratch Buffer - Cacheability Control" start="32" end="33" type="uint">
18409f464c52Smaya      <value name="GTT entry" value="0"/>
18419f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
18429f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
18439f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
18449f464c52Smaya    </field>
18459f464c52Smaya    <field name="BSP Row Store Scratch Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
18469f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
18479f464c52Smaya      <value name="Highest priority" value="0"/>
18489f464c52Smaya      <value name="Second highest priority" value="1"/>
18499f464c52Smaya      <value name="Third highest priority" value="2"/>
18509f464c52Smaya      <value name="Lowest priority" value="3"/>
18519f464c52Smaya    </field>
18529f464c52Smaya    <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="address"/>
18539f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Cacheability Control" start="64" end="65" type="uint">
18549f464c52Smaya      <value name="GTT entry" value="0"/>
18559f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
18569f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
18579f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
18589f464c52Smaya    </field>
18599f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
18609f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
18619f464c52Smaya      <value name="Highest priority" value="0"/>
18629f464c52Smaya      <value name="Second highest priority" value="1"/>
18639f464c52Smaya      <value name="Third highest priority" value="2"/>
18649f464c52Smaya      <value name="Lowest priority" value="3"/>
18659f464c52Smaya    </field>
18669f464c52Smaya    <field name="MPR Row Store Scratch Buffer - Address" start="70" end="95" type="address"/>
18679f464c52Smaya    <field name="Bitplane Read Buffer - Cacheability Control" start="96" end="97" type="uint">
18689f464c52Smaya      <value name="GTT entry" value="0"/>
18699f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
18709f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
18719f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
18729f464c52Smaya    </field>
18739f464c52Smaya    <field name="Bitplane Read Buffer - Graphics Data Type" start="98" end="98" type="uint"/>
18749f464c52Smaya    <field name="Bitplane Read Buffer - Arbitration Priority Control" start="100" end="101" type="uint">
18759f464c52Smaya      <value name="Highest priority" value="0"/>
18769f464c52Smaya      <value name="Second highest priority" value="1"/>
18779f464c52Smaya      <value name="Third highest priority" value="2"/>
18789f464c52Smaya      <value name="Lowest priority" value="3"/>
18799f464c52Smaya    </field>
18809f464c52Smaya    <field name="Bitplane Read Buffer - Address" start="102" end="127" type="address"/>
18819f464c52Smaya  </instruction>
18829f464c52Smaya
18839f464c52Smaya  <instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video">
18849f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="9"/>
18859f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/>
18869f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
18879f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
18889f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
18899f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
18909f464c52Smaya    <field name="MFX Indirect Bitstream Object - Cacheability Control" start="32" end="33" type="uint">
18919f464c52Smaya      <value name="GTT entry" value="0"/>
18929f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
18939f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
18949f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
18959f464c52Smaya    </field>
18969f464c52Smaya    <field name="MFX Indirect Bitstream Object - Graphics Data Type" start="34" end="34" type="uint"/>
18979f464c52Smaya    <field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint">
18989f464c52Smaya      <value name="Highest priority" value="0"/>
18999f464c52Smaya      <value name="Second highest priority" value="1"/>
19009f464c52Smaya      <value name="Third highest priority" value="2"/>
19019f464c52Smaya      <value name="Lowest priority" value="3"/>
19029f464c52Smaya    </field>
19039f464c52Smaya    <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/>
19049f464c52Smaya    <field name="MFX Indirect Bitstream Object - Access Upper Bound" start="76" end="95" type="address"/>
19059f464c52Smaya    <field name="MFX Indirect MV Object - Cacheability Control" start="96" end="97" type="uint">
19069f464c52Smaya      <value name="GTT entry" value="0"/>
19079f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
19089f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
19099f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
19109f464c52Smaya    </field>
19119f464c52Smaya    <field name="MFX Indirect MV Object - Graphics Data Type" start="98" end="98" type="uint"/>
19129f464c52Smaya    <field name="MFX Indirect MV Object - Arbitration Priority Control" start="100" end="101" type="uint">
19139f464c52Smaya      <value name="Highest priority" value="0"/>
19149f464c52Smaya      <value name="Second highest priority" value="1"/>
19159f464c52Smaya      <value name="Third highest priority" value="2"/>
19169f464c52Smaya      <value name="Lowest priority" value="3"/>
19179f464c52Smaya    </field>
19189f464c52Smaya    <field name="MFX Indirect MV Object - Address" start="108" end="127" type="address"/>
19199f464c52Smaya    <field name="MFX Indirect MV Object - Access Upper Bound" start="140" end="159" type="address"/>
19209f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Cacheability Control" start="160" end="161" type="uint">
19219f464c52Smaya      <value name="GTT entry" value="0"/>
19229f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
19239f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
19249f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
19259f464c52Smaya    </field>
19269f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Graphics Data Type" start="162" end="162" type="uint"/>
19279f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="164" end="165" type="uint">
19289f464c52Smaya      <value name="Highest priority" value="0"/>
19299f464c52Smaya      <value name="Second highest priority" value="1"/>
19309f464c52Smaya      <value name="Third highest priority" value="2"/>
19319f464c52Smaya      <value name="Lowest priority" value="3"/>
19329f464c52Smaya    </field>
19339f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Address" start="172" end="191" type="address"/>
19349f464c52Smaya    <field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="204" end="223" type="address"/>
19359f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Cacheability Control" start="224" end="225" type="uint">
19369f464c52Smaya      <value name="GTT entry" value="0"/>
19379f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
19389f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
19399f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
19409f464c52Smaya    </field>
19419f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Graphics Data Type" start="226" end="226" type="uint"/>
19429f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="228" end="229" type="uint">
19439f464c52Smaya      <value name="Highest priority" value="0"/>
19449f464c52Smaya      <value name="Second highest priority" value="1"/>
19459f464c52Smaya      <value name="Third highest priority" value="2"/>
19469f464c52Smaya      <value name="Lowest priority" value="3"/>
19479f464c52Smaya    </field>
19489f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Address" start="236" end="255" type="address"/>
19499f464c52Smaya    <field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="268" end="287" type="address"/>
19509f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Cacheability Control" start="288" end="289" type="uint">
19519f464c52Smaya      <value name="GTT entry" value="0"/>
19529f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
19539f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
19549f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
19559f464c52Smaya    </field>
19569f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Graphics Data Type" start="290" end="290" type="uint"/>
19579f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="292" end="293" type="uint">
19589f464c52Smaya      <value name="Highest priority" value="0"/>
19599f464c52Smaya      <value name="Second highest priority" value="1"/>
19609f464c52Smaya      <value name="Third highest priority" value="2"/>
19619f464c52Smaya      <value name="Lowest priority" value="3"/>
19629f464c52Smaya    </field>
19639f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Address" start="300" end="319" type="address"/>
19649f464c52Smaya    <field name="MFC Indirect PAK-BSE Object - Access Upper Bound" start="332" end="351" type="address"/>
19659f464c52Smaya  </instruction>
19669f464c52Smaya
19679f464c52Smaya  <instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="3" engine="video">
19689f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
19699f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
19709f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
19719f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
19729f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
19739f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
19749f464c52Smaya    <field name="Scan Order" start="38" end="38" type="uint">
19759f464c52Smaya      <value name="MPEG_ZIGZAG_SCAN" value="0"/>
19769f464c52Smaya      <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/>
19779f464c52Smaya    </field>
19789f464c52Smaya    <field name="Intra VLC Format" start="39" end="39" type="uint"/>
19799f464c52Smaya    <field name="Quantizer Scale Type" start="40" end="40" type="uint">
19809f464c52Smaya      <value name="MPEG_QSCALE_LINEAR" value="0"/>
19819f464c52Smaya      <value name="MPEG_QSCALE_NONLINEAR" value="1"/>
19829f464c52Smaya    </field>
19839f464c52Smaya    <field name="Concealment MV" start="41" end="41" type="bool"/>
19849f464c52Smaya    <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/>
19859f464c52Smaya    <field name="Top Field First" start="43" end="43" type="bool"/>
19869f464c52Smaya    <field name="Picture Structure" start="44" end="45" type="uint">
19879f464c52Smaya      <value name="MPEG_TOP_FIELD" value="1"/>
19889f464c52Smaya      <value name="MPEG_BOTTOM_FIELD" value="2"/>
19899f464c52Smaya      <value name="MPEG_FRAME" value="3"/>
19909f464c52Smaya    </field>
19919f464c52Smaya    <field name="Intra DC Precision" start="46" end="47" type="uint"/>
19929f464c52Smaya    <field name="F_code[0][0]" start="48" end="51" type="uint"/>
19939f464c52Smaya    <field name="F_code[0][1]" start="52" end="55" type="uint"/>
19949f464c52Smaya    <field name="F_code[1][0]" start="56" end="59" type="uint"/>
19959f464c52Smaya    <field name="F_code[1][1]" start="60" end="63" type="uint"/>
19969f464c52Smaya    <field name="Picture Coding Type" start="64" end="74" type="uint">
19979f464c52Smaya      <value name="MPEG_I_PICTURE" value="1"/>
19989f464c52Smaya      <value name="MPEG_P_PICTURE" value="2"/>
19999f464c52Smaya      <value name="MPEG_B_PICTURE" value="3"/>
20009f464c52Smaya    </field>
20019f464c52Smaya    <field name="Frame Width In MBs" start="96" end="103" type="uint"/>
20029f464c52Smaya    <field name="Frame Height In MBs" start="112" end="119" type="uint"/>
20039f464c52Smaya  </instruction>
20049f464c52Smaya
20059f464c52Smaya  <instruction name="MFX_MPEG2_QM_STATE" bias="2" length="18" engine="video">
20069f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="16"/>
20079f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
20089f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
20099f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/>
20109f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
20119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20129f464c52Smaya    <field name="QM Type" start="32" end="32" type="uint">
20139f464c52Smaya      <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/>
20149f464c52Smaya      <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/>
20159f464c52Smaya    </field>
20169f464c52Smaya    <group count="16" start="64" size="32">
20179f464c52Smaya      <field name="Quantizer Matrix" start="0" end="31" type="uint"/>
20189f464c52Smaya    </group>
20199f464c52Smaya  </instruction>
20209f464c52Smaya
20219f464c52Smaya  <instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="24" engine="video">
20229f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="22"/>
20239f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
20249f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
20259f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
20269f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
20279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
20289f464c52Smaya    <field name="Pre Deblocking - Cacheability Control" start="32" end="33" type="uint">
20299f464c52Smaya      <value name="GTT entry" value="0"/>
20309f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
20319f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
20329f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
20339f464c52Smaya    </field>
20349f464c52Smaya    <field name="Pre Deblocking - Graphics Data Type" start="34" end="34" type="uint"/>
20359f464c52Smaya    <field name="Pre Deblocking - Arbitration Priority Control" start="36" end="37" type="uint">
20369f464c52Smaya      <value name="Highest priority" value="0"/>
20379f464c52Smaya      <value name="Second highest priority" value="1"/>
20389f464c52Smaya      <value name="Third highest priority" value="2"/>
20399f464c52Smaya      <value name="Lowest priority" value="3"/>
20409f464c52Smaya    </field>
20419f464c52Smaya    <field name="Pre Deblocking - Address" start="38" end="63" type="address"/>
20429f464c52Smaya    <field name="Post Deblocking - Cacheability Control" start="64" end="65" type="uint">
20439f464c52Smaya      <value name="GTT entry" value="0"/>
20449f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
20459f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
20469f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
20479f464c52Smaya    </field>
20489f464c52Smaya    <field name="Post Deblocking - Graphics Data Type" start="66" end="66" type="uint"/>
20499f464c52Smaya    <field name="Post Deblocking - Arbitration Priority Control" start="68" end="69" type="uint">
20509f464c52Smaya      <value name="Highest priority" value="0"/>
20519f464c52Smaya      <value name="Second highest priority" value="1"/>
20529f464c52Smaya      <value name="Third highest priority" value="2"/>
20539f464c52Smaya      <value name="Lowest priority" value="3"/>
20549f464c52Smaya    </field>
20559f464c52Smaya    <field name="Post Deblocking - Address" start="70" end="95" type="address"/>
20569f464c52Smaya    <field name="Original Uncompressed Picture Source - Cacheability Control" start="96" end="97" type="uint">
20579f464c52Smaya      <value name="GTT entry" value="0"/>
20589f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
20599f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
20609f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
20619f464c52Smaya    </field>
20629f464c52Smaya    <field name="Original Uncompressed Picture Source - Graphics Data Type" start="98" end="98" type="uint"/>
20639f464c52Smaya    <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="100" end="101" type="uint">
20649f464c52Smaya      <value name="Highest priority" value="0"/>
20659f464c52Smaya      <value name="Second highest priority" value="1"/>
20669f464c52Smaya      <value name="Third highest priority" value="2"/>
20679f464c52Smaya      <value name="Lowest priority" value="3"/>
20689f464c52Smaya    </field>
20699f464c52Smaya    <field name="Original Uncompressed Picture Source - Address" start="102" end="127" type="address"/>
20709f464c52Smaya    <field name="Stream-Out Data Destination - Cacheability Control" start="128" end="129" type="uint">
20719f464c52Smaya      <value name="GTT entry" value="0"/>
20729f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
20739f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
20749f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
20759f464c52Smaya    </field>
20769f464c52Smaya    <field name="Stream-Out Data Destination - Graphics Data Type" start="130" end="130" type="uint"/>
20779f464c52Smaya    <field name="Stream-Out Data Destination - Arbitration Priority Control" start="132" end="133" type="uint">
20789f464c52Smaya      <value name="Highest priority" value="0"/>
20799f464c52Smaya      <value name="Second highest priority" value="1"/>
20809f464c52Smaya      <value name="Third highest priority" value="2"/>
20819f464c52Smaya      <value name="Lowest priority" value="3"/>
20829f464c52Smaya    </field>
20839f464c52Smaya    <field name="Stream-Out Data Destination - Address" start="134" end="159" type="offset"/>
20849f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Cacheability Control" start="160" end="161" type="uint">
20859f464c52Smaya      <value name="GTT entry" value="0"/>
20869f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
20879f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
20889f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
20899f464c52Smaya    </field>
20909f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Graphics Data Type" start="162" end="162" type="uint"/>
20919f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="164" end="165" type="uint">
20929f464c52Smaya      <value name="Highest priority" value="0"/>
20939f464c52Smaya      <value name="Second highest priority" value="1"/>
20949f464c52Smaya      <value name="Third highest priority" value="2"/>
20959f464c52Smaya      <value name="Lowest priority" value="3"/>
20969f464c52Smaya    </field>
20979f464c52Smaya    <field name="Intra Row Store Scratch Buffer - Address" start="166" end="191" type="address"/>
20989f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Cacheability Control" start="192" end="193" type="uint">
20999f464c52Smaya      <value name="GTT entry" value="0"/>
21009f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
21019f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
21029f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
21039f464c52Smaya    </field>
21049f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Graphics Data Type" start="194" end="194" type="uint"/>
21059f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Arbitration Priority Control" start="196" end="197" type="uint">
21069f464c52Smaya      <value name="Highest priority" value="0"/>
21079f464c52Smaya      <value name="Second highest priority" value="1"/>
21089f464c52Smaya      <value name="Third highest priority" value="2"/>
21099f464c52Smaya      <value name="Lowest priority" value="3"/>
21109f464c52Smaya    </field>
21119f464c52Smaya    <field name="Deblocking Filter Row Store Scratch Buffer - Address" start="198" end="223" type="address"/>
21129f464c52Smaya    <group count="16" start="224" size="32">
21139f464c52Smaya      <field name="Reference Picture - Address" start="6" end="31" type="address"/>
21149f464c52Smaya      <field name="Reference Picture - Arbitration Priority Control" start="4" end="5" type="uint">
21159f464c52Smaya        <value name="Highest priority" value="0"/>
21169f464c52Smaya        <value name="Second highest priority" value="1"/>
21179f464c52Smaya        <value name="Third highest priority" value="2"/>
21189f464c52Smaya        <value name="Lowest priority" value="3"/>
21199f464c52Smaya      </field>
21209f464c52Smaya      <field name="Reference Picture - Graphics Data Type" start="2" end="2" type="uint"/>
21219f464c52Smaya      <field name="Reference Picture - Cacheability Control" start="0" end="1" type="uint">
21229f464c52Smaya        <value name="GTT entry" value="0"/>
21239f464c52Smaya        <value name="Not in LLC or MLC" value="1"/>
21249f464c52Smaya        <value name="In LLC but not MLC" value="2"/>
21259f464c52Smaya        <value name="Both LLC and MLC" value="3"/>
21269f464c52Smaya      </field>
21279f464c52Smaya    </group>
21289f464c52Smaya    <field name="MB Status Buffer - Cacheability Control" start="736" end="737" type="uint">
21299f464c52Smaya      <value name="GTT entry" value="0"/>
21309f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
21319f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
21329f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
21339f464c52Smaya    </field>
21349f464c52Smaya    <field name="MB Status Buffer - Graphics Data Type" start="738" end="738" type="uint"/>
21359f464c52Smaya    <field name="MB Status Buffer - Arbitration Priority Control" start="740" end="741" type="uint">
21369f464c52Smaya      <value name="Highest priority" value="0"/>
21379f464c52Smaya      <value name="Second highest priority" value="1"/>
21389f464c52Smaya      <value name="Third highest priority" value="2"/>
21399f464c52Smaya      <value name="Lowest priority" value="3"/>
21409f464c52Smaya    </field>
21419f464c52Smaya    <field name="MB Status Buffer - Address" start="742" end="767" type="address"/>
21429f464c52Smaya  </instruction>
21439f464c52Smaya
21449f464c52Smaya  <instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="4" engine="video">
21459f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="2"/>
21469f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
21479f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
21489f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
21499f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21509f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21519f464c52Smaya    <field name="Standard Select" start="32" end="33" type="uint" prefix="SS">
21529f464c52Smaya      <value name="VC1" value="1"/>
21539f464c52Smaya      <value name="AVC" value="2"/>
21549f464c52Smaya    </field>
21559f464c52Smaya    <field name="Codec Select" start="36" end="36" type="uint">
21569f464c52Smaya      <value name="Decode" value="0"/>
21579f464c52Smaya      <value name="Encode" value="1"/>
21589f464c52Smaya    </field>
21599f464c52Smaya    <field name="Stitch Mode" start="37" end="37" type="bool"/>
21609f464c52Smaya    <field name="ZLR TLB Prefetch Enable" start="39" end="39" type="bool"/>
21619f464c52Smaya    <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/>
21629f464c52Smaya    <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/>
21639f464c52Smaya    <field name="Stream-Out Enable" start="42" end="42" type="bool"/>
21649f464c52Smaya    <field name="Decoder Mode select" start="48" end="48" type="uint">
21659f464c52Smaya      <value name="LD Mode" value="0"/>
21669f464c52Smaya      <value name="IT Mode" value="1"/>
21679f464c52Smaya    </field>
21689f464c52Smaya    <field name="AVC ILDB Boundary Strength Calculation" start="64" end="64" type="uint">
21699f464c52Smaya      <value name="Calculated only when post-filter is ON" value="0"/>
21709f464c52Smaya      <value name="Calculated all the time" value="1"/>
21719f464c52Smaya    </field>
21729f464c52Smaya    <field name="AVC Long Field MV" start="65" end="65" type="uint">
21739f464c52Smaya      <value name="13 bits precision" value="0"/>
21749f464c52Smaya      <value name="12 bits precision" value="1"/>
21759f464c52Smaya    </field>
21769f464c52Smaya    <field name="AVC CABAC/CAVLC Decode Error Disable" start="66" end="66" type="uint">
21779f464c52Smaya      <value name="Terminate" value="0"/>
21789f464c52Smaya      <value name="Will not terminate" value="1"/>
21799f464c52Smaya    </field>
21809f464c52Smaya    <field name="AVC Mbdata Error Disable" start="67" end="67" type="uint"/>
21819f464c52Smaya    <field name="AVC MV/POC Table Error Disable" start="68" end="68" type="uint">
21829f464c52Smaya      <value name="Terminates" value="0"/>
21839f464c52Smaya      <value name="Will not terminate" value="1"/>
21849f464c52Smaya    </field>
21859f464c52Smaya    <field name="Clock Gate Enable at Slice-level" start="70" end="70" type="bool"/>
21869f464c52Smaya    <field name="Intra 8x8 Rounding" start="83" end="83" type="uint"/>
21879f464c52Smaya    <field name="Slice PB Rounding" start="84" end="84" type="uint"/>
21889f464c52Smaya  </instruction>
21899f464c52Smaya
21909f464c52Smaya  <instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video">
21919f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="0"/>
21929f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/>
21939f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
21949f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
21959f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
21969f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
21979f464c52Smaya    <field name="State Pointer Index" start="32" end="33" type="uint">
21989f464c52Smaya      <value name="Indirect state pointer 0" value="0"/>
21999f464c52Smaya      <value name="Indirect state pointer 1" value="1"/>
22009f464c52Smaya      <value name="Indirect state pointer 2" value="2"/>
22019f464c52Smaya      <value name="Indirect state pointer 3" value="3"/>
220201e04c3fSmrg    </field>
22039f464c52Smaya    <field name="State Pointer" start="37" end="63" type="uint"/>
22049f464c52Smaya  </instruction>
22059f464c52Smaya
22069f464c52Smaya  <instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video">
22079f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
22089f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
22099f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
22109f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
22119f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="0"/>
22129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
22139f464c52Smaya    <field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="uint"/>
22149f464c52Smaya    <field name="Width" start="70" end="82" type="uint"/>
22159f464c52Smaya    <field name="Height" start="83" end="95" type="uint"/>
22169f464c52Smaya    <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW">
22179f464c52Smaya      <value name="XMAJOR" value="0"/>
22189f464c52Smaya      <value name="YMAJOR" value="1"/>
22199f464c52Smaya    </field>
22209f464c52Smaya    <field name="Tiled Surface" start="97" end="97" type="bool"/>
22219f464c52Smaya    <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/>
22229f464c52Smaya    <field name="Surface Pitch" start="99" end="115" type="uint"/>
22239f464c52Smaya    <field name="Interleave Chroma" start="123" end="123" type="bool"/>
22249f464c52Smaya    <field name="Surface Format" start="124" end="127" type="uint">
22259f464c52Smaya      <value name="YCRCB_NORMAL" value="0"/>
22269f464c52Smaya      <value name="YCRCB_SWAPUVY" value="1"/>
22279f464c52Smaya      <value name="YCRCB_SWAPUV" value="2"/>
22289f464c52Smaya      <value name="YCRCB_SWAPY" value="3"/>
22299f464c52Smaya      <value name="PLANAR_420_8" value="4"/>
22309f464c52Smaya      <value name="PLANAR_411_8" value="5"/>
22319f464c52Smaya      <value name="PLANAR_422_8" value="6"/>
22329f464c52Smaya      <value name="STMM_DN_STATISTICS" value="7"/>
22339f464c52Smaya      <value name="R10G10B10A2_UNORM" value="8"/>
22349f464c52Smaya      <value name="R8G8B8A8_UNORM" value="9"/>
22359f464c52Smaya      <value name="R8B8_UNORM (CrCb)" value="10"/>
22369f464c52Smaya      <value name="R8_UNORM (Cr/Cb)" value="11"/>
22379f464c52Smaya      <value name="Y8_UNORM" value="12"/>
22389f464c52Smaya    </field>
22399f464c52Smaya    <field name="Y Offset for U(Cb)" start="128" end="140" type="uint"/>
22409f464c52Smaya    <field name="X Offset for U(Cb)" start="144" end="156" type="uint"/>
22419f464c52Smaya    <field name="Y Offset for V(Cr)" start="160" end="172" type="uint"/>
22429f464c52Smaya    <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/>
22439f464c52Smaya  </instruction>
22449f464c52Smaya
22459f464c52Smaya  <instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="3" engine="video">
22469f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="1"/>
22479f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/>
22489f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
22499f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
22509f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
22519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
22529f464c52Smaya    <field name="Direct MV Write Buffer - Cacheability Control" start="32" end="33" type="uint">
22539f464c52Smaya      <value name="GTT entry" value="0"/>
22549f464c52Smaya      <value name="Not in in LLC or MLC" value="1"/>
22559f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
22569f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
22579f464c52Smaya    </field>
22589f464c52Smaya    <field name="Direct MV Write Buffer - Graphics Data Type" start="34" end="34" type="uint"/>
22599f464c52Smaya    <field name="Direct MV Write Buffer - Arbitration Priority Control" start="36" end="37" type="uint">
22609f464c52Smaya      <value name="Highest Priority" value="0"/>
22619f464c52Smaya      <value name="Second highest priority" value="1"/>
22629f464c52Smaya      <value name="Third highest priority" value="2"/>
22639f464c52Smaya      <value name="Lowest Priority" value="3"/>
22649f464c52Smaya    </field>
22659f464c52Smaya    <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/>
22669f464c52Smaya    <field name="Direct MV Read Buffer - Cacheability Control" start="64" end="65" type="uint">
22679f464c52Smaya      <value name="GTT entry" value="0"/>
22689f464c52Smaya      <value name="Not in LLC or MLC" value="1"/>
22699f464c52Smaya      <value name="In LLC but not MLC" value="2"/>
22709f464c52Smaya      <value name="Both LLC and MLC" value="3"/>
22719f464c52Smaya    </field>
22729f464c52Smaya    <field name="Direct MV Read Buffer - Graphics Data Type" start="66" end="66" type="uint"/>
22739f464c52Smaya    <field name="Direct MV Read Buffer - Arbitration Priority Control" start="68" end="69" type="uint">
22749f464c52Smaya      <value name="Highest priority" value="0"/>
22759f464c52Smaya      <value name="Second highest priority" value="1"/>
22769f464c52Smaya      <value name="Third highest priority" value="2"/>
22779f464c52Smaya      <value name="Lowest priority" value="3"/>
22789f464c52Smaya    </field>
22799f464c52Smaya    <field name="Direct MV Read Buffer - Address" start="70" end="95" type="address"/>
22809f464c52Smaya  </instruction>
22819f464c52Smaya
22829f464c52Smaya  <instruction name="MFX_VC1_PIC_STATE" bias="2" length="6" engine="video">
22839f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="4"/>
22849f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/>
22859f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
22869f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
22879f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
22889f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
22899f464c52Smaya    <field name="Picture Width in MBs" start="32" end="39" type="uint"/>
22909f464c52Smaya    <field name="Picture Height in MBs" start="48" end="55" type="uint"/>
22919f464c52Smaya    <field name="Frame Coding Mode" start="64" end="65" type="uint">
22929f464c52Smaya      <value name="Progressive Frame Picture" value="0"/>
22939f464c52Smaya      <value name="Interlaced Frame Picture" value="1"/>
22949f464c52Smaya      <value name="Field Picture with Top Field First" value="2"/>
22959f464c52Smaya      <value name="Field Picture with Bottom Field First" value="3"/>
22969f464c52Smaya    </field>
22979f464c52Smaya    <field name="Picture Type" start="66" end="68" type="uint"/>
22989f464c52Smaya    <field name="Second Field" start="69" end="69" type="bool"/>
22999f464c52Smaya    <field name="CONDOVER" start="70" end="71" type="uint"/>
23009f464c52Smaya    <field name="PQ Uniform" start="72" end="72" type="bool"/>
23019f464c52Smaya    <field name="Half QP" start="73" end="73" type="uint"/>
23029f464c52Smaya    <field name="Alternative PQ Configuration" start="74" end="75" type="uint"/>
23039f464c52Smaya    <field name="Alternative PQ Edge Mask" start="76" end="79" type="uint"/>
23049f464c52Smaya    <field name="PQ Value" start="80" end="84" type="uint"/>
23059f464c52Smaya    <field name="Implicit Quantizer" start="85" end="85" type="bool"/>
23069f464c52Smaya    <field name="Overlap Smoothing Enable" start="86" end="86" type="bool"/>
23079f464c52Smaya    <field name="Loop Filter Enable" start="87" end="87" type="bool"/>
23089f464c52Smaya    <field name="Alternative PQ Value" start="88" end="92" type="uint"/>
23099f464c52Smaya    <field name="Concealment Enable" start="93" end="93" type="bool"/>
23109f464c52Smaya    <field name="Sync Marker" start="95" end="95" type="bool"/>
23119f464c52Smaya    <field name="FRFD Reference Distance" start="96" end="100" type="uint"/>
23129f464c52Smaya    <field name="Number of References" start="101" end="101" type="uint">
23139f464c52Smaya      <value name="One field referenced" value="0"/>
23149f464c52Smaya      <value name="Two fields referenced" value="1"/>
23159f464c52Smaya    </field>
23169f464c52Smaya    <field name="Reference Field Picture Polarity" start="102" end="102" type="uint">
23179f464c52Smaya      <value name="Top (even) Field" value="0"/>
23189f464c52Smaya      <value name="Bottom (odd) Field" value="1"/>
23199f464c52Smaya    </field>
23209f464c52Smaya    <field name="Unified MV Mode" start="104" end="105" type="uint">
23219f464c52Smaya      <value name="1-MV half-pel bilinear" value="3"/>
23229f464c52Smaya      <value name="1-MV" value="1"/>
23239f464c52Smaya      <value name="1-MV half-pel" value="2"/>
23249f464c52Smaya      <value name="Mixed MV" value="0"/>
23259f464c52Smaya    </field>
23269f464c52Smaya    <field name="Fast UV Motion Compensation" start="106" end="106" type="uint">
23279f464c52Smaya      <value name="No Rounding" value="0"/>
23289f464c52Smaya      <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/>
23299f464c52Smaya    </field>
23309f464c52Smaya    <field name="Four MV Switch" start="107" end="107" type="uint">
23319f464c52Smaya      <value name="Only 1-MV" value="0"/>
23329f464c52Smaya      <value name="1, 2, or 4 MVs" value="1"/>
23339f464c52Smaya    </field>
23349f464c52Smaya    <field name="Extended MV Range" start="108" end="109" type="uint"/>
23359f464c52Smaya    <field name="Extended DMV Range" start="110" end="111" type="uint"/>
23369f464c52Smaya    <field name="FIELDTX Raw" start="112" end="112" type="bool"/>
23379f464c52Smaya    <field name="ACPRED Raw" start="113" end="113" type="bool"/>
23389f464c52Smaya    <field name="OVERFLAGS Raw" start="114" end="114" type="bool"/>
23399f464c52Smaya    <field name="DIRECTMB Raw" start="115" end="115" type="bool"/>
23409f464c52Smaya    <field name="SKIPMB Raw" start="116" end="116" type="bool"/>
23419f464c52Smaya    <field name="MVTYPEMB Raw" start="117" end="117" type="bool"/>
23429f464c52Smaya    <field name="FORWARDMB Raw" start="118" end="118" type="bool"/>
23439f464c52Smaya    <field name="Bitplane Buffer Present" start="119" end="119" type="bool"/>
23449f464c52Smaya    <field name="Coded Block Pattern Table" start="128" end="130" type="uint"/>
23459f464c52Smaya    <field name="Intra Transform DC Table" start="131" end="131" type="uint"/>
23469f464c52Smaya    <field name="Picture-level Transform Chroma AC Coding Set Index" start="132" end="133" type="uint"/>
23479f464c52Smaya    <field name="Picture-level Transform Luma AC Coding Set Index" start="134" end="135" type="uint"/>
23489f464c52Smaya    <field name="MB Mode Table" start="136" end="138" type="uint"/>
23499f464c52Smaya    <field name="MB Transform Type" start="139" end="139" type="uint"/>
23509f464c52Smaya    <field name="Picture-level Transform Type" start="140" end="141" type="uint">
23519f464c52Smaya      <value name="8x8 Transform" value="0"/>
23529f464c52Smaya      <value name="8x4 Transform" value="1"/>
23539f464c52Smaya      <value name="4x8 Transform" value="2"/>
23549f464c52Smaya      <value name="4x4 Transform" value="3"/>
23559f464c52Smaya    </field>
23569f464c52Smaya    <field name="2-MV Block Pattern Table" start="144" end="145" type="uint"/>
23579f464c52Smaya    <field name="4-MV Block Pattern Table" start="146" end="147" type="uint"/>
23589f464c52Smaya    <field name="MV Table" start="148" end="150" type="uint"/>
23599f464c52Smaya    <field name="Scale Factor" start="152" end="159" type="uint"/>
23609f464c52Smaya    <field name="Bitplane Buffer Pitch" start="160" end="167" type="uint"/>
23619f464c52Smaya    <field name="BRFD Reference Distance" start="168" end="172" type="uint"/>
23629f464c52Smaya    <field name="DMV Surface Valid" start="173" end="173" type="bool"/>
23639f464c52Smaya  </instruction>
23649f464c52Smaya
23659f464c52Smaya  <instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="4" engine="video">
23669f464c52Smaya    <field name="DWord Length" start="0" end="11" type="uint" default="2"/>
23679f464c52Smaya    <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/>
23689f464c52Smaya    <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/>
23699f464c52Smaya    <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/>
23709f464c52Smaya    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
23719f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
23729f464c52Smaya    <field name="VC1 Profile" start="34" end="35" type="uint">
23739f464c52Smaya      <value name="Simple Profile" value="0"/>
23749f464c52Smaya      <value name="Main Profile" value="1"/>
23759f464c52Smaya      <value name="Advanced Profile" value="2"/>
23769f464c52Smaya    </field>
23779f464c52Smaya    <field name="Interpolation Rounder Control" start="36" end="36" type="uint"/>
23789f464c52Smaya    <field name="Reference Frame Boundary Replication Mode" start="40" end="43" type="uint">
23799f464c52Smaya      <value name="Progressive Frame Replication" value="0"/>
23809f464c52Smaya      <value name="Interlace Frame Replication" value="1"/>
23819f464c52Smaya    </field>
23829f464c52Smaya    <field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/>
23839f464c52Smaya    <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/>
23849f464c52Smaya    <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/>
23859f464c52Smaya    <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/>
23869f464c52Smaya    <field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/>
23879f464c52Smaya    <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/>
23889f464c52Smaya    <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/>
23899f464c52Smaya    <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/>
23909f464c52Smaya    <field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/>
23919f464c52Smaya    <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/>
23929f464c52Smaya    <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/>
23939f464c52Smaya    <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/>
23949f464c52Smaya    <field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/>
23959f464c52Smaya    <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/>
23969f464c52Smaya    <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/>
23979f464c52Smaya    <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/>
23989f464c52Smaya    <field name="Vin Intensity Compensation Single Backward Enable" start="192" end="193" type="uint"/>
23999f464c52Smaya    <field name="Vin Intensity Compensation Single Forward Enable" start="194" end="195" type="uint"/>
24009f464c52Smaya    <field name="Vin Intensity Compensation Double Backward Enable" start="196" end="197" type="uint"/>
24019f464c52Smaya    <field name="Vin Intensity Compensation Double Forward Enable" start="198" end="199" type="uint"/>
24029f464c52Smaya    <field name="Range Reduction" start="208" end="208" type="bool"/>
24039f464c52Smaya    <field name="Range Reduction Scale" start="209" end="209" type="uint"/>
24049f464c52Smaya    <field name="Fast UV Compensation" start="210" end="210" type="bool"/>
24059f464c52Smaya    <field name="MV Mode" start="211" end="212" type="uint">
24069f464c52Smaya      <value name="Half-pel bicubic" value="0"/>
24079f464c52Smaya      <value name="Quarter-pel bicubic" value="1"/>
24089f464c52Smaya    </field>
24099f464c52Smaya  </instruction>
24109f464c52Smaya
24119f464c52Smaya  <instruction name="MFX_WAIT" bias="1" length="1" engine="video">
24129f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
24139f464c52Smaya    <field name="MFX Sync Control Flag" start="8" end="8" type="bool"/>
24149f464c52Smaya    <field name="SubOpcode" start="16" end="26" type="uint" default="0"/>
24159f464c52Smaya    <field name="Command Subtype" start="27" end="28" type="uint" default="1"/>
24169f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
241701e04c3fSmrg  </instruction>
241801e04c3fSmrg
241901e04c3fSmrg  <instruction name="MI_ARB_CHECK" bias="1" length="1">
242001e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
24219f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
242201e04c3fSmrg  </instruction>
242301e04c3fSmrg
242401e04c3fSmrg  <instruction name="MI_ARB_ON_OFF" bias="1" length="1">
242501e04c3fSmrg    <field name="Arbitration Enable" start="0" end="0" type="bool"/>
24269f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/>
24279f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
242801e04c3fSmrg  </instruction>
242901e04c3fSmrg
243001e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
243101e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
24329f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
243301e04c3fSmrg  </instruction>
243401e04c3fSmrg
243501e04c3fSmrg  <instruction name="MI_BATCH_BUFFER_START" bias="2" length="2">
24369f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
243701e04c3fSmrg    <field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
243801e04c3fSmrg      <value name="GGTT" value="0"/>
243901e04c3fSmrg      <value name="PPGTT" value="1"/>
244001e04c3fSmrg    </field>
24419f464c52Smaya    <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/>
24429f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
24439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
244401e04c3fSmrg    <field name="Batch Buffer Start Address" start="34" end="63" type="address"/>
244501e04c3fSmrg  </instruction>
244601e04c3fSmrg
24479f464c52Smaya  <instruction name="MI_CLFLUSH" bias="2" engine="render">
244801e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
24499f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
24509f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
24519f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
245201e04c3fSmrg    <field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
24539f464c52Smaya    <field name="Page Base Address" start="44" end="63" type="address"/>
245401e04c3fSmrg    <group count="0" start="64" size="32">
245501e04c3fSmrg      <field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
245601e04c3fSmrg    </group>
245701e04c3fSmrg  </instruction>
245801e04c3fSmrg
245901e04c3fSmrg  <instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="2">
246001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
24619f464c52Smaya    <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
24629f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
24639f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
24649f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
246501e04c3fSmrg    <field name="Compare Data Dword" start="32" end="63" type="uint"/>
246601e04c3fSmrg    <field name="Compare Address" start="67" end="95" type="address"/>
246701e04c3fSmrg  </instruction>
246801e04c3fSmrg
24699f464c52Smaya  <instruction name="MI_FLUSH" bias="1" length="1" engine="render">
24709f464c52Smaya    <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
24719f464c52Smaya      <value name="Don't Invalidate" value="0"/>
24729f464c52Smaya      <value name="Invalidate" value="1"/>
247301e04c3fSmrg    </field>
247401e04c3fSmrg    <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
247501e04c3fSmrg      <value name="Flush" value="0"/>
247601e04c3fSmrg      <value name="Don't Flush" value="1"/>
247701e04c3fSmrg    </field>
24789f464c52Smaya    <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
24799f464c52Smaya      <value name="Don't Reset" value="0"/>
24809f464c52Smaya      <value name="Reset" value="1"/>
248101e04c3fSmrg    </field>
24829f464c52Smaya    <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
24839f464c52Smaya    <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
24849f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
24859f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
248601e04c3fSmrg  </instruction>
248701e04c3fSmrg
24889f464c52Smaya  <instruction name="MI_FLUSH_DW" bias="2" length="4" engine="video">
24897ec681f3Smrg    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
24909f464c52Smaya    <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/>
24919f464c52Smaya    <field name="Notify Enable" start="8" end="8" type="bool"/>
24929f464c52Smaya    <field name="Post-Sync Operation" start="14" end="15" type="uint"/>
24939f464c52Smaya    <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/>
24949f464c52Smaya    <field name="TLB Invalidate" start="18" end="18" type="bool"/>
24959f464c52Smaya    <field name="Store Data Index" start="21" end="21" type="bool"/>
24969f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/>
249701e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
24989f464c52Smaya    <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
24999f464c52Smaya      <value name="PPGTT" value="0"/>
25009f464c52Smaya      <value name="GGTT" value="1"/>
25019f464c52Smaya    </field>
25029f464c52Smaya    <field name="Address" start="35" end="63" type="address"/>
25039f464c52Smaya    <group count="2" start="64" size="32">
25049f464c52Smaya      <field name="Immediate Data" start="0" end="31" type="uint"/>
25059f464c52Smaya    </group>
25069f464c52Smaya  </instruction>
25079f464c52Smaya
25089f464c52Smaya  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
250901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
25109f464c52Smaya    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
25119f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
25129f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
251301e04c3fSmrg    <field name="Register Offset" start="34" end="54" type="offset"/>
251401e04c3fSmrg    <field name="Data DWord" start="64" end="95" type="uint"/>
251501e04c3fSmrg    <group count="0" start="96" size="64">
251601e04c3fSmrg      <field name="Register Offset" start="2" end="22" type="offset"/>
251701e04c3fSmrg      <field name="Data DWord" start="32" end="63" type="uint"/>
251801e04c3fSmrg    </group>
251901e04c3fSmrg  </instruction>
252001e04c3fSmrg
25219f464c52Smaya  <instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render">
25229f464c52Smaya    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
252301e04c3fSmrg    <field name="Display (Plane) Select" start="19" end="21" type="uint">
252401e04c3fSmrg      <value name="Display Plane A" value="0"/>
252501e04c3fSmrg      <value name="Display Plane B" value="1"/>
252601e04c3fSmrg      <value name="Display Plane C" value="4"/>
252701e04c3fSmrg    </field>
25289f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
25299f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
253001e04c3fSmrg    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
25319f464c52Smaya    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
253201e04c3fSmrg  </instruction>
253301e04c3fSmrg
253401e04c3fSmrg  <instruction name="MI_NOOP" bias="1" length="1">
253501e04c3fSmrg    <field name="Identification Number" start="0" end="21" type="uint"/>
25369f464c52Smaya    <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
25379f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
25389f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
253901e04c3fSmrg  </instruction>
254001e04c3fSmrg
254101e04c3fSmrg  <instruction name="MI_REPORT_HEAD" bias="1" length="1">
254201e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
25439f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
254401e04c3fSmrg  </instruction>
254501e04c3fSmrg
254601e04c3fSmrg  <instruction name="MI_SEMAPHORE_MBOX" bias="2" length="3">
25479f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
254801e04c3fSmrg    <field name="Register Select" start="16" end="17" type="uint">
254901e04c3fSmrg      <value name="RVSYNC" value="0"/>
255001e04c3fSmrg      <value name="RBSYNC" value="2"/>
255101e04c3fSmrg      <value name="Use General Register Select" value="3"/>
255201e04c3fSmrg    </field>
25539f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/>
25549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
255501e04c3fSmrg    <field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
255601e04c3fSmrg  </instruction>
255701e04c3fSmrg
25589f464c52Smaya  <instruction name="MI_SET_CONTEXT" bias="2" length="2" engine="render">
255901e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
25609f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
25619f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
256201e04c3fSmrg    <field name="Restore Inhibit" start="32" end="32" type="uint"/>
25639f464c52Smaya    <field name="Force Restore" start="33" end="33" type="uint"/>
25649f464c52Smaya    <field name="Extended State Restore Enable" start="34" end="34" type="bool"/>
25659f464c52Smaya    <field name="Extended State Save Enable" start="35" end="35" type="bool"/>
25669f464c52Smaya    <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
25679f464c52Smaya    <field name="HD DVD Context" start="41" end="41" type="bool"/>
25689f464c52Smaya    <field name="Logical Context Address" start="44" end="63" type="address"/>
256901e04c3fSmrg  </instruction>
257001e04c3fSmrg
257101e04c3fSmrg  <instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
257201e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
25739f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
25749f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
25759f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
257601e04c3fSmrg    <field name="Core Mode Enable" start="64" end="64" type="uint"/>
25779f464c52Smaya    <field name="Address" start="66" end="95" type="address"/>
257801e04c3fSmrg    <field name="Immediate Data" start="96" end="159" type="uint"/>
257901e04c3fSmrg  </instruction>
258001e04c3fSmrg
258101e04c3fSmrg  <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
258201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
25839f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
25849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
258501e04c3fSmrg    <field name="Offset" start="34" end="43" type="uint"/>
258601e04c3fSmrg    <field name="Data DWord 0" start="64" end="95" type="uint"/>
258701e04c3fSmrg    <field name="Data DWord 1" start="96" end="127" type="uint"/>
258801e04c3fSmrg  </instruction>
258901e04c3fSmrg
259001e04c3fSmrg  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
259101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
25929f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
25939f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
25949f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
259501e04c3fSmrg    <field name="Register Address" start="34" end="54" type="offset"/>
259601e04c3fSmrg    <field name="Memory Address" start="66" end="95" type="address"/>
259701e04c3fSmrg  </instruction>
259801e04c3fSmrg
259901e04c3fSmrg  <instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
260001e04c3fSmrg    <field name="Suspend Flush" start="0" end="0" type="bool"/>
26019f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
26029f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
260301e04c3fSmrg  </instruction>
260401e04c3fSmrg
26059f464c52Smaya  <instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render">
260601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
26079f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/>
26089f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
260901e04c3fSmrg    <field name="URB Address" start="32" end="45" type="offset"/>
26109f464c52Smaya    <field name="URB Clear Length" start="48" end="60" type="uint"/>
261101e04c3fSmrg  </instruction>
261201e04c3fSmrg
261301e04c3fSmrg  <instruction name="MI_USER_INTERRUPT" bias="1" length="1">
261401e04c3fSmrg    <field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
26159f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
261601e04c3fSmrg  </instruction>
261701e04c3fSmrg
26189f464c52Smaya  <instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter|video">
26199f464c52Smaya    <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/>
26209f464c52Smaya    <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/>
26219f464c52Smaya    <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/>
26229f464c52Smaya    <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
26239f464c52Smaya    <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/>
26249f464c52Smaya    <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/>
26259f464c52Smaya    <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/>
26269f464c52Smaya    <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/>
26279f464c52Smaya    <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
26289f464c52Smaya    <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/>
262901e04c3fSmrg    <field name="Condition Code Wait Select" start="16" end="19" type="uint">
263001e04c3fSmrg      <value name="Not enabled" value="0"/>
263101e04c3fSmrg    </field>
26329f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
26339f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
263401e04c3fSmrg  </instruction>
263501e04c3fSmrg
26369f464c52Smaya  <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
263701e04c3fSmrg    <field name="Pipeline Selection" start="0" end="1" type="uint">
263801e04c3fSmrg      <value name="3D" value="0"/>
263901e04c3fSmrg      <value name="Media" value="1"/>
264001e04c3fSmrg    </field>
26419f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
26429f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
26439f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
26449f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
264501e04c3fSmrg  </instruction>
264601e04c3fSmrg
26479f464c52Smaya  <instruction name="PIPE_CONTROL" bias="2" length="5" engine="render">
264801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
26499f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
26509f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
26519f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
26529f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
265301e04c3fSmrg    <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
26549f464c52Smaya    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
26559f464c52Smaya    <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
26569f464c52Smaya    <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
26579f464c52Smaya    <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
26589f464c52Smaya    <field name="Notify Enable" start="40" end="40" type="bool"/>
26599f464c52Smaya    <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
26609f464c52Smaya    <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
26619f464c52Smaya    <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
26629f464c52Smaya    <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
26639f464c52Smaya    <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
26649f464c52Smaya    <field name="Post Sync Operation" start="46" end="47" type="uint">
26659f464c52Smaya      <value name="No Write" value="0"/>
26669f464c52Smaya      <value name="Write Immediate Data" value="1"/>
26679f464c52Smaya      <value name="Write PS Depth Count" value="2"/>
26689f464c52Smaya      <value name="Write Timestamp" value="3"/>
26699f464c52Smaya    </field>
26709f464c52Smaya    <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
26719f464c52Smaya    <field name="Synchronize GFDT Surface" start="49" end="49" type="bool"/>
26729f464c52Smaya    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
26739f464c52Smaya    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
26749f464c52Smaya    <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
26759f464c52Smaya    <field name="Store Data Index" start="53" end="53" type="uint"/>
267601e04c3fSmrg    <field name="Destination Address Type" start="66" end="66" type="uint" prefix="DAT">
267701e04c3fSmrg      <value name="GGTT" value="1"/>
267801e04c3fSmrg    </field>
26799f464c52Smaya    <field name="Address" start="67" end="95" type="address"/>
268001e04c3fSmrg    <field name="Immediate Data" start="96" end="159" type="uint"/>
268101e04c3fSmrg  </instruction>
268201e04c3fSmrg
26839f464c52Smaya  <instruction name="STATE_BASE_ADDRESS" bias="2" length="10" engine="render">
268401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="8"/>
26859f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
26869f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
26879f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
26889f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
268901e04c3fSmrg    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
26909f464c52Smaya    <field name="Stateless Data Port Access Force Write Thru" start="35" end="35" type="uint"/>
26919f464c52Smaya    <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/>
26929f464c52Smaya    <field name="General State MOCS" start="40" end="43" type="uint"/>
26939f464c52Smaya    <field name="General State Base Address" start="44" end="63" type="address"/>
269401e04c3fSmrg    <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
26959f464c52Smaya    <field name="Surface State MOCS" start="72" end="75" type="uint"/>
26969f464c52Smaya    <field name="Surface State Base Address" start="76" end="95" type="address"/>
269701e04c3fSmrg    <field name="Dynamic State Base Address Modify Enable" start="96" end="96" type="bool"/>
26989f464c52Smaya    <field name="Dynamic State MOCS" start="104" end="107" type="uint"/>
26999f464c52Smaya    <field name="Dynamic State Base Address" start="108" end="127" type="address"/>
270001e04c3fSmrg    <field name="Indirect Object Base Address Modify Enable" start="128" end="128" type="bool"/>
27019f464c52Smaya    <field name="Indirect Object MOCS" start="136" end="139" type="uint"/>
27029f464c52Smaya    <field name="Indirect Object Base Address" start="140" end="159" type="address"/>
270301e04c3fSmrg    <field name="Instruction Base Address Modify Enable" start="160" end="160" type="bool"/>
27049f464c52Smaya    <field name="Instruction MOCS" start="168" end="171" type="uint"/>
27059f464c52Smaya    <field name="Instruction Base Address" start="172" end="191" type="address"/>
270601e04c3fSmrg    <field name="General State Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
27079f464c52Smaya    <field name="General State Access Upper Bound" start="204" end="223" type="address"/>
270801e04c3fSmrg    <field name="Dynamic State Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
27099f464c52Smaya    <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/>
271001e04c3fSmrg    <field name="Indirect Object Access Upper Bound Modify Enable" start="256" end="256" type="bool"/>
27119f464c52Smaya    <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/>
271201e04c3fSmrg    <field name="Instruction Access Upper Bound Modify Enable" start="288" end="288" type="bool"/>
27139f464c52Smaya    <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/>
271401e04c3fSmrg  </instruction>
271501e04c3fSmrg
27169f464c52Smaya  <instruction name="STATE_PREFETCH" bias="2" length="2" engine="render">
271701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
27189f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
27199f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
27209f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
27219f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
272201e04c3fSmrg    <field name="Prefetch Count" start="32" end="34" type="uint"/>
27239f464c52Smaya    <field name="Prefetch Pointer" start="38" end="63" type="address"/>
272401e04c3fSmrg  </instruction>
272501e04c3fSmrg
27269f464c52Smaya  <instruction name="STATE_SIP" bias="2" length="2" engine="render">
272701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
27289f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
27299f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
27309f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
27319f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
273201e04c3fSmrg    <field name="System Instruction Pointer" start="36" end="63" type="offset"/>
273301e04c3fSmrg  </instruction>
273401e04c3fSmrg
27359f464c52Smaya  <register name="BCS_FAULT_REG" length="1" num="0x4294">
27369f464c52Smaya    <field name="Valid Bit" start="0" end="0" type="bool"/>
27379f464c52Smaya    <field name="Fault Type" start="1" end="2" type="uint">
27389f464c52Smaya      <value name="Page Fault" value="0"/>
27399f464c52Smaya      <value name="Invalid PD Fault" value="1"/>
27409f464c52Smaya      <value name="Unloaded PD Fault" value="2"/>
27419f464c52Smaya      <value name="Invalid and Unloaded PD fault" value="3"/>
27429f464c52Smaya    </field>
27439f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
27449f464c52Smaya    <field name="GTTSEL" start="11" end="11" type="uint">
27459f464c52Smaya      <value name="PPGTT" value="0"/>
27469f464c52Smaya      <value name="GGTT" value="1"/>
27479f464c52Smaya    </field>
27489f464c52Smaya    <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
27499f464c52Smaya  </register>
27509f464c52Smaya
275101e04c3fSmrg  <register name="BCS_INSTDONE" length="1" num="0x2206c">
275201e04c3fSmrg    <field name="Ring Enable" start="0" end="0" type="bool"/>
275301e04c3fSmrg    <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
275401e04c3fSmrg    <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
275501e04c3fSmrg    <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
275601e04c3fSmrg  </register>
275701e04c3fSmrg
27589f464c52Smaya  <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
27599f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
27609f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
27619f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
27629f464c52Smaya      <value name="MI_AUTOREPORT_64KB" value="1"/>
27639f464c52Smaya      <value name="MI_AUTOREPORT_4KB" value="2"/>
27649f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
27659f464c52Smaya    </field>
27669f464c52Smaya    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
27679f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
27689f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
27699f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
27709f464c52Smaya  </register>
27719f464c52Smaya
27729f464c52Smaya  <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
27739f464c52Smaya    <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
27749f464c52Smaya    <field name="Context Page Fault Error" start="1" end="1" type="bool"/>
27759f464c52Smaya    <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/>
27769f464c52Smaya    <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/>
27779f464c52Smaya    <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
27789f464c52Smaya    <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/>
27799f464c52Smaya    <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
27809f464c52Smaya    <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/>
27819f464c52Smaya    <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
27829f464c52Smaya  </register>
27839f464c52Smaya
278401e04c3fSmrg  <register name="INSTDONE_1" length="1" num="0x206c">
278501e04c3fSmrg    <field name="PRB0 Ring Enable" start="0" end="0" type="bool"/>
278601e04c3fSmrg    <field name="AVS Done" start="1" end="1" type="bool"/>
278701e04c3fSmrg    <field name="HIZ Done" start="2" end="2" type="bool"/>
278801e04c3fSmrg    <field name="GW Done" start="3" end="3" type="bool"/>
278901e04c3fSmrg    <field name="TS Done" start="4" end="4" type="bool"/>
279001e04c3fSmrg    <field name="TD Done" start="6" end="6" type="bool"/>
279101e04c3fSmrg    <field name="VFE Done" start="7" end="7" type="bool"/>
279201e04c3fSmrg    <field name="IEF Done" start="8" end="8" type="bool"/>
279301e04c3fSmrg    <field name="VSC Done" start="9" end="9" type="bool"/>
279401e04c3fSmrg    <field name="ISC2/3 Done" start="10" end="10" type="bool"/>
279501e04c3fSmrg    <field name="ISC1/0 Done" start="11" end="11" type="bool"/>
279601e04c3fSmrg    <field name="IC0 Done" start="12" end="12" type="bool"/>
279701e04c3fSmrg    <field name="IC1 Done" start="13" end="13" type="bool"/>
279801e04c3fSmrg    <field name="IC2 Done" start="14" end="14" type="bool"/>
279901e04c3fSmrg    <field name="IC3 Done" start="15" end="15" type="bool"/>
280001e04c3fSmrg    <field name="EU00 Done" start="16" end="16" type="bool"/>
280101e04c3fSmrg    <field name="EU01 Done" start="17" end="17" type="bool"/>
280201e04c3fSmrg    <field name="EU02 Done" start="18" end="18" type="bool"/>
280301e04c3fSmrg    <field name="MA0 Done" start="19" end="19" type="bool"/>
280401e04c3fSmrg    <field name="EU10 Done" start="20" end="20" type="bool"/>
280501e04c3fSmrg    <field name="EU11 Done" start="21" end="21" type="bool"/>
280601e04c3fSmrg    <field name="EU12 Done" start="22" end="22" type="bool"/>
280701e04c3fSmrg    <field name="MA1 Done" start="23" end="23" type="bool"/>
280801e04c3fSmrg    <field name="EU20 Done" start="24" end="24" type="bool"/>
280901e04c3fSmrg    <field name="EU21 Done" start="25" end="25" type="bool"/>
281001e04c3fSmrg    <field name="EU22 Done" start="26" end="26" type="bool"/>
281101e04c3fSmrg    <field name="MA2 Done" start="27" end="27" type="bool"/>
281201e04c3fSmrg    <field name="EU30 Done" start="28" end="28" type="bool"/>
281301e04c3fSmrg    <field name="EU31 Done" start="29" end="29" type="bool"/>
281401e04c3fSmrg    <field name="EU32 Done" start="30" end="30" type="bool"/>
281501e04c3fSmrg    <field name="MA3 Done" start="31" end="31" type="bool"/>
281601e04c3fSmrg  </register>
281701e04c3fSmrg
281801e04c3fSmrg  <register name="INSTDONE_2" length="1" num="0x207c">
281901e04c3fSmrg    <field name="VF Done" start="0" end="0" type="bool"/>
282001e04c3fSmrg    <field name="VS0 Done" start="1" end="1" type="bool"/>
282101e04c3fSmrg    <field name="GS Done" start="2" end="2" type="bool"/>
282201e04c3fSmrg    <field name="CL Done" start="3" end="3" type="bool"/>
282301e04c3fSmrg    <field name="SF Done" start="4" end="4" type="bool"/>
282401e04c3fSmrg    <field name="VME Done" start="5" end="5" type="bool"/>
282501e04c3fSmrg    <field name="PL Done" start="6" end="6" type="bool"/>
282601e04c3fSmrg    <field name="SO Done" start="7" end="7" type="bool"/>
282701e04c3fSmrg    <field name="SI Done" start="8" end="8" type="bool"/>
282801e04c3fSmrg    <field name="DG Done" start="9" end="9" type="bool"/>
282901e04c3fSmrg    <field name="FT Done" start="10" end="10" type="bool"/>
283001e04c3fSmrg    <field name="DM Done" start="11" end="11" type="bool"/>
283101e04c3fSmrg    <field name="SC Done" start="12" end="12" type="bool"/>
283201e04c3fSmrg    <field name="FL Done" start="13" end="13" type="bool"/>
283301e04c3fSmrg    <field name="QC Done" start="14" end="14" type="bool"/>
283401e04c3fSmrg    <field name="SVSM Done" start="15" end="15" type="bool"/>
283501e04c3fSmrg    <field name="WMFE Done" start="16" end="16" type="bool"/>
283601e04c3fSmrg    <field name="IZ Done" start="17" end="17" type="bool"/>
283701e04c3fSmrg    <field name="PSD Done" start="18" end="18" type="bool"/>
283801e04c3fSmrg    <field name="DAP Done" start="19" end="19" type="bool"/>
283901e04c3fSmrg    <field name="RCZ Done" start="20" end="20" type="bool"/>
284001e04c3fSmrg    <field name="VDI Done" start="21" end="21" type="bool"/>
284101e04c3fSmrg    <field name="RCPBE Done" start="22" end="22" type="bool"/>
284201e04c3fSmrg    <field name="RCPFE Done" start="23" end="23" type="bool"/>
284301e04c3fSmrg    <field name="MT Done" start="24" end="24" type="bool"/>
284401e04c3fSmrg    <field name="ISC Done" start="25" end="25" type="bool"/>
284501e04c3fSmrg    <field name="SVG Done" start="26" end="26" type="bool"/>
284601e04c3fSmrg    <field name="RCC Done" start="27" end="27" type="bool"/>
284701e04c3fSmrg    <field name="SVRW Done" start="28" end="28" type="bool"/>
284801e04c3fSmrg    <field name="WMBE Done" start="29" end="29" type="bool"/>
284901e04c3fSmrg    <field name="CS Done" start="30" end="30" type="bool"/>
285001e04c3fSmrg    <field name="GAM Done" start="31" end="31" type="bool"/>
285101e04c3fSmrg  </register>
285201e04c3fSmrg
28539f464c52Smaya  <register name="INSTPM" length="1" num="0x20c0">
28549f464c52Smaya    <field name="3D State Instruction Disable" start="1" end="1" type="bool"/>
28559f464c52Smaya    <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/>
28569f464c52Smaya    <field name="Media Instruction Disable" start="3" end="3" type="bool"/>
28579f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/>
28589f464c52Smaya    <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/>
28599f464c52Smaya    <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/>
28609f464c52Smaya    <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/>
28619f464c52Smaya    <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/>
286201e04c3fSmrg  </register>
286301e04c3fSmrg
28649f464c52Smaya  <register name="RCS_FAULT_REG" length="1" num="0x4094">
286501e04c3fSmrg    <field name="Valid Bit" start="0" end="0" type="bool"/>
286601e04c3fSmrg    <field name="Fault Type" start="1" end="2" type="uint">
286701e04c3fSmrg      <value name="Page Fault" value="0"/>
286801e04c3fSmrg      <value name="Invalid PD Fault" value="1"/>
286901e04c3fSmrg      <value name="Unloaded PD Fault" value="2"/>
287001e04c3fSmrg      <value name="Invalid and Unloaded PD fault" value="3"/>
287101e04c3fSmrg    </field>
28729f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
287301e04c3fSmrg    <field name="GTTSEL" start="11" end="11" type="uint">
287401e04c3fSmrg      <value name="PPGTT" value="0"/>
287501e04c3fSmrg      <value name="GGTT" value="1"/>
287601e04c3fSmrg    </field>
287701e04c3fSmrg    <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
287801e04c3fSmrg  </register>
287901e04c3fSmrg
28809f464c52Smaya  <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
28819f464c52Smaya    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
28829f464c52Smaya    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
28839f464c52Smaya      <value name="MI_AUTOREPORT_OFF" value="0"/>
28849f464c52Smaya      <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/>
28859f464c52Smaya      <value name="MI_AUTOREPORT_128KB" value="3"/>
288601e04c3fSmrg    </field>
28879f464c52Smaya    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
28889f464c52Smaya    <field name="RBWait" start="11" end="11" type="bool"/>
28899f464c52Smaya    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
289001e04c3fSmrg  </register>
289101e04c3fSmrg
28927ec681f3Smrg  <register name="RPSTAT1" length="1" num="0xa01c">
28937ec681f3Smrg    <field name="Previous GT Frequency" start="0" end="6" type="uint"/>
28947ec681f3Smrg    <field name="Current GT Frequency" start="7" end="14" type="uint"/>
28957ec681f3Smrg  </register>
28967ec681f3Smrg
289701e04c3fSmrg  <register name="VCS_FAULT_REG" length="1" num="0x4194">
289801e04c3fSmrg    <field name="Valid Bit" start="0" end="0" type="bool"/>
289901e04c3fSmrg    <field name="Fault Type" start="1" end="2" type="uint">
290001e04c3fSmrg      <value name="Page Fault" value="0"/>
290101e04c3fSmrg      <value name="Invalid PD Fault" value="1"/>
290201e04c3fSmrg      <value name="Unloaded PD Fault" value="2"/>
290301e04c3fSmrg      <value name="Invalid and Unloaded PD fault" value="3"/>
290401e04c3fSmrg    </field>
29059f464c52Smaya    <field name="SRCID of Fault" start="3" end="10" type="uint"/>
290601e04c3fSmrg    <field name="GTTSEL" start="11" end="11" type="uint">
290701e04c3fSmrg      <value name="PPGTT" value="0"/>
290801e04c3fSmrg      <value name="GGTT" value="1"/>
290901e04c3fSmrg    </field>
291001e04c3fSmrg    <field name="Virtual Address of Fault" start="12" end="31" type="address"/>
291101e04c3fSmrg  </register>
291201e04c3fSmrg
29139f464c52Smaya  <register name="VCS_INSTDONE" length="1" num="0x1206c">
29149f464c52Smaya    <field name="Ring Enable" start="0" end="0" type="bool"/>
29159f464c52Smaya    <field name="USB Done" start="1" end="1" type="bool"/>
29169f464c52Smaya    <field name="QRC Done" start="2" end="2" type="bool"/>
29179f464c52Smaya    <field name="SEC Done" start="3" end="3" type="bool"/>
29189f464c52Smaya    <field name="MPC Done" start="4" end="4" type="bool"/>
29199f464c52Smaya    <field name="VFT Done" start="5" end="5" type="bool"/>
29209f464c52Smaya    <field name="BSP Done" start="6" end="6" type="bool"/>
29219f464c52Smaya    <field name="VLF Done" start="7" end="7" type="bool"/>
29229f464c52Smaya    <field name="VOP Done" start="8" end="8" type="bool"/>
29239f464c52Smaya    <field name="VMC Done" start="9" end="9" type="bool"/>
29249f464c52Smaya    <field name="VIP Done" start="10" end="10" type="bool"/>
29259f464c52Smaya    <field name="VIT Done" start="11" end="11" type="bool"/>
29269f464c52Smaya    <field name="VDS Done" start="12" end="12" type="bool"/>
29279f464c52Smaya    <field name="VMX Done" start="13" end="13" type="bool"/>
29289f464c52Smaya    <field name="VCP Done" start="14" end="14" type="bool"/>
29299f464c52Smaya    <field name="VCD Done" start="15" end="15" type="bool"/>
29309f464c52Smaya    <field name="VAD Done" start="16" end="16" type="bool"/>
29319f464c52Smaya    <field name="VMD Done" start="17" end="17" type="bool"/>
29329f464c52Smaya    <field name="VIS Done" start="18" end="18" type="bool"/>
29339f464c52Smaya    <field name="VAC Done" start="19" end="19" type="bool"/>
29349f464c52Smaya    <field name="VAM Done" start="20" end="20" type="bool"/>
29359f464c52Smaya    <field name="JPG Done" start="21" end="21" type="bool"/>
29369f464c52Smaya    <field name="VBP Done" start="22" end="22" type="bool"/>
29379f464c52Smaya    <field name="VHR Done" start="23" end="23" type="bool"/>
29389f464c52Smaya    <field name="VCI Done" start="24" end="24" type="bool"/>
29399f464c52Smaya    <field name="VCR Done" start="25" end="25" type="bool"/>
29409f464c52Smaya    <field name="VIN Done" start="26" end="26" type="bool"/>
29419f464c52Smaya    <field name="VPR Done" start="27" end="27" type="bool"/>
29429f464c52Smaya    <field name="VTQ Done" start="28" end="28" type="bool"/>
29439f464c52Smaya    <field name="VCS Done" start="30" end="30" type="bool"/>
29449f464c52Smaya    <field name="GAC Done" start="31" end="31" type="bool"/>
294501e04c3fSmrg  </register>
294601e04c3fSmrg
294701e04c3fSmrg  <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
294801e04c3fSmrg    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
294901e04c3fSmrg    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
295001e04c3fSmrg      <value name="MI_AUTOREPORT_OFF" value="0"/>
295101e04c3fSmrg      <value name="MI_AUTOREPORT_64KB" value="1"/>
295201e04c3fSmrg      <value name="MI_AUTOREPORT_4KB" value="2"/>
295301e04c3fSmrg      <value name="MI_AUTOREPORT_128KB" value="3"/>
295401e04c3fSmrg    </field>
295501e04c3fSmrg    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
295601e04c3fSmrg    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
295701e04c3fSmrg    <field name="RBWait" start="11" end="11" type="bool"/>
295801e04c3fSmrg    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
295901e04c3fSmrg  </register>
296001e04c3fSmrg</genxml>
2961