• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" ?>
2<genxml name="ILK" gen="5">
3
4  <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
5    <value name="ONE" value="1"/>
6    <value name="SRC_COLOR" value="2"/>
7    <value name="SRC_ALPHA" value="3"/>
8    <value name="DST_ALPHA" value="4"/>
9    <value name="DST_COLOR" value="5"/>
10    <value name="SRC_ALPHA_SATURATE" value="6"/>
11    <value name="CONST_COLOR" value="7"/>
12    <value name="CONST_ALPHA" value="8"/>
13    <value name="SRC1_COLOR" value="9"/>
14    <value name="SRC1_ALPHA" value="10"/>
15    <value name="ZERO" value="17"/>
16    <value name="INV_SRC_COLOR" value="18"/>
17    <value name="INV_SRC_ALPHA" value="19"/>
18    <value name="INV_DST_ALPHA" value="20"/>
19    <value name="INV_DST_COLOR" value="21"/>
20    <value name="INV_CONST_COLOR" value="23"/>
21    <value name="INV_CONST_ALPHA" value="24"/>
22    <value name="INV_SRC1_COLOR" value="25"/>
23    <value name="INV_SRC1_ALPHA" value="26"/>
24  </enum>
25
26  <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION">
27    <value name="ADD" value="0"/>
28    <value name="SUBTRACT" value="1"/>
29    <value name="REVERSE_SUBTRACT" value="2"/>
30    <value name="MIN" value="3"/>
31    <value name="MAX" value="4"/>
32  </enum>
33
34  <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
35    <value name="ALWAYS" value="0"/>
36    <value name="NEVER" value="1"/>
37    <value name="LESS" value="2"/>
38    <value name="EQUAL" value="3"/>
39    <value name="LEQUAL" value="4"/>
40    <value name="GREATER" value="5"/>
41    <value name="NOTEQUAL" value="6"/>
42    <value name="GEQUAL" value="7"/>
43  </enum>
44
45  <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
46    <value name="CLEAR" value="0"/>
47    <value name="NOR" value="1"/>
48    <value name="AND_INVERTED" value="2"/>
49    <value name="COPY_INVERTED" value="3"/>
50    <value name="AND_REVERSE" value="4"/>
51    <value name="INVERT" value="5"/>
52    <value name="XOR" value="6"/>
53    <value name="NAND" value="7"/>
54    <value name="AND" value="8"/>
55    <value name="EQUIV" value="9"/>
56    <value name="NOOP" value="10"/>
57    <value name="OR_INVERTED" value="11"/>
58    <value name="COPY" value="12"/>
59    <value name="OR_REVERSE" value="13"/>
60    <value name="OR" value="14"/>
61    <value name="SET" value="15"/>
62  </enum>
63
64  <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
65    <value name="POINTLIST" value="1"/>
66    <value name="LINELIST" value="2"/>
67    <value name="LINESTRIP" value="3"/>
68    <value name="TRILIST" value="4"/>
69    <value name="TRISTRIP" value="5"/>
70    <value name="TRIFAN" value="6"/>
71    <value name="QUADLIST" value="7"/>
72    <value name="QUADSTRIP" value="8"/>
73    <value name="LINELIST_ADJ" value="9"/>
74    <value name="LINESTRIP_ADJ" value="10"/>
75    <value name="TRILIST_ADJ" value="11"/>
76    <value name="TRISTRIP_ADJ" value="12"/>
77    <value name="TRISTRIP_REVERSE" value="13"/>
78    <value name="POLYGON" value="14"/>
79    <value name="RECTLIST" value="15"/>
80    <value name="LINELOOP" value="16"/>
81    <value name="POINTLIST _BF" value="17"/>
82    <value name="LINESTRIP_CONT" value="18"/>
83    <value name="LINESTRIP_BF" value="19"/>
84    <value name="LINESTRIP_CONT_BF" value="20"/>
85    <value name="TRIFAN_NOSTIPPLE" value="22"/>
86  </enum>
87
88  <enum name="3D_Stencil_Operation" prefix="STENCILOP">
89    <value name="KEEP" value="0"/>
90    <value name="ZERO" value="1"/>
91    <value name="REPLACE" value="2"/>
92    <value name="INCRSAT" value="3"/>
93    <value name="DECRSAT" value="4"/>
94    <value name="INCR" value="5"/>
95    <value name="DECR" value="6"/>
96    <value name="INVERT" value="7"/>
97  </enum>
98
99  <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
100    <value name="NOSTORE" value="0"/>
101    <value name="STORE_SRC" value="1"/>
102    <value name="STORE_0" value="2"/>
103    <value name="STORE_1_FP" value="3"/>
104    <value name="STORE_1_INT" value="4"/>
105    <value name="STORE_VID" value="5"/>
106    <value name="STORE_IID" value="6"/>
107    <value name="STORE_PID" value="7"/>
108  </enum>
109
110  <enum name="Texture_Coordinate_Mode" prefix="TCM">
111    <value name="WRAP" value="0"/>
112    <value name="MIRROR" value="1"/>
113    <value name="CLAMP" value="2"/>
114    <value name="CUBE" value="3"/>
115    <value name="CLAMP_BORDER" value="4"/>
116    <value name="MIRROR_ONCE" value="5"/>
117  </enum>
118
119  <struct name="CC_VIEWPORT" length="2">
120    <field name="Minimum Depth" start="0" end="31" type="float"/>
121    <field name="Maximum Depth" start="32" end="63" type="float"/>
122  </struct>
123
124  <struct name="CLIP_STATE" length="11">
125    <field name="GRF Register Count" start="1" end="3" type="uint"/>
126    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
127    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
128    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
129    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
130    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
131      <value name="IEEE-754" value="0"/>
132      <value name="Alternate" value="1"/>
133    </field>
134    <field name="Thread Priority" start="49" end="49" type="uint">
135      <value name="Normal Priority" value="0"/>
136      <value name="High Priority" value="1"/>
137    </field>
138    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
139    <field name="Single Program Flow" start="63" end="63" type="bool"/>
140    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
141    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
142    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
143    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
144    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
145    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
146    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
147    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
148    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
149    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
150    <field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
151      <value name="NORMAL" value="0"/>
152      <value name="ALL" value="1"/>
153      <value name="CLIP_NON_REJECTED" value="2"/>
154      <value name="REJECT_ALL" value="3"/>
155      <value name="ACCEPT_ALL" value="4"/>
156    </field>
157    <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
158    <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
159    <field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
160    <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
161    <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
162    <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
163    <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
164      <value name="NDCSPACE" value="0"/>
165      <value name="SCREENSPACE" value="1"/>
166    </field>
167    <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
168      <value name="OGL" value="0"/>
169      <value name="D3D" value="1"/>
170    </field>
171    <field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/>
172    <field name="Screen Space Viewport X Min" start="224" end="255" type="float"/>
173    <field name="Screen Space Viewport X Max" start="256" end="287" type="float"/>
174    <field name="Screen Space Viewport Y Min" start="288" end="319" type="float"/>
175    <field name="Screen Space Viewport Y Max" start="320" end="351" type="float"/>
176  </struct>
177
178  <struct name="CLIP_VIEWPORT" length="4">
179    <field name="XMin Clip Guardband" start="0" end="31" type="float"/>
180    <field name="XMax Clip Guardband" start="32" end="63" type="float"/>
181    <field name="YMin Clip Guardband" start="64" end="95" type="float"/>
182    <field name="YMax Clip Guardband" start="96" end="127" type="float"/>
183  </struct>
184
185  <struct name="COLOR_CALC_STATE" length="8">
186    <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
187    <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
188    <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
189    <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
190    <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
191    <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
192    <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
193    <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
194    <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
195    <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
196    <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
197    <field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/>
198    <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
199    <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
200    <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
201    <field name="Logic Op Enable" start="64" end="64" type="bool"/>
202    <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
203    <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
204    <field name="Depth Test Enable" start="79" end="79" type="bool"/>
205    <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
206    <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
207    <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
208    <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
209    <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
210    <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
211    <field name="Alpha Test Format" start="111" end="111" type="uint">
212      <value name="ALPHATEST_UNORM8" value="0"/>
213      <value name="ALPHATEST_FLOAT32" value="1"/>
214    </field>
215    <field name="CC Viewport State Pointer" start="133" end="159" type="address"/>
216    <field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/>
217    <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
218    <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
219    <field name="Statistics Enable" start="175" end="175" type="bool"/>
220    <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
221    <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
222    <field name="Color Dither Enable" start="191" end="191" type="bool"/>
223    <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
224    <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
225    <field name="Color Clamp Range" start="194" end="195" type="uint">
226      <value name="COLORCLAMP_UNORM" value="0"/>
227      <value name="COLORCLAMP_SNORM" value="1"/>
228      <value name="COLORCLAMP_RTFORMAT" value="2"/>
229    </field>
230    <field name="Y Dither Offset" start="207" end="208" type="uint"/>
231    <field name="X Dither Offset" start="209" end="210" type="uint"/>
232    <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
233    <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
234    <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
235    <field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/>
236    <field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/>
237  </struct>
238
239  <struct name="GS_STATE" length="7">
240    <field name="GRF Register Count" start="1" end="3" type="uint"/>
241    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
242    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
243    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
244    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
245    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
246      <value name="IEEE-754" value="0"/>
247      <value name="Alternate" value="1"/>
248    </field>
249    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
250    <field name="Single Program Flow" start="63" end="63" type="bool"/>
251    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
252    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
253    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
254    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
255    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
256    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
257    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
258    <field name="Rendering Enabled" start="136" end="136" type="bool"/>
259    <field name="SO Statistics Enable" start="137" end="137" type="bool"/>
260    <field name="GS Statistics Enable" start="138" end="138" type="bool"/>
261    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
262    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
263    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
264    <field name="Sampler Count" start="160" end="162" type="uint"/>
265    <field name="Sampler State Pointer" start="165" end="191" type="address"/>
266    <field name="Maximum VPIndex" start="192" end="195" type="uint"/>
267    <field name="Reorder Enable" start="222" end="222" type="bool"/>
268  </struct>
269
270  <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
271    <field name="Cacheability Control" start="0" end="1" type="uint"/>
272    <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/>
273    <field name="Encrypted Data" start="3" end="3" type="bool"/>
274  </struct>
275
276  <struct name="RENDER_SURFACE_STATE" length="6">
277    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
278    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
279    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
280    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
281    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
282    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
283    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
284      <value name="NORMAL_MODE" value="0"/>
285    </field>
286    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
287      <value name="WRITE_ONLY" value="0"/>
288      <value name="READ_WRITE" value="1"/>
289    </field>
290    <field name="Cube Map Corner Mode" start="9" end="9" type="uint">
291      <value name="CUBE_REPLICATE" value="0"/>
292      <value name="CUBE_AVERAGE" value="1"/>
293    </field>
294    <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
295      <value name="MIPLAYOUT_BELOW" value="0"/>
296      <value name="MIPLAYOUT_RIGHT" value="1"/>
297    </field>
298    <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
299    <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
300    <field name="Color Blend Enable" start="13" end="13" type="bool"/>
301    <field name="Color Buffer Component Write Disables" start="14" end="17" type="uint">
302      <value name="WRITEDISABLE_ALPHA" value="8"/>
303      <value name="WRITEDISABLE_RED" value="4"/>
304      <value name="WRITEDISABLE_GREEN" value="2"/>
305      <value name="WRITEDISABLE_BLUE" value="1"/>
306    </field>
307    <field name="Surface Format" start="18" end="26" type="uint"/>
308    <field name="Data Return Format" start="27" end="27" type="uint">
309      <value name="DATA_RETURN_FLOAT32" value="0"/>
310      <value name="DATA_RETURN_S1.14" value="1"/>
311    </field>
312    <field name="Surface Type" start="29" end="31" type="uint">
313      <value name="SURFTYPE_1D" value="0"/>
314      <value name="SURFTYPE_2D" value="1"/>
315      <value name="SURFTYPE_3D" value="2"/>
316      <value name="SURFTYPE_CUBE" value="3"/>
317      <value name="SURFTYPE_BUFFER" value="4"/>
318      <value name="SURFTYPE_NULL" value="7"/>
319    </field>
320    <field name="Surface Base Address" start="32" end="63" type="address"/>
321    <field name="Render Target Rotation" start="64" end="65" type="uint">
322      <value name="RTROTATE_0DEG" value="0"/>
323      <value name="RTROTATE_90DEG" value="1"/>
324      <value name="RTROTATE_270DEG" value="3"/>
325    </field>
326    <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
327    <field name="Width" start="70" end="82" type="uint"/>
328    <field name="Height" start="83" end="95" type="uint"/>
329    <field name="Tile Walk" start="96" end="96" type="uint">
330      <value name="TILEWALK_XMAJOR" value="0"/>
331      <value name="TILEWALK_YMAJOR" value="1"/>
332    </field>
333    <field name="Tiled Surface" start="97" end="97" type="uint"/>
334    <field name="Surface Pitch" start="99" end="115" type="uint"/>
335    <field name="Depth" start="117" end="127" type="uint"/>
336    <field name="Render Target View Extent" start="136" end="144" type="uint"/>
337    <field name="Minimum Array Element" start="145" end="155" type="uint"/>
338    <field name="Surface Min LOD" start="156" end="159" type="uint"/>
339    <field name="Y Offset" start="180" end="183" type="uint"/>
340    <field name="X Offset" start="185" end="191" type="uint"/>
341  </struct>
342
343  <struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
344    <field name="Border Color Unorm Red" start="0" end="7" type="uint"/>
345    <field name="Border Color Unorm Green" start="8" end="15" type="uint"/>
346    <field name="Border Color Unorm Blue" start="16" end="23" type="uint"/>
347    <field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/>
348    <field name="Border Color Float Red" start="32" end="63" type="float"/>
349    <field name="Border Color Float Green" start="64" end="95" type="float"/>
350    <field name="Border Color Float Blue" start="96" end="127" type="float"/>
351    <field name="Border Color Float Alpha" start="128" end="159" type="float"/>
352    <field name="Border Color Float16 Red" start="160" end="175" type="uint"/>
353    <field name="Border Color Float16 Green" start="176" end="191" type="uint"/>
354    <field name="Border Color Float16 Blue" start="192" end="207" type="uint"/>
355    <field name="Border Color Float16 Alpha" start="208" end="223" type="uint"/>
356    <field name="Border Color Unorm16 Red" start="224" end="239" type="uint"/>
357    <field name="Border Color Unorm16 Green" start="240" end="255" type="uint"/>
358    <field name="Border Color Unorm16 Blue" start="256" end="271" type="uint"/>
359    <field name="Border Color Unorm16 Alpha" start="272" end="287" type="uint"/>
360    <field name="Border Color Snorm16 Red" start="288" end="303" type="int"/>
361    <field name="Border Color Snorm16 Green" start="304" end="319" type="int"/>
362    <field name="Border Color Snorm16 Blue" start="320" end="335" type="int"/>
363    <field name="Border Color Snorm16 Alpha" start="336" end="351" type="int"/>
364    <field name="Border Color Snorm8 Red" start="352" end="359" type="int"/>
365    <field name="Border Color Snorm8 Green" start="360" end="367" type="int"/>
366    <field name="Border Color Snorm8 Blue" start="368" end="375" type="int"/>
367    <field name="Border Color Snorm8 Alpha" start="376" end="383" type="int"/>
368  </struct>
369
370  <struct name="SAMPLER_STATE" length="4">
371    <field name="Shadow Function" start="0" end="2" type="uint">
372      <value name="PREFILTEROP_ALWAYS" value="0"/>
373      <value name="PREFILTEROP_NEVER" value="1"/>
374      <value name="PREFILTEROP_LESS" value="2"/>
375      <value name="PREFILTEROP_EQUAL" value="3"/>
376      <value name="PREFILTEROP_LEQUAL" value="4"/>
377      <value name="PREFILTEROP_GREATER" value="5"/>
378      <value name="PREFILTEROP_NOTEQUAL" value="6"/>
379      <value name="PREFILTEROP_GEQUAL" value="7"/>
380    </field>
381    <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
382    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
383    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
384      <value name="NEAREST" value="0"/>
385      <value name="LINEAR" value="1"/>
386      <value name="ANISOTROPIC" value="2"/>
387      <value name="MONO" value="6"/>
388    </field>
389    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
390      <value name="NONE" value="0"/>
391      <value name="NEAREST" value="1"/>
392      <value name="LINEAR" value="3"/>
393    </field>
394    <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
395    <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
396    <field name="Sampler Disable" start="31" end="31" type="bool"/>
397    <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
398    <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
399    <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
400    <field name="Cube Surface Control Mode" start="41" end="41" type="uint">
401      <value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
402      <value name="CUBECTRLMODE_OVERRIDE" value="1"/>
403    </field>
404    <field name="Max LOD" start="44" end="53" type="u4.6"/>
405    <field name="Min LOD" start="54" end="63" type="u4.6"/>
406    <field name="Border Color Pointer" start="69" end="95" type="address"/>
407    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
408    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
409    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
410    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
411    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
412    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
413    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
414      <value name="RATIO 2:1" value="0"/>
415      <value name="RATIO 4:1" value="1"/>
416      <value name="RATIO 6:1" value="2"/>
417      <value name="RATIO 8:1" value="3"/>
418      <value name="RATIO 10:1" value="4"/>
419      <value name="RATIO 12:1" value="5"/>
420      <value name="RATIO 14:1" value="6"/>
421      <value name="RATIO 16:1" value="7"/>
422    </field>
423    <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
424      <value name="KILL_ON_ANY_MATCH" value="0"/>
425      <value name="REPLACE_BLACK" value="1"/>
426    </field>
427    <field name="ChromaKey Index" start="119" end="120" type="uint"/>
428    <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
429    <field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
430    <field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
431  </struct>
432
433  <struct name="SCISSOR_RECT" length="2">
434    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
435    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
436    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
437    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
438  </struct>
439
440  <struct name="SF_STATE" length="8">
441    <field name="GRF Register Count" start="1" end="3" type="uint"/>
442    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
443    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
444    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
445    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
446    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
447      <value name="IEEE-754" value="0"/>
448      <value name="Alternate" value="1"/>
449    </field>
450    <field name="Thread Priority" start="49" end="49" type="uint">
451      <value name="Normal Priority" value="0"/>
452      <value name="High Priority" value="1"/>
453    </field>
454    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
455    <field name="Single Program Flow" start="63" end="63" type="bool"/>
456    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
457    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
458    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
459    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
460    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
461    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
462    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
463    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
464    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
465    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
466    <field name="Front Winding" start="160" end="160" type="uint">
467      <value name="FRONTWINDING_CW" value="0"/>
468      <value name="FRONTWINDING_CCW" value="1"/>
469    </field>
470    <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
471    <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
472    <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
473    <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
474    <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
475    <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
476    <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
477    <field name="Point Rasterization Rule" start="212" end="213" type="uint">
478      <value name="RASTRULE_UPPER_LEFT" value="0"/>
479      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
480    </field>
481    <field name="Line End Cap Antialiasing Region Width" start="214" end="215" type="uint">
482      <value name="0.5 pixels" value="0"/>
483      <value name="1.0 pixels" value="1"/>
484      <value name="2.0 pixels" value="2"/>
485      <value name="4.0 pixels" value="3"/>
486    </field>
487    <field name="Line Width" start="216" end="219" type="u3.1"/>
488    <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
489    <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
490      <value name="BOTH" value="0"/>
491      <value name="NONE" value="1"/>
492      <value name="FRONT" value="2"/>
493      <value name="BACK" value="3"/>
494    </field>
495    <field name="Antialiasing Enable" start="223" end="223" type="bool"/>
496    <field name="Point Width" start="224" end="234" type="u8.3"/>
497    <field name="Point Width Source" start="235" end="235" type="uint">
498      <value name="Vertex" value="0"/>
499      <value name="State" value="1"/>
500    </field>
501    <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
502      <value name="8 Sub-Pixel Precision Bits" value="0"/>
503      <value name="4 Sub-Pixel Precision Bits" value="1"/>
504    </field>
505    <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
506    <field name="AA Line Distance Mode" start="238" end="238" type="uint" prefix="AALINEDISTANCE">
507      <value name="MANHATTAN" value="0"/>
508      <value name="TRUE" value="1"/>
509    </field>
510    <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
511      <value name="Vertex 0" value="0"/>
512      <value name="Vertex 1" value="1"/>
513      <value name="Vertex 2" value="2"/>
514    </field>
515    <field name="Line Strip/List Provoking Vertex Select" start="251" end="252" type="uint">
516      <value name="Vertex 0" value="0"/>
517      <value name="Vertex 1" value="1"/>
518    </field>
519    <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
520      <value name="Vertex 0" value="0"/>
521      <value name="Vertex 1" value="1"/>
522      <value name="Vertex 2" value="2"/>
523    </field>
524    <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
525  </struct>
526
527  <struct name="SF_VIEWPORT" length="8">
528    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
529    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
530    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
531    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
532    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
533    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
534    <field name="Scissor Rectangle" start="192" end="255" type="SCISSOR_RECT"/>
535  </struct>
536
537  <struct name="VERTEX_BUFFER_STATE" length="4">
538    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
539    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
540    <field name="Buffer Access Type" start="26" end="26" type="uint">
541      <value name="VERTEXDATA" value="0"/>
542      <value name="INSTANCEDATA" value="1"/>
543    </field>
544    <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
545    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
546    <field name="End Address" start="64" end="95" type="address"/>
547    <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
548  </struct>
549
550  <struct name="VERTEX_ELEMENT_STATE" length="2">
551    <field name="Source Element Offset" start="0" end="10" type="uint"/>
552    <field name="Source Element Format" start="16" end="24" type="uint"/>
553    <field name="Valid" start="26" end="26" type="bool"/>
554    <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
555    <field name="Destination Element Offset" start="32" end="39" type="uint"/>
556    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
557    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
558    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
559    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
560  </struct>
561
562  <struct name="VS_STATE" length="7">
563    <field name="GRF Register Count" start="1" end="3" type="uint"/>
564    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
565    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
566    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
567    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
568    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
569      <value name="IEEE-754" value="0"/>
570      <value name="Alternate" value="1"/>
571    </field>
572    <field name="Thread Priority" start="49" end="49" type="uint">
573      <value name="Normal Priority" value="0"/>
574      <value name="High Priority" value="1"/>
575    </field>
576    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
577    <field name="Single Program Flow" start="63" end="63" type="bool"/>
578    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
579    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
580    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
581    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
582    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
583    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
584    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
585    <field name="Statistics Enable" start="138" end="138" type="bool"/>
586    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
587    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
588    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
589    <field name="Sampler Count" start="160" end="162" type="uint"/>
590    <field name="Sampler State Pointer" start="165" end="191" type="address"/>
591    <field name="Enable" start="192" end="192" type="bool"/>
592    <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
593  </struct>
594
595  <struct name="WM_STATE" length="11">
596    <field name="GRF Register Count 0" start="1" end="3" type="uint"/>
597    <field name="Kernel Start Pointer 0" start="6" end="31" type="offset"/>
598    <field name="Software Exception Enable" start="33" end="33" type="bool"/>
599    <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
600    <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
601    <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
602    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
603      <value name="IEEE-754" value="0"/>
604      <value name="Alternate" value="1"/>
605    </field>
606    <field name="Thread Priority" start="49" end="49" type="uint">
607      <value name="High" value="1"/>
608    </field>
609    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
610    <field name="Single Program Flow" start="63" end="63" type="bool"/>
611    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
612    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
613    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
614    <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
615    <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
616    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
617    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
618    <field name="Statistics Enable" start="128" end="128" type="bool"/>
619    <field name="Sampler Count" start="130" end="132" type="uint"/>
620    <field name="Sampler State Pointer" start="133" end="159" type="address"/>
621    <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
622    <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
623    <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
624    <field name="Contiguous 32 Pixel Dispatch Enable" start="163" end="163" type="bool"/>
625    <field name="Contiguous 64 Pixel Dispatch Enable" start="164" end="164" type="bool"/>
626    <field name="Fast Span Coverage Enable" start="166" end="166" type="bool"/>
627    <field name="Depth Buffer Clear" start="167" end="167" type="bool"/>
628    <field name="Depth Buffer Resolve Enable" start="168" end="168" type="bool"/>
629    <field name="Hierarchical Depth Buffer Resolve Enable" start="169" end="169" type="bool"/>
630    <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
631    <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
632    <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
633    <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
634    <field name="Line Antialiasing Region Width" start="174" end="175" type="uint">
635      <value name="0.5 pixels" value="0"/>
636      <value name="1.0 pixels" value="1"/>
637      <value name="2.0 pixels" value="2"/>
638      <value name="4.0 pixels" value="3"/>
639    </field>
640    <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
641      <value name="0.5 pixels" value="0"/>
642      <value name="1.0 pixels" value="1"/>
643      <value name="2.0 pixels" value="2"/>
644      <value name="4.0 pixels" value="3"/>
645    </field>
646    <field name="Early Depth Test Enable" start="178" end="178" type="bool"/>
647    <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
648    <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
649    <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
650    <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
651    <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
652    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
653    <field name="Global Depth Offset Constant" start="192" end="223" type="float"/>
654    <field name="Global Depth Offset Scale" start="224" end="255" type="float"/>
655    <field name="GRF Register Count 1" start="257" end="259" type="uint"/>
656    <field name="Kernel Start Pointer 1" start="262" end="287" type="offset"/>
657    <field name="GRF Register Count 2" start="289" end="291" type="uint"/>
658    <field name="Kernel Start Pointer 2" start="294" end="319" type="offset"/>
659    <field name="GRF Register Count 3" start="321" end="323" type="uint"/>
660    <field name="Kernel Start Pointer 3" start="326" end="351" type="offset"/>
661  </struct>
662
663  <instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
664    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
665    <field name="Indirect Vertex Count" start="9" end="9" type="uint"/>
666    <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
667    <field name="Vertex Access Type" start="15" end="15" type="uint">
668      <value name="SEQUENTIAL" value="0"/>
669      <value name="RANDOM" value="1"/>
670    </field>
671    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
672    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
673    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
674    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
675    <field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
676    <field name="Start Vertex Location" start="64" end="95" type="uint"/>
677    <field name="Instance Count" start="96" end="127" type="uint"/>
678    <field name="Start Instance Location" start="128" end="159" type="uint"/>
679    <field name="Base Vertex Location" start="160" end="191" type="int"/>
680  </instruction>
681
682  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
683    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
684    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
685    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
686    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
687    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
688    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
689    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
690    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
691    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
692  </instruction>
693
694  <instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6" engine="render">
695    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
696    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
697    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
698    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
699    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
700    <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
701    <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
702    <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
703    <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/>
704    <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/>
705  </instruction>
706
707  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="2" engine="render">
708    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
709    <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
710    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
711    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
712    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
713    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
714    <field name="Depth Clear Value" start="32" end="63" type="uint"/>
715  </instruction>
716
717  <instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5" engine="render">
718    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
719    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
720    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
721    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
722    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
723    <field name="Blend Constant Color Red" start="32" end="63" type="float"/>
724    <field name="Blend Constant Color Green" start="64" end="95" type="float"/>
725    <field name="Blend Constant Color Blue" start="96" end="127" type="float"/>
726    <field name="Blend Constant Color Alpha" start="128" end="159" type="float"/>
727  </instruction>
728
729  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="6" engine="render">
730    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
731    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
732    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
733    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
734    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
735    <field name="Surface Pitch" start="32" end="48" type="uint"/>
736    <field name="Surface Format" start="50" end="52" type="uint">
737      <value name="D32_FLOAT_S8X24_UINT" value="0"/>
738      <value name="D32_FLOAT" value="1"/>
739      <value name="D24_UNORM_S8_UINT" value="2"/>
740      <value name="D24_UNORM_X8_UINT" value="3"/>
741      <value name="D16_UNORM" value="5"/>
742    </field>
743    <field name="Separate Stencil Buffer Enable" start="53" end="53" type="bool"/>
744    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
745    <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
746      <value name="NORMAL" value="0"/>
747      <value name="STR1" value="1"/>
748      <value name="STR2" value="3"/>
749    </field>
750    <field name="Tile Walk" start="58" end="58" type="uint">
751      <value name="TILEWALK_YMAJOR" value="1"/>
752    </field>
753    <field name="Tiled Surface" start="59" end="59" type="bool"/>
754    <field name="Surface Type" start="61" end="63" type="uint">
755      <value name="SURFTYPE_1D" value="0"/>
756      <value name="SURFTYPE_2D" value="1"/>
757      <value name="SURFTYPE_3D" value="2"/>
758      <value name="SURFTYPE_CUBE" value="3"/>
759      <value name="SURFTYPE_NULL" value="7"/>
760    </field>
761    <field name="Surface Base Address" start="64" end="95" type="address"/>
762    <field name="MIP Map Layout Mode" start="97" end="97" type="uint">
763      <value name="MIPLAYOUT_BELOW" value="0"/>
764      <value name="MIPLAYOUT_RIGHT" value="1"/>
765    </field>
766    <field name="LOD" start="98" end="101" type="uint"/>
767    <field name="Width" start="102" end="114" type="uint"/>
768    <field name="Height" start="115" end="127" type="uint"/>
769    <field name="Render Target View Extent" start="129" end="137" type="uint"/>
770    <field name="Minimum Array Element" start="138" end="148" type="uint"/>
771    <field name="Depth" start="149" end="159" type="uint"/>
772    <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/>
773    <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/>
774  </instruction>
775
776  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
777    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
778    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
779    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
780    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
781    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
782    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
783    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
784    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
785    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
786    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
787    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
788  </instruction>
789
790  <instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2" engine="render">
791    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
792    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
793    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
794    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
795    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
796    <field name="Global Depth Offset Clamp" start="32" end="63" type="float"/>
797  </instruction>
798
799  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
800    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
801    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
802    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
803    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
804    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
805    <field name="Surface Pitch" start="32" end="48" type="uint"/>
806    <field name="Surface Base Address" start="64" end="95" type="address"/>
807  </instruction>
808
809  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
810    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
811    <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
812      <value name="BYTE" value="0"/>
813      <value name="WORD" value="1"/>
814      <value name="DWORD" value="2"/>
815    </field>
816    <field name="Cut Index Enable" start="10" end="10" type="bool"/>
817    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
818    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
819    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
820    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
821    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
822    <field name="Buffer Ending Address" start="64" end="95" type="address"/>
823  </instruction>
824
825  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
826    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
827    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
828    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
829    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
830    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
831    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
832    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
833    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
834    <field name="Modify Enable" start="63" end="63" type="bool"/>
835    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
836    <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
837  </instruction>
838
839  <instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7" engine="render">
840    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
841    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
842    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
843    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
844    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
845    <field name="Pointer to VS State" start="37" end="63" type="address"/>
846    <field name="GS Enable" start="64" end="64" type="bool"/>
847    <field name="Pointer to GS State" start="69" end="95" type="address"/>
848    <field name="Clip Enable" start="96" end="96" type="bool"/>
849    <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
850    <field name="Pointer to SF State" start="133" end="159" type="address"/>
851    <field name="Pointer to WM State" start="165" end="191" type="address"/>
852    <field name="Pointer to Color Calc State" start="197" end="223" type="address"/>
853  </instruction>
854
855  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
856    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
857    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
858    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
859    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
860    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
861    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
862    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
863  </instruction>
864
865  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
866    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
867    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
868    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
869    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
870    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
871    <group count="32" start="32" size="32">
872      <field name="Pattern Row" start="0" end="31" type="uint"/>
873    </group>
874  </instruction>
875
876  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
877    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
878    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
879    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
880    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
881    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
882    <field name="Surface Pitch" start="32" end="48" type="uint"/>
883    <field name="Surface Base Address" start="64" end="95" type="address"/>
884  </instruction>
885
886  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
887    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
888    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
889    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
890    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
891    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
892    <group count="0" start="32" size="128">
893      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
894    </group>
895  </instruction>
896
897  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
898    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
899    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
900    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
901    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
902    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
903    <group count="0" start="32" size="64">
904      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
905    </group>
906  </instruction>
907
908  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
909    <field name="Statistics Enable" start="0" end="0" type="bool"/>
910    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
911    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
912    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
913    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
914  </instruction>
915
916  <instruction name="CONSTANT_BUFFER" bias="2" length="2" engine="render">
917    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
918    <field name="Valid" start="8" end="8" type="bool"/>
919    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
920    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
921    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
922    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
923    <field name="Buffer Length" start="32" end="37" type="uint"/>
924    <field name="Buffer Starting Address" start="38" end="63" type="address"/>
925  </instruction>
926
927  <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
928    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
929    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
930    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
931    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
932    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
933    <field name="Number of URB Entries" start="32" end="34" type="uint"/>
934    <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
935  </instruction>
936
937  <instruction name="MI_FLUSH" bias="1" length="1" engine="render">
938    <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
939      <value name="Don't Invalidate" value="0"/>
940      <value name="Invalidate" value="1"/>
941    </field>
942    <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
943      <value name="Flush" value="0"/>
944      <value name="Don't Flush" value="1"/>
945    </field>
946    <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
947      <value name="Don't Reset" value="0"/>
948      <value name="Reset" value="1"/>
949    </field>
950    <field name="Generic Media State Clear" start="4" end="4" type="bool"/>
951    <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/>
952    <field name="Protected Memory Enable" start="6" end="6" type="bool"/>
953    <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
954    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
955  </instruction>
956
957  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
958    <field name="DWord Length" start="0" end="5" type="uint" default="1"/>
959    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
960    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
961    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
962    <field name="Register Offset" start="34" end="63" type="offset"/>
963    <field name="Data DWord" start="64" end="95" type="uint"/>
964    <group count="0" start="96" size="64">
965      <field name="Register Offset" start="2" end="31" type="offset"/>
966      <field name="Data DWord" start="32" end="63" type="uint"/>
967    </group>
968  </instruction>
969
970  <instruction name="MI_STORE_DATA_IMM" bias="2" length="5">
971    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
972    <field name="Memory Address Type" start="22" end="22" type="bool"/>
973    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
974    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
975    <field name="Physical Start Address Extension" start="32" end="35" type="address"/>
976    <field name="Address" start="66" end="95" type="address"/>
977    <field name="Data DWord 0" start="96" end="127" type="uint"/>
978    <field name="Data DWord 1" start="128" end="159" type="uint"/>
979  </instruction>
980
981  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
982    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
983    <field name="Use Global GTT" start="22" end="22" type="bool"/>
984    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
985    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
986    <field name="Register Address" start="34" end="57" type="offset"/>
987    <field name="Memory Address" start="66" end="95" type="address"/>
988  </instruction>
989
990  <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
991    <field name="Pipeline Selection" start="0" end="1" type="uint">
992      <value name="3D" value="0"/>
993      <value name="Media" value="1"/>
994      <value name="GPGPU" value="2"/>
995    </field>
996    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
997    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
998    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
999    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1000  </instruction>
1001
1002  <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
1003    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1004    <field name="Notify Enable" start="8" end="8" type="bool"/>
1005    <field name="Indirect State Pointers Disable" start="9" end="9" type="bool"/>
1006    <field name="Texture Cache Flush Enable" start="10" end="10" type="bool"/>
1007    <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
1008    <field name="Write Cache Flush" start="12" end="12" type="bool"/>
1009    <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
1010    <field name="Post Sync Operation" start="14" end="15" type="uint">
1011      <value name="No Write" value="0"/>
1012      <value name="Write Immediate Data" value="1"/>
1013      <value name="Write PS Depth Count" value="2"/>
1014      <value name="Write Timestamp" value="3"/>
1015    </field>
1016    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
1017    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
1018    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1019    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1020    <field name="Depth Cache Flush Inhibit" start="32" end="32" type="uint">
1021      <value name="Flushed" value="0"/>
1022      <value name="Not Flushed" value="1"/>
1023    </field>
1024    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
1025    <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
1026      <value name="PGTT" value="0"/>
1027      <value name="GGTT" value="1"/>
1028    </field>
1029    <field name="Address" start="35" end="63" type="address"/>
1030    <field name="Immediate Data" start="64" end="127" type="uint"/>
1031  </instruction>
1032
1033  <instruction name="STATE_BASE_ADDRESS" bias="2" length="8" engine="render">
1034    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
1035    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
1036    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1037    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
1038    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1039    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
1040    <field name="General State Base Address" start="44" end="63" type="address"/>
1041    <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
1042    <field name="Surface State Base Address" start="76" end="95" type="address"/>
1043    <field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/>
1044    <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
1045    <field name="Instruction Base Address Modify Enable" start="128" end="128" type="bool"/>
1046    <field name="Instruction Base Address" start="140" end="159" type="address"/>
1047    <field name="General State Access Upper Bound Modify Enable" start="160" end="160" type="bool"/>
1048    <field name="General State Access Upper Bound" start="172" end="191" type="address"/>
1049    <field name="Indirect Object Access Upper Bound Modify Enable" start="192" end="192" type="bool"/>
1050    <field name="Indirect Object Access Upper Bound" start="204" end="223" type="address"/>
1051    <field name="Instruction Access Upper Bound Modify Enable" start="224" end="224" type="bool"/>
1052    <field name="Instruction Access Upper Bound" start="236" end="255" type="address"/>
1053  </instruction>
1054
1055  <instruction name="STATE_SIP" bias="2" length="2" engine="render">
1056    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1057    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
1058    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1059    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
1060    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1061    <field name="System Instruction Pointer" start="36" end="63" type="offset"/>
1062  </instruction>
1063
1064  <instruction name="URB_FENCE" bias="2" length="3" engine="render">
1065    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1066    <field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/>
1067    <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
1068    <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
1069    <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
1070    <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
1071    <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
1072    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
1073    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1074    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
1075    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1076    <field name="VS Fence" start="32" end="41" type="uint"/>
1077    <field name="GS Fence" start="42" end="51" type="uint"/>
1078    <field name="CLIP Fence" start="52" end="61" type="uint"/>
1079    <field name="SF Fence" start="64" end="73" type="uint"/>
1080    <field name="VFE Fence" start="74" end="83" type="uint"/>
1081    <field name="CS Fence" start="84" end="94" type="uint"/>
1082  </instruction>
1083
1084  <instruction name="XY_COLOR_BLT" bias="2" length="6" engine="blitter">
1085    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
1086    <field name="Tiling Enable" start="11" end="11" type="bool"/>
1087    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
1088    <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
1089    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
1090    <field name="Destination Pitch" start="32" end="47" type="int"/>
1091    <field name="Raster Operation" start="48" end="55" type="int"/>
1092    <field name="Color Depth" start="56" end="58" type="uint" prefix="COLOR_DEPTH">
1093      <value name="8 bit" value="0"/>
1094      <value name="565" value="1"/>
1095      <value name="1555" value="2"/>
1096      <value name="32 bit" value="3"/>
1097    </field>
1098    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
1099    <field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
1100    <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
1101    <field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
1102    <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
1103    <field name="Destination Base Address" start="128" end="159" type="address"/>
1104    <field name="Solid Pattern Color" start="160" end="191" type="int"/>
1105  </instruction>
1106
1107  <instruction name="XY_SETUP_BLT" bias="2" length="8" engine="blitter">
1108    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
1109    <field name="Tiling Enable" start="11" end="11" type="bool"/>
1110    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
1111    <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
1112    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
1113    <field name="Destination Pitch" start="32" end="47" type="int"/>
1114    <field name="Raster Operation" start="48" end="55" type="int"/>
1115    <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
1116      <value name="8 bit" value="0"/>
1117      <value name="565" value="1"/>
1118      <value name="1555" value="2"/>
1119      <value name="32 bit" value="3"/>
1120    </field>
1121    <field name="Mono Source Transparency Mode" start="60" end="60" type="bool"/>
1122    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
1123    <field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/>
1124    <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
1125    <field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/>
1126    <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
1127    <field name="Destination Base Address" start="128" end="159" type="address"/>
1128    <field name="Background Color" start="160" end="191" type="uint"/>
1129    <field name="Foreground Color" start="192" end="223" type="uint"/>
1130    <field name="Pattern Base Address" start="224" end="255" type="uint"/>
1131  </instruction>
1132
1133  <instruction name="XY_SRC_COPY_BLT" bias="2" length="8" engine="blitter">
1134    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
1135    <field name="Destination Tiling Enable" start="11" end="11" type="bool"/>
1136    <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
1137    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
1138    <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
1139    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
1140    <field name="Destination Pitch" start="32" end="47" type="int"/>
1141    <field name="Raster Operation" start="48" end="55" type="int"/>
1142    <field name="Color Depth" start="56" end="58" type="uint" prefix="COLOR_DEPTH">
1143      <value name="8 bit" value="0"/>
1144      <value name="565" value="1"/>
1145      <value name="1555" value="2"/>
1146      <value name="32 bit" value="3"/>
1147    </field>
1148    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
1149    <field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
1150    <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
1151    <field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
1152    <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
1153    <field name="Destination Base Address" start="128" end="159" type="address"/>
1154    <field name="Source X1 Coordinate" start="160" end="175" type="int"/>
1155    <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
1156    <field name="Source Pitch" start="192" end="207" type="int"/>
1157    <field name="Source Base Address" start="224" end="255" type="address"/>
1158  </instruction>
1159
1160  <instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3" engine="blitter">
1161    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1162    <field name="Tiling Enable" start="11" end="11" type="bool"/>
1163    <field name="Packing" start="16" end="16" type="uint">
1164      <value name="Bit Packed" value="0"/>
1165      <value name="Byte Packed" value="1"/>
1166    </field>
1167    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
1168    <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
1169    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
1170    <field name="Destination Pitch" start="32" end="47" type="int"/>
1171    <field name="Destination X1 Coordinate" start="32" end="47" type="int"/>
1172    <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
1173    <field name="Destination X2 Coordinate" start="64" end="79" type="int"/>
1174    <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
1175  </instruction>
1176</genxml>
1177