• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" ?>
2<genxml name="SKL" gen="9">
3  <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
4    <value name="POINTLIST" value="1"/>
5    <value name="LINELIST" value="2"/>
6    <value name="LINESTRIP" value="3"/>
7    <value name="TRILIST" value="4"/>
8    <value name="TRISTRIP" value="5"/>
9    <value name="TRIFAN" value="6"/>
10    <value name="QUADLIST" value="7"/>
11    <value name="QUADSTRIP" value="8"/>
12    <value name="LINELIST_ADJ" value="9"/>
13    <value name="LINESTRIP_ADJ" value="10"/>
14    <value name="TRILIST_ADJ" value="11"/>
15    <value name="TRISTRIP_ADJ" value="12"/>
16    <value name="TRISTRIP_REVERSE" value="13"/>
17    <value name="POLYGON" value="14"/>
18    <value name="RECTLIST" value="15"/>
19    <value name="LINELOOP" value="16"/>
20    <value name="POINTLIST _BF" value="17"/>
21    <value name="LINESTRIP_CONT" value="18"/>
22    <value name="LINESTRIP_BF" value="19"/>
23    <value name="LINESTRIP_CONT_BF" value="20"/>
24    <value name="TRIFAN_NOSTIPPLE" value="22"/>
25    <value name="PATCHLIST_1" value="32"/>
26    <value name="PATCHLIST_2" value="33"/>
27    <value name="PATCHLIST_3" value="34"/>
28    <value name="PATCHLIST_4" value="35"/>
29    <value name="PATCHLIST_5" value="36"/>
30    <value name="PATCHLIST_6" value="37"/>
31    <value name="PATCHLIST_7" value="38"/>
32    <value name="PATCHLIST_8" value="39"/>
33    <value name="PATCHLIST_9" value="40"/>
34    <value name="PATCHLIST_10" value="41"/>
35    <value name="PATCHLIST_11" value="42"/>
36    <value name="PATCHLIST_12" value="43"/>
37    <value name="PATCHLIST_13" value="44"/>
38    <value name="PATCHLIST_14" value="45"/>
39    <value name="PATCHLIST_15" value="46"/>
40    <value name="PATCHLIST_16" value="47"/>
41    <value name="PATCHLIST_17" value="48"/>
42    <value name="PATCHLIST_18" value="49"/>
43    <value name="PATCHLIST_19" value="50"/>
44    <value name="PATCHLIST_20" value="51"/>
45    <value name="PATCHLIST_21" value="52"/>
46    <value name="PATCHLIST_22" value="53"/>
47    <value name="PATCHLIST_23" value="54"/>
48    <value name="PATCHLIST_24" value="55"/>
49    <value name="PATCHLIST_25" value="56"/>
50    <value name="PATCHLIST_26" value="57"/>
51    <value name="PATCHLIST_27" value="58"/>
52    <value name="PATCHLIST_28" value="59"/>
53    <value name="PATCHLIST_29" value="60"/>
54    <value name="PATCHLIST_30" value="61"/>
55    <value name="PATCHLIST_31" value="62"/>
56    <value name="PATCHLIST_32" value="63"/>
57  </enum>
58
59  <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
60    <value name="NOSTORE" value="0"/>
61    <value name="STORE_SRC" value="1"/>
62    <value name="STORE_0" value="2"/>
63    <value name="STORE_1_FP" value="3"/>
64    <value name="STORE_1_INT" value="4"/>
65    <value name="STORE_PID" value="7"/>
66  </enum>
67
68  <enum name="COMPONENT_ENABLES" prefix="CE">
69    <value name="NONE" value="0"/>
70    <value name="X" value="1"/>
71    <value name="Y" value="2"/>
72    <value name="XY" value="3"/>
73    <value name="Z" value="4"/>
74    <value name="XZ" value="5"/>
75    <value name="YZ" value="6"/>
76    <value name="XYZ" value="7"/>
77    <value name="W" value="8"/>
78    <value name="XW" value="9"/>
79    <value name="YW" value="10"/>
80    <value name="XYW" value="11"/>
81    <value name="ZW" value="12"/>
82    <value name="XZW" value="13"/>
83    <value name="YZW" value="14"/>
84    <value name="XYZW" value="15"/>
85  </enum>
86
87  <enum name="Attribute_Component_Format" prefix="ACF">
88    <value name="disabled" value="0"/>
89    <value name=".xy" value="1"/>
90    <value name=".xyz" value="2"/>
91    <value name=".xyzw" value="3"/>
92  </enum>
93
94  <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
95    <value name="X" value="1"/>
96    <value name="Y" value="2"/>
97    <value name="XY" value="3"/>
98    <value name="Z" value="4"/>
99    <value name="XZ" value="5"/>
100    <value name="YZ" value="6"/>
101    <value name="XYZ" value="7"/>
102    <value name="W" value="8"/>
103    <value name="XW" value="9"/>
104    <value name="YW" value="10"/>
105    <value name="XYW" value="11"/>
106    <value name="ZW" value="12"/>
107    <value name="XZW" value="13"/>
108    <value name="YZW" value="14"/>
109    <value name="XYZW" value="15"/>
110  </enum>
111
112  <enum name="3D_Stencil_Operation" prefix="STENCILOP">
113    <value name="KEEP" value="0"/>
114    <value name="ZERO" value="1"/>
115    <value name="REPLACE" value="2"/>
116    <value name="INCRSAT" value="3"/>
117    <value name="DECRSAT" value="4"/>
118    <value name="INCR" value="5"/>
119    <value name="DECR" value="6"/>
120    <value name="INVERT" value="7"/>
121  </enum>
122
123  <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
124    <value name="ONE" value="1"/>
125    <value name="SRC_COLOR" value="2"/>
126    <value name="SRC_ALPHA" value="3"/>
127    <value name="DST_ALPHA" value="4"/>
128    <value name="DST_COLOR" value="5"/>
129    <value name="SRC_ALPHA_SATURATE" value="6"/>
130    <value name="CONST_COLOR" value="7"/>
131    <value name="CONST_ALPHA" value="8"/>
132    <value name="SRC1_COLOR" value="9"/>
133    <value name="SRC1_ALPHA" value="10"/>
134    <value name="ZERO" value="17"/>
135    <value name="INV_SRC_COLOR" value="18"/>
136    <value name="INV_SRC_ALPHA" value="19"/>
137    <value name="INV_DST_ALPHA" value="20"/>
138    <value name="INV_DST_COLOR" value="21"/>
139    <value name="INV_CONST_COLOR" value="23"/>
140    <value name="INV_CONST_ALPHA" value="24"/>
141    <value name="INV_SRC1_COLOR" value="25"/>
142    <value name="INV_SRC1_ALPHA" value="26"/>
143  </enum>
144
145  <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION">
146    <value name="ADD" value="0"/>
147    <value name="SUBTRACT" value="1"/>
148    <value name="REVERSE_SUBTRACT" value="2"/>
149    <value name="MIN" value="3"/>
150    <value name="MAX" value="4"/>
151  </enum>
152
153  <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
154    <value name="ALWAYS" value="0"/>
155    <value name="NEVER" value="1"/>
156    <value name="LESS" value="2"/>
157    <value name="EQUAL" value="3"/>
158    <value name="LEQUAL" value="4"/>
159    <value name="GREATER" value="5"/>
160    <value name="NOTEQUAL" value="6"/>
161    <value name="GEQUAL" value="7"/>
162  </enum>
163
164  <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
165    <value name="CLEAR" value="0"/>
166    <value name="NOR" value="1"/>
167    <value name="AND_INVERTED" value="2"/>
168    <value name="COPY_INVERTED" value="3"/>
169    <value name="AND_REVERSE" value="4"/>
170    <value name="INVERT" value="5"/>
171    <value name="XOR" value="6"/>
172    <value name="NAND" value="7"/>
173    <value name="AND" value="8"/>
174    <value name="EQUIV" value="9"/>
175    <value name="NOOP" value="10"/>
176    <value name="OR_INVERTED" value="11"/>
177    <value name="COPY" value="12"/>
178    <value name="OR_REVERSE" value="13"/>
179    <value name="OR" value="14"/>
180    <value name="SET" value="15"/>
181  </enum>
182
183  <enum name="SURFACE_FORMAT" prefix="SF">
184    <value name="R32G32B32A32_FLOAT" value="0"/>
185    <value name="R32G32B32A32_SINT" value="1"/>
186    <value name="R32G32B32A32_UINT" value="2"/>
187    <value name="R32G32B32A32_UNORM" value="3"/>
188    <value name="R32G32B32A32_SNORM" value="4"/>
189    <value name="R64G64_FLOAT" value="5"/>
190    <value name="R32G32B32X32_FLOAT" value="6"/>
191    <value name="R32G32B32A32_SSCALED" value="7"/>
192    <value name="R32G32B32A32_USCALED" value="8"/>
193    <value name="R32G32B32A32_SFIXED" value="32"/>
194    <value name="R64G64_PASSTHRU" value="33"/>
195    <value name="R32G32B32_FLOAT" value="64"/>
196    <value name="R32G32B32_SINT" value="65"/>
197    <value name="R32G32B32_UINT" value="66"/>
198    <value name="R32G32B32_UNORM" value="67"/>
199    <value name="R32G32B32_SNORM" value="68"/>
200    <value name="R32G32B32_SSCALED" value="69"/>
201    <value name="R32G32B32_USCALED" value="70"/>
202    <value name="R32G32B32_SFIXED" value="80"/>
203    <value name="R16G16B16A16_UNORM" value="128"/>
204    <value name="R16G16B16A16_SNORM" value="129"/>
205    <value name="R16G16B16A16_SINT" value="130"/>
206    <value name="R16G16B16A16_UINT" value="131"/>
207    <value name="R16G16B16A16_FLOAT" value="132"/>
208    <value name="R32G32_FLOAT" value="133"/>
209    <value name="R32G32_SINT" value="134"/>
210    <value name="R32G32_UINT" value="135"/>
211    <value name="R32_FLOAT_X8X24_TYPELESS" value="136"/>
212    <value name="X32_TYPELESS_G8X24_UINT" value="137"/>
213    <value name="L32A32_FLOAT" value="138"/>
214    <value name="R32G32_UNORM" value="139"/>
215    <value name="R32G32_SNORM" value="140"/>
216    <value name="R64_FLOAT" value="141"/>
217    <value name="R16G16B16X16_UNORM" value="142"/>
218    <value name="R16G16B16X16_FLOAT" value="143"/>
219    <value name="A32X32_FLOAT" value="144"/>
220    <value name="L32X32_FLOAT" value="145"/>
221    <value name="I32X32_FLOAT" value="146"/>
222    <value name="R16G16B16A16_SSCALED" value="147"/>
223    <value name="R16G16B16A16_USCALED" value="148"/>
224    <value name="R32G32_SSCALED" value="149"/>
225    <value name="R32G32_USCALED" value="150"/>
226    <value name="R32G32_SFIXED" value="160"/>
227    <value name="R64_PASSTHRU" value="161"/>
228    <value name="B8G8R8A8_UNORM" value="192"/>
229    <value name="B8G8R8A8_UNORM_SRGB" value="193"/>
230    <value name="R10G10B10A2_UNORM" value="194"/>
231    <value name="R10G10B10A2_UNORM_SRGB" value="195"/>
232    <value name="R10G10B10A2_UINT" value="196"/>
233    <value name="R10G10B10_SNORM_A2_UNORM" value="197"/>
234    <value name="R8G8B8A8_UNORM" value="199"/>
235    <value name="R8G8B8A8_UNORM_SRGB" value="200"/>
236    <value name="R8G8B8A8_SNORM" value="201"/>
237    <value name="R8G8B8A8_SINT" value="202"/>
238    <value name="R8G8B8A8_UINT" value="203"/>
239    <value name="R16G16_UNORM" value="204"/>
240    <value name="R16G16_SNORM" value="205"/>
241    <value name="R16G16_SINT" value="206"/>
242    <value name="R16G16_UINT" value="207"/>
243    <value name="R16G16_FLOAT" value="208"/>
244    <value name="B10G10R10A2_UNORM" value="209"/>
245    <value name="B10G10R10A2_UNORM_SRGB" value="210"/>
246    <value name="R11G11B10_FLOAT" value="211"/>
247    <value name="R32_SINT" value="214"/>
248    <value name="R32_UINT" value="215"/>
249    <value name="R32_FLOAT" value="216"/>
250    <value name="R24_UNORM_X8_TYPELESS" value="217"/>
251    <value name="X24_TYPELESS_G8_UINT" value="218"/>
252    <value name="L32_UNORM" value="221"/>
253    <value name="A32_UNORM" value="222"/>
254    <value name="L16A16_UNORM" value="223"/>
255    <value name="I24X8_UNORM" value="224"/>
256    <value name="L24X8_UNORM" value="225"/>
257    <value name="A24X8_UNORM" value="226"/>
258    <value name="I32_FLOAT" value="227"/>
259    <value name="L32_FLOAT" value="228"/>
260    <value name="A32_FLOAT" value="229"/>
261    <value name="X8B8_UNORM_G8R8_SNORM" value="230"/>
262    <value name="A8X8_UNORM_G8R8_SNORM" value="231"/>
263    <value name="B8X8_UNORM_G8R8_SNORM" value="232"/>
264    <value name="B8G8R8X8_UNORM" value="233"/>
265    <value name="B8G8R8X8_UNORM_SRGB" value="234"/>
266    <value name="R8G8B8X8_UNORM" value="235"/>
267    <value name="R8G8B8X8_UNORM_SRGB" value="236"/>
268    <value name="R9G9B9E5_SHAREDEXP" value="237"/>
269    <value name="B10G10R10X2_UNORM" value="238"/>
270    <value name="L16A16_FLOAT" value="240"/>
271    <value name="R32_UNORM" value="241"/>
272    <value name="R32_SNORM" value="242"/>
273    <value name="R10G10B10X2_USCALED" value="243"/>
274    <value name="R8G8B8A8_SSCALED" value="244"/>
275    <value name="R8G8B8A8_USCALED" value="245"/>
276    <value name="R16G16_SSCALED" value="246"/>
277    <value name="R16G16_USCALED" value="247"/>
278    <value name="R32_SSCALED" value="248"/>
279    <value name="R32_USCALED" value="249"/>
280    <value name="B5G6R5_UNORM" value="256"/>
281    <value name="B5G6R5_UNORM_SRGB" value="257"/>
282    <value name="B5G5R5A1_UNORM" value="258"/>
283    <value name="B5G5R5A1_UNORM_SRGB" value="259"/>
284    <value name="B4G4R4A4_UNORM" value="260"/>
285    <value name="B4G4R4A4_UNORM_SRGB" value="261"/>
286    <value name="R8G8_UNORM" value="262"/>
287    <value name="R8G8_SNORM" value="263"/>
288    <value name="R8G8_SINT" value="264"/>
289    <value name="R8G8_UINT" value="265"/>
290    <value name="R16_UNORM" value="266"/>
291    <value name="R16_SNORM" value="267"/>
292    <value name="R16_SINT" value="268"/>
293    <value name="R16_UINT" value="269"/>
294    <value name="R16_FLOAT" value="270"/>
295    <value name="A8P8_UNORM_PALETTE0" value="271"/>
296    <value name="A8P8_UNORM_PALETTE1" value="272"/>
297    <value name="I16_UNORM" value="273"/>
298    <value name="L16_UNORM" value="274"/>
299    <value name="A16_UNORM" value="275"/>
300    <value name="L8A8_UNORM" value="276"/>
301    <value name="I16_FLOAT" value="277"/>
302    <value name="L16_FLOAT" value="278"/>
303    <value name="A16_FLOAT" value="279"/>
304    <value name="L8A8_UNORM_SRGB" value="280"/>
305    <value name="R5G5_SNORM_B6_UNORM" value="281"/>
306    <value name="B5G5R5X1_UNORM" value="282"/>
307    <value name="B5G5R5X1_UNORM_SRGB" value="283"/>
308    <value name="R8G8_SSCALED" value="284"/>
309    <value name="R8G8_USCALED" value="285"/>
310    <value name="R16_SSCALED" value="286"/>
311    <value name="R16_USCALED" value="287"/>
312    <value name="P8A8_UNORM_PALETTE0" value="290"/>
313    <value name="P8A8_UNORM_PALETTE1" value="291"/>
314    <value name="A1B5G5R5_UNORM" value="292"/>
315    <value name="A4B4G4R4_UNORM" value="293"/>
316    <value name="L8A8_UINT" value="294"/>
317    <value name="L8A8_SINT" value="295"/>
318    <value name="R8_UNORM" value="320"/>
319    <value name="R8_SNORM" value="321"/>
320    <value name="R8_SINT" value="322"/>
321    <value name="R8_UINT" value="323"/>
322    <value name="A8_UNORM" value="324"/>
323    <value name="I8_UNORM" value="325"/>
324    <value name="L8_UNORM" value="326"/>
325    <value name="P4A4_UNORM_PALETTE0" value="327"/>
326    <value name="A4P4_UNORM_PALETTE0" value="328"/>
327    <value name="R8_SSCALED" value="329"/>
328    <value name="R8_USCALED" value="330"/>
329    <value name="P8_UNORM_PALETTE0" value="331"/>
330    <value name="L8_UNORM_SRGB" value="332"/>
331    <value name="P8_UNORM_PALETTE1" value="333"/>
332    <value name="P4A4_UNORM_PALETTE1" value="334"/>
333    <value name="A4P4_UNORM_PALETTE1" value="335"/>
334    <value name="Y8_UNORM" value="336"/>
335    <value name="L8_UINT" value="338"/>
336    <value name="L8_SINT" value="339"/>
337    <value name="I8_UINT" value="340"/>
338    <value name="I8_SINT" value="341"/>
339    <value name="DXT1_RGB_SRGB" value="384"/>
340    <value name="R1_UNORM" value="385"/>
341    <value name="YCRCB_NORMAL" value="386"/>
342    <value name="YCRCB_SWAPUVY" value="387"/>
343    <value name="P2_UNORM_PALETTE0" value="388"/>
344    <value name="P2_UNORM_PALETTE1" value="389"/>
345    <value name="BC1_UNORM" value="390"/>
346    <value name="BC2_UNORM" value="391"/>
347    <value name="BC3_UNORM" value="392"/>
348    <value name="BC4_UNORM" value="393"/>
349    <value name="BC5_UNORM" value="394"/>
350    <value name="BC1_UNORM_SRGB" value="395"/>
351    <value name="BC2_UNORM_SRGB" value="396"/>
352    <value name="BC3_UNORM_SRGB" value="397"/>
353    <value name="MONO8" value="398"/>
354    <value name="YCRCB_SWAPUV" value="399"/>
355    <value name="YCRCB_SWAPY" value="400"/>
356    <value name="DXT1_RGB" value="401"/>
357    <value name="FXT1" value="402"/>
358    <value name="R8G8B8_UNORM" value="403"/>
359    <value name="R8G8B8_SNORM" value="404"/>
360    <value name="R8G8B8_SSCALED" value="405"/>
361    <value name="R8G8B8_USCALED" value="406"/>
362    <value name="R64G64B64A64_FLOAT" value="407"/>
363    <value name="R64G64B64_FLOAT" value="408"/>
364    <value name="BC4_SNORM" value="409"/>
365    <value name="BC5_SNORM" value="410"/>
366    <value name="R16G16B16_FLOAT" value="411"/>
367    <value name="R16G16B16_UNORM" value="412"/>
368    <value name="R16G16B16_SNORM" value="413"/>
369    <value name="R16G16B16_SSCALED" value="414"/>
370    <value name="R16G16B16_USCALED" value="415"/>
371    <value name="BC6H_SF16" value="417"/>
372    <value name="BC7_UNORM" value="418"/>
373    <value name="BC7_UNORM_SRGB" value="419"/>
374    <value name="BC6H_UF16" value="420"/>
375    <value name="PLANAR_420_8" value="421"/>
376    <value name="R8G8B8_UNORM_SRGB" value="424"/>
377    <value name="ETC1_RGB8" value="425"/>
378    <value name="ETC2_RGB8" value="426"/>
379    <value name="EAC_R11" value="427"/>
380    <value name="EAC_RG11" value="428"/>
381    <value name="EAC_SIGNED_R11" value="429"/>
382    <value name="EAC_SIGNED_RG11" value="430"/>
383    <value name="ETC2_SRGB8" value="431"/>
384    <value name="R16G16B16_UINT" value="432"/>
385    <value name="R16G16B16_SINT" value="433"/>
386    <value name="R32_SFIXED" value="434"/>
387    <value name="R10G10B10A2_SNORM" value="435"/>
388    <value name="R10G10B10A2_USCALED" value="436"/>
389    <value name="R10G10B10A2_SSCALED" value="437"/>
390    <value name="R10G10B10A2_SINT" value="438"/>
391    <value name="B10G10R10A2_SNORM" value="439"/>
392    <value name="B10G10R10A2_USCALED" value="440"/>
393    <value name="B10G10R10A2_SSCALED" value="441"/>
394    <value name="B10G10R10A2_UINT" value="442"/>
395    <value name="B10G10R10A2_SINT" value="443"/>
396    <value name="R64G64B64A64_PASSTHRU" value="444"/>
397    <value name="R64G64B64_PASSTHRU" value="445"/>
398    <value name="ETC2_RGB8_PTA" value="448"/>
399    <value name="ETC2_SRGB8_PTA" value="449"/>
400    <value name="ETC2_EAC_RGBA8" value="450"/>
401    <value name="ETC2_EAC_SRGB8_A8" value="451"/>
402    <value name="R8G8B8_UINT" value="456"/>
403    <value name="R8G8B8_SINT" value="457"/>
404    <value name="RAW" value="511"/>
405  </enum>
406
407  <enum name="Shader Channel Select" prefix="SCS">
408    <value name="ZERO" value="0"/>
409    <value name="ONE" value="1"/>
410    <value name="RED" value="4"/>
411    <value name="GREEN" value="5"/>
412    <value name="BLUE" value="6"/>
413    <value name="ALPHA" value="7"/>
414  </enum>
415
416  <enum name="Texture Coordinate Mode" prefix="TCM">
417    <value name="WRAP" value="0"/>
418    <value name="MIRROR" value="1"/>
419    <value name="CLAMP" value="2"/>
420    <value name="CUBE" value="3"/>
421    <value name="CLAMP_BORDER" value="4"/>
422    <value name="MIRROR_ONCE" value="5"/>
423    <value name="HALF_BORDER" value="6"/>
424  </enum>
425
426  <struct name="3DSTATE_CONSTANT_BODY" length="10">
427    <group count="4" start="0" size="16">
428      <field name="Read Length" start="0" end="15" type="uint"/>
429    </group>
430    <group count="4" start="64" size="64">
431      <field name="Buffer" start="5" end="63" type="address"/>
432    </group>
433  </struct>
434
435  <struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
436    <field name="Binding Table Index" start="16" end="23" type="uint"/>
437    <field name="Surface State Pointer" start="0" end="15" type="offset"/>
438  </struct>
439
440  <struct name="GATHER_CONSTANT_ENTRY" length="1">
441    <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
442    <field name="Channel Mask" start="4" end="7" type="uint"/>
443    <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
444  </struct>
445
446  <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
447    <field name="Index to MOCS Tables" start="1" end="6" type="uint"/>
448  </struct>
449
450  <struct name="VERTEX_BUFFER_STATE" length="4">
451    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
452    <field name="Memory Object Control State" start="16" end="22" type="MEMORY_OBJECT_CONTROL_STATE"/>
453    <field name="Vertex Buffer MOCS" start="16" end="22" type="uint"/>
454    <field name="Address Modify Enable" start="14" end="14" type="bool"/>
455    <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
456    <field name="Buffer Pitch" start="0" end="11" type="uint"/>
457    <field name="Buffer Starting Address" start="32" end="95" type="address"/>
458    <field name="Buffer Size" start="96" end="127" type="uint"/>
459  </struct>
460
461  <struct name="VERTEX_ELEMENT_STATE" length="2">
462    <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
463    <field name="Valid" start="25" end="25" type="bool"/>
464    <field name="Source Element Format" start="16" end="24" type="SURFACE_FORMAT"/>
465    <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
466    <field name="Source Element Offset" start="0" end="11" type="uint"/>
467    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
468    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
469    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
470    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
471  </struct>
472
473  <struct name="SO_DECL" length="1">
474    <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
475    <field name="Hole Flag" start="11" end="11" type="uint"/>
476    <field name="Register Index" start="4" end="9" type="uint"/>
477    <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
478  </struct>
479
480  <struct name="SO_DECL_ENTRY" length="2">
481    <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
482    <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
483    <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
484    <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
485  </struct>
486
487  <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
488    <field name="Component Override W" start="15" end="15" type="bool"/>
489    <field name="Component Override Z" start="14" end="14" type="bool"/>
490    <field name="Component Override Y" start="13" end="13" type="bool"/>
491    <field name="Component Override X" start="12" end="12" type="bool"/>
492    <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
493    <field name="Constant Source" start="9" end="10" type="uint">
494      <value name="CONST_0000" value="0"/>
495      <value name="CONST_0001_FLOAT" value="1"/>
496      <value name="CONST_1111_FLOAT" value="2"/>
497      <value name="PRIM_ID" value="3"/>
498    </field>
499    <field name="Swizzle Select" start="6" end="7" type="uint">
500      <value name="INPUTATTR" value="0"/>
501      <value name="INPUTATTR_FACING" value="1"/>
502      <value name="INPUTATTR_W" value="2"/>
503      <value name="INPUTATTR_FACING_W" value="3"/>
504    </field>
505    <field name="Source Attribute" start="0" end="4" type="uint"/>
506  </struct>
507
508  <struct name="SCISSOR_RECT" length="2">
509    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
510    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
511    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
512    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
513  </struct>
514
515  <struct name="SF_CLIP_VIEWPORT" length="16">
516    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
517    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
518    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
519    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
520    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
521    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
522    <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
523    <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
524    <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
525    <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
526    <field name="X Min ViewPort" start="384" end="415" type="float"/>
527    <field name="X Max ViewPort" start="416" end="447" type="float"/>
528    <field name="Y Min ViewPort" start="448" end="479" type="float"/>
529    <field name="Y Max ViewPort" start="480" end="511" type="float"/>
530  </struct>
531
532  <struct name="BLEND_STATE_ENTRY" length="2">
533    <field name="Logic Op Enable" start="63" end="63" type="bool"/>
534    <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
535    <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
536    <field name="Color Clamp Range" start="34" end="35" type="uint">
537      <value name="COLORCLAMP_UNORM" value="0"/>
538      <value name="COLORCLAMP_SNORM" value="1"/>
539      <value name="COLORCLAMP_RTFORMAT" value="2"/>
540    </field>
541    <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
542    <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
543    <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
544    <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
545    <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
546    <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
547    <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
548    <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
549    <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
550    <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
551    <field name="Write Disable Red" start="2" end="2" type="bool"/>
552    <field name="Write Disable Green" start="1" end="1" type="bool"/>
553    <field name="Write Disable Blue" start="0" end="0" type="bool"/>
554  </struct>
555
556  <struct name="BLEND_STATE" length="1">
557    <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
558    <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
559    <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
560    <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
561    <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
562    <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
563    <field name="Color Dither Enable" start="23" end="23" type="bool"/>
564    <field name="X Dither Offset" start="21" end="22" type="uint"/>
565    <field name="Y Dither Offset" start="19" end="20" type="uint"/>
566    <group count="0" start="32" size="64">
567      <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
568    </group>
569  </struct>
570
571  <struct name="CC_VIEWPORT" length="2">
572    <field name="Minimum Depth" start="0" end="31" type="float"/>
573    <field name="Maximum Depth" start="32" end="63" type="float"/>
574  </struct>
575
576  <struct name="COLOR_CALC_STATE" length="6">
577    <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
578    <field name="Alpha Test Format" start="0" end="0" type="uint">
579      <value name="ALPHATEST_UNORM8" value="0"/>
580      <value name="ALPHATEST_FLOAT32" value="1"/>
581    </field>
582    <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
583    <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
584    <field name="Blend Constant Color Red" start="64" end="95" type="float"/>
585    <field name="Blend Constant Color Green" start="96" end="127" type="float"/>
586    <field name="Blend Constant Color Blue" start="128" end="159" type="float"/>
587    <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
588  </struct>
589
590  <struct name="EXECUTION_UNIT_EXTENDED_MESSAGE_DESCRIPTOR" length="1">
591    <field name="Extended Message Length" start="6" end="9" type="uint"/>
592    <field name="End Of Thread" start="5" end="5" type="uint">
593      <value name="No Termination" value="0"/>
594      <value name="EOT" value="1"/>
595    </field>
596    <field name="Target Function ID" start="0" end="3" type="uint"/>
597  </struct>
598
599  <struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
600    <field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
601    <field name="Denorm Mode" start="83" end="83" type="uint">
602      <value name="Ftz" value="0"/>
603      <value name="SetByKernel" value="1"/>
604    </field>
605    <field name="Single Program Flow" start="82" end="82" type="bool"/>
606    <field name="Thread Priority" start="81" end="81" type="uint">
607      <value name="Normal Priority" value="0"/>
608      <value name="High Priority" value="1"/>
609    </field>
610    <field name="Floating Point Mode" start="80" end="80" type="uint">
611      <value name="IEEE-754" value="0"/>
612      <value name="Alternate" value="1"/>
613    </field>
614    <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
615    <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
616    <field name="Software Exception Enable" start="71" end="71" type="bool"/>
617    <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
618    <field name="Sampler Count" start="98" end="100" type="uint">
619      <value name="No samplers used" value="0"/>
620      <value name="Between 1 and 4 samplers used" value="1"/>
621      <value name="Between 5 and 8 samplers used" value="2"/>
622      <value name="Between 9 and 12 samplers used" value="3"/>
623      <value name="Between 13 and 16 samplers used" value="4"/>
624    </field>
625    <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
626    <field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
627    <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
628    <field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
629    <field name="Rounding Mode" start="214" end="215" type="uint">
630      <value name="RTNE" value="0"/>
631      <value name="RU" value="1"/>
632      <value name="RD" value="2"/>
633      <value name="RTZ" value="3"/>
634    </field>
635    <field name="Barrier Enable" start="213" end="213" type="bool"/>
636    <field name="Shared Local Memory Size" start="208" end="212" type="uint">
637      <value name="Encodes 0K" value="0"/>
638      <value name="Encodes 1K" value="1"/>
639      <value name="Encodes 2K" value="2"/>
640      <value name="Encodes 4K" value="3"/>
641      <value name="Encodes 8K" value="4"/>
642      <value name="Encodes 16K" value="5"/>
643      <value name="Encodes 32K" value="6"/>
644      <value name="Encodes 64K" value="7"/>
645    </field>
646    <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
647    <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
648    <field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
649  </struct>
650
651  <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
652    <field name="Rounding Precision" start="0" end="2" type="uint">
653      <value name="+1/16" value="0"/>
654      <value name="+2/16" value="1"/>
655      <value name="+3/16" value="2"/>
656      <value name="+4/16" value="3"/>
657      <value name="+5/16" value="4"/>
658      <value name="+6/16" value="5"/>
659      <value name="+7/16" value="6"/>
660      <value name="+8/16" value="7"/>
661    </field>
662  </struct>
663
664  <struct name="PALETTE_ENTRY" length="1">
665    <field name="Alpha" start="24" end="31" type="uint"/>
666    <field name="Red" start="16" end="23" type="uint"/>
667    <field name="Green" start="8" end="15" type="uint"/>
668    <field name="Blue" start="0" end="7" type="uint"/>
669  </struct>
670
671  <struct name="BINDING_TABLE_STATE" length="1">
672    <field name="Surface State Pointer" start="6" end="31" type="offset"/>
673  </struct>
674
675  <struct name="RENDER_SURFACE_STATE" length="16">
676    <field name="Surface Type" start="29" end="31" type="uint">
677      <value name="SURFTYPE_1D" value="0"/>
678      <value name="SURFTYPE_2D" value="1"/>
679      <value name="SURFTYPE_3D" value="2"/>
680      <value name="SURFTYPE_CUBE" value="3"/>
681      <value name="SURFTYPE_BUFFER" value="4"/>
682      <value name="SURFTYPE_STRBUF" value="5"/>
683      <value name="SURFTYPE_NULL" value="7"/>
684    </field>
685    <field name="Surface Array" start="28" end="28" type="bool"/>
686    <field name="Surface Format" start="18" end="27" type="SURFACE_FORMAT"/>
687    <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
688      <value name="VALIGN 4" value="1"/>
689      <value name="VALIGN 8" value="2"/>
690      <value name="VALIGN 16" value="3"/>
691    </field>
692    <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
693      <value name="HALIGN 4" value="1"/>
694      <value name="HALIGN 8" value="2"/>
695      <value name="HALIGN 16" value="3"/>
696    </field>
697    <field name="Tile Mode" start="12" end="13" type="uint">
698      <value name="LINEAR" value="0"/>
699      <value name="WMAJOR" value="1"/>
700      <value name="XMAJOR" value="2"/>
701      <value name="YMAJOR" value="3"/>
702    </field>
703    <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
704    <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
705    <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
706    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
707      <value name="Write-Only Cache" value="0"/>
708      <value name="Read-Write Cache" value="1"/>
709    </field>
710    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
711      <value name="NORMAL_MODE" value="0"/>
712      <value name="PROGRESSIVE_FRAME" value="2"/>
713      <value name="INTERLACED_FRAME" value="3"/>
714    </field>
715    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
716    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
717    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
718    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
719    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
720    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
721    <field name="Memory Object Control State" start="56" end="62" type="MEMORY_OBJECT_CONTROL_STATE"/>
722    <field name="MOCS" start="56" end="62" type="uint"/>
723    <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
724    <field name="Surface QPitch" start="32" end="46" type="uint"/>
725    <field name="Height" start="80" end="93" type="uint"/>
726    <field name="Width" start="64" end="77" type="uint"/>
727    <field name="Depth" start="117" end="127" type="uint"/>
728    <field name="Surface Pitch" start="96" end="113" type="uint"/>
729    <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
730      <value name="0DEG" value="0"/>
731      <value name="90DEG" value="1"/>
732      <value name="180DEG" value="2"/>
733      <value name="270DEG" value="3"/>
734    </field>
735    <field name="Minimum Array Element" start="146" end="156" type="uint"/>
736    <field name="Render Target View Extent" start="135" end="145" type="uint"/>
737    <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint">
738      <value name="MSFMT_MSS" value="0"/>
739      <value name="MSFMT_DEPTH_STENCIL" value="1"/>
740    </field>
741    <field name="Number of Multisamples" start="131" end="133" type="uint">
742      <value name="MULTISAMPLECOUNT_1" value="0"/>
743      <value name="MULTISAMPLECOUNT_2" value="1"/>
744      <value name="MULTISAMPLECOUNT_4" value="2"/>
745      <value name="MULTISAMPLECOUNT_8" value="3"/>
746      <value name="MULTISAMPLECOUNT_16" value="4"/>
747    </field>
748    <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
749    <field name="X Offset" start="185" end="191" type="uint"/>
750    <field name="Y Offset" start="181" end="183" type="uint"/>
751    <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
752    <field name="Tiled Resource Mode" start="178" end="179" type="uint">
753      <value name="NONE" value="0"/>
754      <value name="4KB" value="1"/>
755      <value name="64KB" value="2"/>
756      <value name="TILEYF" value="1"/>
757      <value name="TILEYS" value="2"/>
758    </field>
759    <field name="Coherency Type" start="174" end="174" type="uint">
760      <value name="GPU coherent" value="0"/>
761      <value name="IA coherent" value="1"/>
762    </field>
763    <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
764    <field name="Surface Min LOD" start="164" end="167" type="uint"/>
765    <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
766    <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
767    <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
768    <field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
769      <value name="AUX_NONE" value="0"/>
770      <value name="AUX_CCS_D" value="1"/>
771      <value name="AUX_APPEND" value="2"/>
772      <value name="AUX_HIZ" value="3"/>
773      <value name="AUX_CCS_E" value="5"/>
774    </field>
775    <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
776    <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
777    <field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
778    <field name="Memory Compression Mode" start="255" end="255" type="uint">
779      <value name="Horizontal" value="0"/>
780      <value name="Vertical" value="1"/>
781    </field>
782    <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
783    <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
784    <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
785    <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
786    <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
787    <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
788    <field name="Surface Base Address" start="256" end="319" type="address"/>
789    <field name="X Offset for V Plane" start="368" end="381" type="uint"/>
790    <field name="Y Offset for V Plane" start="352" end="365" type="uint"/>
791    <field name="Auxiliary Table Index for Media Compressed Surface" start="341" end="351" type="uint"/>
792    <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
793    <field name="Quilt Height" start="325" end="329" type="uint"/>
794    <field name="Quilt Width" start="320" end="324" type="uint"/>
795    <field name="Hierarchical Depth Clear Value" start="384" end="415" type="float"/>
796    <field name="Red Clear Color" start="384" end="415" type="int"/>
797    <field name="Green Clear Color" start="416" end="447" type="int"/>
798    <field name="Blue Clear Color" start="448" end="479" type="int"/>
799    <field name="Alpha Clear Color" start="480" end="511" type="int"/>
800  </struct>
801
802  <struct name="FILTER_COEFFICIENT" length="1">
803    <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
804  </struct>
805
806  <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
807    <field name="Border Color Float Red" start="0" end="31" type="float"/>
808    <field name="Border Color Float Green" start="32" end="63" type="float"/>
809    <field name="Border Color Float Blue" start="64" end="95" type="float"/>
810    <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
811
812    <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
813    <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
814    <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
815    <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
816  </struct>
817
818  <struct name="SAMPLER_STATE" length="4">
819    <field name="Sampler Disable" start="31" end="31" type="bool"/>
820    <field name="Texture Border Color Mode" start="29" end="29" type="uint">
821      <value name="DX10/OGL" value="0"/>
822      <value name="DX9" value="1"/>
823    </field>
824    <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
825      <value name="NONE" value="0"/>
826      <value name="OGL" value="2"/>
827    </field>
828    <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
829    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
830      <value name="NONE" value="0"/>
831      <value name="NEAREST" value="1"/>
832      <value name="LINEAR" value="3"/>
833    </field>
834    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
835      <value name="NEAREST" value="0"/>
836      <value name="LINEAR" value="1"/>
837      <value name="ANISOTROPIC" value="2"/>
838      <value name="MONO" value="6"/>
839    </field>
840    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
841      <value name="NEAREST" value="0"/>
842      <value name="LINEAR" value="1"/>
843      <value name="ANISOTROPIC" value="2"/>
844      <value name="MONO" value="6"/>
845    </field>
846    <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
847    <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
848      <value name="LEGACY" value="0"/>
849      <value name="EWA Approximation" value="1"/>
850    </field>
851    <field name="Min LOD" start="52" end="63" type="u4.8"/>
852    <field name="Max LOD" start="40" end="51" type="u4.8"/>
853    <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
854    <field name="ChromaKey Index" start="37" end="38" type="uint"/>
855    <field name="ChromaKey Mode" start="36" end="36" type="uint">
856      <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
857      <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
858    </field>
859    <field name="Shadow Function" start="33" end="35" type="uint">
860      <value name="PREFILTEROP ALWAYS" value="0"/>
861      <value name="PREFILTEROP NEVER" value="1"/>
862      <value name="PREFILTEROP LESS" value="2"/>
863      <value name="PREFILTEROP EQUAL" value="3"/>
864      <value name="PREFILTEROP LEQUAL" value="4"/>
865      <value name="PREFILTEROP GREATER" value="5"/>
866      <value name="PREFILTEROP NOTEQUAL" value="6"/>
867      <value name="PREFILTEROP GEQUAL" value="7"/>
868    </field>
869    <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
870      <value name="PROGRAMMED" value="0"/>
871      <value name="OVERRIDE" value="1"/>
872    </field>
873    <field name="Border Color Pointer" start="70" end="87" type="offset"/>
874    <field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
875      <value name="MIPNONE" value="0"/>
876      <value name="MIPFILTER" value="1"/>
877    </field>
878    <field name="Reduction Type" start="118" end="119" type="uint">
879      <value name="STD_FILTER" value="0"/>
880      <value name="COMPARISON" value="1"/>
881      <value name="MINIMUM" value="2"/>
882      <value name="MAXIMUM" value="3"/>
883    </field>
884    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
885      <value name="RATIO 2:1" value="0"/>
886      <value name="RATIO 4:1" value="1"/>
887      <value name="RATIO 6:1" value="2"/>
888      <value name="RATIO 8:1" value="3"/>
889      <value name="RATIO 10:1" value="4"/>
890      <value name="RATIO 12:1" value="5"/>
891      <value name="RATIO 14:1" value="6"/>
892      <value name="RATIO 16:1" value="7"/>
893    </field>
894    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
895    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
896    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
897    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
898    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
899    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
900    <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
901      <value name="FULL" value="0"/>
902      <value name="HIGH" value="1"/>
903      <value name="MED" value="2"/>
904      <value name="LOW" value="3"/>
905    </field>
906    <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
907    <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
908    <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
909    <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
910    <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
911  </struct>
912
913  <struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
914    <field name="Table 0Y Filter Coefficient[n,1]" start="24" end="31" type="s1.6"/>
915    <field name="Table 0X Filter Coefficient[n,1]" start="16" end="23" type="s1.6"/>
916    <field name="Table 0Y Filter Coefficient[n,0]" start="8" end="15" type="s1.6"/>
917    <field name="Table 0X Filter Coefficient[n,0]" start="0" end="7" type="s1.6"/>
918    <field name="Table 0Y Filter Coefficient[n,3]" start="56" end="63" type="s1.6"/>
919    <field name="Table 0X Filter Coefficient[n,3]" start="48" end="55" type="s1.6"/>
920    <field name="Table 0Y Filter Coefficient[n,2]" start="40" end="47" type="s1.6"/>
921    <field name="Table 0X Filter Coefficient[n,2]" start="32" end="39" type="s1.6"/>
922    <field name="Table 0Y Filter Coefficient[n,5]" start="88" end="95" type="s1.6"/>
923    <field name="Table 0X Filter Coefficient[n,5]" start="80" end="87" type="s1.6"/>
924    <field name="Table 0Y Filter Coefficient[n,4]" start="72" end="79" type="s1.6"/>
925    <field name="Table 0X Filter Coefficient[n,4]" start="64" end="71" type="s1.6"/>
926    <field name="Table 0Y Filter Coefficient[n,7]" start="120" end="127" type="s1.6"/>
927    <field name="Table 0X Filter Coefficient[n,7]" start="112" end="119" type="s1.6"/>
928    <field name="Table 0Y Filter Coefficient[n,6]" start="104" end="111" type="s1.6"/>
929    <field name="Table 0X Filter Coefficient[n,6]" start="96" end="103" type="s1.6"/>
930    <field name="Table 1X Filter Coefficient[n,3]" start="152" end="159" type="s1.6"/>
931    <field name="Table 1X Filter Coefficient[n,2]" start="144" end="151" type="s1.6"/>
932    <field name="Table 1X Filter Coefficient[n,5]" start="168" end="175" type="s1.6"/>
933    <field name="Table 1X Filter Coefficient[n,4]" start="160" end="167" type="s1.6"/>
934    <field name="Table 1Y Filter Coefficient[n,3]" start="216" end="223" type="s1.6"/>
935    <field name="Table 1Y Filter Coefficient[n,2]" start="208" end="215" type="s1.6"/>
936    <field name="Table 1Y Filter Coefficient[n,5]" start="232" end="239" type="s1.6"/>
937    <field name="Table 1Y Filter Coefficient[n,4]" start="224" end="231" type="s1.6"/>
938  </struct>
939
940  <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
941    <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
942      <value name="NOOP" value="0x000"/>
943      <value name="LOAD" value="0x080"/>
944      <value name="LOADINV" value="0x480"/>
945      <value name="LOAD0" value="0x081"/>
946      <value name="LOAD1" value="0x481"/>
947      <value name="ADD" value="0x100"/>
948      <value name="SUB" value="0x101"/>
949      <value name="AND" value="0x102"/>
950      <value name="OR" value="0x103"/>
951      <value name="XOR" value="0x104"/>
952      <value name="STORE" value="0x180"/>
953      <value name="STOREINV" value="0x580"/>
954    </field>
955    <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
956      <value name="REG0" value="0x00"/>
957      <value name="REG1" value="0x01"/>
958      <value name="REG2" value="0x02"/>
959      <value name="REG3" value="0x03"/>
960      <value name="REG4" value="0x04"/>
961      <value name="REG5" value="0x05"/>
962      <value name="REG6" value="0x06"/>
963      <value name="REG7" value="0x07"/>
964      <value name="REG8" value="0x08"/>
965      <value name="REG9" value="0x09"/>
966      <value name="REG10" value="0x0a"/>
967      <value name="REG11" value="0x0b"/>
968      <value name="REG12" value="0x0c"/>
969      <value name="REG13" value="0x0d"/>
970      <value name="REG14" value="0x0e"/>
971      <value name="REG15" value="0x0f"/>
972      <value name="SRCA" value="0x20"/>
973      <value name="SRCB" value="0x21"/>
974      <value name="ACCU" value="0x31"/>
975      <value name="ZF" value="0x32"/>
976      <value name="CF" value="0x33"/>
977    </field>
978    <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
979      <value name="REG0" value="0x00"/>
980      <value name="REG1" value="0x01"/>
981      <value name="REG2" value="0x02"/>
982      <value name="REG3" value="0x03"/>
983      <value name="REG4" value="0x04"/>
984      <value name="REG5" value="0x05"/>
985      <value name="REG6" value="0x06"/>
986      <value name="REG7" value="0x07"/>
987      <value name="REG8" value="0x08"/>
988      <value name="REG9" value="0x09"/>
989      <value name="REG10" value="0x0a"/>
990      <value name="REG11" value="0x0b"/>
991      <value name="REG12" value="0x0c"/>
992      <value name="REG13" value="0x0d"/>
993      <value name="REG14" value="0x0e"/>
994      <value name="REG15" value="0x0f"/>
995      <value name="SRCA" value="0x20"/>
996      <value name="SRCB" value="0x21"/>
997      <value name="ACCU" value="0x31"/>
998      <value name="ZF" value="0x32"/>
999      <value name="CF" value="0x33"/>
1000    </field>
1001  </struct>
1002
1003  <instruction name="3DPRIMITIVE" bias="2" length="7">
1004    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1005    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1006    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
1007    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
1008    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
1009    <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
1010    <field name="Predicate Enable" start="8" end="8" type="bool"/>
1011    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
1012    <field name="End Offset Enable" start="41" end="41" type="bool"/>
1013    <field name="Vertex Access Type" start="40" end="40" type="uint">
1014      <value name="SEQUENTIAL" value="0"/>
1015      <value name="RANDOM" value="1"/>
1016    </field>
1017    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
1018    <field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
1019    <field name="Start Vertex Location" start="96" end="127" type="uint"/>
1020    <field name="Instance Count" start="128" end="159" type="uint"/>
1021    <field name="Start Instance Location" start="160" end="191" type="uint"/>
1022    <field name="Base Vertex Location" start="192" end="223" type="int"/>
1023  </instruction>
1024
1025  <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3">
1026    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1027    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1028    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1029    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
1030    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1031    <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
1032    <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
1033    <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
1034    <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
1035    <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
1036    <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
1037    <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
1038    <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
1039  </instruction>
1040
1041  <instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2">
1042    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1043    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1044    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1045    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
1046    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1047    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1048    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1049      <value name="All Cores" value="3"/>
1050      <value name="Core 1" value="2"/>
1051      <value name="Core 0" value="1"/>
1052    </field>
1053    <group count="0" start="64" size="32">
1054      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1055    </group>
1056  </instruction>
1057
1058  <instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2">
1059    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1060    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1061    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1062    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
1063    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1064    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1065    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1066      <value name="All Cores" value="3"/>
1067      <value name="Core 1" value="2"/>
1068      <value name="Core 0" value="1"/>
1069    </field>
1070    <group count="0" start="64" size="32">
1071      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1072    </group>
1073  </instruction>
1074
1075  <instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2">
1076    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1077    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1078    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1079    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
1080    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1081    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1082    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1083      <value name="All Cores" value="3"/>
1084      <value name="Core 1" value="2"/>
1085      <value name="Core 0" value="1"/>
1086    </field>
1087    <group count="0" start="64" size="32">
1088      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1089    </group>
1090  </instruction>
1091
1092  <instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2">
1093    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1094    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1095    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1096    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
1097    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1098    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1099    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1100      <value name="All Cores" value="3"/>
1101      <value name="Core 1" value="2"/>
1102      <value name="Core 0" value="1"/>
1103    </field>
1104    <group count="0" start="64" size="32">
1105      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1106    </group>
1107  </instruction>
1108
1109  <instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2">
1110    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1111    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1112    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1113    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
1114    <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1115    <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1116    <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1117      <value name="All Cores" value="3"/>
1118      <value name="Core 1" value="2"/>
1119      <value name="Core 0" value="1"/>
1120    </field>
1121    <group count="0" start="64" size="32">
1122      <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1123    </group>
1124  </instruction>
1125
1126  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2">
1127    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1128    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1129    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1130    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
1131    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1132    <field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
1133  </instruction>
1134
1135  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2">
1136    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1137    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1138    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1139    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
1140    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1141    <field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
1142  </instruction>
1143
1144  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2">
1145    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1146    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1147    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1148    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
1149    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1150    <field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
1151  </instruction>
1152
1153  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2">
1154    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1155    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1156    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1157    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
1158    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1159    <field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
1160  </instruction>
1161
1162  <instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2">
1163    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1164    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1165    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1166    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
1167    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1168    <field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
1169  </instruction>
1170
1171  <instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4">
1172    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1173    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1174    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1175    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
1176    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1177    <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
1178    <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
1179    <field name="Surface Object Control State" start="32" end="38" type="MEMORY_OBJECT_CONTROL_STATE"/>
1180    <field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
1181      <value name="No Valid Data" value="0"/>
1182    </field>
1183  </instruction>
1184
1185  <instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2">
1186    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1187    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1188    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1189    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
1190    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1191    <field name="Blend State Pointer" start="38" end="63" type="offset"/>
1192    <field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
1193  </instruction>
1194
1195  <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2">
1196    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1197    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1198    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1199    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
1200    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1201    <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
1202    <field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
1203  </instruction>
1204
1205  <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4">
1206    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1207    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1208    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1209    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
1210    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1211    <field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
1212    <field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
1213    <field name="ChromaKey High Value" start="96" end="127" type="uint"/>
1214  </instruction>
1215
1216  <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3">
1217    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1218    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1219    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1220    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
1221    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1222    <field name="Depth Clear Value" start="32" end="63" type="float"/>
1223    <field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
1224  </instruction>
1225
1226  <instruction name="3DSTATE_CLIP" bias="2" length="4">
1227    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1228    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1229    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1230    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
1231    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1232    <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
1233    <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
1234      <value name="8 Bit" value="0"/>
1235      <value name="4 Bit" value="1"/>
1236    </field>
1237    <field name="Early Cull Enable" start="50" end="50" type="bool"/>
1238    <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
1239    <field name="Force Clip Mode" start="48" end="48" type="bool"/>
1240    <field name="Statistics Enable" start="42" end="42" type="bool"/>
1241    <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
1242    <field name="Clip Enable" start="95" end="95" type="bool"/>
1243    <field name="API Mode" start="94" end="94" type="uint">
1244      <value name="APIMODE_OGL" value="0"/>
1245      <value name="APIMODE_D3D" value="1"/>
1246    </field>
1247    <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
1248    <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
1249    <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
1250    <field name="Clip Mode" start="77" end="79" type="uint">
1251      <value name="CLIPMODE_NORMAL" value="0"/>
1252      <value name="CLIPMODE_REJECT_ALL" value="3"/>
1253      <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
1254    </field>
1255    <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
1256    <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
1257    <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
1258    <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
1259    <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
1260    <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
1261    <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
1262    <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
1263    <field name="Maximum VP Index" start="96" end="99" type="uint"/>
1264  </instruction>
1265
1266  <instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11">
1267    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1268    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1269    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1270    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
1271    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
1272    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1273    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1274  </instruction>
1275
1276  <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11">
1277    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1278    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1279    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1280    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
1281    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
1282    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1283    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1284  </instruction>
1285
1286  <instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11">
1287    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1288    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1289    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1290    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
1291    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
1292    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1293    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1294  </instruction>
1295
1296  <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11">
1297    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1298    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1299    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1300    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
1301    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
1302    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1303    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1304  </instruction>
1305
1306  <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11">
1307    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1308    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1309    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1310    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
1311    <field name="Constant Buffer Object Control State" start="8" end="14" type="MEMORY_OBJECT_CONTROL_STATE"/>
1312    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1313    <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1314  </instruction>
1315
1316  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8">
1317    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1318    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1319    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1320    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
1321    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
1322    <field name="Surface Type" start="61" end="63" type="uint">
1323      <value name="SURFTYPE_2D" value="1"/>
1324      <value name="SURFTYPE_CUBE" value="3"/>
1325      <value name="SURFTYPE_NULL" value="7"/>
1326    </field>
1327    <field name="Depth Write Enable" start="60" end="60" type="bool"/>
1328    <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
1329    <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
1330    <field name="Surface Format" start="50" end="52" type="uint">
1331      <value name="D32_FLOAT" value="1"/>
1332      <value name="D24_UNORM_X8_UINT" value="3"/>
1333      <value name="D16_UNORM" value="5"/>
1334    </field>
1335    <field name="Surface Pitch" start="32" end="49" type="uint"/>
1336    <field name="Surface Base Address" start="64" end="127" type="address"/>
1337    <field name="Height" start="146" end="159" type="uint"/>
1338    <field name="Width" start="132" end="145" type="uint"/>
1339    <field name="LOD" start="128" end="131" type="uint"/>
1340    <field name="Depth" start="181" end="191" type="uint"/>
1341    <field name="Minimum Array Element" start="170" end="180" type="uint"/>
1342    <field name="Depth Buffer Object Control State" start="160" end="166" type="MEMORY_OBJECT_CONTROL_STATE"/>
1343    <field name="Depth Buffer MOCS" start="160" end="166" type="uint"/>
1344    <field name="Tiled Resource Mode" start="222" end="223" type="uint">
1345      <value name="NONE" value="0"/>
1346      <value name="TILEYF" value="1"/>
1347      <value name="TILEYS" value="2"/>
1348    </field>
1349    <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
1350    <field name="Render Target View Extent" start="245" end="255" type="uint"/>
1351    <field name="Surface QPitch" start="224" end="238" type="uint"/>
1352  </instruction>
1353
1354  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4">
1355    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1356    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1357    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1358    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
1359    <field name="Core Mode Select" start="14" end="15" type="uint">
1360      <value name="Legacy" value="0"/>
1361      <value name="Core 0 Enabled" value="1"/>
1362      <value name="Core 1 Enabled" value="2"/>
1363    </field>
1364    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1365    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
1366    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
1367    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
1368    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
1369    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
1370    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
1371  </instruction>
1372
1373  <instruction name="3DSTATE_DS" bias="2" length="11">
1374    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1375    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1376    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1377    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
1378    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1379    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
1380    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
1381    <field name="Sampler Count" start="123" end="125" type="uint">
1382      <value name="No Samplers" value="0"/>
1383      <value name="1-4 Samplers" value="1"/>
1384      <value name="5-8 Samplers" value="2"/>
1385      <value name="9-12 Samplers" value="3"/>
1386      <value name="13-16 Samplers" value="4"/>
1387    </field>
1388    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
1389    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
1390      <value name="High" value="1"/>
1391    </field>
1392    <field name="Floating Point Mode" start="112" end="112" type="uint">
1393      <value name="IEEE-754" value="0"/>
1394      <value name="Alternate" value="1"/>
1395    </field>
1396    <field name="Accesses UAV" start="110" end="110" type="bool"/>
1397    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
1398    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
1399    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
1400    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
1401    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
1402    <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
1403    <field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
1404    <field name="Maximum Number of Threads" start="245" end="253" type="uint"/>
1405    <field name="Statistics Enable" start="234" end="234" type="bool"/>
1406    <field name="Dispatch Mode" start="227" end="228" type="uint" prefix="DISPATCH_MODE">
1407      <value name="SIMD4X2" value="0"/>
1408      <value name="SIMD8_SINGLE_PATCH" value="1"/>
1409      <value name="SIMD8_SINGLE_OR_DUAL_PATCH" value="2"/>
1410    </field>
1411    <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
1412    <field name="Cache Disable" start="225" end="225" type="bool"/>
1413    <field name="Enable" start="224" end="224" type="bool"/>
1414    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
1415    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
1416    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
1417    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
1418    <field name="DUAL_PATCH Kernel Start Pointer" start="294" end="351" type="offset"/>
1419  </instruction>
1420
1421  <instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2">
1422    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1423    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1424    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1425    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
1426    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1427    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1428    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1429    <field name="Update Gather Table Only" start="33" end="33" type="uint">
1430      <value name="Commit Gather" value="0"/>
1431      <value name="Non-Commit Gather" value="1"/>
1432    </field>
1433    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1434    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1435    <field name="On-Die Table" start="67" end="67" type="uint">
1436      <value name="Load" value="0"/>
1437      <value name="Read" value="1"/>
1438    </field>
1439    <group count="0" start="96" size="32">
1440      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1441      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1442    </group>
1443  </instruction>
1444
1445  <instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2">
1446    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1447    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1448    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1449    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
1450    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1451    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1452    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1453    <field name="Update Gather Table Only" start="33" end="33" type="uint">
1454      <value name="Commit Gather" value="0"/>
1455      <value name="Non-Commit Gather" value="1"/>
1456    </field>
1457    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1458    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1459    <field name="On-Die Table" start="67" end="67" type="uint">
1460      <value name="Load" value="0"/>
1461      <value name="Read" value="1"/>
1462    </field>
1463    <group count="0" start="96" size="32">
1464      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1465      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1466    </group>
1467  </instruction>
1468
1469  <instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2">
1470    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1471    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1472    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1473    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
1474    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1475    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1476    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1477    <field name="Update Gather Table Only" start="33" end="33" type="uint">
1478      <value name="Commit Gather" value="0"/>
1479      <value name="Non-Commit Gather" value="1"/>
1480    </field>
1481    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1482    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1483    <field name="On-Die Table" start="67" end="67" type="uint">
1484      <value name="Load" value="0"/>
1485      <value name="Read" value="1"/>
1486    </field>
1487    <group count="0" start="96" size="32">
1488      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1489      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1490    </group>
1491  </instruction>
1492
1493  <instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2">
1494    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1495    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1496    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1497    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
1498    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1499    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1500    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1501    <field name="Update Gather Table Only" start="33" end="33" type="uint">
1502      <value name="Commit Gather" value="0"/>
1503      <value name="Non-Commit Gather" value="1"/>
1504    </field>
1505    <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
1506    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1507    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1508    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
1509    <field name="On-Die Table" start="67" end="67" type="uint">
1510      <value name="Load" value="0"/>
1511      <value name="Read" value="1"/>
1512    </field>
1513    <group count="0" start="96" size="32">
1514      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1515      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1516    </group>
1517  </instruction>
1518
1519  <instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2">
1520    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1521    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1522    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1523    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
1524    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1525    <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1526    <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1527    <field name="Update Gather Table Only" start="33" end="33" type="uint">
1528      <value name="Commit Gather" value="0"/>
1529      <value name="Non-Commit Gather" value="1"/>
1530    </field>
1531    <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
1532    <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1533    <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1534    <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
1535    <field name="On-Die Table" start="67" end="67" type="uint">
1536      <value name="Load" value="0"/>
1537      <value name="Read" value="1"/>
1538    </field>
1539    <group count="0" start="96" size="32">
1540      <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1541      <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1542    </group>
1543  </instruction>
1544
1545  <instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4">
1546    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1547    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1548    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1549    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
1550    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1551    <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
1552    <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
1553    <field name="Memory Object Control State" start="32" end="38" type="MEMORY_OBJECT_CONTROL_STATE"/>
1554    <field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
1555  </instruction>
1556
1557  <instruction name="3DSTATE_GS" bias="2" length="10">
1558    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1559    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1560    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1561    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
1562    <field name="DWord Length" start="0" end="7" type="uint" default="8"/>
1563    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
1564    <field name="Single Program Flow" start="127" end="127" type="bool"/>
1565    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
1566    <field name="Sampler Count" start="123" end="125" type="uint">
1567      <value name="No Samplers" value="0"/>
1568      <value name="1-4 Samplers" value="1"/>
1569      <value name="5-8 Samplers" value="2"/>
1570      <value name="9-12 Samplers" value="3"/>
1571      <value name="13-16 Samplers" value="4"/>
1572    </field>
1573    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
1574    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
1575      <value name="High" value="1"/>
1576    </field>
1577    <field name="Floating Point Mode" start="112" end="112" type="uint">
1578      <value name="IEEE-754" value="0"/>
1579      <value name="Alternate" value="1"/>
1580    </field>
1581    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
1582    <field name="Accesses UAV" start="108" end="108" type="bool"/>
1583    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
1584    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
1585    <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
1586    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
1587    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
1588    <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
1589    <field name="Output Vertex Size" start="215" end="220" type="uint"/>
1590    <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
1591    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
1592    <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
1593    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
1594    <field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
1595    <field name="Control Data Header Size" start="244" end="247" type="uint"/>
1596    <field name="Instance Control" start="239" end="243" type="uint"/>
1597    <field name="Default Stream Id" start="237" end="238" type="uint"/>
1598    <field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
1599      <value name="Dual Instance" value="1"/>
1600      <value name="Dual Object" value="2"/>
1601      <value name="SIMD8" value="3"/>
1602    </field>
1603    <field name="Statistics Enable" start="234" end="234" type="bool"/>
1604    <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
1605    <field name="Include Primitive ID" start="228" end="228" type="bool"/>
1606    <field name="Hint" start="227" end="227" type="uint"/>
1607    <field name="Reorder Mode" start="226" end="226" type="uint">
1608      <value name="LEADING" value="0"/>
1609      <value name="TRAILING" value="1"/>
1610    </field>
1611    <field name="Discard Adjacency" start="225" end="225" type="bool"/>
1612    <field name="Enable" start="224" end="224" type="bool"/>
1613    <field name="Control Data Format" start="287" end="287" type="uint">
1614      <value name="CUT" value="0"/>
1615      <value name="SID" value="1"/>
1616    </field>
1617    <field name="Static Output" start="286" end="286" type="bool"/>
1618    <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
1619    <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
1620    <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
1621    <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
1622    <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
1623    <field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
1624  </instruction>
1625
1626  <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5">
1627    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1628    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1629    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1630    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
1631    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
1632    <field name="Hierarchical Depth Buffer Object Control State" start="57" end="63" type="MEMORY_OBJECT_CONTROL_STATE"/>
1633    <field name="Hierarchical Depth Buffer MOCS" start="57" end="63" type="uint"/>
1634    <field name="Surface Pitch" start="32" end="48" type="uint"/>
1635    <field name="Surface Base Address" start="64" end="127" type="address"/>
1636    <field name="Surface QPitch" start="128" end="142" type="uint"/>
1637  </instruction>
1638
1639  <instruction name="3DSTATE_HS" bias="2" length="9">
1640    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1641    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1642    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1643    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
1644    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
1645    <field name="Sampler Count" start="59" end="61" type="uint">
1646      <value name="No Samplers" value="0"/>
1647      <value name="1-4 Samplers" value="1"/>
1648      <value name="5-8 Samplers" value="2"/>
1649      <value name="9-12 Samplers" value="3"/>
1650      <value name="13-16 Samplers" value="4"/>
1651    </field>
1652    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
1653    <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
1654      <value name="High" value="1"/>
1655    </field>
1656    <field name="Floating Point Mode" start="48" end="48" type="uint">
1657      <value name="IEEE-754" value="0"/>
1658      <value name="alternate" value="1"/>
1659    </field>
1660    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
1661    <field name="Software Exception Enable" start="44" end="44" type="bool"/>
1662    <field name="Enable" start="95" end="95" type="bool"/>
1663    <field name="Statistics Enable" start="93" end="93" type="bool"/>
1664    <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
1665    <field name="Instance Count" start="64" end="67" type="uint"/>
1666    <field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
1667    <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
1668    <field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
1669    <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
1670    <field name="Single Program Flow" start="251" end="251" type="bool"/>
1671    <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
1672    <field name="Accesses UAV" start="249" end="249" type="bool"/>
1673    <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
1674    <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
1675    <field name="Dispatch Mode" start="241" end="242" type="uint" prefix="DISPATCH_MODE">
1676      <value name="SINGLE_PATCH" value="0"/>
1677      <value name="DUAL_PATCH" value="1"/>
1678      <value name="8_PATCH" value="2"/>
1679    </field>
1680    <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
1681    <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
1682    <field name="Include Primitive ID" start="224" end="224" type="bool"/>
1683  </instruction>
1684
1685  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5">
1686    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1687    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1688    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1689    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
1690    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
1691    <field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
1692      <value name="BYTE" value="0"/>
1693      <value name="WORD" value="1"/>
1694      <value name="DWORD" value="2"/>
1695    </field>
1696    <field name="Memory Object Control State" start="32" end="38" type="MEMORY_OBJECT_CONTROL_STATE"/>
1697    <field name="IndexBufferMOCS" start="32" end="38" type="uint"/>
1698    <field name="Buffer Starting Address" start="64" end="127" type="address"/>
1699    <field name="Buffer Size" start="128" end="159" type="uint"/>
1700  </instruction>
1701
1702  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3">
1703    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1704    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1705    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1706    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
1707    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1708    <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
1709    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
1710    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
1711    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
1712    <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
1713    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
1714  </instruction>
1715
1716  <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2">
1717    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1718    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1719    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1720    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
1721    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1722    <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
1723    <field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
1724  </instruction>
1725
1726  <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2">
1727    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1728    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1729    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1730    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
1731    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1732    <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
1733    <field name="Pixel Location" start="36" end="36" type="uint">
1734      <value name="CENTER" value="0"/>
1735      <value name="UL_CORNER" value="1"/>
1736    </field>
1737    <field name="Number of Multisamples" start="33" end="35" type="uint"/>
1738  </instruction>
1739
1740  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2">
1741    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1742    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1743    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1744    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
1745    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1746    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
1747    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
1748  </instruction>
1749
1750  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33">
1751    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1752    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1753    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1754    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
1755    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
1756    <group count="32" start="32" size="32">
1757      <field name="Pattern Row" start="0" end="31" type="uint"/>
1758    </group>
1759  </instruction>
1760
1761  <instruction name="3DSTATE_PS" bias="2" length="12">
1762    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1763    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1764    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1765    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>
1766    <field name="DWord Length" start="0" end="7" type="uint" default="10"/>
1767    <field name="Kernel Start Pointer 0" start="38" end="95" type="offset"/>
1768    <field name="Single Program Flow" start="127" end="127" type="bool"/>
1769    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
1770    <field name="Sampler Count" start="123" end="125" type="uint">
1771      <value name="No Samplers" value="0"/>
1772      <value name="1-4 Samplers" value="1"/>
1773      <value name="5-8 Samplers" value="2"/>
1774      <value name="9-12 Samplers" value="3"/>
1775      <value name="13-16 Samplers" value="4"/>
1776    </field>
1777    <field name="Single Precision Denormal Mode" start="122" end="122" type="uint">
1778      <value name="Flushed to Zero" value="0"/>
1779      <value name="Retained" value="1"/>
1780    </field>
1781    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
1782    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
1783      <value name="High" value="1"/>
1784    </field>
1785    <field name="Floating Point Mode" start="112" end="112" type="uint">
1786      <value name="IEEE-754" value="0"/>
1787      <value name="Alternate" value="1"/>
1788    </field>
1789    <field name="Rounding Mode" start="110" end="111" type="uint">
1790      <value name="RTNE" value="0"/>
1791      <value name="RU" value="1"/>
1792      <value name="RD" value="2"/>
1793      <value name="RTZ" value="3"/>
1794    </field>
1795    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
1796    <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
1797    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
1798    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
1799    <field name="Per Thread Scratch Space" start="128" end="131" type="uint"/>
1800    <field name="Maximum Number of Threads Per PSD" start="215" end="223" type="uint"/>
1801    <field name="Push Constant Enable" start="203" end="203" type="bool"/>
1802    <field name="Render Target Fast Clear Enable" start="200" end="200" type="bool"/>
1803    <field name="Render Target Resolve Type" start="198" end="199" type="uint">
1804      <value name="RESOLVE_DISABLED" value="0"/>
1805      <value name="RESOLVE_PARTIAL" value="1"/>
1806      <value name="RESOLVE_FULL" value="3"/>
1807    </field>
1808    <field name="Position XY Offset Select" start="195" end="196" type="uint">
1809      <value name="POSOFFSET_NONE" value="0"/>
1810      <value name="POSOFFSET_CENTROID" value="2"/>
1811      <value name="POSOFFSET_SAMPLE" value="3"/>
1812    </field>
1813    <field name="32 Pixel Dispatch Enable" start="194" end="194" type="bool"/>
1814    <field name="16 Pixel Dispatch Enable" start="193" end="193" type="bool"/>
1815    <field name="8 Pixel Dispatch Enable" start="192" end="192" type="bool"/>
1816    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="240" end="246" type="uint"/>
1817    <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="232" end="238" type="uint"/>
1818    <field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="224" end="230" type="uint"/>
1819    <field name="Kernel Start Pointer 1" start="262" end="319" type="offset"/>
1820    <field name="Kernel Start Pointer 2" start="326" end="383" type="offset"/>
1821  </instruction>
1822
1823  <instruction name="3DSTATE_PS_BLEND" bias="2" length="2">
1824    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1825    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1826    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1827    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="77"/>
1828    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1829    <field name="Alpha To Coverage Enable" start="63" end="63" type="bool"/>
1830    <field name="Has Writeable RT" start="62" end="62" type="bool"/>
1831    <field name="Color Buffer Blend Enable" start="61" end="61" type="bool"/>
1832    <field name="Source Alpha Blend Factor" start="56" end="60" type="3D_Color_Buffer_Blend_Factor"/>
1833    <field name="Destination Alpha Blend Factor" start="51" end="55" type="3D_Color_Buffer_Blend_Factor"/>
1834    <field name="Source Blend Factor" start="46" end="50" type="3D_Color_Buffer_Blend_Factor"/>
1835    <field name="Destination Blend Factor" start="41" end="45" type="3D_Color_Buffer_Blend_Factor"/>
1836    <field name="Alpha Test Enable" start="40" end="40" type="bool"/>
1837    <field name="Independent Alpha Blend Enable" start="39" end="39" type="bool"/>
1838  </instruction>
1839
1840  <instruction name="3DSTATE_PS_EXTRA" bias="2" length="2">
1841    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1842    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1843    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1844    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="79"/>
1845    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1846    <field name="Pixel Shader Valid" start="63" end="63" type="bool"/>
1847    <field name="Pixel Shader Does not write to RT" start="62" end="62" type="bool"/>
1848    <field name="oMask Present to Render Target" start="61" end="61" type="bool"/>
1849    <field name="Pixel Shader Kills Pixel" start="60" end="60" type="bool"/>
1850    <field name="Pixel Shader Computed Depth Mode" start="58" end="59" type="uint">
1851      <value name="PSCDEPTH_OFF" value="0"/>
1852      <value name="PSCDEPTH_ON" value="1"/>
1853      <value name="PSCDEPTH_ON_GE" value="2"/>
1854      <value name="PSCDEPTH_ON_LE" value="3"/>
1855    </field>
1856    <field name="Force Computed Depth" start="57" end="57" type="bool"/>
1857    <field name="Pixel Shader Uses Source Depth" start="56" end="56" type="bool"/>
1858    <field name="Pixel Shader Uses Source W" start="55" end="55" type="bool"/>
1859    <field name="Attribute Enable" start="40" end="40" type="bool"/>
1860    <field name="Pixel Shader Disables Alpha To Coverage" start="39" end="39" type="bool"/>
1861    <field name="Pixel Shader Is Per Sample" start="38" end="38" type="bool"/>
1862    <field name="Pixel Shader Computes Stencil" start="37" end="37" type="bool"/>
1863    <field name="Pixel Shader Pulls Bary" start="35" end="35" type="bool"/>
1864    <field name="Pixel Shader Has UAV" start="34" end="34" type="bool"/>
1865    <field name="Input Coverage Mask State" start="32" end="33" type="uint" prefix="ICMS">
1866      <value name="NONE" value="0"/>
1867      <value name="NORMAL" value="1"/>
1868      <value name="INNER_CONSERVATIVE" value="2"/>
1869      <value name="DEPTH_COVERAGE" value="3"/>
1870    </field>
1871  </instruction>
1872
1873  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2">
1874    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1875    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1876    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1877    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
1878    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1879    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
1880    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
1881  </instruction>
1882
1883  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2">
1884    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1885    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1886    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1887    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
1888    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1889    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
1890    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
1891  </instruction>
1892
1893  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2">
1894    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1895    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1896    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1897    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
1898    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1899    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
1900    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
1901  </instruction>
1902
1903  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2">
1904    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1905    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1906    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1907    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
1908    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1909    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
1910    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
1911  </instruction>
1912
1913  <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2">
1914    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1915    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1916    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1917    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
1918    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1919    <field name="Constant Buffer Offset" start="48" end="52" type="uint"/>
1920    <field name="Constant Buffer Size" start="32" end="37" type="uint"/>
1921  </instruction>
1922
1923  <instruction name="3DSTATE_RASTER" bias="2" length="5">
1924    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1925    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1926    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1927    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="80"/>
1928    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
1929    <field name="Viewport Z Far Clip Test Enable" start="58" end="58" type="bool"/>
1930    <field name="Conservative Rasterization Enable" start="56" end="56" type="bool"/>
1931    <field name="API Mode" start="54" end="55" type="uint">
1932      <value name="DX9/OGL" value="0"/>
1933      <value name="DX10.0" value="1"/>
1934      <value name="DX10.1+" value="2"/>
1935    </field>
1936    <field name="Front Winding" start="53" end="53" type="uint">
1937      <value name="Clockwise" value="0"/>
1938      <value name="Counter Clockwise" value="1"/>
1939    </field>
1940    <field name="Forced Sample Count" start="50" end="52" type="uint" prefix="FSC">
1941      <value name="NUMRASTSAMPLES_0" value="0"/>
1942      <value name="NUMRASTSAMPLES_1" value="1"/>
1943      <value name="NUMRASTSAMPLES_2" value="2"/>
1944      <value name="NUMRASTSAMPLES_4" value="3"/>
1945      <value name="NUMRASTSAMPLES_8" value="4"/>
1946      <value name="NUMRASTSAMPLES_16" value="5"/>
1947    </field>
1948    <field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE">
1949      <value name="BOTH" value="0"/>
1950      <value name="NONE" value="1"/>
1951      <value name="FRONT" value="2"/>
1952      <value name="BACK" value="3"/>
1953    </field>
1954    <field name="Force Multisampling" start="46" end="46" type="uint"/>
1955    <field name="Smooth Point Enable" start="45" end="45" type="bool"/>
1956    <field name="DX Multisample Rasterization Enable" start="44" end="44" type="bool"/>
1957    <field name="DX Multisample Rasterization Mode" start="42" end="43" type="uint">
1958      <value name="MSRASTMODE_ OFF_PIXEL" value="0"/>
1959      <value name="MSRASTMODE_ OFF_PATTERN" value="1"/>
1960      <value name="MSRASTMODE_ ON_PIXEL" value="2"/>
1961      <value name="MSRASTMODE_ ON_PATTERN" value="3"/>
1962    </field>
1963    <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/>
1964    <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/>
1965    <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/>
1966    <field name="Front Face Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE">
1967      <value name="SOLID" value="0"/>
1968      <value name="WIREFRAME" value="1"/>
1969      <value name="POINT" value="2"/>
1970    </field>
1971    <field name="Back Face Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE">
1972      <value name="SOLID" value="0"/>
1973      <value name="WIREFRAME" value="1"/>
1974      <value name="POINT" value="2"/>
1975    </field>
1976    <field name="Antialiasing Enable" start="34" end="34" type="bool"/>
1977    <field name="Scissor Rectangle Enable" start="33" end="33" type="bool"/>
1978    <field name="Viewport Z Near Clip Test Enable" start="32" end="32" type="bool"/>
1979    <field name="Global Depth Offset Constant" start="64" end="95" type="float"/>
1980    <field name="Global Depth Offset Scale" start="96" end="127" type="float"/>
1981    <field name="Global Depth Offset Clamp" start="128" end="159" type="float"/>
1982  </instruction>
1983
1984  <instruction name="3DSTATE_RS_CONSTANT_POINTER" bias="2" length="4">
1985    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1986    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1987    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1988    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="84"/>
1989    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1990    <field name="Shader Select" start="60" end="62" type="uint">
1991      <value name="VS" value="0"/>
1992      <value name="PS" value="4"/>
1993    </field>
1994    <field name="Operation Load or Store" start="44" end="44" type="uint" prefix="RS">
1995      <value name="Store" value="0"/>
1996      <value name="Load" value="1"/>
1997    </field>
1998    <field name="Global Constant Buffer Address" start="70" end="95" type="address"/>
1999    <field name="Global Constant Buffer Address High" start="96" end="127" type="address"/>
2000  </instruction>
2001
2002  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2">
2003    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2004    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2005    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2006    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
2007    <field name="DWord Length" start="0" end="7" type="uint"/>
2008    <group count="0" start="32" size="32">
2009      <field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/>
2010    </group>
2011  </instruction>
2012
2013  <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2">
2014    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2015    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2016    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2017    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
2018    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2019    <group count="0" start="32" size="32">
2020      <field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/>
2021      <field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/>
2022      <field name="Palette Green[0:N-1]" start="8" end="15" type="uint"/>
2023      <field name="Palette Blue[0:N-1]" start="0" end="7" type="uint"/>
2024    </group>
2025  </instruction>
2026
2027  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2">
2028    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2029    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2030    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2031    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/>
2032    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2033    <field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/>
2034  </instruction>
2035
2036  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2">
2037    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2038    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2039    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2040    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/>
2041    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2042    <field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/>
2043  </instruction>
2044
2045  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2">
2046    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2047    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2048    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2049    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/>
2050    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2051    <field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/>
2052  </instruction>
2053
2054  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2">
2055    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2056    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2057    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2058    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/>
2059    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2060    <field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/>
2061  </instruction>
2062
2063  <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2">
2064    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2065    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2066    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2067    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/>
2068    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2069    <field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/>
2070  </instruction>
2071
2072  <instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2">
2073    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2074    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2075    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2076    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
2077    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2078    <field name="Sample Mask" start="32" end="47" type="uint"/>
2079  </instruction>
2080
2081  <instruction name="3DSTATE_SAMPLE_PATTERN" bias="2" length="9">
2082    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2083    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2084    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2085    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
2086    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
2087    <field name="16x Sample3 X Offset" start="60" end="63" type="u0.4"/>
2088    <field name="16x Sample3 Y Offset" start="56" end="59" type="u0.4"/>
2089    <field name="16x Sample2 X Offset" start="52" end="55" type="u0.4"/>
2090    <field name="16x Sample2 Y Offset" start="48" end="51" type="u0.4"/>
2091    <field name="16x Sample1 X Offset" start="44" end="47" type="u0.4"/>
2092    <field name="16x Sample1 Y Offset" start="40" end="43" type="u0.4"/>
2093    <field name="16x Sample0 X Offset" start="36" end="39" type="u0.4"/>
2094    <field name="16x Sample0 Y Offset" start="32" end="35" type="u0.4"/>
2095    <field name="16x Sample7 X Offset" start="92" end="95" type="u0.4"/>
2096    <field name="16x Sample7 Y Offset" start="88" end="91" type="u0.4"/>
2097    <field name="16x Sample6 X Offset" start="84" end="87" type="u0.4"/>
2098    <field name="16x Sample6 Y Offset" start="80" end="83" type="u0.4"/>
2099    <field name="16x Sample5 X Offset" start="76" end="79" type="u0.4"/>
2100    <field name="16x Sample5 Y Offset" start="72" end="75" type="u0.4"/>
2101    <field name="16x Sample4 X Offset" start="68" end="71" type="u0.4"/>
2102    <field name="16x Sample4 Y Offset" start="64" end="67" type="u0.4"/>
2103    <field name="16x Sample11 X Offset" start="124" end="127" type="u0.4"/>
2104    <field name="16x Sample11 Y Offset" start="120" end="123" type="u0.4"/>
2105    <field name="16x Sample10 X Offset" start="116" end="119" type="u0.4"/>
2106    <field name="16x Sample10 Y Offset" start="112" end="115" type="u0.4"/>
2107    <field name="16x Sample9 X Offset" start="108" end="111" type="u0.4"/>
2108    <field name="16x Sample9 Y Offset" start="104" end="107" type="u0.4"/>
2109    <field name="16x Sample8 X Offset" start="100" end="103" type="u0.4"/>
2110    <field name="16x Sample8 Y Offset" start="96" end="99" type="u0.4"/>
2111    <field name="16x Sample15 X Offset" start="156" end="159" type="u0.4"/>
2112    <field name="16x Sample15 Y Offset" start="152" end="155" type="u0.4"/>
2113    <field name="16x Sample14 X Offset" start="148" end="151" type="u0.4"/>
2114    <field name="16x Sample14 Y Offset" start="144" end="147" type="u0.4"/>
2115    <field name="16x Sample13 X Offset" start="140" end="143" type="u0.4"/>
2116    <field name="16x Sample13 Y Offset" start="136" end="139" type="u0.4"/>
2117    <field name="16x Sample12 X Offset" start="132" end="135" type="u0.4"/>
2118    <field name="16x Sample12 Y Offset" start="128" end="131" type="u0.4"/>
2119    <field name="8x Sample7 X Offset" start="188" end="191" type="u0.4"/>
2120    <field name="8x Sample7 Y Offset" start="184" end="187" type="u0.4"/>
2121    <field name="8x Sample6 X Offset" start="180" end="183" type="u0.4"/>
2122    <field name="8x Sample6 Y Offset" start="176" end="179" type="u0.4"/>
2123    <field name="8x Sample5 X Offset" start="172" end="175" type="u0.4"/>
2124    <field name="8x Sample5 Y Offset" start="168" end="171" type="u0.4"/>
2125    <field name="8x Sample4 X Offset" start="164" end="167" type="u0.4"/>
2126    <field name="8x Sample4 Y Offset" start="160" end="163" type="u0.4"/>
2127    <field name="8x Sample3 X Offset" start="220" end="223" type="u0.4"/>
2128    <field name="8x Sample3 Y Offset" start="216" end="219" type="u0.4"/>
2129    <field name="8x Sample2 X Offset" start="212" end="215" type="u0.4"/>
2130    <field name="8x Sample2 Y Offset" start="208" end="211" type="u0.4"/>
2131    <field name="8x Sample1 X Offset" start="204" end="207" type="u0.4"/>
2132    <field name="8x Sample1 Y Offset" start="200" end="203" type="u0.4"/>
2133    <field name="8x Sample0 X Offset" start="196" end="199" type="u0.4"/>
2134    <field name="8x Sample0 Y Offset" start="192" end="195" type="u0.4"/>
2135    <field name="4x Sample3 X Offset" start="252" end="255" type="u0.4"/>
2136    <field name="4x Sample3 Y Offset" start="248" end="251" type="u0.4"/>
2137    <field name="4x Sample2 X Offset" start="244" end="247" type="u0.4"/>
2138    <field name="4x Sample2 Y Offset" start="240" end="243" type="u0.4"/>
2139    <field name="4x Sample1 X Offset" start="236" end="239" type="u0.4"/>
2140    <field name="4x Sample1 Y Offset" start="232" end="235" type="u0.4"/>
2141    <field name="4x Sample0 X Offset" start="228" end="231" type="u0.4"/>
2142    <field name="4x Sample0 Y Offset" start="224" end="227" type="u0.4"/>
2143    <field name="1x Sample0 X Offset" start="276" end="279" type="u0.4"/>
2144    <field name="1x Sample0 Y Offset" start="272" end="275" type="u0.4"/>
2145    <field name="2x Sample1 X Offset" start="268" end="271" type="u0.4"/>
2146    <field name="2x Sample1 Y Offset" start="264" end="267" type="u0.4"/>
2147    <field name="2x Sample0 X Offset" start="260" end="263" type="u0.4"/>
2148    <field name="2x Sample0 Y Offset" start="256" end="259" type="u0.4"/>
2149  </instruction>
2150
2151  <instruction name="3DSTATE_SBE" bias="2" length="6">
2152    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2153    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2154    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2155    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/>
2156    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
2157    <field name="Force Vertex URB Entry Read Length" start="61" end="61" type="bool"/>
2158    <field name="Force Vertex URB Entry Read Offset" start="60" end="60" type="bool"/>
2159    <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/>
2160    <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/>
2161    <field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint">
2162      <value name="UPPERLEFT" value="0"/>
2163      <value name="LOWERLEFT" value="1"/>
2164    </field>
2165    <field name="Primitive ID Override Component W" start="51" end="51" type="bool"/>
2166    <field name="Primitive ID Override Component Z" start="50" end="50" type="bool"/>
2167    <field name="Primitive ID Override Component Y" start="49" end="49" type="bool"/>
2168    <field name="Primitive ID Override Component X" start="48" end="48" type="bool"/>
2169    <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/>
2170    <field name="Vertex URB Entry Read Offset" start="37" end="42" type="uint"/>
2171    <field name="Primitive ID Override Attribute Select" start="32" end="36" type="uint"/>
2172    <field name="Point Sprite Texture Coordinate Enable" start="64" end="95" type="uint"/>
2173    <field name="Constant Interpolation Enable" start="96" end="127" type="uint"/>
2174    <group count="32" start="128" size="2">
2175      <field name="Attribute Active Component Format" start="0" end="1" type="uint" prefix="ACTIVE_COMPONENT">
2176         <value name="DISABLED" value="0"/>
2177         <value name="XY" value="1"/>
2178         <value name="XYZ" value="2"/>
2179         <value name="XYZW" value="3"/>
2180      </field>
2181    </group>
2182  </instruction>
2183
2184  <instruction name="3DSTATE_SBE_SWIZ" bias="2" length="11">
2185    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2186    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2187    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2188    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="81"/>
2189    <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
2190    <group count="16" start="32" size="16">
2191      <field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/>
2192    </group>
2193    <group count="16" start="288" size="4">
2194      <field name="Attribute Wrap Shortest Enables" start="0" end="3" type="uint"/>
2195    </group>
2196  </instruction>
2197
2198  <instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2">
2199    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2200    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2201    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2202    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/>
2203    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2204    <field name="Scissor Rect Pointer" start="37" end="63" type="offset"/>
2205  </instruction>
2206
2207  <instruction name="3DSTATE_SF" bias="2" length="4">
2208    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2209    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2210    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2211    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/>
2212    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
2213    <field name="Line Width" start="44" end="61" type="u11.7"/>
2214    <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/>
2215    <field name="Statistics Enable" start="42" end="42" type="bool"/>
2216    <field name="Viewport Transform Enable" start="33" end="33" type="bool"/>
2217    <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint">
2218      <value name="0.5 pixels" value="0"/>
2219      <value name="1.0 pixels" value="1"/>
2220      <value name="2.0 pixels" value="2"/>
2221      <value name="4.0 pixels" value="3"/>
2222    </field>
2223    <field name="Last Pixel Enable" start="127" end="127" type="bool"/>
2224    <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"/>
2225    <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/>
2226    <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"/>
2227    <field name="AA Line Distance Mode" start="110" end="110" type="uint">
2228      <value name="AALINEDISTANCE_TRUE" value="1"/>
2229    </field>
2230    <field name="Smooth Point Enable" start="109" end="109" type="bool"/>
2231    <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint"/>
2232    <field name="Point Width Source" start="107" end="107" type="uint">
2233      <value name="Vertex" value="0"/>
2234      <value name="State" value="1"/>
2235    </field>
2236    <field name="Point Width" start="96" end="106" type="u8.3"/>
2237  </instruction>
2238
2239  <instruction name="3DSTATE_SO_BUFFER" bias="2" length="8">
2240    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2241    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2242    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2243    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/>
2244    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
2245    <field name="SO Buffer Enable" start="63" end="63" type="bool"/>
2246    <field name="SO Buffer Index" start="61" end="62" type="uint"/>
2247    <field name="SO Buffer Object Control State" start="54" end="60" type="MEMORY_OBJECT_CONTROL_STATE"/>
2248    <field name="SO Buffer MOCS" start="54" end="60" type="uint"/>
2249    <field name="Stream Offset Write Enable" start="53" end="53" type="bool"/>
2250    <field name="Stream Output Buffer Offset Address Enable" start="52" end="52" type="bool"/>
2251    <field name="Surface Base Address" start="66" end="111" type="address"/>
2252    <field name="Surface Size" start="128" end="157" type="uint"/>
2253    <field name="Stream Output Buffer Offset Address" start="162" end="207" type="address"/>
2254    <field name="Stream Offset" start="224" end="255" type="uint"/>
2255  </instruction>
2256
2257  <instruction name="3DSTATE_SO_DECL_LIST" bias="2">
2258    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2259    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2260    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2261    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
2262    <field name="DWord Length" start="0" end="8" type="uint"/>
2263    <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/>
2264    <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/>
2265    <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/>
2266    <field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/>
2267    <field name="Num Entries [3]" start="88" end="95" type="uint"/>
2268    <field name="Num Entries [2]" start="80" end="87" type="uint"/>
2269    <field name="Num Entries [1]" start="72" end="79" type="uint"/>
2270    <field name="Num Entries [0]" start="64" end="71" type="uint"/>
2271    <group count="0" start="96" size="64">
2272      <field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/>
2273    </group>
2274  </instruction>
2275
2276  <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="5">
2277    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2278    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2279    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2280    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
2281    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
2282    <field name="Stencil Buffer Enable" start="63" end="63" type="bool"/>
2283    <field name="Stencil Buffer Object Control State" start="54" end="60" type="MEMORY_OBJECT_CONTROL_STATE"/>
2284    <field name="Stencil Buffer MOCS" start="54" end="60" type="uint"/>
2285    <field name="Surface Pitch" start="32" end="48" type="uint"/>
2286    <field name="Surface Base Address" start="64" end="127" type="address"/>
2287    <field name="Surface QPitch" start="128" end="142" type="uint"/>
2288  </instruction>
2289
2290  <instruction name="3DSTATE_STREAMOUT" bias="2" length="5">
2291    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2292    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2293    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2294    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
2295    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
2296    <field name="SO Function Enable" start="63" end="63" type="bool"/>
2297    <field name="Rendering Disable" start="62" end="62" type="bool"/>
2298    <field name="Render Stream Select" start="59" end="60" type="uint"/>
2299    <field name="Reorder Mode" start="58" end="58" type="uint">
2300      <value name="LEADING" value="0"/>
2301      <value name="TRAILING" value="1"/>
2302    </field>
2303    <field name="SO Statistics Enable" start="57" end="57" type="bool"/>
2304    <field name="Force Rendering" start="55" end="56" type="uint">
2305      <value name="Resreved" value="1"/>
2306      <value name="Force_Off" value="2"/>
2307      <value name="Force_on" value="3"/>
2308    </field>
2309    <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/>
2310    <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/>
2311    <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/>
2312    <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/>
2313    <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/>
2314    <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/>
2315    <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/>
2316    <field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/>
2317    <field name="Buffer 1 Surface Pitch" start="112" end="123" type="uint"/>
2318    <field name="Buffer 0 Surface Pitch" start="96" end="107" type="uint"/>
2319    <field name="Buffer 3 Surface Pitch" start="144" end="155" type="uint"/>
2320    <field name="Buffer 2 Surface Pitch" start="128" end="139" type="uint"/>
2321  </instruction>
2322
2323  <instruction name="3DSTATE_TE" bias="2" length="4">
2324    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2325    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2326    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2327    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/>
2328    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
2329    <field name="Partitioning" start="44" end="45" type="uint">
2330      <value name="INTEGER" value="0"/>
2331      <value name="ODD_FRACTIONAL" value="1"/>
2332      <value name="EVEN_FRACTIONAL" value="2"/>
2333    </field>
2334    <field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT">
2335      <value name="POINT" value="0"/>
2336      <value name="LINE" value="1"/>
2337      <value name="TRI_CW" value="2"/>
2338      <value name="TRI_CCW" value="3"/>
2339    </field>
2340    <field name="TE Domain" start="36" end="37" type="uint">
2341      <value name="QUAD" value="0"/>
2342      <value name="TRI" value="1"/>
2343      <value name="ISOLINE" value="2"/>
2344    </field>
2345    <field name="TE Mode" start="33" end="34" type="uint">
2346      <value name="HW_TESS" value="0"/>
2347    </field>
2348    <field name="TE Enable" start="32" end="32" type="bool"/>
2349    <field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/>
2350    <field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/>
2351  </instruction>
2352
2353  <instruction name="3DSTATE_URB_CLEAR" bias="2" length="2">
2354    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2355    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2356    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2357    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
2358    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2359    <field name="URB Clear Length" start="48" end="61" type="uint"/>
2360    <field name="URB Address" start="32" end="46" type="offset"/>
2361  </instruction>
2362
2363  <instruction name="3DSTATE_URB_DS" bias="2" length="2">
2364    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2365    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2366    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2367    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/>
2368    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2369    <field name="DS URB Starting Address" start="57" end="63" type="uint"/>
2370    <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/>
2371    <field name="DS Number of URB Entries" start="32" end="47" type="uint"/>
2372  </instruction>
2373
2374  <instruction name="3DSTATE_URB_GS" bias="2" length="2">
2375    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2376    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2377    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2378    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/>
2379    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2380    <field name="GS URB Starting Address" start="57" end="63" type="uint"/>
2381    <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/>
2382    <field name="GS Number of URB Entries" start="32" end="47" type="uint"/>
2383  </instruction>
2384
2385  <instruction name="3DSTATE_URB_HS" bias="2" length="2">
2386    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2387    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2388    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2389    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/>
2390    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2391    <field name="HS URB Starting Address" start="57" end="63" type="uint"/>
2392    <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/>
2393    <field name="HS Number of URB Entries" start="32" end="47" type="uint"/>
2394  </instruction>
2395
2396  <instruction name="3DSTATE_URB_VS" bias="2" length="2">
2397    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2398    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2399    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2400    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/>
2401    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2402    <field name="VS URB Starting Address" start="57" end="63" type="uint"/>
2403    <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/>
2404    <field name="VS Number of URB Entries" start="32" end="47" type="uint"/>
2405  </instruction>
2406
2407  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2">
2408    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2409    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2410    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2411    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
2412    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
2413    <group count="0" start="32" size="128">
2414      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
2415    </group>
2416  </instruction>
2417
2418  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2">
2419    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2420    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2421    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2422    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
2423    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
2424    <group count="0" start="32" size="64">
2425      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
2426    </group>
2427  </instruction>
2428
2429  <instruction name="3DSTATE_VF" bias="2" length="2">
2430    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2431    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2432    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2433    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/>
2434    <field name="Sequential Draw Cut Index Enable" start="10" end="10" type="bool"/>
2435    <field name="Component Packing Enable" start="9" end="9" type="bool"/>
2436    <field name="Indexed Draw Cut Index Enable" start="8" end="8" type="bool"/>
2437    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2438    <field name="Cut Index" start="32" end="63" type="uint"/>
2439  </instruction>
2440
2441  <instruction name="3DSTATE_VF_COMPONENT_PACKING" bias="2" length="5">
2442    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2443    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2444    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2445    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="85"/>
2446    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
2447    <field name="Vertex Element 07 Enables" start="60" end="63" type="uint"/>
2448    <field name="Vertex Element 06 Enables" start="56" end="59" type="uint"/>
2449    <field name="Vertex Element 05 Enables" start="52" end="55" type="uint"/>
2450    <field name="Vertex Element 04 Enables" start="48" end="51" type="uint"/>
2451    <field name="Vertex Element 03 Enables" start="44" end="47" type="uint"/>
2452    <field name="Vertex Element 02 Enables" start="40" end="43" type="uint"/>
2453    <field name="Vertex Element 01 Enables" start="36" end="39" type="uint"/>
2454    <field name="Vertex Element 00 Enables" start="32" end="35" type="uint"/>
2455    <field name="Vertex Element 15 Enables" start="92" end="95" type="uint"/>
2456    <field name="Vertex Element 14 Enables" start="88" end="91" type="uint"/>
2457    <field name="Vertex Element 13 Enables" start="84" end="87" type="uint"/>
2458    <field name="Vertex Element 12 Enables" start="80" end="83" type="uint"/>
2459    <field name="Vertex Element 11 Enables" start="76" end="79" type="uint"/>
2460    <field name="Vertex Element 10 Enables" start="72" end="75" type="uint"/>
2461    <field name="Vertex Element 09 Enables" start="68" end="71" type="uint"/>
2462    <field name="Vertex Element 08 Enables" start="64" end="67" type="uint"/>
2463    <field name="Vertex Element 23 Enables" start="124" end="127" type="uint"/>
2464    <field name="Vertex Element 22 Enables" start="120" end="123" type="uint"/>
2465    <field name="Vertex Element 21 Enables" start="116" end="119" type="uint"/>
2466    <field name="Vertex Element 20 Enables" start="112" end="115" type="uint"/>
2467    <field name="Vertex Element 19 Enables" start="108" end="111" type="uint"/>
2468    <field name="Vertex Element 18 Enables" start="104" end="107" type="uint"/>
2469    <field name="Vertex Element 17 Enables" start="100" end="103" type="uint"/>
2470    <field name="Vertex Element 16 Enables" start="96" end="99" type="uint"/>
2471    <field name="Vertex Element 31 Enables" start="156" end="159" type="uint"/>
2472    <field name="Vertex Element 30 Enables" start="152" end="155" type="uint"/>
2473    <field name="Vertex Element 29 Enables" start="148" end="151" type="uint"/>
2474    <field name="Vertex Element 28 Enables" start="144" end="147" type="uint"/>
2475    <field name="Vertex Element 27 Enables" start="140" end="143" type="uint"/>
2476    <field name="Vertex Element 26 Enables" start="136" end="139" type="uint"/>
2477    <field name="Vertex Element 25 Enables" start="132" end="135" type="uint"/>
2478    <field name="Vertex Element 24 Enables" start="128" end="131" type="uint"/>
2479  </instruction>
2480
2481  <instruction name="3DSTATE_VF_INSTANCING" bias="2" length="3">
2482    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2483    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2484    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2485    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="73"/>
2486    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
2487    <field name="Instancing Enable" start="40" end="40" type="bool"/>
2488    <field name="Vertex Element Index" start="32" end="37" type="uint"/>
2489    <field name="Instance Data Step Rate" start="64" end="95" type="uint"/>
2490  </instruction>
2491
2492  <instruction name="3DSTATE_VF_SGVS" bias="2" length="2">
2493    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2494    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2495    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2496    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="74"/>
2497    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2498    <field name="InstanceID Enable" start="63" end="63" type="bool"/>
2499    <field name="InstanceID Component Number" start="61" end="62" type="uint">
2500      <value name="COMP_0" value="0"/>
2501      <value name="COMP_1" value="1"/>
2502      <value name="COMP_2" value="2"/>
2503      <value name="COMP_3" value="3"/>
2504    </field>
2505    <field name="InstanceID Element Offset" start="48" end="53" type="uint"/>
2506    <field name="VertexID Enable" start="47" end="47" type="bool"/>
2507    <field name="VertexID Component Number" start="45" end="46" type="uint">
2508      <value name="COMP_0" value="0"/>
2509      <value name="COMP_1" value="1"/>
2510      <value name="COMP_2" value="2"/>
2511      <value name="COMP_3" value="3"/>
2512    </field>
2513    <field name="VertexID Element Offset" start="32" end="37" type="uint"/>
2514  </instruction>
2515
2516  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1">
2517    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2518    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
2519    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2520    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
2521    <field name="Statistics Enable" start="0" end="0" type="bool"/>
2522  </instruction>
2523
2524  <instruction name="3DSTATE_VF_TOPOLOGY" bias="2" length="2">
2525    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2526    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2527    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2528    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="75"/>
2529    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2530    <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
2531  </instruction>
2532
2533  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2">
2534    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2535    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2536    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2537    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/>
2538    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2539    <field name="CC Viewport Pointer" start="37" end="63" type="offset"/>
2540  </instruction>
2541
2542  <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2">
2543    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2544    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2545    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2546    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/>
2547    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2548    <field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/>
2549  </instruction>
2550
2551  <instruction name="3DSTATE_VS" bias="2" length="9">
2552    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2553    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2554    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2555    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
2556    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
2557    <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
2558    <field name="Single Vertex Dispatch" start="127" end="127" type="bool"/>
2559    <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
2560    <field name="Sampler Count" start="123" end="125" type="uint">
2561      <value name="No Samplers" value="0"/>
2562      <value name="1-4 Samplers" value="1"/>
2563      <value name="5-8 Samplers" value="2"/>
2564      <value name="9-12 Samplers" value="3"/>
2565      <value name="13-16 Samplers" value="4"/>
2566    </field>
2567    <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
2568    <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
2569      <value name="High" value="1"/>
2570    </field>
2571    <field name="Floating Point Mode" start="112" end="112" type="uint">
2572      <value name="IEEE-754" value="0"/>
2573      <value name="Alternate" value="1"/>
2574    </field>
2575    <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
2576    <field name="Accesses UAV" start="108" end="108" type="bool"/>
2577    <field name="Software Exception Enable" start="103" end="103" type="bool"/>
2578    <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
2579    <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
2580    <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
2581    <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
2582    <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
2583    <field name="Maximum Number of Threads" start="247" end="255" type="uint"/>
2584    <field name="Statistics Enable" start="234" end="234" type="bool"/>
2585    <field name="SIMD8 Dispatch Enable" start="226" end="226" type="bool"/>
2586    <field name="Vertex Cache Disable" start="225" end="225" type="bool"/>
2587    <field name="Enable" start="224" end="224" type="bool"/>
2588    <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
2589    <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
2590    <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
2591    <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
2592  </instruction>
2593
2594  <instruction name="3DSTATE_WM" bias="2" length="2">
2595    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2596    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2597    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2598    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
2599    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2600    <field name="Statistics Enable" start="63" end="63" type="bool"/>
2601    <field name="Legacy Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
2602    <field name="Legacy Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
2603    <field name="Legacy Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
2604    <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/>
2605    <field name="Early Depth/Stencil Control" start="53" end="54" type="uint">
2606      <value name="EDSC_NORMAL" value="0"/>
2607      <value name="EDSC_PSEXEC" value="1"/>
2608      <value name="EDSC_PREPS" value="2"/>
2609    </field>
2610    <field name="Force Thread Dispatch Enable" start="51" end="52" type="uint">
2611      <value name="ForceOff" value="1"/>
2612      <value name="ForceON" value="2"/>
2613    </field>
2614    <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint">
2615      <value name="INTERP_PIXEL" value="0"/>
2616      <value name="INTERP_CENTROID" value="2"/>
2617      <value name="INTERP_SAMPLE" value="3"/>
2618    </field>
2619    <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint">
2620      <value name="BIM_PERSPECTIVE_PIXEL" value="1"/>
2621      <value name="BIM_PERSPECTIVE_CENTROID" value ="2"/>
2622      <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/>
2623      <value name="BIM_LINEAR_PIXEL" value="8"/>
2624      <value name="BIM_LINEAR_CENTROID" value="16"/>
2625      <value name="BIM_LINEAR_SAMPLE" value="32"/>
2626    </field>
2627    <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint">
2628      <value name="0.5 pixels" value="0"/>
2629      <value name="1.0 pixels" value="1"/>
2630      <value name="2.0 pixels" value="2"/>
2631      <value name="4.0 pixels" value="3"/>
2632    </field>
2633    <field name="Line Antialiasing Region Width" start="38" end="39" type="uint">
2634      <value name="0.5 pixels" value="0"/>
2635      <value name="1.0 pixels" value="1"/>
2636      <value name="2.0 pixels" value="2"/>
2637      <value name="4.0 pixels" value="3"/>
2638    </field>
2639    <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/>
2640    <field name="Line Stipple Enable" start="35" end="35" type="bool"/>
2641    <field name="Point Rasterization Rule" start="34" end="34" type="uint">
2642      <value name="RASTRULE_UPPER_LEFT" value="0"/>
2643      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
2644    </field>
2645    <field name="Force Kill Pixel Enable" start="32" end="33" type="uint">
2646      <value name="ForceOff" value="1"/>
2647      <value name="ForceON" value="2"/>
2648    </field>
2649  </instruction>
2650
2651  <instruction name="3DSTATE_WM_CHROMAKEY" bias="2" length="2">
2652    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2653    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2654    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2655    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="76"/>
2656    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2657    <field name="ChromaKey Kill Enable" start="63" end="63" type="bool"/>
2658  </instruction>
2659
2660  <instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="4">
2661    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2662    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2663    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2664    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
2665    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
2666    <field name="Stencil Fail Op" start="61" end="63" type="3D_Stencil_Operation"/>
2667    <field name="Stencil Pass Depth Fail Op" start="58" end="60" type="3D_Stencil_Operation"/>
2668    <field name="Stencil Pass Depth Pass Op" start="55" end="57" type="3D_Stencil_Operation"/>
2669    <field name="Backface Stencil Test Function" start="52" end="54" type="3D_Compare_Function"/>
2670    <field name="Backface Stencil Fail Op" start="49" end="51" type="3D_Stencil_Operation"/>
2671    <field name="Backface Stencil Pass Depth Fail Op" start="46" end="48" type="3D_Stencil_Operation"/>
2672    <field name="Backface Stencil Pass Depth Pass Op" start="43" end="45" type="3D_Stencil_Operation"/>
2673    <field name="Stencil Test Function" start="40" end="42" type="3D_Compare_Function"/>
2674    <field name="Depth Test Function" start="37" end="39" type="3D_Compare_Function"/>
2675    <field name="Double Sided Stencil Enable" start="36" end="36" type="bool"/>
2676    <field name="Stencil Test Enable" start="35" end="35" type="bool"/>
2677    <field name="Stencil Buffer Write Enable" start="34" end="34" type="bool"/>
2678    <field name="Depth Test Enable" start="33" end="33" type="bool"/>
2679    <field name="Depth Buffer Write Enable" start="32" end="32" type="bool"/>
2680    <field name="Stencil Test Mask" start="88" end="95" type="uint"/>
2681    <field name="Stencil Write Mask" start="80" end="87" type="uint"/>
2682    <field name="Backface Stencil Test Mask" start="72" end="79" type="uint"/>
2683    <field name="Backface Stencil Write Mask" start="64" end="71" type="uint"/>
2684    <field name="Stencil Reference Value" start="104" end="111" type="uint"/>
2685    <field name="Backface Stencil Reference Value" start="96" end="103" type="uint"/>
2686  </instruction>
2687
2688  <instruction name="3DSTATE_WM_HZ_OP" bias="2" length="5">
2689    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2690    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2691    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2692    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="82"/>
2693    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
2694    <field name="Stencil Buffer Clear Enable" start="63" end="63" type="bool"/>
2695    <field name="Depth Buffer Clear Enable" start="62" end="62" type="bool"/>
2696    <field name="Scissor Rectangle Enable" start="61" end="61" type="bool"/>
2697    <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/>
2698    <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/>
2699    <field name="Pixel Position Offset Enable" start="58" end="58" type="bool"/>
2700    <field name="Full Surface Depth and Stencil Clear" start="57" end="57" type="bool"/>
2701    <field name="Stencil Clear Value" start="48" end="55" type="uint"/>
2702    <field name="Number of Multisamples" start="45" end="47" type="uint"/>
2703    <field name="Clear Rectangle Y Min" start="80" end="95" type="uint"/>
2704    <field name="Clear Rectangle X Min" start="64" end="79" type="uint"/>
2705    <field name="Clear Rectangle Y Max" start="112" end="127" type="uint"/>
2706    <field name="Clear Rectangle X Max" start="96" end="111" type="uint"/>
2707    <field name="Sample Mask" start="128" end="143" type="uint"/>
2708  </instruction>
2709
2710  <instruction name="GPGPU_CSR_BASE_ADDRESS" bias="2" length="3">
2711    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2712    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
2713    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2714    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
2715    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
2716    <field name="GPGPU CSR Base Address" start="44" end="95" type="address"/>
2717  </instruction>
2718
2719  <instruction name="GPGPU_WALKER" bias="2" length="15">
2720    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2721    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
2722    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
2723    <field name="SubOpcode" start="16" end="23" type="uint" default="5"/>
2724    <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
2725    <field name="Predicate Enable" start="8" end="8" type="bool"/>
2726    <field name="DWord Length" start="0" end="7" type="uint" default="13"/>
2727    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
2728    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
2729    <field name="Indirect Data Start Address" start="102" end="127" type="offset"/>
2730    <field name="SIMD Size" start="158" end="159" type="uint">
2731      <value name="SIMD8" value="0"/>
2732      <value name="SIMD16" value="1"/>
2733      <value name="SIMD32" value="2"/>
2734    </field>
2735    <field name="Thread Depth Counter Maximum" start="144" end="149" type="uint"/>
2736    <field name="Thread Height Counter Maximum" start="136" end="141" type="uint"/>
2737    <field name="Thread Width Counter Maximum" start="128" end="133" type="uint"/>
2738    <field name="Thread Group ID Starting X" start="160" end="191" type="uint"/>
2739    <field name="Thread Group ID X Dimension" start="224" end="255" type="uint"/>
2740    <field name="Thread Group ID Starting Y" start="256" end="287" type="uint"/>
2741    <field name="Thread Group ID Y Dimension" start="320" end="351" type="uint"/>
2742    <field name="Thread Group ID Starting/Resume Z" start="352" end="383" type="uint"/>
2743    <field name="Thread Group ID Z Dimension" start="384" end="415" type="uint"/>
2744    <field name="Right Execution Mask" start="416" end="447" type="uint"/>
2745    <field name="Bottom Execution Mask" start="448" end="479" type="uint"/>
2746  </instruction>
2747
2748  <instruction name="MEDIA_CURBE_LOAD" bias="2" length="4">
2749    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2750    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
2751    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
2752    <field name="SubOpcode" start="16" end="23" type="uint" default="1"/>
2753    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
2754    <field name="CURBE Total Data Length" start="64" end="80" type="uint"/>
2755    <field name="CURBE Data Start Address" start="96" end="127" type="uint"/>
2756  </instruction>
2757
2758  <instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4">
2759    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2760    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
2761    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
2762    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
2763    <field name="DWord Length" start="0" end="15" type="uint" default="2"/>
2764    <field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/>
2765    <field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/>
2766  </instruction>
2767
2768  <instruction name="MEDIA_OBJECT" bias="2">
2769    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2770    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
2771    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
2772    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/>
2773    <field name="DWord Length" start="0" end="15" type="uint" default="4"/>
2774    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
2775    <field name="Children Present" start="95" end="95" type="bool"/>
2776    <field name="Slice Destination Select MSBs" start="89" end="90" type="uint"/>
2777    <field name="Thread Synchronization" start="88" end="88" type="uint">
2778      <value name="No thread synchronization" value="0"/>
2779      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
2780    </field>
2781    <field name="Force Destination" start="86" end="86" type="uint"/>
2782    <field name="Use Scoreboard" start="85" end="85" type="uint">
2783      <value name="Not using scoreboard" value="0"/>
2784      <value name="Using scoreboard" value="1"/>
2785    </field>
2786    <field name="Slice Destination Select" start="83" end="84" type="uint">
2787      <value name="Slice 0" value="0"/>
2788      <value name="Slice 1" value="1"/>
2789      <value name="Slice 2" value="2"/>
2790    </field>
2791    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
2792      <value name="Subslice 3" value="3"/>
2793      <value name="SubSlice 2" value="2"/>
2794      <value name="SubSlice 1" value="1"/>
2795      <value name="SubSlice 0" value="0"/>
2796    </field>
2797    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
2798    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
2799    <field name="Scoredboard Y" start="144" end="152" type="uint"/>
2800    <field name="Scoreboard X" start="128" end="136" type="uint"/>
2801    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
2802    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
2803    <group count="0" start="192" size="32">
2804      <field name="Inline Data" start="0" end="31" type="uint"/>
2805    </group>
2806  </instruction>
2807
2808  <instruction name="MEDIA_OBJECT_GRPID" bias="2">
2809    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2810    <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/>
2811    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
2812    <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="6"/>
2813    <field name="DWord Length" start="0" end="15" type="uint" default="5"/>
2814    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
2815    <field name="Slice Destination Select MSB" start="88" end="88" type="uint"/>
2816    <field name="End of Thread Group" start="87" end="87" type="uint"/>
2817    <field name="Force Destination" start="86" end="86" type="uint"/>
2818    <field name="Use Scoreboard" start="85" end="85" type="uint">
2819      <value name="Not using scoreboard" value="0"/>
2820      <value name="Using scoreboard" value="1"/>
2821    </field>
2822    <field name="Slice Destination Select" start="83" end="84" type="uint">
2823      <value name="Slice 0" value="0"/>
2824      <value name="Slice 1" value="1"/>
2825      <value name="Slice 2" value="2"/>
2826    </field>
2827    <field name="SubSlice Destination Select" start="81" end="82" type="uint">
2828      <value name="Subslice3" value="3"/>
2829      <value name="SubSlice 2" value="2"/>
2830      <value name="SubSlice 1" value="1"/>
2831      <value name="SubSlice 0" value="0"/>
2832    </field>
2833    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
2834    <field name="Indirect Data Start Address" start="96" end="127" type="address"/>
2835    <field name="Scoreboard Y" start="144" end="152" type="uint"/>
2836    <field name="Scoreboard X" start="128" end="136" type="uint"/>
2837    <field name="Scoreboard Color" start="176" end="179" type="uint"/>
2838    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
2839    <field name="GroupID" start="192" end="223" type="uint"/>
2840    <group count="0" start="224" size="32">
2841      <field name="Inline Data" start="0" end="31" type="uint"/>
2842    </group>
2843  </instruction>
2844
2845  <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16">
2846    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2847    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
2848    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
2849    <field name="SubOpcode" start="16" end="23" type="uint" default="2"/>
2850    <field name="DWord Length" start="0" end="15" type="uint" default="14"/>
2851    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
2852    <field name="Children Present" start="95" end="95" type="bool"/>
2853    <field name="PRT_Fence Needed" start="87" end="87" type="bool"/>
2854    <field name="PRT_FenceType" start="86" end="86" type="uint">
2855      <value name="Root thread queue" value="0"/>
2856      <value name="VFE state flush" value="1"/>
2857    </field>
2858    <group count="12" start="128" size="32">
2859      <field name="Inline Data" start="0" end="31" type="uint"/>
2860    </group>
2861  </instruction>
2862
2863  <instruction name="MEDIA_OBJECT_WALKER" bias="2">
2864    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2865    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
2866    <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/>
2867    <field name="SubOpcode" start="16" end="23" type="uint" default="3"/>
2868    <field name="DWord Length" start="0" end="15" type="uint" default="15"/>
2869    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
2870    <field name="Thread Synchronization" start="88" end="88" type="uint">
2871      <value name="No thread synchronization" value="0"/>
2872      <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/>
2873    </field>
2874    <field name="Masked Dispatch" start="86" end="87" type="uint"/>
2875    <field name="Use Scoreboard" start="85" end="85" type="uint">
2876      <value name="Not using scoreboard" value="0"/>
2877      <value name="Using scoreboard" value="1"/>
2878    </field>
2879    <field name="Indirect Data Length" start="64" end="80" type="uint"/>
2880    <field name="Indirect Data Start Address" start="96" end="127" type="uint"/>
2881    <field name="Group ID Loop Select" start="168" end="191" type="uint">
2882      <value name="No_Groups" value="0"/>
2883      <value name="Color_Groups" value="1"/>
2884      <value name="InnerLocal_Groups" value="2"/>
2885      <value name="MidLocal_Groups" value="3"/>
2886      <value name="OuterLocal_Groups" value="4"/>
2887      <value name="InnerGlobal_Groups" value="5"/>
2888    </field>
2889    <field name="Scoreboard Mask" start="160" end="167" type="uint"/>
2890    <field name="Color Count Minus One" start="216" end="219" type="uint"/>
2891    <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/>
2892    <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/>
2893    <field name="Mid-Loop Unit X" start="200" end="201" type="int"/>
2894    <field name="Global Loop Exec Count" start="240" end="251" type="uint"/>
2895    <field name="Local Loop Exec Count" start="224" end="235" type="uint"/>
2896    <field name="Block Resolution Y" start="272" end="282" type="uint"/>
2897    <field name="Block Resolution X" start="256" end="266" type="uint"/>
2898    <field name="Local Start Y" start="304" end="314" type="uint"/>
2899    <field name="Local Start X" start="288" end="298" type="uint"/>
2900    <field name="Local Outer Loop Stride Y" start="368" end="379" type="int"/>
2901    <field name="Local Outer Loop Stride X" start="352" end="363" type="int"/>
2902    <field name="Local Inner Loop Unit Y" start="400" end="411" type="int"/>
2903    <field name="Local Inner Loop Unit X" start="384" end="395" type="int"/>
2904    <field name="Global Resolution Y" start="432" end="442" type="uint"/>
2905    <field name="Global Resolution X" start="416" end="426" type="uint"/>
2906    <field name="Global Start Y" start="464" end="475" type="int"/>
2907    <field name="Global Start X" start="448" end="459" type="int"/>
2908    <field name="Global Outer Loop Stride Y" start="496" end="507" type="int"/>
2909    <field name="Global Outer Loop Stride X" start="480" end="491" type="int"/>
2910    <field name="Global Inner Loop Unit Y" start="528" end="539" type="int"/>
2911    <field name="Global Inner Loop Unit X" start="512" end="523" type="int"/>
2912    <group count="0" start="544" size="32">
2913      <field name="Inline Data" start="0" end="31" type="uint"/>
2914    </group>
2915  </instruction>
2916
2917  <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2">
2918    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2919    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
2920    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
2921    <field name="SubOpcode" start="16" end="23" type="uint" default="4"/>
2922    <field name="DWord Length" start="0" end="15" type="uint" default="0"/>
2923    <field name="Flush to GO" start="39" end="39" type="bool"/>
2924    <field name="Watermark Required" start="38" end="38" type="uint"/>
2925    <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/>
2926  </instruction>
2927
2928  <instruction name="MEDIA_VFE_STATE" bias="2" length="9">
2929    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2930    <field name="Pipeline" start="27" end="28" type="uint" default="2"/>
2931    <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/>
2932    <field name="SubOpcode" start="16" end="23" type="uint" default="0"/>
2933    <field name="DWord Length" start="0" end="15" type="uint" default="7"/>
2934    <field name="Scratch Space Base Pointer" start="42" end="79" type="address"/>
2935    <field name="Stack Size" start="36" end="39" type="uint"/>
2936    <field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
2937    <field name="Maximum Number of Threads" start="112" end="127" type="uint"/>
2938    <field name="Number of URB Entries" start="104" end="111" type="uint"/>
2939    <field name="Reset Gateway Timer" start="103" end="103" type="uint">
2940      <value name="Maintaining the existing timestamp state" value="0"/>
2941      <value name="Resetting relative timer and latching the global timestamp" value="1"/>
2942    </field>
2943    <field name="Slice Disable" start="128" end="129" type="uint">
2944      <value name="All Subslices Enabled" value="0"/>
2945      <value name="Only Slice 0 Enabled" value="1"/>
2946      <value name="Only Slice 0 Subslice 0 Enabled" value="3"/>
2947    </field>
2948    <field name="URB Entry Allocation Size" start="176" end="191" type="uint"/>
2949    <field name="CURBE Allocation Size" start="160" end="175" type="uint"/>
2950    <field name="Scoreboard Enable" start="223" end="223" type="bool"/>
2951    <field name="Scoreboard Type" start="222" end="222" type="uint">
2952      <value name="Stalling Scoreboard" value="0"/>
2953      <value name="Non-Stalling Scoreboard" value="1"/>
2954    </field>
2955    <field name="Scoreboard Mask" start="192" end="199" type="uint"/>
2956    <field name="Scoreboard 3 Delta Y" start="252" end="255" type="int"/>
2957    <field name="Scoreboard 3 Delta X" start="248" end="251" type="int"/>
2958    <field name="Scoreboard 2 Delta Y" start="244" end="247" type="int"/>
2959    <field name="Scoreboard 2 Delta X" start="240" end="243" type="int"/>
2960    <field name="Scoreboard 1 Delta Y" start="236" end="239" type="int"/>
2961    <field name="Scoreboard 1 Delta X" start="232" end="235" type="int"/>
2962    <field name="Scoreboard 0 Delta Y" start="228" end="231" type="int"/>
2963    <field name="Scoreboard 0 Delta X" start="224" end="227" type="int"/>
2964    <field name="Scoreboard 7 Delta Y" start="284" end="287" type="int"/>
2965    <field name="Scoreboard 7 Delta X" start="280" end="283" type="int"/>
2966    <field name="Scoreboard 6 Delta Y" start="276" end="279" type="int"/>
2967    <field name="Scoreboard 6 Delta X" start="272" end="275" type="int"/>
2968    <field name="Scoreboard 5 Delta Y" start="268" end="271" type="int"/>
2969    <field name="Scoreboard 5 Delta X" start="264" end="267" type="int"/>
2970    <field name="Scoreboard 4 Delta Y" start="260" end="263" type="int"/>
2971    <field name="Scoreboard 4 Delta X" start="256" end="259" type="int"/>
2972  </instruction>
2973
2974  <instruction name="MI_ARB_CHECK" bias="1" length="1">
2975    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
2976    <field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/>
2977  </instruction>
2978
2979  <instruction name="MI_ATOMIC" bias="2" length="3">
2980    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
2981    <field name="MI Command Opcode" start="23" end="28" type="uint" default="47"/>
2982    <field name="Memory Type" start="22" end="22" type="uint">
2983      <value name="Per Process Graphics Address" value="0"/>
2984      <value name="Global Graphics Address" value="1"/>
2985    </field>
2986    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
2987    <field name="Data Size" start="19" end="20" type="uint">
2988      <value name="DWORD" value="0"/>
2989      <value name="QWORD" value="1"/>
2990      <value name="OCTWORD" value="2"/>
2991      <value name="RESERVED" value="3"/>
2992    </field>
2993    <field name="Inline Data" start="18" end="18" type="uint"/>
2994    <field name="CS STALL" start="17" end="17" type="uint"/>
2995    <field name="Return Data Control" start="16" end="16" type="uint"/>
2996    <field name="ATOMIC OPCODE" start="8" end="15" type="uint"/>
2997    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
2998    <field name="Memory Address" start="34" end="79" type="address"/>
2999    <field name="Operand1 Data Dword 0" start="96" end="127" type="uint"/>
3000    <field name="Operand2 Data Dword 0" start="128" end="159" type="uint"/>
3001    <field name="Operand1 Data Dword 1" start="160" end="191" type="uint"/>
3002    <field name="Operand2 Data Dword 1" start="192" end="223" type="uint"/>
3003    <field name="Operand1 Data Dword 2" start="224" end="255" type="uint"/>
3004    <field name="Operand2 Data Dword 2" start="256" end="287" type="uint"/>
3005    <field name="Operand1 Data Dword 3" start="288" end="319" type="uint"/>
3006    <field name="Operand2 Data Dword 3" start="320" end="351" type="uint"/>
3007  </instruction>
3008
3009  <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1">
3010    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3011    <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/>
3012  </instruction>
3013
3014  <instruction name="MI_BATCH_BUFFER_START" bias="2" length="3">
3015    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3016    <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/>
3017    <field name="Second Level Batch Buffer" start="22" end="22" type="uint">
3018      <value name="First level batch" value="0"/>
3019      <value name="Second level batch" value="1"/>
3020    </field>
3021    <field name="Add Offset Enable" start="16" end="16" type="bool"/>
3022    <field name="Predication Enable" start="15" end="15" type="bool"/>
3023    <field name="Resource Streamer Enable" start="10" end="10" type="bool"/>
3024    <field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI">
3025      <value name="GGTT" value="0"/>
3026      <value name="PPGTT" value="1"/>
3027    </field>
3028    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
3029    <field name="Batch Buffer Start Address" start="34" end="95" type="address"/>
3030  </instruction>
3031
3032  <instruction name="MI_CLFLUSH" bias="2">
3033    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3034    <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/>
3035    <field name="Use Global GTT" start="22" end="22" type="bool"/>
3036    <field name="DWord Length" start="0" end="9" type="uint" default="1"/>
3037    <field name="Page Base Address" start="44" end="79" type="address"/>
3038    <field name="Starting Cacheline Offset" start="38" end="43" type="uint"/>
3039    <group count="0" start="96" size="32">
3040      <field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/>
3041    </group>
3042  </instruction>
3043
3044  <instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="4">
3045    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3046    <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/>
3047    <field name="Use Global GTT" start="22" end="22" type="bool"/>
3048    <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/>
3049    <field name="Compare Mask Mode" start="19" end="19" type="uint">
3050      <value name="Compare Mask Mode Disabled" value="0"/>
3051      <value name="Compare Mask Mode Enabled" value="1"/>
3052    </field>
3053    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
3054    <field name="Compare Data Dword" start="32" end="63" type="uint"/>
3055    <field name="Compare Address" start="67" end="127" type="address"/>
3056  </instruction>
3057
3058  <instruction name="MI_COPY_MEM_MEM" bias="2" length="5">
3059    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3060    <field name="MI Command Opcode" start="23" end="28" type="uint" default="46"/>
3061    <field name="Use Global GTT Source" start="22" end="22" type="bool"/>
3062    <field name="Use Global GTT Destination" start="21" end="21" type="bool"/>
3063    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
3064    <field name="Destination Memory Address" start="34" end="95" type="address"/>
3065    <field name="Source Memory Address" start="98" end="159" type="address"/>
3066  </instruction>
3067
3068  <instruction name="MI_DISPLAY_FLIP" bias="2" length="3">
3069    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3070    <field name="MI Command Opcode" start="23" end="28" type="uint" default="20"/>
3071    <field name="Async Flip Indicator" start="22" end="22" type="bool"/>
3072    <field name="Display Plane Select" start="8" end="12" type="uint">
3073      <value name="Display Plane 1" value="0"/>
3074      <value name="Display Plane 2" value="1"/>
3075      <value name="Display Plane 3" value="2"/>
3076      <value name="Display Plane 4" value="4"/>
3077      <value name="Display Plane 5" value="5"/>
3078      <value name="Display Plane 6" value="6"/>
3079      <value name="Display Plane 7" value="7"/>
3080      <value name="Display Plane 8" value="8"/>
3081      <value name="Display Plane 9" value="9"/>
3082      <value name="Display Plane 10" value="10"/>
3083      <value name="Display Plane 11" value="11"/>
3084      <value name="Display Plane 12" value="12"/>
3085    </field>
3086    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
3087    <field name="Stereoscopic 3D Mode" start="63" end="63" type="bool"/>
3088    <field name="Display Buffer Pitch" start="38" end="47" type="uint"/>
3089    <field name="Tile Parameter" start="32" end="34" type="bool"/>
3090    <field name="Display Buffer Base Address" start="76" end="95" type="address"/>
3091    <field name="Flip Type" start="64" end="65" type="uint">
3092      <value name="Sync Flip" value="0"/>
3093      <value name="Async Flip" value="1"/>
3094      <value name="Stereo 3D Flip" value="2"/>
3095    </field>
3096    <field name="Left Eye Display Buffer Base Address" start="108" end="127" type="address"/>
3097  </instruction>
3098
3099  <instruction name="MI_FORCE_WAKEUP" bias="2" length="2">
3100    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3101    <field name="MI Command Opcode" start="23" end="28" type="uint" default="29"/>
3102    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
3103    <field name="Mask Bits" start="48" end="63" type="uint"/>
3104    <field name="Force Render Awake" start="33" end="33" type="uint"/>
3105    <field name="Force Media Awake" start="32" end="32" type="uint"/>
3106  </instruction>
3107
3108  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
3109    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3110    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
3111    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
3112    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
3113    <field name="Register Offset" start="34" end="54" type="offset"/>
3114    <field name="Data DWord" start="64" end="95" type="uint"/>
3115  </instruction>
3116
3117  <instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4">
3118    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3119    <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/>
3120    <field name="Use Global GTT" start="22" end="22" type="bool"/>
3121    <field name="Async Mode Enable" start="21" end="21" type="bool"/>
3122    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
3123    <field name="Register Address" start="34" end="54" type="offset"/>
3124    <field name="Memory Address" start="66" end="127" type="address"/>
3125  </instruction>
3126
3127  <instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3">
3128    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3129    <field name="MI Command Opcode" start="23" end="28" type="uint" default="42"/>
3130    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
3131    <field name="Source Register Address" start="34" end="54" type="offset"/>
3132    <field name="Destination Register Address" start="66" end="86" type="offset"/>
3133  </instruction>
3134
3135  <instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2">
3136    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3137    <field name="MI Command Opcode" start="23" end="28" type="uint" default="19"/>
3138    <field name="Display (Plane) Select" start="19" end="21" type="uint">
3139      <value name="Display Plane A" value="0"/>
3140      <value name="Display Plane B" value="1"/>
3141      <value name="Display Plane C" value="4"/>
3142    </field>
3143    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
3144    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
3145    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
3146  </instruction>
3147
3148  <instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2">
3149    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3150    <field name="MI Command Opcode" start="23" end="28" type="uint" default="18"/>
3151    <field name="Display (Plane) Select" start="19" end="21" type="uint">
3152      <value name="Display Plane 1 A" value="0"/>
3153      <value name="Display Plane 1 B" value="1"/>
3154      <value name="Display Plane 1 C" value="4"/>
3155    </field>
3156    <field name="Scan Line Event Done Forward" start="17" end="18" type="bool"/>
3157    <field name="DWord Length" start="0" end="5" type="uint" default="0"/>
3158    <field name="Start Scan Line Number" start="48" end="60" type="uint"/>
3159    <field name="End Scan Line Number" start="32" end="44" type="uint"/>
3160  </instruction>
3161
3162  <instruction name="MI_LOAD_URB_MEM" bias="2" length="4">
3163    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3164    <field name="MI Command Opcode" start="23" end="28" type="uint" default="44"/>
3165    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
3166    <field name="URB Address" start="34" end="46" type="uint"/>
3167    <field name="Memory Address" start="70" end="127" type="address"/>
3168  </instruction>
3169
3170  <instruction name="MI_MATH" bias="2">
3171    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3172    <field name="MI Command Opcode" start="23" end="28" type="uint" default="26"/>
3173    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
3174    <group count="0" start="32" size="32">
3175      <field name="Instruction" start="0" end="31" type="MI_MATH_ALU_INSTRUCTION"/>
3176    </group>
3177  </instruction>
3178
3179  <instruction name="MI_NOOP" bias="1" length="1">
3180    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3181    <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/>
3182    <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/>
3183    <field name="Identification Number" start="0" end="21" type="uint"/>
3184  </instruction>
3185
3186  <instruction name="MI_PREDICATE" bias="1" length="1">
3187    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3188    <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/>
3189    <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD">
3190      <value name="KEEP" value="0"/>
3191      <value name="LOAD" value="2"/>
3192      <value name="LOADINV" value="3"/>
3193    </field>
3194    <field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE">
3195      <value name="SET" value="0"/>
3196      <value name="AND" value="1"/>
3197      <value name="OR" value="2"/>
3198      <value name="XOR" value="3"/>
3199    </field>
3200    <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE">
3201      <value name="SRCS_EQUAL" value="2"/>
3202      <value name="DELTAS_EQUAL" value="3"/>
3203    </field>
3204  </instruction>
3205
3206  <instruction name="MI_REPORT_HEAD" bias="1" length="1">
3207    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3208    <field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/>
3209  </instruction>
3210
3211  <instruction name="MI_REPORT_PERF_COUNT" bias="2" length="4">
3212    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3213    <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/>
3214    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
3215    <field name="Memory Address" start="38" end="95" type="address"/>
3216    <field name="Core Mode Enable" start="36" end="36" type="uint"/>
3217    <field name="Use Global GTT" start="32" end="32" type="bool"/>
3218    <field name="Report ID" start="96" end="127" type="uint"/>
3219  </instruction>
3220
3221  <instruction name="MI_RS_CONTEXT" bias="1" length="1">
3222    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3223    <field name="MI Command Opcode" start="23" end="28" type="uint" default="15"/>
3224    <field name="Resource Streamer Save" start="0" end="0" type="uint" prefix="RS">
3225      <value name="Restore" value="0"/>
3226      <value name="Save" value="1"/>
3227    </field>
3228  </instruction>
3229
3230  <instruction name="MI_RS_CONTROL" bias="1" length="1">
3231    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3232    <field name="MI Command Opcode" start="23" end="28" type="uint" default="6"/>
3233    <field name="Resource Streamer Control" start="0" end="0" type="uint" prefix="RS">
3234      <value name="Stop" value="0"/>
3235      <value name="Start" value="1"/>
3236    </field>
3237  </instruction>
3238
3239  <instruction name="MI_RS_STORE_DATA_IMM" bias="2" length="4">
3240    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3241    <field name="MI Command Opcode" start="23" end="28" type="uint" default="43"/>
3242    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
3243    <field name="Destination Address" start="34" end="95" type="address"/>
3244    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
3245    <field name="Data DWord 0" start="96" end="127" type="uint"/>
3246  </instruction>
3247
3248  <instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2">
3249    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3250    <field name="MI Command Opcode" start="23" end="28" type="uint" default="27"/>
3251    <field name="Post-Sync Operation" start="21" end="21" type="bool"/>
3252    <field name="Target Engine Select" start="15" end="17" type="uint">
3253      <value name="RCS" value="0"/>
3254      <value name="VCS0" value="1"/>
3255      <value name="BCS" value="2"/>
3256      <value name="VECS" value="3"/>
3257      <value name="VCS1" value="4"/>
3258    </field>
3259    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
3260    <field name="Target Context ID" start="32" end="63" type="uint"/>
3261  </instruction>
3262
3263  <instruction name="MI_SEMAPHORE_WAIT" bias="2" length="4">
3264    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3265    <field name="MI Command Opcode" start="23" end="28" type="uint" default="28"/>
3266    <field name="Memory Type" start="22" end="22" type="uint">
3267      <value name="Per Process Graphics Address" value="0"/>
3268      <value name="Global Graphics Address" value="1"/>
3269    </field>
3270    <field name="Register Poll Mode" start="16" end="16" type="bool"/>
3271    <field name="Wait Mode" start="15" end="15" type="uint">
3272      <value name="Polling Mode" value="1"/>
3273      <value name="Signal Mode" value="0"/>
3274    </field>
3275    <field name="Compare Operation" start="12" end="14" type="uint" prefix="COMPARE">
3276      <value name="SAD_GREATER_THAN_SDD" value="0"/>
3277      <value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1"/>
3278      <value name="SAD_LESS_THAN_SDD" value="2"/>
3279      <value name="SAD_LESS_THAN_OR_EQUAL_SDD" value="3"/>
3280      <value name="SAD_EQUAL_SDD" value="4"/>
3281      <value name="SAD_NOT_EQUAL_SDD" value="5"/>
3282    </field>
3283    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
3284    <field name="Semaphore Data Dword" start="32" end="63" type="uint"/>
3285    <field name="Semaphore Address" start="66" end="127" type="address"/>
3286  </instruction>
3287
3288  <instruction name="MI_SET_CONTEXT" bias="2" length="2">
3289    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3290    <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/>
3291    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
3292    <field name="Logical Context Address" start="44" end="63" type="address"/>
3293    <field name="Reserved, Must be 1" start="40" end="40" type="uint"/>
3294    <field name="Core Mode Enable" start="36" end="36" type="bool"/>
3295    <field name="Resource Streamer State Save Enable" start="35" end="35" type="bool"/>
3296    <field name="Resource Streamer State Restore Enable" start="34" end="34" type="bool"/>
3297    <field name="Force Restore" start="33" end="33" type="uint"/>
3298    <field name="Restore Inhibit" start="32" end="32" type="uint"/>
3299  </instruction>
3300
3301  <instruction name="MI_SET_PREDICATE" bias="1" length="1">
3302    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3303    <field name="MI Command Opcode" start="23" end="28" type="uint" default="1"/>
3304    <field name="PREDICATE ENABLE" start="0" end="3" type="uint">
3305      <value name="NOOP Never" value="0"/>
3306      <value name="NOOP on Result2 clear" value="1"/>
3307      <value name="NOOP on Result2 set" value="2"/>
3308      <value name="NOOP on Result clear" value="3"/>
3309      <value name="NOOP on Result set" value="4"/>
3310      <value name="Execute when one slice enabled." value="5"/>
3311      <value name="Execute when two slices are enabled." value="6"/>
3312      <value name="Execute when three slices are enabled." value="7"/>
3313      <value name="NOOP Always" value="15"/>
3314    </field>
3315  </instruction>
3316
3317  <instruction name="MI_STORE_DATA_IMM" bias="2" length="4">
3318    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3319    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
3320    <field name="Use Global GTT" start="22" end="22" type="bool"/>
3321    <field name="Store Qword" start="21" end="21" type="uint"/>
3322    <field name="DWord Length" start="0" end="9" type="uint" default="2"/>
3323    <field name="Address" start="34" end="79" type="address"/>
3324    <field name="Core Mode Enable" start="32" end="32" type="uint"/>
3325    <field name="Immediate Data" start="96" end="159" type="uint"/>
3326  </instruction>
3327
3328  <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
3329    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3330    <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/>
3331    <field name="Use Per-Process Hardware Status Page" start="21" end="21" type="uint"/>
3332    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
3333    <field name="Offset" start="34" end="43" type="uint"/>
3334    <field name="Data DWord 0" start="64" end="95" type="uint"/>
3335    <field name="Data DWord 1" start="96" end="127" type="uint"/>
3336  </instruction>
3337
3338  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4">
3339    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3340    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
3341    <field name="Use Global GTT" start="22" end="22" type="bool"/>
3342    <field name="Predicate Enable" start="21" end="21" type="bool"/>
3343    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
3344    <field name="Register Address" start="34" end="54" type="offset"/>
3345    <field name="Memory Address" start="66" end="127" type="address"/>
3346  </instruction>
3347
3348  <instruction name="MI_STORE_URB_MEM" bias="2" length="4">
3349    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3350    <field name="MI Command Opcode" start="23" end="28" type="uint" default="45"/>
3351    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
3352    <field name="URB Address" start="34" end="46" type="uint"/>
3353    <field name="Memory Address" start="70" end="127" type="address"/>
3354  </instruction>
3355
3356  <instruction name="MI_SUSPEND_FLUSH" bias="1" length="1">
3357    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3358    <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/>
3359    <field name="Suspend Flush" start="0" end="0" type="bool"/>
3360  </instruction>
3361
3362  <instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1">
3363    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3364    <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/>
3365    <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/>
3366  </instruction>
3367
3368  <instruction name="MI_URB_ATOMIC_ALLOC" bias="1" length="1">
3369    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3370    <field name="MI Command Opcode" start="23" end="28" type="uint" default="9"/>
3371    <field name="URB Atomic Storage Offset" start="12" end="19" type="uint"/>
3372    <field name="URB Atomic Storage Size" start="0" end="8" type="uint"/>
3373  </instruction>
3374
3375  <instruction name="MI_USER_INTERRUPT" bias="1" length="1">
3376    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3377    <field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/>
3378  </instruction>
3379
3380  <instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1">
3381    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
3382    <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/>
3383    <field name="Display Plane 1 C Vertical Blank Wait Enable" start="21" end="21" type="bool"/>
3384    <field name="Display Plane 6 Flip Pending Wait Enable" start="20" end="20" type="bool"/>
3385    <field name="Display Plane 12 Flip Pending Wait Enable" start="19" end="19" type="bool"/>
3386    <field name="Display Plane 11 Flip Pending Wait Enable" start="18" end="18" type="bool"/>
3387    <field name="Display Plane 10 Flip Pending Wait Enable" start="17" end="17" type="bool"/>
3388    <field name="Display Plane 9 Flip Pending Wait Enable" start="16" end="16" type="bool"/>
3389    <field name="Display Plane 3 Flip Pending Wait Enable" start="15" end="15" type="bool"/>
3390    <field name="Display Plane 1 C Scan Line Wait Enable" start="14" end="14" type="bool"/>
3391    <field name="Display Plane 1 B Vertical Blank Wait Enable" start="11" end="11" type="bool"/>
3392    <field name="Display Plane 5 Flip Pending Wait Enable" start="10" end="10" type="bool"/>
3393    <field name="Display Plane 2 Flip Pending Wait Enable" start="9" end="9" type="bool"/>
3394    <field name="Display Plane 1 B Scan Line Wait Enable" start="8" end="8" type="bool"/>
3395    <field name="Display Plane 8 Flip Pending Wait Enable" start="7" end="7" type="bool"/>
3396    <field name="Display Plane 7 Flip Pending Wait Enable" start="6" end="6" type="bool"/>
3397    <field name="Display Plane 1 A Vertical Blank Wait Enable" start="3" end="3" type="bool"/>
3398    <field name="Display Plane 4 Flip Pending Wait Enable" start="2" end="2" type="bool"/>
3399    <field name="Display Plane 1 Flip Pending Wait Enable" start="1" end="1" type="bool"/>
3400    <field name="Display Plnae 1 A Scan Line Wait Enable" start="0" end="0" type="bool"/>
3401  </instruction>
3402
3403  <instruction name="PIPELINE_SELECT" bias="1" length="1">
3404    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
3405    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
3406    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
3407    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
3408    <field name="Mask Bits" start="8" end="15" type="uint"/>
3409    <field name="Force Media Awake" start="5" end="5" type="bool"/>
3410    <field name="Media Sampler DOP Clock Gate Enable" start="4" end="4" type="bool"/>
3411    <field name="Pipeline Selection" start="0" end="1" type="uint">
3412      <value name="3D" value="0"/>
3413      <value name="Media" value="1"/>
3414      <value name="GPGPU" value="2"/>
3415    </field>
3416  </instruction>
3417
3418  <instruction name="PIPE_CONTROL" bias="2" length="6">
3419    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
3420    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
3421    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
3422    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
3423    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
3424    <field name="Flush LLC" start="58" end="58" type="bool"/>
3425    <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT">
3426      <value name="PPGTT" value="0"/>
3427      <value name="GGTT" value="1"/>
3428    </field>
3429    <field name="LRI Post Sync Operation" start="55" end="55" type="uint">
3430      <value name="No LRI Operation" value="0"/>
3431      <value name="MMIO Write Immediate Data" value="1"/>
3432    </field>
3433    <field name="Store Data Index" start="53" end="53" type="uint"/>
3434    <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
3435    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
3436    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
3437    <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
3438    <field name="Post Sync Operation" start="46" end="47" type="uint">
3439      <value name="No Write" value="0"/>
3440      <value name="Write Immediate Data" value="1"/>
3441      <value name="Write PS Depth Count" value="2"/>
3442      <value name="Write Timestamp" value="3"/>
3443    </field>
3444    <field name="Depth Stall Enable" start="45" end="45" type="bool"/>
3445    <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/>
3446    <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/>
3447    <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/>
3448    <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/>
3449    <field name="Notify Enable" start="40" end="40" type="bool"/>
3450    <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/>
3451    <field name="DC Flush Enable" start="37" end="37" type="bool"/>
3452    <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/>
3453    <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/>
3454    <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/>
3455    <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/>
3456    <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/>
3457    <field name="Address" start="66" end="111" type="address"/>
3458    <field name="Immediate Data" start="128" end="191" type="uint"/>
3459  </instruction>
3460
3461  <instruction name="STATE_BASE_ADDRESS" bias="2" length="19">
3462    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
3463    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
3464    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
3465    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
3466    <field name="DWord Length" start="0" end="7" type="uint" default="17"/>
3467    <field name="General State Base Address" start="44" end="95" type="address"/>
3468    <field name="General State Memory Object Control State" start="36" end="42" type="MEMORY_OBJECT_CONTROL_STATE"/>
3469    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
3470    <field name="Stateless Data Port Access Memory Object Control State" start="112" end="118" type="MEMORY_OBJECT_CONTROL_STATE"/>
3471    <field name="Surface State Base Address" start="140" end="191" type="address"/>
3472    <field name="Surface State Memory Object Control State" start="132" end="138" type="MEMORY_OBJECT_CONTROL_STATE"/>
3473    <field name="Surface State Base Address Modify Enable" start="128" end="128" type="bool"/>
3474    <field name="Dynamic State Base Address" start="204" end="255" type="address"/>
3475    <field name="Dynamic State Memory Object Control State" start="196" end="202" type="MEMORY_OBJECT_CONTROL_STATE"/>
3476    <field name="Dynamic State Base Address Modify Enable" start="192" end="192" type="bool"/>
3477    <field name="Indirect Object Base Address" start="268" end="319" type="address"/>
3478    <field name="Indirect Object Memory Object Control State" start="260" end="266" type="MEMORY_OBJECT_CONTROL_STATE"/>
3479    <field name="Indirect Object Base Address Modify Enable" start="256" end="256" type="bool"/>
3480    <field name="Instruction Base Address" start="332" end="383" type="address"/>
3481    <field name="Instruction Memory Object Control State" start="324" end="330" type="MEMORY_OBJECT_CONTROL_STATE"/>
3482    <field name="Instruction Base Address Modify Enable" start="320" end="320" type="bool"/>
3483    <field name="General State Buffer Size" start="396" end="415" type="uint"/>
3484    <field name="General State Buffer Size Modify Enable" start="384" end="384" type="bool"/>
3485    <field name="Dynamic State Buffer Size" start="428" end="447" type="uint"/>
3486    <field name="Dynamic State Buffer Size Modify Enable" start="416" end="416" type="bool"/>
3487    <field name="Indirect Object Buffer Size" start="460" end="479" type="uint"/>
3488    <field name="Indirect Object Buffer Size Modify Enable" start="448" end="448" type="bool"/>
3489    <field name="Instruction Buffer Size" start="492" end="511" type="uint"/>
3490    <field name="Instruction Buffer size Modify Enable" start="480" end="480" type="bool"/>
3491    <field name="Bindless Surface State Base Address" start="524" end="575" type="address"/>
3492    <field name="Bindless Surface State Memory Object Control State" start="516" end="522" type="MEMORY_OBJECT_CONTROL_STATE"/>
3493    <field name="Bindless Surface State Base Address Modify Enable" start="512" end="512" type="bool"/>
3494    <field name="Bindless Surface State Size" start="588" end="607" type="uint"/>
3495  </instruction>
3496
3497  <instruction name="STATE_PREFETCH" bias="2" length="2">
3498    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
3499    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
3500    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
3501    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/>
3502    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
3503    <field name="Prefetch Pointer" start="38" end="63" type="address"/>
3504    <field name="Prefetch Count" start="32" end="34" type="uint"/>
3505  </instruction>
3506
3507  <instruction name="STATE_SIP" bias="2" length="3">
3508    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
3509    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
3510    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
3511    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
3512    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
3513    <field name="System Instruction Pointer" start="36" end="95" type="offset"/>
3514  </instruction>
3515
3516  <register name="IA_VERTICES_COUNT" length="2" num="0x2310">
3517    <field name="IA Vertices Count Report" start="0" end="63" type="uint"/>
3518  </register>
3519
3520  <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318">
3521    <field name="IA Primitives Count Report" start="0" end="63" type="uint"/>
3522  </register>
3523
3524  <register name="VS_INVOCATION_COUNT" length="2" num="0x2320">
3525    <field name="VS Invocation Count Report" start="0" end="63" type="uint"/>
3526  </register>
3527
3528  <register name="HS_INVOCATION_COUNT" length="2" num="0x2300">
3529    <field name="HS Invocation Count Report" start="0" end="63" type="uint"/>
3530  </register>
3531
3532  <register name="DS_INVOCATION_COUNT" length="2" num="0x2308">
3533    <field name="DS Invocation Count Report" start="0" end="63" type="uint"/>
3534  </register>
3535
3536  <register name="GS_INVOCATION_COUNT" length="2" num="0x2328">
3537    <field name="GS Invocation Count Report" start="0" end="63" type="uint"/>
3538  </register>
3539
3540  <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330">
3541    <field name="GS Primitives Count Report" start="0" end="63" type="uint"/>
3542  </register>
3543
3544  <register name="CL_INVOCATION_COUNT" length="2" num="0x2338">
3545    <field name="CL Invocation Count Report" start="0" end="63" type="uint"/>
3546  </register>
3547
3548  <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340">
3549    <field name="CL Primitives Count Report" start="0" end="63" type="uint"/>
3550  </register>
3551
3552  <register name="PS_INVOCATION_COUNT" length="2" num="0x2348">
3553    <field name="PS Invocation Count Report" start="0" end="63" type="uint"/>
3554  </register>
3555
3556  <register name="CS_INVOCATION_COUNT" length="2" num="0x2290">
3557    <field name="CS Invocation Count Report" start="0" end="63" type="uint"/>
3558  </register>
3559
3560  <register name="BCS_INSTDONE" length="1" num="0x2206c">
3561    <field name="Ring Enable" start="0" end="0" type="bool"/>
3562    <field name="Blitter IDLE" start="1" end="1" type="bool" default="1"/>
3563    <field name="GAB IDLE" start="2" end="2" type="bool" default="1"/>
3564    <field name="BCS Done" start="3" end="3" type="bool" default="1"/>
3565  </register>
3566
3567  <register name="INSTDONE_1" length="1" num="0x206c">
3568    <field name="PRB0 Ring Enable" start="0" end="0" type="bool"/>
3569    <field name="VFG Done" start="1" end="1" type="bool"/>
3570    <field name="VS Done" start="2" end="2" type="bool"/>
3571    <field name="HS Done" start="3" end="3" type="bool"/>
3572    <field name="TE Done" start="4" end="4" type="bool"/>
3573    <field name="DS Done" start="5" end="5" type="bool"/>
3574    <field name="GS Done" start="6" end="6" type="bool"/>
3575    <field name="SOL Done" start="7" end="7" type="bool"/>
3576    <field name="CL Done" start="8" end="8" type="bool"/>
3577    <field name="SF Done" start="9" end="9" type="bool"/>
3578    <field name="TDG Done" start="12" end="12" type="bool"/>
3579    <field name="URBM Done" start="13" end="13" type="bool"/>
3580    <field name="SVG Done" start="14" end="14" type="bool"/>
3581    <field name="GAFS Done" start="15" end="15" type="bool"/>
3582    <field name="VFE Done" start="16" end="16" type="bool"/>
3583    <field name="TSG Done" start="17" end="17" type="bool"/>
3584    <field name="GAFM Done" start="18" end="18" type="bool"/>
3585    <field name="GAM Done" start="19" end="19" type="bool"/>
3586    <field name="RS Done" start="20" end="20" type="bool"/>
3587    <field name="CS Done" start="21" end="21" type="bool"/>
3588    <field name="SDE Done" start="22" end="22" type="bool"/>
3589    <field name="RCCFBC CS Done" start="23" end="23" type="bool"/>
3590  </register>
3591
3592  <register name="VCS_INSTDONE" length="1" num="0x1206c">
3593    <field name="Ring Enable" start="0" end="0" type="bool"/>
3594    <field name="USB Done" start="1" end="1" type="bool"/>
3595    <field name="QRC Done" start="2" end="2" type="bool"/>
3596    <field name="SEC Done" start="3" end="3" type="bool"/>
3597    <field name="MPC Done" start="4" end="4" type="bool"/>
3598    <field name="VFT Done" start="5" end="5" type="bool"/>
3599    <field name="BSP Done" start="6" end="6" type="bool"/>
3600    <field name="VLF Done" start="7" end="7" type="bool"/>
3601    <field name="VOP Done" start="8" end="8" type="bool"/>
3602    <field name="VMC Done" start="9" end="9" type="bool"/>
3603    <field name="VIP Done" start="10" end="10" type="bool"/>
3604    <field name="VIT Done" start="11" end="11" type="bool"/>
3605    <field name="VDS Done" start="12" end="12" type="bool"/>
3606    <field name="VMX Done" start="13" end="13" type="bool"/>
3607    <field name="VCP Done" start="14" end="14" type="bool"/>
3608    <field name="VCD Done" start="15" end="15" type="bool"/>
3609    <field name="VAD Done" start="16" end="16" type="bool"/>
3610    <field name="VMD Done" start="17" end="17" type="bool"/>
3611    <field name="VIS Done" start="18" end="18" type="bool"/>
3612    <field name="VAC Done" start="19" end="19" type="bool"/>
3613    <field name="VAM Done" start="20" end="20" type="bool"/>
3614    <field name="JPG Done" start="21" end="21" type="bool"/>
3615    <field name="VBP Done" start="22" end="22" type="bool"/>
3616    <field name="VHR Done" start="23" end="23" type="bool"/>
3617    <field name="VCI Done" start="24" end="24" type="bool"/>
3618    <field name="VCR Done" start="25" end="25" type="bool"/>
3619    <field name="VIN Done" start="26" end="26" type="bool"/>
3620    <field name="VPR Done" start="27" end="27" type="bool"/>
3621    <field name="VTQ Done" start="28" end="28" type="bool"/>
3622    <field name="Reserved" start="29" end="29" type="bool"/>
3623    <field name="VCS Done" start="30" end="30" type="bool"/>
3624    <field name="GAC Done" start="31" end="31" type="bool"/>
3625  </register>
3626
3627  <register name="VECS_INSTDONE" length="1" num="0x1a06c">
3628    <field name="Ring Enable" start="0" end="0" type="bool"/>
3629    <field name="VECS Done" start="30" end="30" type="bool"/>
3630    <field name="GAM Done" start="31" end="31" type="bool"/>
3631  </register>
3632
3633  <register name="L3CNTLREG" length="1" num="0x7034">
3634    <field name="SLM Enable" start="0" end="0" type="uint"/>
3635    <field name="URB Allocation" start="1" end="7" type="uint"/>
3636    <field name="RO Allocation" start="11" end="17" type="uint"/>
3637    <field name="DC Allocation" start="18" end="24" type="uint"/>
3638    <field name="All Allocation" start="25" end="31" type="uint"/>
3639  </register>
3640
3641  <register name="SO_WRITE_OFFSET0" length="1" num="0x5280">
3642    <field name="Write Offset" start="2" end="31" type="offset"/>
3643  </register>
3644
3645  <register name="SO_WRITE_OFFSET1" length="1" num="0x5284">
3646    <field name="Write Offset" start="2" end="31" type="offset"/>
3647  </register>
3648
3649  <register name="SO_WRITE_OFFSET2" length="1" num="0x5288">
3650    <field name="Write Offset" start="2" end="31" type="offset"/>
3651  </register>
3652
3653  <register name="SO_WRITE_OFFSET3" length="1" num="0x528c">
3654    <field name="Write Offset" start="2" end="31" type="offset"/>
3655  </register>
3656
3657  <register name="CACHE_MODE_0" length="1" num="0x7000">
3658    <field name="Null tile fix disable" start="0" end="0" type="bool"/>
3659    <field name="Disable clock gating in the pixel backend" start="1" end="1" type="bool"/>
3660    <field name="Hierarchical Z RAW Stall Optimization Disable" start="2" end="2" type="bool"/>
3661    <field name="RCC Eviction Policy" start="4" end="4" type="bool"/>
3662    <field name="STC PMA Optimization Enable" start="5" end="5" type="bool"/>
3663    <field name="Sampler L2 Request Arbitration" start="6" end="7" type="uint">
3664      <value name="Round Robin" value="0"/>
3665      <value name="Fetch are Highest Priority" value="1"/>
3666      <value name="Constants are Highest Priority" value="2"/>
3667    </field>
3668    <field name="Sampler L2 TLB Prefetch Enable" start="9" end="9" type="bool"/>
3669    <field name="Sampler Set Remapping for 3D Disable" start="11" end="11" type="bool"/>
3670    <field name="MSAA Compression Plane Number Threshold for eLLC" start="12" end="14" type="uint"/>
3671    <field name="Sampler L2 Disable" start="15" end="15" type="bool"/>
3672
3673    <field name="Null tile fix disable Mask" start="16" end="16" type="bool"/>
3674    <field name="Disable clock gating in the pixel backend Mask" start="17" end="17" type="bool"/>
3675    <field name="Hierarchical Z RAW Stall Optimization Disable Mask" start="18" end="18" type="bool"/>
3676    <field name="RCC Eviction Policy Mask" start="20" end="20" type="bool"/>
3677    <field name="STC PMA Optimization Enable Mask" start="21" end="21" type="bool"/>
3678    <field name="Sampler L2 Request Arbitration Mask" start="22" end="23" type="uint"/>
3679    <field name="Sampler L2 TLB Prefetch Enable Mask" start="25" end="25" type="bool"/>
3680    <field name="Sampler Set Remapping for 3D Disable Mask" start="27" end="27" type="bool"/>
3681    <field name="MSAA Compression Plane Number Threshold for eLLC Mask" start="28" end="30" type="uint"/>
3682    <field name="Sampler L2 Disable Mask" start="31" end="31" type="bool"/>
3683  </register>
3684
3685  <register name="CACHE_MODE_1" length="1" num="0x7004">
3686    <field name="Partial Resolve Disable In VC" start="1" end="1" type="bool"/>
3687    <field name="RCZ Read after expansion control fix 2" start="2" end="2" type="bool"/>
3688    <field name="Depth Read Hit Write-Only Optimization Disable" start="3" end="3" type="bool"/>
3689    <field name="Float Blend Optimization Enable" start="4" end="4" type="bool"/>
3690    <field name="MCS Cache Disable" start="5" end="5" type="bool"/>
3691    <field name="4X4 RCPFE-STC Optimization Disable" start="6" end="6" type="bool"/>
3692    <field name="Sampler Cache Set XOR selection" start="7" end="8" type="uint"/>
3693    <field name="MSC RAW Hazard Avoidance Bit" start="9" end="9" type="bool"/>
3694    <field name="NP PMA Fix Enable" start="11" end="11" type="uint"/>
3695    <field name="HIZ Eviction Policy" start="12" end="12" type="uint"/>
3696    <field name="NP Early Z Fails Disable" start="13" end="13" type="uint"/>
3697    <field name="Blend Optimization Fix Disable" start="14" end="14" type="bool"/>
3698    <field name="Color Compression Disable" start="15" end="15" type="bool"/>
3699
3700    <field name="Partial Resolve Disable In VC Mask" start="17" end="17" type="bool"/>
3701    <field name="RCZ Read after expansion control fix 2 Mask" start="18" end="18" type="bool"/>
3702    <field name="Depth Read Hit Write-Only Optimization Disable Mask" start="19" end="19" type="bool"/>
3703    <field name="Float Blend Optimization Enable Mask" start="20" end="20" type="bool"/>
3704    <field name="MCS Cache Disable Mask" start="21" end="21" type="bool"/>
3705    <field name="4X4 RCPFE-STC Optimization Disable Mask" start="22" end="22" type="bool"/>
3706    <field name="Sampler Cache Set XOR selection Mask" start="23" end="24" type="uint"/>
3707    <field name="MSC RAW Hazard Avoidance Bit Mask" start="25" end="25" type="bool"/>
3708    <field name="NP PMA Fix Enable Mask" start="27" end="27" type="bool"/>
3709    <field name="HIZ Eviction Policy Mask" start="28" end="28" type="bool"/>
3710    <field name="NP Early Z Fails Disable Mask" start="29" end="29" type="bool"/>
3711    <field name="Blend Optimization Fix Disable Mask" start="30" end="30" type="bool"/>
3712    <field name="Color Compression Disable Mask" start="31" end="31" type="bool"/>
3713  </register>
3714
3715  <register name="SLICE_COMMON_ECO_CHICKEN1" length="1" num="0x731c">
3716    <field name="GLK Barrier Mode" start="7" end="7" type="uint">
3717      <value name="GLK_BARRIER_MODE_GPGPU" value="0"/>
3718      <value name="GLK_BARRIER_MODE_3D_HULL" value="1"/>
3719    </field>
3720    <field name="GLK Barrier Mode Mask" start="23" end="23" type="bool"/>
3721  </register>
3722
3723  <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0">
3724    <field name="TLB Page Fault Error" start="0" end="0" type="bool"/>
3725    <field name="RSTRM PAVP Read Invalid" start="1" end="1" type="bool"/>
3726    <field name="Invalid Page Directory Entry Error" start="2" end="2" type="bool"/>
3727    <field name="ROSTRM PAVP Invalid Physical Address" start="3" end="3" type="bool"/>
3728    <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/>
3729    <field name="WRDP PAVP Invalid" start="5" end="5" type="bool"/>
3730    <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/>
3731    <field name="Unloaded PD Error" start="8" end="8" type="bool"/>
3732    <field name="GuC VTd translation Page Fault 2nd level (Undefined doorbell)" start="9" end="9" type="bool"/>
3733    <field name="Non WB memory type for Advanced Context" start="10" end="10" type="bool"/>
3734    <field name="PASID Not Enabled" start="11" end="11" type="bool"/>
3735    <field name="PASID Boundary Violation" start="12" end="12" type="bool"/>
3736    <field name="PASID Not Valid" start="13" end="13" type="bool"/>
3737    <field name="PASID Was Zero For Untranslated Request" start="14" end="14" type="bool"/>
3738    <field name="Context Was Not Marked As Present When Doing DMA" start="15" end="15" type="bool"/>
3739  </register>
3740
3741  <register name="ACTHD_UDW" length="1" num="0x205c">
3742    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
3743  </register>
3744
3745  <register name="BCS_ACTHD_UDW" length="1" num="0x2205c">
3746    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
3747  </register>
3748
3749  <register name="VCS_ACTHD_UDW" length="1" num="0x1205c">
3750    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
3751  </register>
3752
3753  <register name="VECS_ACTHD_UDW" length="1" num="0x1a05c">
3754    <field name="Head Pointer Upper DWORD" start="0" end="15" type="uint" default="0"/>
3755  </register>
3756
3757  <register name="FAULT_REG" length="1" num="0x4094">
3758    <field name="Valid Bit" start="0" end="0" type="bool"/>
3759    <field name="Fault Type" start="1" end="2" type="uint">
3760      <value name="Invalid PTE Fault" value="0"/>
3761      <value name="Invalid PDE Fault" value="1"/>
3762      <value name="Invalid PDPE Fault" value="2"/>
3763      <value name="Invalid PML4E Fault" value="3"/>
3764    </field>
3765    <field name= "SRCID of Fault" start="3" end="10" type="uint"/>
3766    <field name="GTTSEL" start="11" end="11" type="uint">
3767      <value name="PPGTT" value="0"/>
3768      <value name="GGTT" value="1"/>
3769    </field>
3770    <field name="Engine ID" start="12" end="14" type="uint">
3771      <value name="GFX" value="0"/>
3772      <value name="MFX0" value="1"/>
3773      <value name="MFX1" value="2"/>
3774      <value name="VEBX" value="3"/>
3775      <value name="BLT" value="4"/>
3776      <value name="GUC" value="5"/>
3777    </field>
3778  </register>
3779
3780  <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c">
3781    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
3782    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
3783      <value name="MI_AUTOREPORT_OFF" value="0"/>
3784      <value name="MI_AUTOREPORT_64KB" value="1"/>
3785      <value name="MI_AUTOREPORT_4KB" value="2"/>
3786      <value name="MI_AUTOREPORT_128KB" value="3"/>
3787    </field>
3788    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
3789    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
3790    <field name="RBWait" start="11" end="11" type="bool"/>
3791    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
3792  </register>
3793
3794  <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c">
3795    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
3796    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
3797      <value name="MI_AUTOREPORT_OFF" value="0"/>
3798      <value name="MI_AUTOREPORT_64KB" value="1"/>
3799      <value name="MI_AUTOREPORT_4KB" value="2"/>
3800      <value name="MI_AUTOREPORT_128KB" value="3"/>
3801    </field>
3802    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
3803    <field name="RBWait" start="11" end="11" type="bool"/>
3804    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
3805  </register>
3806
3807  <register name="VECS_RING_BUFFER_CTL" length="1" num="0x1A03c">
3808    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
3809    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
3810      <value name="MI_AUTOREPORT_OFF" value="0"/>
3811      <value name="MI_AUTOREPORT_64KB" value="1"/>
3812      <value name="MI_AUTOREPORT_4KB" value="2"/>
3813      <value name="MI_AUTOREPORT_128KB" value="3"/>
3814    </field>
3815    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
3816    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
3817    <field name="RBWait" start="11" end="11" type="bool"/>
3818    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
3819  </register>
3820
3821  <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c">
3822    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
3823    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
3824      <value name="MI_AUTOREPORT_OFF" value="0"/>
3825      <value name="MI_AUTOREPORT_64KB" value="1"/>
3826      <value name="MI_AUTOREPORT_4KB" value="2"/>
3827      <value name="MI_AUTOREPORT_128KB" value="3"/>
3828    </field>
3829    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
3830    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
3831    <field name="RBWait" start="11" end="11" type="bool"/>
3832    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
3833  </register>
3834
3835  <register name="VCS2_RING_BUFFER_CTL" length="1" num="0x1203c">
3836    <field name="Ring Buffer Enable" start="0" end="0" type="bool"/>
3837    <field name="Automatic Report Head Pointer" start="1" end="2" type="uint">
3838      <value name="MI_AUTOREPORT_OFF" value="0"/>
3839      <value name="MI_AUTOREPORT_64KB" value="1"/>
3840      <value name="MI_AUTOREPORT_4KB" value="2"/>
3841      <value name="MI_AUTOREPORT_128KB" value="3"/>
3842    </field>
3843    <field name="Disable Register Accesses" start="8" end="8" type="bool"/>
3844    <field name="Semaphore Wait" start="10" end="10" type="bool"/>
3845    <field name="RBWait" start="11" end="11" type="bool"/>
3846    <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/>
3847  </register>
3848
3849</genxml>
3850