101e04c3fSmrg<?xml version="1.0" ?>
201e04c3fSmrg<genxml name="ILK" gen="5">
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
11901e04c3fSmrg  <struct name="CC_VIEWPORT" length="2">
12001e04c3fSmrg    <field name="Minimum Depth" start="0" end="31" type="float"/>
12101e04c3fSmrg    <field name="Maximum Depth" start="32" end="63" type="float"/>
12201e04c3fSmrg  </struct>
12301e04c3fSmrg
12401e04c3fSmrg  <struct name="CLIP_STATE" length="11">
12501e04c3fSmrg    <field name="GRF Register Count" start="1" end="3" type="uint"/>
1269f464c52Smaya    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
1279f464c52Smaya    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
1289f464c52Smaya    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
1299f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
13001e04c3fSmrg    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
13101e04c3fSmrg      <value name="IEEE-754" value="0"/>
13201e04c3fSmrg      <value name="Alternate" value="1"/>
13301e04c3fSmrg    </field>
1349f464c52Smaya    <field name="Thread Priority" start="49" end="49" type="uint">
1359f464c52Smaya      <value name="Normal Priority" value="0"/>
1369f464c52Smaya      <value name="High Priority" value="1"/>
1379f464c52Smaya    </field>
1389f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
1399f464c52Smaya    <field name="Single Program Flow" start="63" end="63" type="bool"/>
14001e04c3fSmrg    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
1419f464c52Smaya    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
14201e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
1439f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
1449f464c52Smaya    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
1459f464c52Smaya    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
1469f464c52Smaya    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
14701e04c3fSmrg    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
1489f464c52Smaya    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
1499f464c52Smaya    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
15001e04c3fSmrg    <field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
15101e04c3fSmrg      <value name="NORMAL" value="0"/>
15201e04c3fSmrg      <value name="ALL" value="1"/>
15301e04c3fSmrg      <value name="CLIP_NON_REJECTED" value="2"/>
15401e04c3fSmrg      <value name="REJECT_ALL" value="3"/>
15501e04c3fSmrg      <value name="ACCEPT_ALL" value="4"/>
15601e04c3fSmrg    </field>
1579f464c52Smaya    <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
1589f464c52Smaya    <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
1599f464c52Smaya    <field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
1609f464c52Smaya    <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
1619f464c52Smaya    <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
1629f464c52Smaya    <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
1639f464c52Smaya    <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
1649f464c52Smaya      <value name="NDCSPACE" value="0"/>
1659f464c52Smaya      <value name="SCREENSPACE" value="1"/>
1669f464c52Smaya    </field>
1679f464c52Smaya    <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
1689f464c52Smaya      <value name="OGL" value="0"/>
1699f464c52Smaya      <value name="D3D" value="1"/>
1709f464c52Smaya    </field>
17101e04c3fSmrg    <field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/>
17201e04c3fSmrg    <field name="Screen Space Viewport X Min" start="224" end="255" type="float"/>
17301e04c3fSmrg    <field name="Screen Space Viewport X Max" start="256" end="287" type="float"/>
17401e04c3fSmrg    <field name="Screen Space Viewport Y Min" start="288" end="319" type="float"/>
17501e04c3fSmrg    <field name="Screen Space Viewport Y Max" start="320" end="351" type="float"/>
17601e04c3fSmrg  </struct>
17701e04c3fSmrg
17801e04c3fSmrg  <struct name="CLIP_VIEWPORT" length="4">
17901e04c3fSmrg    <field name="XMin Clip Guardband" start="0" end="31" type="float"/>
18001e04c3fSmrg    <field name="XMax Clip Guardband" start="32" end="63" type="float"/>
18101e04c3fSmrg    <field name="YMin Clip Guardband" start="64" end="95" type="float"/>
18201e04c3fSmrg    <field name="YMax Clip Guardband" start="96" end="127" type="float"/>
18301e04c3fSmrg  </struct>
18401e04c3fSmrg
18501e04c3fSmrg  <struct name="COLOR_CALC_STATE" length="8">
18601e04c3fSmrg    <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
1879f464c52Smaya    <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
1889f464c52Smaya    <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
1899f464c52Smaya    <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
1909f464c52Smaya    <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
1919f464c52Smaya    <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
1929f464c52Smaya    <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
1939f464c52Smaya    <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
1949f464c52Smaya    <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
1959f464c52Smaya    <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
1969f464c52Smaya    <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
19701e04c3fSmrg    <field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/>
1989f464c52Smaya    <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
1999f464c52Smaya    <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
2009f464c52Smaya    <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
20101e04c3fSmrg    <field name="Logic Op Enable" start="64" end="64" type="bool"/>
2029f464c52Smaya    <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
2039f464c52Smaya    <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
2049f464c52Smaya    <field name="Depth Test Enable" start="79" end="79" type="bool"/>
2059f464c52Smaya    <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
2069f464c52Smaya    <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
2079f464c52Smaya    <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
2089f464c52Smaya    <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
2099f464c52Smaya    <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
2109f464c52Smaya    <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
21101e04c3fSmrg    <field name="Alpha Test Format" start="111" end="111" type="uint">
21201e04c3fSmrg      <value name="ALPHATEST_UNORM8" value="0"/>
21301e04c3fSmrg      <value name="ALPHATEST_FLOAT32" value="1"/>
21401e04c3fSmrg    </field>
21501e04c3fSmrg    <field name="CC Viewport State Pointer" start="133" end="159" type="address"/>
21601e04c3fSmrg    <field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/>
2179f464c52Smaya    <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
2189f464c52Smaya    <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
2199f464c52Smaya    <field name="Statistics Enable" start="175" end="175" type="bool"/>
2209f464c52Smaya    <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
2219f464c52Smaya    <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
2229f464c52Smaya    <field name="Color Dither Enable" start="191" end="191" type="bool"/>
2239f464c52Smaya    <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
2249f464c52Smaya    <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
22501e04c3fSmrg    <field name="Color Clamp Range" start="194" end="195" type="uint">
22601e04c3fSmrg      <value name="COLORCLAMP_UNORM" value="0"/>
22701e04c3fSmrg      <value name="COLORCLAMP_SNORM" value="1"/>
22801e04c3fSmrg      <value name="COLORCLAMP_RTFORMAT" value="2"/>
22901e04c3fSmrg    </field>
2309f464c52Smaya    <field name="Y Dither Offset" start="207" end="208" type="uint"/>
2319f464c52Smaya    <field name="X Dither Offset" start="209" end="210" type="uint"/>
2329f464c52Smaya    <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
2339f464c52Smaya    <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
2349f464c52Smaya    <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
23501e04c3fSmrg    <field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/>
23601e04c3fSmrg    <field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/>
23701e04c3fSmrg  </struct>
23801e04c3fSmrg
23901e04c3fSmrg  <struct name="GS_STATE" length="7">
24001e04c3fSmrg    <field name="GRF Register Count" start="1" end="3" type="uint"/>
2419f464c52Smaya    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
2429f464c52Smaya    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
2439f464c52Smaya    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
2449f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
24501e04c3fSmrg    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
24601e04c3fSmrg      <value name="IEEE-754" value="0"/>
24701e04c3fSmrg      <value name="Alternate" value="1"/>
24801e04c3fSmrg    </field>
2499f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
2509f464c52Smaya    <field name="Single Program Flow" start="63" end="63" type="bool"/>
25101e04c3fSmrg    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
2529f464c52Smaya    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
25301e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
2549f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
2559f464c52Smaya    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
2569f464c52Smaya    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
2579f464c52Smaya    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
25801e04c3fSmrg    <field name="Rendering Enabled" start="136" end="136" type="bool"/>
2599f464c52Smaya    <field name="SO Statistics Enable" start="137" end="137" type="bool"/>
2609f464c52Smaya    <field name="GS Statistics Enable" start="138" end="138" type="bool"/>
2619f464c52Smaya    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
2629f464c52Smaya    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
2639f464c52Smaya    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
26401e04c3fSmrg    <field name="Sampler Count" start="160" end="162" type="uint"/>
2659f464c52Smaya    <field name="Sampler State Pointer" start="165" end="191" type="address"/>
26601e04c3fSmrg    <field name="Maximum VPIndex" start="192" end="195" type="uint"/>
2679f464c52Smaya    <field name="Reorder Enable" start="222" end="222" type="bool"/>
26801e04c3fSmrg  </struct>
26901e04c3fSmrg
27001e04c3fSmrg  <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
27101e04c3fSmrg    <field name="Cacheability Control" start="0" end="1" type="uint"/>
2729f464c52Smaya    <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
2739f464c52Smaya    <field name="Encrypted Data" start="3" end="3" type="bool"/>
2749f464c52Smaya  </struct>
2759f464c52Smaya
2769f464c52Smaya  <struct name="RENDER_SURFACE_STATE" length="6">
2779f464c52Smaya    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
2789f464c52Smaya    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
2799f464c52Smaya    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
2809f464c52Smaya    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
2819f464c52Smaya    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
2829f464c52Smaya    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
2839f464c52Smaya    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
2849f464c52Smaya      <value name="NORMAL_MODE" value="0"/>
2859f464c52Smaya    </field>
2869f464c52Smaya    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
2879f464c52Smaya      <value name="WRITE_ONLY" value="0"/>
2889f464c52Smaya      <value name="READ_WRITE" value="1"/>
2899f464c52Smaya    </field>
2909f464c52Smaya    <field name="Cube Map Corner Mode" start="9" end="9" type="uint">
2919f464c52Smaya      <value name="CUBE_REPLICATE" value="0"/>
2929f464c52Smaya      <value name="CUBE_AVERAGE" value="1"/>
2939f464c52Smaya    </field>
2949f464c52Smaya    <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
2959f464c52Smaya      <value name="MIPLAYOUT_BELOW" value="0"/>
2969f464c52Smaya      <value name="MIPLAYOUT_RIGHT" value="1"/>
2979f464c52Smaya    </field>
2989f464c52Smaya    <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
2999f464c52Smaya    <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
3009f464c52Smaya    <field name="Color Blend Enable" start="13" end="13" type="bool"/>
3019f464c52Smaya    <field name="Color Buffer Component Write Disables" start="14" end="17" type="uint">
3029f464c52Smaya      <value name="WRITEDISABLE_ALPHA" value="8"/>
3039f464c52Smaya      <value name="WRITEDISABLE_RED" value="4"/>
3049f464c52Smaya      <value name="WRITEDISABLE_GREEN" value="2"/>
3059f464c52Smaya      <value name="WRITEDISABLE_BLUE" value="1"/>
3069f464c52Smaya    </field>
3079f464c52Smaya    <field name="Surface Format" start="18" end="26" type="uint"/>
3089f464c52Smaya    <field name="Data Return Format" start="27" end="27" type="uint">
3099f464c52Smaya      <value name="DATA_RETURN_FLOAT32" value="0"/>
3109f464c52Smaya      <value name="DATA_RETURN_S1.14" value="1"/>
3119f464c52Smaya    </field>
3129f464c52Smaya    <field name="Surface Type" start="29" end="31" type="uint">
3139f464c52Smaya      <value name="SURFTYPE_1D" value="0"/>
3149f464c52Smaya      <value name="SURFTYPE_2D" value="1"/>
3159f464c52Smaya      <value name="SURFTYPE_3D" value="2"/>
3169f464c52Smaya      <value name="SURFTYPE_CUBE" value="3"/>
3179f464c52Smaya      <value name="SURFTYPE_BUFFER" value="4"/>
3189f464c52Smaya      <value name="SURFTYPE_NULL" value="7"/>
3199f464c52Smaya    </field>
3209f464c52Smaya    <field name="Surface Base Address" start="32" end="63" type="address"/>
3219f464c52Smaya    <field name="Render Target Rotation" start="64" end="65" type="uint">
3229f464c52Smaya      <value name="RTROTATE_0DEG" value="0"/>
3239f464c52Smaya      <value name="RTROTATE_90DEG" value="1"/>
3249f464c52Smaya      <value name="RTROTATE_270DEG" value="3"/>
3259f464c52Smaya    </field>
3269f464c52Smaya    <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
3279f464c52Smaya    <field name="Width" start="70" end="82" type="uint"/>
3289f464c52Smaya    <field name="Height" start="83" end="95" type="uint"/>
3299f464c52Smaya    <field name="Tile Walk" start="96" end="96" type="uint">
3309f464c52Smaya      <value name="TILEWALK_XMAJOR" value="0"/>
3319f464c52Smaya      <value name="TILEWALK_YMAJOR" value="1"/>
3329f464c52Smaya    </field>
3339f464c52Smaya    <field name="Tiled Surface" start="97" end="97" type="uint"/>
3349f464c52Smaya    <field name="Surface Pitch" start="99" end="115" type="uint"/>
3359f464c52Smaya    <field name="Depth" start="117" end="127" type="uint"/>
3369f464c52Smaya    <field name="Render Target View Extent" start="136" end="144" type="uint"/>
3379f464c52Smaya    <field name="Minimum Array Element" start="145" end="155" type="uint"/>
3389f464c52Smaya    <field name="Surface Min LOD" start="156" end="159" type="uint"/>
3399f464c52Smaya    <field name="Y Offset" start="180" end="183" type="uint"/>
3409f464c52Smaya    <field name="X Offset" start="185" end="191" type="uint"/>
34101e04c3fSmrg  </struct>
34201e04c3fSmrg
34301e04c3fSmrg  <struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
34401e04c3fSmrg    <field name="Border Color Unorm Red" start="0" end="7" type="uint"/>
34501e04c3fSmrg    <field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
34601e04c3fSmrg    <field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
34701e04c3fSmrg    <field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
34801e04c3fSmrg    <field name="Border Color Float Red" start="32" end="63" type="float"/>
34901e04c3fSmrg    <field name="Border Color Float Green" start="64" end="95" type="float"/>
35001e04c3fSmrg    <field name="Border Color Float Blue" start="96" end="127" type="float"/>
35101e04c3fSmrg    <field name="Border Color Float Alpha" start="128" end="159" type="float"/>
35201e04c3fSmrg    <field name="Border Color Float16 Red" start="160" end="175" type="uint"/>
35301e04c3fSmrg    <field name="Border Color Float16 Green" start="176" end="191" type="uint"/>
35401e04c3fSmrg    <field name="Border Color Float16 Blue" start="192" end="207" type="uint"/>
35501e04c3fSmrg    <field name="Border Color Float16 Alpha" start="208" end="223" type="uint"/>
35601e04c3fSmrg    <field name="Border Color Unorm16 Red" start="224" end="239" type="uint"/>
35701e04c3fSmrg    <field name="Border Color Unorm16 Green" start="240" end="255" type="uint"/>
35801e04c3fSmrg    <field name="Border Color Unorm16 Blue" start="256" end="271" type="uint"/>
35901e04c3fSmrg    <field name="Border Color Unorm16 Alpha" start="272" end="287" type="uint"/>
36001e04c3fSmrg    <field name="Border Color Snorm16 Red" start="288" end="303" type="int"/>
36101e04c3fSmrg    <field name="Border Color Snorm16 Green" start="304" end="319" type="int"/>
36201e04c3fSmrg    <field name="Border Color Snorm16 Blue" start="320" end="335" type="int"/>
36301e04c3fSmrg    <field name="Border Color Snorm16 Alpha" start="336" end="351" type="int"/>
36401e04c3fSmrg    <field name="Border Color Snorm8 Red" start="352" end="359" type="int"/>
36501e04c3fSmrg    <field name="Border Color Snorm8 Green" start="360" end="367" type="int"/>
36601e04c3fSmrg    <field name="Border Color Snorm8 Blue" start="368" end="375" type="int"/>
36701e04c3fSmrg    <field name="Border Color Snorm8 Alpha" start="376" end="383" type="int"/>
36801e04c3fSmrg  </struct>
36901e04c3fSmrg
37001e04c3fSmrg  <struct name="SAMPLER_STATE" length="4">
3717ec681f3Smrg    <field name="Shadow Function" start="0" end="2" type="uint" prefix="PREFILTEROP">
3727ec681f3Smrg      <value name="ALWAYS" value="0"/>
3737ec681f3Smrg      <value name="NEVER" value="1"/>
3747ec681f3Smrg      <value name="LESS" value="2"/>
3757ec681f3Smrg      <value name="EQUAL" value="3"/>
3767ec681f3Smrg      <value name="LEQUAL" value="4"/>
3777ec681f3Smrg      <value name="GREATER" value="5"/>
3787ec681f3Smrg      <value name="NOTEQUAL" value="6"/>
3797ec681f3Smrg      <value name="GEQUAL" value="7"/>
38001e04c3fSmrg    </field>
3819f464c52Smaya    <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
3829f464c52Smaya    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
3839f464c52Smaya    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
3849f464c52Smaya      <value name="NEAREST" value="0"/>
3859f464c52Smaya      <value name="LINEAR" value="1"/>
3869f464c52Smaya      <value name="ANISOTROPIC" value="2"/>
3879f464c52Smaya      <value name="MONO" value="6"/>
3889f464c52Smaya    </field>
3899f464c52Smaya    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
3909f464c52Smaya      <value name="NONE" value="0"/>
3919f464c52Smaya      <value name="NEAREST" value="1"/>
3929f464c52Smaya      <value name="LINEAR" value="3"/>
3939f464c52Smaya    </field>
3949f464c52Smaya    <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
3959f464c52Smaya    <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
3969f464c52Smaya    <field name="Sampler Disable" start="31" end="31" type="bool"/>
3979f464c52Smaya    <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
3989f464c52Smaya    <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
3999f464c52Smaya    <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
40001e04c3fSmrg    <field name="Cube Surface Control Mode" start="41" end="41" type="uint">
40101e04c3fSmrg      <value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
40201e04c3fSmrg      <value name="CUBECTRLMODE_OVERRIDE" value="1"/>
40301e04c3fSmrg    </field>
4049f464c52Smaya    <field name="Max LOD" start="44" end="53" type="u4.6"/>
4059f464c52Smaya    <field name="Min LOD" start="54" end="63" type="u4.6"/>
40601e04c3fSmrg    <field name="Border Color Pointer" start="69" end="95" type="address"/>
4079f464c52Smaya    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
4089f464c52Smaya    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
4099f464c52Smaya    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
4109f464c52Smaya    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
4119f464c52Smaya    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
4129f464c52Smaya    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
41301e04c3fSmrg    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
41401e04c3fSmrg      <value name="RATIO 2:1" value="0"/>
41501e04c3fSmrg      <value name="RATIO 4:1" value="1"/>
41601e04c3fSmrg      <value name="RATIO 6:1" value="2"/>
41701e04c3fSmrg      <value name="RATIO 8:1" value="3"/>
41801e04c3fSmrg      <value name="RATIO 10:1" value="4"/>
41901e04c3fSmrg      <value name="RATIO 12:1" value="5"/>
42001e04c3fSmrg      <value name="RATIO 14:1" value="6"/>
42101e04c3fSmrg      <value name="RATIO 16:1" value="7"/>
42201e04c3fSmrg    </field>
4239f464c52Smaya    <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
4249f464c52Smaya      <value name="KILL_ON_ANY_MATCH" value="0"/>
4259f464c52Smaya      <value name="REPLACE_BLACK" value="1"/>
42601e04c3fSmrg    </field>
4279f464c52Smaya    <field name="ChromaKey Index" start="119" end="120" type="uint"/>
4289f464c52Smaya    <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
4299f464c52Smaya    <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
4309f464c52Smaya    <field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
43101e04c3fSmrg  </struct>
43201e04c3fSmrg
4339f464c52Smaya  <struct name="SCISSOR_RECT" length="2">
4349f464c52Smaya    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
4359f464c52Smaya    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
4369f464c52Smaya    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
4379f464c52Smaya    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
4389f464c52Smaya  </struct>
43901e04c3fSmrg
44001e04c3fSmrg  <struct name="SF_STATE" length="8">
44101e04c3fSmrg    <field name="GRF Register Count" start="1" end="3" type="uint"/>
4429f464c52Smaya    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
4439f464c52Smaya    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
4449f464c52Smaya    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
4459f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
44601e04c3fSmrg    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
44701e04c3fSmrg      <value name="IEEE-754" value="0"/>
44801e04c3fSmrg      <value name="Alternate" value="1"/>
44901e04c3fSmrg    </field>
4509f464c52Smaya    <field name="Thread Priority" start="49" end="49" type="uint">
4519f464c52Smaya      <value name="Normal Priority" value="0"/>
4529f464c52Smaya      <value name="High Priority" value="1"/>
4539f464c52Smaya    </field>
4549f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
4559f464c52Smaya    <field name="Single Program Flow" start="63" end="63" type="bool"/>
45601e04c3fSmrg    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
4579f464c52Smaya    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
45801e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
4599f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
4609f464c52Smaya    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
4619f464c52Smaya    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
4629f464c52Smaya    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
46301e04c3fSmrg    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
4649f464c52Smaya    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
4659f464c52Smaya    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
46601e04c3fSmrg    <field name="Front Winding" start="160" end="160" type="uint">
46701e04c3fSmrg      <value name="FRONTWINDING_CW" value="0"/>
46801e04c3fSmrg      <value name="FRONTWINDING_CCW" value="1"/>
46901e04c3fSmrg    </field>
4709f464c52Smaya    <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
4719f464c52Smaya    <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
4729f464c52Smaya    <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
4739f464c52Smaya    <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
4749f464c52Smaya    <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
4759f464c52Smaya    <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
4769f464c52Smaya    <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
4779f464c52Smaya    <field name="Point Rasterization Rule" start="212" end="213" type="uint">
4789f464c52Smaya      <value name="RASTRULE_UPPER_LEFT" value="0"/>
4799f464c52Smaya      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
48001e04c3fSmrg    </field>
48101e04c3fSmrg    <field name="Line End Cap Antialiasing Region Width" start="214" end="215" type="uint">
48201e04c3fSmrg      <value name="0.5 pixels" value="0"/>
48301e04c3fSmrg      <value name="1.0 pixels" value="1"/>
48401e04c3fSmrg      <value name="2.0 pixels" value="2"/>
48501e04c3fSmrg      <value name="4.0 pixels" value="3"/>
48601e04c3fSmrg    </field>
4879f464c52Smaya    <field name="Line Width" start="216" end="219" type="u3.1"/>
4889f464c52Smaya    <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
4899f464c52Smaya    <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
4909f464c52Smaya      <value name="BOTH" value="0"/>
4919f464c52Smaya      <value name="NONE" value="1"/>
4929f464c52Smaya      <value name="FRONT" value="2"/>
4939f464c52Smaya      <value name="BACK" value="3"/>
49401e04c3fSmrg    </field>
4957ec681f3Smrg    <field name="Antialiasing Enable" start="223" end="223" type="bool"/>
4969f464c52Smaya    <field name="Point Width" start="224" end="234" type="u8.3"/>
4979f464c52Smaya    <field name="Point Width Source" start="235" end="235" type="uint">
4989f464c52Smaya      <value name="Vertex" value="0"/>
4999f464c52Smaya      <value name="State" value="1"/>
5009f464c52Smaya    </field>
5019f464c52Smaya    <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
5029f464c52Smaya      <value name="8 Sub-Pixel Precision Bits" value="0"/>
5039f464c52Smaya      <value name="4 Sub-Pixel Precision Bits" value="1"/>
5049f464c52Smaya    </field>
5059f464c52Smaya    <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
5069f464c52Smaya    <field name="AA Line Distance Mode" start="238" end="238" type="uint" prefix="AALINEDISTANCE">
5079f464c52Smaya      <value name="MANHATTAN" value="0"/>
5089f464c52Smaya      <value name="TRUE" value="1"/>
5099f464c52Smaya    </field>
5109f464c52Smaya    <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
51101e04c3fSmrg      <value name="Vertex 0" value="0"/>
51201e04c3fSmrg      <value name="Vertex 1" value="1"/>
51301e04c3fSmrg      <value name="Vertex 2" value="2"/>
51401e04c3fSmrg    </field>
51501e04c3fSmrg    <field name="Line Strip/List Provoking Vertex Select" start="251" end="252" type="uint">
51601e04c3fSmrg      <value name="Vertex 0" value="0"/>
51701e04c3fSmrg      <value name="Vertex 1" value="1"/>
51801e04c3fSmrg    </field>
5199f464c52Smaya    <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
52001e04c3fSmrg      <value name="Vertex 0" value="0"/>
52101e04c3fSmrg      <value name="Vertex 1" value="1"/>
52201e04c3fSmrg      <value name="Vertex 2" value="2"/>
52301e04c3fSmrg    </field>
5249f464c52Smaya    <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
52501e04c3fSmrg  </struct>
52601e04c3fSmrg
52701e04c3fSmrg  <struct name="SF_VIEWPORT" length="8">
52801e04c3fSmrg    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
52901e04c3fSmrg    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
53001e04c3fSmrg    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
53101e04c3fSmrg    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
53201e04c3fSmrg    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
53301e04c3fSmrg    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
53401e04c3fSmrg    <field name="Scissor Rectangle" start="192" end="255" type="SCISSOR_RECT"/>
53501e04c3fSmrg  </struct>
53601e04c3fSmrg
53701e04c3fSmrg  <struct name="VERTEX_BUFFER_STATE" length="4">
5389f464c52Smaya    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
5399f464c52Smaya    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
54001e04c3fSmrg    <field name="Buffer Access Type" start="26" end="26" type="uint">
54101e04c3fSmrg      <value name="VERTEXDATA" value="0"/>
54201e04c3fSmrg      <value name="INSTANCEDATA" value="1"/>
54301e04c3fSmrg    </field>
5449f464c52Smaya    <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
54501e04c3fSmrg    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
54601e04c3fSmrg    <field name="End Address" start="64" end="95" type="address"/>
54701e04c3fSmrg    <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
54801e04c3fSmrg  </struct>
54901e04c3fSmrg
55001e04c3fSmrg  <struct name="VERTEX_ELEMENT_STATE" length="2">
55101e04c3fSmrg    <field name="Source Element Offset" start="0" end="10" type="uint"/>
5529f464c52Smaya    <field name="Source Element Format" start="16" end="24" type="uint"/>
5539f464c52Smaya    <field name="Valid" start="26" end="26" type="bool"/>
5549f464c52Smaya    <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
55501e04c3fSmrg    <field name="Destination Element Offset" start="32" end="39" type="uint"/>
55601e04c3fSmrg    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
5579f464c52Smaya    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
5589f464c52Smaya    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
5599f464c52Smaya    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
56001e04c3fSmrg  </struct>
56101e04c3fSmrg
56201e04c3fSmrg  <struct name="VS_STATE" length="7">
56301e04c3fSmrg    <field name="GRF Register Count" start="1" end="3" type="uint"/>
5649f464c52Smaya    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
5659f464c52Smaya    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
5669f464c52Smaya    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
5679f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
56801e04c3fSmrg    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
56901e04c3fSmrg      <value name="IEEE-754" value="0"/>
57001e04c3fSmrg      <value name="Alternate" value="1"/>
57101e04c3fSmrg    </field>
5729f464c52Smaya    <field name="Thread Priority" start="49" end="49" type="uint">
5739f464c52Smaya      <value name="Normal Priority" value="0"/>
5749f464c52Smaya      <value name="High Priority" value="1"/>
5759f464c52Smaya    </field>
5769f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
5779f464c52Smaya    <field name="Single Program Flow" start="63" end="63" type="bool"/>
57801e04c3fSmrg    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
5799f464c52Smaya    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
58001e04c3fSmrg    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
5819f464c52Smaya    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
5829f464c52Smaya    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
5839f464c52Smaya    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
5849f464c52Smaya    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
58501e04c3fSmrg    <field name="Statistics Enable" start="138" end="138" type="bool"/>
5869f464c52Smaya    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
5879f464c52Smaya    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
5889f464c52Smaya    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
58901e04c3fSmrg    <field name="Sampler Count" start="160" end="162" type="uint"/>
5909f464c52Smaya    <field name="Sampler State Pointer" start="165" end="191" type="address"/>
59101e04c3fSmrg    <field name="Enable" start="192" end="192" type="bool"/>
5929f464c52Smaya    <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
59301e04c3fSmrg  </struct>
59401e04c3fSmrg
59501e04c3fSmrg  <struct name="WM_STATE" length="11">
59601e04c3fSmrg    <field name="GRF Register Count 0" start="1" end="3" type="uint"/>
5979f464c52Smaya    <field name="Kernel Start Pointer 0" start="6" end="31" type="offset"/>
5989f464c52Smaya    <field name="Software Exception Enable" start="33" end="33" type="bool"/>
5999f464c52Smaya    <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
6009f464c52Smaya    <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
6019f464c52Smaya    <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
60201e04c3fSmrg    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
60301e04c3fSmrg      <value name="IEEE-754" value="0"/>
60401e04c3fSmrg      <value name="Alternate" value="1"/>
60501e04c3fSmrg    </field>
6069f464c52Smaya    <field name="Thread Priority" start="49" end="49" type="uint">
6079f464c52Smaya      <value name="High" value="1"/>
6089f464c52Smaya    </field>
6099f464c52Smaya    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
6109f464c52Smaya    <field name="Single Program Flow" start="63" end="63" type="bool"/>
61101e04c3fSmrg    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
6129f464c52Smaya    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
61301e04c3fSmrg    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
6149f464c52Smaya    <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
6159f464c52Smaya    <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
6169f464c52Smaya    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
6179f464c52Smaya    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
61801e04c3fSmrg    <field name="Statistics Enable" start="128" end="128" type="bool"/>
6199f464c52Smaya    <field name="Sampler Count" start="130" end="132" type="uint"/>
6209f464c52Smaya    <field name="Sampler State Pointer" start="133" end="159" type="address"/>
6219f464c52Smaya    <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
6229f464c52Smaya    <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
6239f464c52Smaya    <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
6249f464c52Smaya    <field name="Contiguous 32 Pixel Dispatch Enable" start="163" end="163" type="bool"/>
6259f464c52Smaya    <field name="Contiguous 64 Pixel Dispatch Enable" start="164" end="164" type="bool"/>
6269f464c52Smaya    <field name="Fast Span Coverage Enable" start="166" end="166" type="bool"/>
6279f464c52Smaya    <field name="Depth Buffer Clear" start="167" end="167" type="bool"/>
6289f464c52Smaya    <field name="Depth Buffer Resolve Enable" start="168" end="168" type="bool"/>
6299f464c52Smaya    <field name="Hierarchical Depth Buffer Resolve Enable" start="169" end="169" type="bool"/>
6309f464c52Smaya    <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
6319f464c52Smaya    <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
6329f464c52Smaya    <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
6339f464c52Smaya    <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
6349f464c52Smaya    <field name="Line Antialiasing Region Width" start="174" end="175" type="uint">
63501e04c3fSmrg      <value name="0.5 pixels" value="0"/>
63601e04c3fSmrg      <value name="1.0 pixels" value="1"/>
63701e04c3fSmrg      <value name="2.0 pixels" value="2"/>
63801e04c3fSmrg      <value name="4.0 pixels" value="3"/>
63901e04c3fSmrg    </field>
6409f464c52Smaya    <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
64101e04c3fSmrg      <value name="0.5 pixels" value="0"/>
64201e04c3fSmrg      <value name="1.0 pixels" value="1"/>
64301e04c3fSmrg      <value name="2.0 pixels" value="2"/>
64401e04c3fSmrg      <value name="4.0 pixels" value="3"/>
64501e04c3fSmrg    </field>
6469f464c52Smaya    <field name="Early Depth Test Enable" start="178" end="178" type="bool"/>
6479f464c52Smaya    <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
6489f464c52Smaya    <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
6499f464c52Smaya    <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
6509f464c52Smaya    <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
6519f464c52Smaya    <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
6529f464c52Smaya    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
65301e04c3fSmrg    <field name="Global Depth Offset Constant" start="192" end="223" type="float"/>
65401e04c3fSmrg    <field name="Global Depth Offset Scale" start="224" end="255" type="float"/>
65501e04c3fSmrg    <field name="GRF Register Count 1" start="257" end="259" type="uint"/>
6569f464c52Smaya    <field name="Kernel Start Pointer 1" start="262" end="287" type="offset"/>
65701e04c3fSmrg    <field name="GRF Register Count 2" start="289" end="291" type="uint"/>
6589f464c52Smaya    <field name="Kernel Start Pointer 2" start="294" end="319" type="offset"/>
65901e04c3fSmrg    <field name="GRF Register Count 3" start="321" end="323" type="uint"/>
6609f464c52Smaya    <field name="Kernel Start Pointer 3" start="326" end="351" type="offset"/>
66101e04c3fSmrg  </struct>
66201e04c3fSmrg
6639f464c52Smaya  <instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
6649f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
6659f464c52Smaya    <field name="Indirect Vertex Count" start="9" end="9" type="uint"/>
6669f464c52Smaya    <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
66701e04c3fSmrg    <field name="Vertex Access Type" start="15" end="15" type="uint">
66801e04c3fSmrg      <value name="SEQUENTIAL" value="0"/>
66901e04c3fSmrg      <value name="RANDOM" value="1"/>
67001e04c3fSmrg    </field>
6719f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
6729f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
6739f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
67501e04c3fSmrg    <field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
67601e04c3fSmrg    <field name="Start Vertex Location" start="64" end="95" type="uint"/>
67701e04c3fSmrg    <field name="Instance Count" start="96" end="127" type="uint"/>
67801e04c3fSmrg    <field name="Start Instance Location" start="128" end="159" type="uint"/>
67901e04c3fSmrg    <field name="Base Vertex Location" start="160" end="191" type="int"/>
68001e04c3fSmrg  </instruction>
68101e04c3fSmrg
6829f464c52Smaya  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
68301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
6849f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
6859f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
6869f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6879f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
68801e04c3fSmrg    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
6899f464c52Smaya    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
69001e04c3fSmrg    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
6919f464c52Smaya    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
69201e04c3fSmrg  </instruction>
69301e04c3fSmrg
6949f464c52Smaya  <instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6" engine="render">
69501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
6969f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
6979f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
6989f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
6999f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
70001e04c3fSmrg    <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
70101e04c3fSmrg    <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
70201e04c3fSmrg    <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
70301e04c3fSmrg    <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/>
70401e04c3fSmrg    <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/>
70501e04c3fSmrg  </instruction>
70601e04c3fSmrg
7079f464c52Smaya  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="2" engine="render">
70801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
7099f464c52Smaya    <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
7109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
7119f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
71401e04c3fSmrg    <field name="Depth Clear Value" start="32" end="63" type="uint"/>
71501e04c3fSmrg  </instruction>
71601e04c3fSmrg
7179f464c52Smaya  <instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5" engine="render">
71801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
7199f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
7209f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7219f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7229f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
72301e04c3fSmrg    <field name="Blend Constant Color Red" start="32" end="63" type="float"/>
72401e04c3fSmrg    <field name="Blend Constant Color Green" start="64" end="95" type="float"/>
72501e04c3fSmrg    <field name="Blend Constant Color Blue" start="96" end="127" type="float"/>
72601e04c3fSmrg    <field name="Blend Constant Color Alpha" start="128" end="159" type="float"/>
72701e04c3fSmrg  </instruction>
72801e04c3fSmrg
7299f464c52Smaya  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="6" engine="render">
7309f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
7319f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
73201e04c3fSmrg    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7339f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7349f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
7359f464c52Smaya    <field name="Surface Pitch" start="32" end="48" type="uint"/>
7369f464c52Smaya    <field name="Surface Format" start="50" end="52" type="uint">
7379f464c52Smaya      <value name="D32_FLOAT_S8X24_UINT" value="0"/>
7389f464c52Smaya      <value name="D32_FLOAT" value="1"/>
7399f464c52Smaya      <value name="D24_UNORM_S8_UINT" value="2"/>
7409f464c52Smaya      <value name="D24_UNORM_X8_UINT" value="3"/>
7419f464c52Smaya      <value name="D16_UNORM" value="5"/>
7429f464c52Smaya    </field>
7439f464c52Smaya    <field name="Separate Stencil Buffer Enable" start="53" end="53" type="bool"/>
7449f464c52Smaya    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
7459f464c52Smaya    <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
7469f464c52Smaya      <value name="NORMAL" value="0"/>
7479f464c52Smaya      <value name="STR1" value="1"/>
7489f464c52Smaya      <value name="STR2" value="3"/>
7499f464c52Smaya    </field>
7509f464c52Smaya    <field name="Tile Walk" start="58" end="58" type="uint">
7519f464c52Smaya      <value name="TILEWALK_YMAJOR" value="1"/>
7529f464c52Smaya    </field>
7539f464c52Smaya    <field name="Tiled Surface" start="59" end="59" type="bool"/>
7549f464c52Smaya    <field name="Surface Type" start="61" end="63" type="uint">
7559f464c52Smaya      <value name="SURFTYPE_1D" value="0"/>
7569f464c52Smaya      <value name="SURFTYPE_2D" value="1"/>
7579f464c52Smaya      <value name="SURFTYPE_3D" value="2"/>
7589f464c52Smaya      <value name="SURFTYPE_CUBE" value="3"/>
7599f464c52Smaya      <value name="SURFTYPE_NULL" value="7"/>
7609f464c52Smaya    </field>
7619f464c52Smaya    <field name="Surface Base Address" start="64" end="95" type="address"/>
7629f464c52Smaya    <field name="MIP Map Layout Mode" start="97" end="97" type="uint">
7639f464c52Smaya      <value name="MIPLAYOUT_BELOW" value="0"/>
7649f464c52Smaya      <value name="MIPLAYOUT_RIGHT" value="1"/>
7659f464c52Smaya    </field>
7669f464c52Smaya    <field name="LOD" start="98" end="101" type="uint"/>
7679f464c52Smaya    <field name="Width" start="102" end="114" type="uint"/>
7689f464c52Smaya    <field name="Height" start="115" end="127" type="uint"/>
7699f464c52Smaya    <field name="Render Target View Extent" start="129" end="137" type="uint"/>
7709f464c52Smaya    <field name="Minimum Array Element" start="138" end="148" type="uint"/>
7719f464c52Smaya    <field name="Depth" start="149" end="159" type="uint"/>
7729f464c52Smaya    <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
7739f464c52Smaya    <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
7749f464c52Smaya  </instruction>
7759f464c52Smaya
7769f464c52Smaya  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
77701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
7789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
7799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
78201e04c3fSmrg    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
7839f464c52Smaya    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
78401e04c3fSmrg    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
7859f464c52Smaya    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
78601e04c3fSmrg    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
7879f464c52Smaya    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
78801e04c3fSmrg  </instruction>
78901e04c3fSmrg
7909f464c52Smaya  <instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2" engine="render">
79101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
7929f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
7939f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
7949f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
7959f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
79601e04c3fSmrg    <field name="Global Depth Offset Clamp" start="32" end="63" type="float"/>
79701e04c3fSmrg  </instruction>
79801e04c3fSmrg
7999f464c52Smaya  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
80001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
8019f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
8029f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8039f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8049f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
80501e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
80601e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
80701e04c3fSmrg  </instruction>
80801e04c3fSmrg
8099f464c52Smaya  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
8109f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
81101e04c3fSmrg    <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
81201e04c3fSmrg      <value name="BYTE" value="0"/>
81301e04c3fSmrg      <value name="WORD" value="1"/>
81401e04c3fSmrg      <value name="DWORD" value="2"/>
81501e04c3fSmrg    </field>
8169f464c52Smaya    <field name="Cut Index Enable" start="10" end="10" type="bool"/>
8179f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
8189f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8199f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8209f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
82101e04c3fSmrg    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
82201e04c3fSmrg    <field name="Buffer Ending Address" start="64" end="95" type="address"/>
82301e04c3fSmrg  </instruction>
82401e04c3fSmrg
8259f464c52Smaya  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
82601e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
8279f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
8289f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8299f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8309f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
83101e04c3fSmrg    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
8329f464c52Smaya    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
8339f464c52Smaya    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
8349f464c52Smaya    <field name="Modify Enable" start="63" end="63" type="bool"/>
83501e04c3fSmrg    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
8369f464c52Smaya    <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
83701e04c3fSmrg  </instruction>
83801e04c3fSmrg
8399f464c52Smaya  <instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7" engine="render">
8409f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
8419f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
8429f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
84301e04c3fSmrg    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
84401e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
84501e04c3fSmrg    <field name="Pointer to VS State" start="37" end="63" type="address"/>
84601e04c3fSmrg    <field name="GS Enable" start="64" end="64" type="bool"/>
8479f464c52Smaya    <field name="Pointer to GS State" start="69" end="95" type="address"/>
84801e04c3fSmrg    <field name="Clip Enable" start="96" end="96" type="bool"/>
8499f464c52Smaya    <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
85001e04c3fSmrg    <field name="Pointer to SF State" start="133" end="159" type="address"/>
85101e04c3fSmrg    <field name="Pointer to WM State" start="165" end="191" type="address"/>
85201e04c3fSmrg    <field name="Pointer to Color Calc State" start="197" end="223" type="address"/>
85301e04c3fSmrg  </instruction>
85401e04c3fSmrg
8559f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
8569f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
8579f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
8589f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
85901e04c3fSmrg    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8609f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
8619f464c52Smaya    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
8629f464c52Smaya    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
8639f464c52Smaya  </instruction>
8649f464c52Smaya
8659f464c52Smaya  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
8669f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
8679f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
86801e04c3fSmrg    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8699f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8709f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
8719f464c52Smaya    <group count="32" start="32" size="32">
8729f464c52Smaya      <field name="Pattern Row" start="0" end="31" type="uint"/>
8739f464c52Smaya    </group>
8749f464c52Smaya  </instruction>
8759f464c52Smaya
8769f464c52Smaya  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
87701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
8789f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
8799f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
8809f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8819f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
88201e04c3fSmrg    <field name="Surface Pitch" start="32" end="48" type="uint"/>
88301e04c3fSmrg    <field name="Surface Base Address" start="64" end="95" type="address"/>
88401e04c3fSmrg  </instruction>
88501e04c3fSmrg
8869f464c52Smaya  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
88701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
8889f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
8899f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
8909f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
8919f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
89201e04c3fSmrg    <group count="0" start="32" size="128">
89301e04c3fSmrg      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
89401e04c3fSmrg    </group>
89501e04c3fSmrg  </instruction>
89601e04c3fSmrg
8979f464c52Smaya  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
89801e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
8999f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
9009f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9019f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
9029f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
90301e04c3fSmrg    <group count="0" start="32" size="64">
90401e04c3fSmrg      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
90501e04c3fSmrg    </group>
90601e04c3fSmrg  </instruction>
90701e04c3fSmrg
9089f464c52Smaya  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
90901e04c3fSmrg    <field name="Statistics Enable" start="0" end="0" type="bool"/>
9109f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
91101e04c3fSmrg    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9129f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
9139f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
91401e04c3fSmrg  </instruction>
91501e04c3fSmrg
9169f464c52Smaya  <instruction name="CONSTANT_BUFFER" bias="2" length="2" engine="render">
91701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
91801e04c3fSmrg    <field name="Valid" start="8" end="8" type="bool"/>
9199f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
9209f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9219f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
9229f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
92301e04c3fSmrg    <field name="Buffer Length" start="32" end="37" type="uint"/>
9249f464c52Smaya    <field name="Buffer Starting Address" start="38" end="63" type="address"/>
92501e04c3fSmrg  </instruction>
92601e04c3fSmrg
9279f464c52Smaya  <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
9289f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
9299f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
9309f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
9319f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
9329f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
9339f464c52Smaya    <field name="Number of URB Entries" start="32" end="34" type="uint"/>
9349f464c52Smaya    <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
9359f464c52Smaya  </instruction>
9369f464c52Smaya
9379f464c52Smaya  <instruction name="MI_FLUSH" bias="1" length="1" engine="render">
9389f464c52Smaya    <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
9399f464c52Smaya      <value name="Don't Invalidate" value="0"/>
9409f464c52Smaya      <value name="Invalidate" value="1"/>
94101e04c3fSmrg    </field>
94201e04c3fSmrg    <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
94301e04c3fSmrg      <value name="Flush" value="0"/>
94401e04c3fSmrg      <value name="Don't Flush" value="1"/>
94501e04c3fSmrg    </field>
9469f464c52Smaya    <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
9479f464c52Smaya      <value name="Don't Reset" value="0"/>
9489f464c52Smaya      <value name="Reset" value="1"/>
94901e04c3fSmrg    </field>
9509f464c52Smaya    <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
9519f464c52Smaya    <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
9529f464c52Smaya    <field name="Protected Memory Enable" start="6" end="6" type="bool"/>
9539f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
9549f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
95501e04c3fSmrg  </instruction>
95601e04c3fSmrg
95701e04c3fSmrg  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
95801e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="1"/>
9599f464c52Smaya    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
9609f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
9619f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
96201e04c3fSmrg    <field name="Register Offset" start="34" end="63" type="offset"/>
96301e04c3fSmrg    <field name="Data DWord" start="64" end="95" type="uint"/>
96401e04c3fSmrg    <group count="0" start="96" size="64">
96501e04c3fSmrg      <field name="Register Offset" start="2" end="31" type="offset"/>
96601e04c3fSmrg      <field name="Data DWord" start="32" end="63" type="uint"/>
96701e04c3fSmrg    </group>
96801e04c3fSmrg  </instruction>
96901e04c3fSmrg
97001e04c3fSmrg  <instruction name="MI_STORE_DATA_IMM" bias="2" length="5">
97101e04c3fSmrg    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
9729f464c52Smaya    <field name="Memory Address Type" start="22" end="22" type="bool"/>
9739f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
9749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
97501e04c3fSmrg    <field name="Physical Start Address Extension" start="32" end="35" type="address"/>
97601e04c3fSmrg    <field name="Address" start="66" end="95" type="address"/>
9777ec681f3Smrg    <field name="Immediate Data" start="96" end="159" type="uint"/>
97801e04c3fSmrg  </instruction>
97901e04c3fSmrg
98001e04c3fSmrg  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
98101e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
9829f464c52Smaya    <field name="Use Global GTT" start="22" end="22" type="bool"/>
9839f464c52Smaya    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
9849f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
98501e04c3fSmrg    <field name="Register Address" start="34" end="57" type="offset"/>
98601e04c3fSmrg    <field name="Memory Address" start="66" end="95" type="address"/>
98701e04c3fSmrg  </instruction>
98801e04c3fSmrg
9899f464c52Smaya  <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
9909f464c52Smaya    <field name="Pipeline Selection" start="0" end="1" type="uint">
9919f464c52Smaya      <value name="3D" value="0"/>
9929f464c52Smaya      <value name="Media" value="1"/>
9939f464c52Smaya      <value name="GPGPU" value="2"/>
9949f464c52Smaya    </field>
9959f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
9969f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
9979f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
99801e04c3fSmrg    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
9999f464c52Smaya  </instruction>
10009f464c52Smaya
10019f464c52Smaya  <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
100201e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
10039f464c52Smaya    <field name="Notify Enable" start="8" end="8" type="bool"/>
10049f464c52Smaya    <field name="Indirect State Pointers Disable" start="9" end="9" type="bool"/>
10059f464c52Smaya    <field name="Texture Cache Flush Enable" start="10" end="10" type="bool"/>
10069f464c52Smaya    <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
10079f464c52Smaya    <field name="Write Cache Flush" start="12" end="12" type="bool"/>
10089f464c52Smaya    <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
100901e04c3fSmrg    <field name="Post Sync Operation" start="14" end="15" type="uint">
101001e04c3fSmrg      <value name="No Write" value="0"/>
101101e04c3fSmrg      <value name="Write Immediate Data" value="1"/>
101201e04c3fSmrg      <value name="Write PS Depth Count" value="2"/>
101301e04c3fSmrg      <value name="Write Timestamp" value="3"/>
101401e04c3fSmrg    </field>
10159f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
10169f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
10179f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
10189f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
101901e04c3fSmrg    <field name="Depth Cache Flush Inhibit" start="32" end="32" type="uint">
102001e04c3fSmrg      <value name="Flushed" value="0"/>
102101e04c3fSmrg      <value name="Not Flushed" value="1"/>
102201e04c3fSmrg    </field>
10239f464c52Smaya    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
10249f464c52Smaya    <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
10259f464c52Smaya      <value name="PGTT" value="0"/>
10269f464c52Smaya      <value name="GGTT" value="1"/>
10279f464c52Smaya    </field>
10289f464c52Smaya    <field name="Address" start="35" end="63" type="address"/>
102901e04c3fSmrg    <field name="Immediate Data" start="64" end="127" type="uint"/>
103001e04c3fSmrg  </instruction>
103101e04c3fSmrg
10329f464c52Smaya  <instruction name="STATE_BASE_ADDRESS" bias="2" length="8" engine="render">
10339f464c52Smaya    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
10349f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
103501e04c3fSmrg    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
103601e04c3fSmrg    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
10379f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
103801e04c3fSmrg    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
10399f464c52Smaya    <field name="General State Base Address" start="44" end="63" type="address"/>
104001e04c3fSmrg    <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
10419f464c52Smaya    <field name="Surface State Base Address" start="76" end="95" type="address"/>
104201e04c3fSmrg    <field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/>
10439f464c52Smaya    <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
104401e04c3fSmrg    <field name="Instruction Base Address Modify Enable" start="128" end="128" type="bool"/>
10459f464c52Smaya    <field name="Instruction Base Address" start="140" end="159" type="address"/>
104601e04c3fSmrg    <field name="General State Access Upper Bound Modify Enable" start="160" end="160" type="bool"/>
10479f464c52Smaya    <field name="General State Access Upper Bound" start="172" end="191" type="address"/>
104801e04c3fSmrg    <field name="Indirect Object Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
10499f464c52Smaya    <field name="Indirect Object Access Upper Bound" start="204" end="223" type="address"/>
105001e04c3fSmrg    <field name="Instruction Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
10519f464c52Smaya    <field name="Instruction Access Upper Bound" start="236" end="255" type="address"/>
105201e04c3fSmrg  </instruction>
10539f464c52Smaya
10549f464c52Smaya  <instruction name="STATE_SIP" bias="2" length="2" engine="render">
105501e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
10569f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
10579f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
10589f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
10599f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
106001e04c3fSmrg    <field name="System Instruction Pointer" start="36" end="63" type="offset"/>
106101e04c3fSmrg  </instruction>
106201e04c3fSmrg
10639f464c52Smaya  <instruction name="URB_FENCE" bias="2" length="3" engine="render">
106401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
106501e04c3fSmrg    <field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/>
10669f464c52Smaya    <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
10679f464c52Smaya    <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
10689f464c52Smaya    <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
10699f464c52Smaya    <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
10709f464c52Smaya    <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
10719f464c52Smaya    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
10729f464c52Smaya    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
10739f464c52Smaya    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
10749f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
107501e04c3fSmrg    <field name="VS Fence" start="32" end="41" type="uint"/>
10769f464c52Smaya    <field name="GS Fence" start="42" end="51" type="uint"/>
10779f464c52Smaya    <field name="CLIP Fence" start="52" end="61" type="uint"/>
107801e04c3fSmrg    <field name="SF Fence" start="64" end="73" type="uint"/>
10799f464c52Smaya    <field name="VFE Fence" start="74" end="83" type="uint"/>
10809f464c52Smaya    <field name="CS Fence" start="84" end="94" type="uint"/>
108101e04c3fSmrg  </instruction>
108201e04c3fSmrg
10837ec681f3Smrg  <instruction name="XY_COLOR_BLT" bias="2" length="6" engine="render">
108401e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
108501e04c3fSmrg    <field name="Tiling Enable" start="11" end="11" type="bool"/>
10869f464c52Smaya    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
10879f464c52Smaya    <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
10889f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
10899f464c52Smaya    <field name="Destination Pitch" start="32" end="47" type="int"/>
10907ec681f3Smrg    <field name="Raster Operation" start="48" end="55" type="uint"/>
109101e04c3fSmrg    <field name="Color Depth" start="56" end="58" type="uint" prefix="COLOR_DEPTH">
109201e04c3fSmrg      <value name="8 bit" value="0"/>
109301e04c3fSmrg      <value name="565" value="1"/>
109401e04c3fSmrg      <value name="1555" value="2"/>
109501e04c3fSmrg      <value name="32 bit" value="3"/>
109601e04c3fSmrg    </field>
10979f464c52Smaya    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
109801e04c3fSmrg    <field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
10999f464c52Smaya    <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
110001e04c3fSmrg    <field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
11019f464c52Smaya    <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
110201e04c3fSmrg    <field name="Destination Base Address" start="128" end="159" type="address"/>
110301e04c3fSmrg    <field name="Solid Pattern Color" start="160" end="191" type="int"/>
110401e04c3fSmrg  </instruction>
110501e04c3fSmrg
11069f464c52Smaya  <instruction name="XY_SETUP_BLT" bias="2" length="8" engine="blitter">
110701e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
110801e04c3fSmrg    <field name="Tiling Enable" start="11" end="11" type="bool"/>
11099f464c52Smaya    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
11109f464c52Smaya    <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
11119f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
11129f464c52Smaya    <field name="Destination Pitch" start="32" end="47" type="int"/>
11137ec681f3Smrg    <field name="Raster Operation" start="48" end="55" type="uint"/>
111401e04c3fSmrg    <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
111501e04c3fSmrg      <value name="8 bit" value="0"/>
111601e04c3fSmrg      <value name="565" value="1"/>
111701e04c3fSmrg      <value name="1555" value="2"/>
111801e04c3fSmrg      <value name="32 bit" value="3"/>
111901e04c3fSmrg    </field>
11209f464c52Smaya    <field name="Mono Source Transparency Mode" start="60" end="60" type="bool"/>
11219f464c52Smaya    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
112201e04c3fSmrg    <field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/>
11239f464c52Smaya    <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
112401e04c3fSmrg    <field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/>
11259f464c52Smaya    <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
112601e04c3fSmrg    <field name="Destination Base Address" start="128" end="159" type="address"/>
112701e04c3fSmrg    <field name="Background Color" start="160" end="191" type="uint"/>
112801e04c3fSmrg    <field name="Foreground Color" start="192" end="223" type="uint"/>
112901e04c3fSmrg    <field name="Pattern Base Address" start="224" end="255" type="uint"/>
113001e04c3fSmrg  </instruction>
113101e04c3fSmrg
11327ec681f3Smrg  <instruction name="XY_SRC_COPY_BLT" bias="2" length="8" engine="render">
113301e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
113401e04c3fSmrg    <field name="Destination Tiling Enable" start="11" end="11" type="bool"/>
11359f464c52Smaya    <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
11369f464c52Smaya    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
11379f464c52Smaya    <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
11389f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
11399f464c52Smaya    <field name="Destination Pitch" start="32" end="47" type="int"/>
11407ec681f3Smrg    <field name="Raster Operation" start="48" end="55" type="uint"/>
114101e04c3fSmrg    <field name="Color Depth" start="56" end="58" type="uint" prefix="COLOR_DEPTH">
114201e04c3fSmrg      <value name="8 bit" value="0"/>
114301e04c3fSmrg      <value name="565" value="1"/>
114401e04c3fSmrg      <value name="1555" value="2"/>
114501e04c3fSmrg      <value name="32 bit" value="3"/>
114601e04c3fSmrg    </field>
11479f464c52Smaya    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
114801e04c3fSmrg    <field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
11499f464c52Smaya    <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
115001e04c3fSmrg    <field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
11519f464c52Smaya    <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
115201e04c3fSmrg    <field name="Destination Base Address" start="128" end="159" type="address"/>
115301e04c3fSmrg    <field name="Source X1 Coordinate" start="160" end="175" type="int"/>
11549f464c52Smaya    <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
115501e04c3fSmrg    <field name="Source Pitch" start="192" end="207" type="int"/>
115601e04c3fSmrg    <field name="Source Base Address" start="224" end="255" type="address"/>
115701e04c3fSmrg  </instruction>
115801e04c3fSmrg
11597ec681f3Smrg  <instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3" engine="render">
116001e04c3fSmrg    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
11619f464c52Smaya    <field name="Tiling Enable" start="11" end="11" type="bool"/>
116201e04c3fSmrg    <field name="Packing" start="16" end="16" type="uint">
116301e04c3fSmrg      <value name="Bit Packed" value="0"/>
116401e04c3fSmrg      <value name="Byte Packed" value="1"/>
116501e04c3fSmrg    </field>
11669f464c52Smaya    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
11679f464c52Smaya    <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
11689f464c52Smaya    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
116901e04c3fSmrg    <field name="Destination Pitch" start="32" end="47" type="int"/>
117001e04c3fSmrg    <field name="Destination X1 Coordinate" start="32" end="47" type="int"/>
11719f464c52Smaya    <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
117201e04c3fSmrg    <field name="Destination X2 Coordinate" start="64" end="79" type="int"/>
11739f464c52Smaya    <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
117401e04c3fSmrg  </instruction>
117501e04c3fSmrg</genxml>
1176