genxml: fix invalid end value for video fields
[mesa.git] / src / intel / genxml / gen12.xml
1 <?xml version="1.0" ?>
2 <genxml name="TGL" gen="12">
3
4 <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
5 <value name="ONE" value="1"/>
6 <value name="SRC_COLOR" value="2"/>
7 <value name="SRC_ALPHA" value="3"/>
8 <value name="DST_ALPHA" value="4"/>
9 <value name="DST_COLOR" value="5"/>
10 <value name="SRC_ALPHA_SATURATE" value="6"/>
11 <value name="CONST_COLOR" value="7"/>
12 <value name="CONST_ALPHA" value="8"/>
13 <value name="SRC1_COLOR" value="9"/>
14 <value name="SRC1_ALPHA" value="10"/>
15 <value name="ZERO" value="17"/>
16 <value name="INV_SRC_COLOR" value="18"/>
17 <value name="INV_SRC_ALPHA" value="19"/>
18 <value name="INV_DST_ALPHA" value="20"/>
19 <value name="INV_DST_COLOR" value="21"/>
20 <value name="INV_CONST_COLOR" value="23"/>
21 <value name="INV_CONST_ALPHA" value="24"/>
22 <value name="INV_SRC1_COLOR" value="25"/>
23 <value name="INV_SRC1_ALPHA" value="26"/>
24 </enum>
25
26 <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION">
27 <value name="ADD" value="0"/>
28 <value name="SUBTRACT" value="1"/>
29 <value name="REVERSE_SUBTRACT" value="2"/>
30 <value name="MIN" value="3"/>
31 <value name="MAX" value="4"/>
32 </enum>
33
34 <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
35 <value name="ALWAYS" value="0"/>
36 <value name="NEVER" value="1"/>
37 <value name="LESS" value="2"/>
38 <value name="EQUAL" value="3"/>
39 <value name="LEQUAL" value="4"/>
40 <value name="GREATER" value="5"/>
41 <value name="NOTEQUAL" value="6"/>
42 <value name="GEQUAL" value="7"/>
43 </enum>
44
45 <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
46 <value name="CLEAR" value="0"/>
47 <value name="NOR" value="1"/>
48 <value name="AND_INVERTED" value="2"/>
49 <value name="COPY_INVERTED" value="3"/>
50 <value name="AND_REVERSE" value="4"/>
51 <value name="INVERT" value="5"/>
52 <value name="XOR" value="6"/>
53 <value name="NAND" value="7"/>
54 <value name="AND" value="8"/>
55 <value name="EQUIV" value="9"/>
56 <value name="NOOP" value="10"/>
57 <value name="OR_INVERTED" value="11"/>
58 <value name="COPY" value="12"/>
59 <value name="OR_REVERSE" value="13"/>
60 <value name="OR" value="14"/>
61 <value name="SET" value="15"/>
62 </enum>
63
64 <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
65 <value name="POINTLIST" value="1"/>
66 <value name="LINELIST" value="2"/>
67 <value name="LINESTRIP" value="3"/>
68 <value name="TRILIST" value="4"/>
69 <value name="TRISTRIP" value="5"/>
70 <value name="TRIFAN" value="6"/>
71 <value name="QUADLIST" value="7"/>
72 <value name="QUADSTRIP" value="8"/>
73 <value name="LINELIST_ADJ" value="9"/>
74 <value name="LINESTRIP_ADJ" value="10"/>
75 <value name="TRILIST_ADJ" value="11"/>
76 <value name="TRISTRIP_ADJ" value="12"/>
77 <value name="TRISTRIP_REVERSE" value="13"/>
78 <value name="POLYGON" value="14"/>
79 <value name="RECTLIST" value="15"/>
80 <value name="LINELOOP" value="16"/>
81 <value name="POINTLIST _BF" value="17"/>
82 <value name="LINESTRIP_CONT" value="18"/>
83 <value name="LINESTRIP_BF" value="19"/>
84 <value name="LINESTRIP_CONT_BF" value="20"/>
85 <value name="TRIFAN_NOSTIPPLE" value="22"/>
86 <value name="PATCHLIST_1" value="32"/>
87 <value name="PATCHLIST_2" value="33"/>
88 <value name="PATCHLIST_3" value="34"/>
89 <value name="PATCHLIST_4" value="35"/>
90 <value name="PATCHLIST_5" value="36"/>
91 <value name="PATCHLIST_6" value="37"/>
92 <value name="PATCHLIST_7" value="38"/>
93 <value name="PATCHLIST_8" value="39"/>
94 <value name="PATCHLIST_9" value="40"/>
95 <value name="PATCHLIST_10" value="41"/>
96 <value name="PATCHLIST_11" value="42"/>
97 <value name="PATCHLIST_12" value="43"/>
98 <value name="PATCHLIST_13" value="44"/>
99 <value name="PATCHLIST_14" value="45"/>
100 <value name="PATCHLIST_15" value="46"/>
101 <value name="PATCHLIST_16" value="47"/>
102 <value name="PATCHLIST_17" value="48"/>
103 <value name="PATCHLIST_18" value="49"/>
104 <value name="PATCHLIST_19" value="50"/>
105 <value name="PATCHLIST_20" value="51"/>
106 <value name="PATCHLIST_21" value="52"/>
107 <value name="PATCHLIST_22" value="53"/>
108 <value name="PATCHLIST_23" value="54"/>
109 <value name="PATCHLIST_24" value="55"/>
110 <value name="PATCHLIST_25" value="56"/>
111 <value name="PATCHLIST_26" value="57"/>
112 <value name="PATCHLIST_27" value="58"/>
113 <value name="PATCHLIST_28" value="59"/>
114 <value name="PATCHLIST_29" value="60"/>
115 <value name="PATCHLIST_30" value="61"/>
116 <value name="PATCHLIST_31" value="62"/>
117 <value name="PATCHLIST_32" value="63"/>
118 </enum>
119
120 <enum name="3D_Stencil_Operation" prefix="STENCILOP">
121 <value name="KEEP" value="0"/>
122 <value name="ZERO" value="1"/>
123 <value name="REPLACE" value="2"/>
124 <value name="INCRSAT" value="3"/>
125 <value name="DECRSAT" value="4"/>
126 <value name="INCR" value="5"/>
127 <value name="DECR" value="6"/>
128 <value name="INVERT" value="7"/>
129 </enum>
130
131 <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
132 <value name="NOSTORE" value="0"/>
133 <value name="STORE_SRC" value="1"/>
134 <value name="STORE_0" value="2"/>
135 <value name="STORE_1_FP" value="3"/>
136 <value name="STORE_1_INT" value="4"/>
137 <value name="STORE_PID" value="7"/>
138 </enum>
139
140 <enum name="Atomic_OPCODE" prefix="MI_ATOMIC_OP">
141 <value name="AND" value="0x01"/>
142 <value name="OR" value="0x02"/>
143 <value name="XOR" value="0x03"/>
144 <value name="MOVE" value="0x04"/>
145 <value name="INC" value="0x05"/>
146 <value name="DEC" value="0x06"/>
147 <value name="ADD" value="0x07"/>
148 <value name="SUB" value="0x08"/>
149 <value name="RSUB" value="0x09"/>
150 <value name="IMAX" value="0x0a"/>
151 <value name="IMIN" value="0x0b"/>
152 <value name="UMAX" value="0x0c"/>
153 <value name="UMIN" value="0x0d"/>
154 <value name="CMP_WR" value="0x0e"/>
155 <value name="PREDEC" value="0x0f"/>
156 <value name="AND8B" value="0x21"/>
157 <value name="OR8B" value="0x22"/>
158 <value name="XOR8B" value="0x23"/>
159 <value name="MOVE8B" value="0x24"/>
160 <value name="INC8B" value="0x25"/>
161 <value name="DEC8B" value="0x26"/>
162 <value name="ADD8B" value="0x27"/>
163 <value name="SUB8B" value="0x28"/>
164 <value name="RSUB8B" value="0x29"/>
165 <value name="IMAX8B" value="0x2a"/>
166 <value name="IMIN8B" value="0x2b"/>
167 <value name="UMAX8B" value="0x2c"/>
168 <value name="UMIN8B" value="0x2d"/>
169 <value name="CMP_WR8B" value="0x2e"/>
170 <value name="PREDEC8B" value="0x2f"/>
171 <value name="CMP_WR16B" value="0x4e"/>
172 </enum>
173
174 <enum name="Attribute_Component_Format" prefix="ACF">
175 <value name="disabled" value="0"/>
176 <value name=".xy" value="1"/>
177 <value name=".xyz" value="2"/>
178 <value name=".xyzw" value="3"/>
179 </enum>
180
181 <enum name="COMPONENT_ENABLES" prefix="CE">
182 <value name="NONE" value="0"/>
183 <value name="X" value="1"/>
184 <value name="Y" value="2"/>
185 <value name="XY" value="3"/>
186 <value name="Z" value="4"/>
187 <value name="XZ" value="5"/>
188 <value name="YZ" value="6"/>
189 <value name="XYZ" value="7"/>
190 <value name="W" value="8"/>
191 <value name="XW" value="9"/>
192 <value name="YW" value="10"/>
193 <value name="XYW" value="11"/>
194 <value name="ZW" value="12"/>
195 <value name="XZW" value="13"/>
196 <value name="YZW" value="14"/>
197 <value name="XYZW" value="15"/>
198 </enum>
199
200 <enum name="Shader Channel Select" prefix="SCS">
201 <value name="ZERO" value="0"/>
202 <value name="ONE" value="1"/>
203 <value name="RED" value="4"/>
204 <value name="GREEN" value="5"/>
205 <value name="BLUE" value="6"/>
206 <value name="ALPHA" value="7"/>
207 </enum>
208
209 <enum name="Texture Coordinate Mode" prefix="TCM">
210 <value name="WRAP" value="0"/>
211 <value name="MIRROR" value="1"/>
212 <value name="CLAMP" value="2"/>
213 <value name="CUBE" value="3"/>
214 <value name="CLAMP_BORDER" value="4"/>
215 <value name="MIRROR_ONCE" value="5"/>
216 <value name="HALF_BORDER" value="6"/>
217 <value name="MIRROR_101" value="7"/>
218 </enum>
219
220 <enum name="WRAP_SHORTEST_ENABLE" prefix="WSE">
221 <value name="X" value="1"/>
222 <value name="Y" value="2"/>
223 <value name="XY" value="3"/>
224 <value name="Z" value="4"/>
225 <value name="XZ" value="5"/>
226 <value name="YZ" value="6"/>
227 <value name="XYZ" value="7"/>
228 <value name="W" value="8"/>
229 <value name="XW" value="9"/>
230 <value name="YW" value="10"/>
231 <value name="XYW" value="11"/>
232 <value name="ZW" value="12"/>
233 <value name="XZW" value="13"/>
234 <value name="YZW" value="14"/>
235 <value name="XYZW" value="15"/>
236 </enum>
237
238 <struct name="3DSTATE_CONSTANT_ALL_DATA" length="2">
239 <field name="Constant Buffer Read Length" start="0" end="4" type="uint"/>
240 <field name="Pointer To Constant Buffer" start="5" end="63" type="address"/>
241 </struct>
242
243 <struct name="3DSTATE_CONSTANT_BODY" length="10">
244 <group count="4" start="0" size="16">
245 <field name="Read Length" start="0" end="15" type="uint"/>
246 </group>
247 <group count="4" start="64" size="64">
248 <field name="Buffer" start="5" end="63" type="address"/>
249 </group>
250 </struct>
251
252 <struct name="3DSTATE_SO_BUFFER_INDEX_BODY" length="7">
253 <field name="Stream Output Buffer Offset Address Enable" start="20" end="20" type="bool"/>
254 <field name="Stream Offset Write Enable" start="21" end="21" type="bool"/>
255 <field name="MOCS" start="22" end="28" type="uint"/>
256 <field name="SO Buffer Enable" start="31" end="31" type="bool"/>
257 <field name="Surface Base Address" start="34" end="79" type="address"/>
258 <field name="Surface Size" start="96" end="125" type="uint"/>
259 <field name="Stream Output Buffer Offset Address" start="130" end="175" type="address"/>
260 <field name="Stream Offset" start="192" end="223" type="uint"/>
261 </struct>
262
263 <struct name="BINDING_TABLE_EDIT_ENTRY" length="1">
264 <field name="Surface State Pointer" start="0" end="15" type="offset"/>
265 <field name="Binding Table Index" start="16" end="23" type="uint"/>
266 </struct>
267
268 <struct name="BINDING_TABLE_STATE" length="1">
269 <field name="Surface State Pointer" start="6" end="31" type="offset"/>
270 </struct>
271
272 <struct name="BLEND_STATE_ENTRY" length="2">
273 <field name="Write Disable Blue" start="0" end="0" type="bool"/>
274 <field name="Write Disable Green" start="1" end="1" type="bool"/>
275 <field name="Write Disable Red" start="2" end="2" type="bool"/>
276 <field name="Write Disable Alpha" start="3" end="3" type="bool"/>
277 <field name="Alpha Blend Function" start="5" end="7" type="3D_Color_Buffer_Blend_Function"/>
278 <field name="Destination Alpha Blend Factor" start="8" end="12" type="3D_Color_Buffer_Blend_Factor"/>
279 <field name="Source Alpha Blend Factor" start="13" end="17" type="3D_Color_Buffer_Blend_Factor"/>
280 <field name="Color Blend Function" start="18" end="20" type="3D_Color_Buffer_Blend_Function"/>
281 <field name="Destination Blend Factor" start="21" end="25" type="3D_Color_Buffer_Blend_Factor"/>
282 <field name="Source Blend Factor" start="26" end="30" type="3D_Color_Buffer_Blend_Factor"/>
283 <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
284 <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
285 <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/>
286 <field name="Color Clamp Range" start="34" end="35" type="uint">
287 <value name="COLORCLAMP_UNORM" value="0"/>
288 <value name="COLORCLAMP_SNORM" value="1"/>
289 <value name="COLORCLAMP_RTFORMAT" value="2"/>
290 </field>
291 <field name="Pre-Blend Source Only Clamp Enable" start="36" end="36" type="bool"/>
292 <field name="Logic Op Function" start="59" end="62" type="3D_Logic_Op_Function"/>
293 <field name="Logic Op Enable" start="63" end="63" type="bool"/>
294 </struct>
295
296 <struct name="BLEND_STATE" length="1">
297 <field name="Y Dither Offset" start="19" end="20" type="uint"/>
298 <field name="X Dither Offset" start="21" end="22" type="uint"/>
299 <field name="Color Dither Enable" start="23" end="23" type="bool"/>
300 <field name="Alpha Test Function" start="24" end="26" type="3D_Compare_Function"/>
301 <field name="Alpha Test Enable" start="27" end="27" type="bool"/>
302 <field name="Alpha To Coverage Dither Enable" start="28" end="28" type="bool"/>
303 <field name="Alpha To One Enable" start="29" end="29" type="bool"/>
304 <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
305 <field name="Alpha To Coverage Enable" start="31" end="31" type="bool"/>
306 <group count="0" start="32" size="64">
307 <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
308 </group>
309 </struct>
310
311 <struct name="CC_VIEWPORT" length="2">
312 <field name="Minimum Depth" start="0" end="31" type="float"/>
313 <field name="Maximum Depth" start="32" end="63" type="float"/>
314 </struct>
315
316 <struct name="CHROMA_FILTER_COEFFICIENTS_ARRAY" length="2">
317 <field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
318 <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
319 <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
320 <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
321 <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
322 <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
323 <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
324 <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
325 </struct>
326
327 <struct name="CLEAR_COLOR" length="8">
328 <field name="Raw Clear Color Red" start="0" end="31" type="int"/>
329 <field name="Raw Clear Color Green" start="32" end="63" type="int"/>
330 <field name="Raw Clear Color Blue" start="64" end="95" type="int"/>
331 <field name="Raw Clear Color Alpha" start="96" end="127" type="int"/>
332 <field name="Converted Clear Value Hi/Low" start="128" end="191" type="uint"/>
333 </struct>
334
335 <struct name="COLOR_CALC_STATE" length="6">
336 <field name="Alpha Test Format" start="0" end="0" type="uint">
337 <value name="ALPHATEST_UNORM8" value="0"/>
338 <value name="ALPHATEST_FLOAT32" value="1"/>
339 </field>
340 <field name="Round Disable Function Disable" start="15" end="15" type="bool"/>
341 <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/>
342 <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/>
343 <field name="Blend Constant Color Red" start="64" end="95" type="float"/>
344 <field name="Blend Constant Color Green" start="96" end="127" type="float"/>
345 <field name="Blend Constant Color Blue" start="128" end="159" type="float"/>
346 <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/>
347 </struct>
348
349 <struct name="EXECUTION_UNIT_EXTENDED_MESSAGE_DESCRIPTOR" length="1">
350 <field name="Target Function ID" start="0" end="3" type="uint"/>
351 <field name="End Of Thread" start="5" end="5" type="uint">
352 <value name="No Termination" value="0"/>
353 <value name="EOT" value="1"/>
354 </field>
355 <field name="Extended Message Length" start="6" end="9" type="uint"/>
356 </struct>
357
358 <struct name="FILTER_COEFFICIENT" length="1">
359 <field name="Filter Coefficient" start="0" end="7" type="s1.6"/>
360 </struct>
361
362 <struct name="FRAMEDELTAQP" length="2">
363 <group count="8" start="0" size="8">
364 <field name="Frame Delta QP" start="0" end="7" type="int"/>
365 </group>
366 </struct>
367
368 <struct name="FRAMEDELTAQPRANGE" length="2">
369 <group count="8" start="0" size="8">
370 <field name="Frame Delta QP Range" start="0" end="7" type="uint"/>
371 </group>
372 </struct>
373
374 <struct name="GATHER_CONSTANT_ENTRY" length="1">
375 <field name="Binding Table Index Offset" start="0" end="3" type="uint"/>
376 <field name="Channel Mask" start="4" end="7" type="uint"/>
377 <field name="Constant Buffer Offset" start="8" end="15" type="offset"/>
378 </struct>
379
380 <struct name="HEVC_ARBITRATION_PRIORITY" length="1">
381 <field name="Priority" start="0" end="1" type="uint">
382 <value name="Highest priority" value="0"/>
383 <value name="Second highest priority" value="1"/>
384 <value name="Third highest priority" value="2"/>
385 <value name="Lowest priority" value="3"/>
386 </field>
387 </struct>
388
389 <struct name="MEMORYADDRESSATTRIBUTES" length="1">
390 <field name="MOCS" start="1" end="6" type="uint"/>
391 <field name="Arbitration Priority Control" start="7" end="8" type="HEVC_ARBITRATION_PRIORITY"/>
392 <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
393 <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
394 <field name="Row Store Scratch Buffer Cache Select" start="12" end="12" type="uint"/>
395 <field name="Tiled Resource Mode" start="13" end="14" type="uint">
396 <value name="TRMODE_NONE" value="0"/>
397 <value name="TRMODE_TILEYF" value="1"/>
398 <value name="TRMODE_TILEYS" value="2"/>
399 </field>
400 </struct>
401
402 <struct name="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" length="4">
403 <field name="Indirect Payload Data Size in bits" start="0" end="31" type="uint"/>
404 <field name="Indirect Payload Base Address" start="32" end="95" type="address"/>
405 <field name="Indirect Payload Base Address2" start="96" end="127" type="MEMORYADDRESSATTRIBUTES"/>
406 </struct>
407
408 <struct name="HCP_REF_LIST_ENTRY" length="1">
409 <field name="Reference Picture tb Value" start="0" end="7" type="uint"/>
410 <field name="List Entry" start="8" end="10" type="uint"/>
411 <field name="Chroma Weighted Prediction" start="11" end="11" type="uint">
412 <value name="Default" value="0"/>
413 <value name="Explicit" value="1"/>
414 </field>
415 <field name="Luma Weighted Prediction" start="12" end="12" type="uint">
416 <value name="Default" value="0"/>
417 <value name="Explicit" value="1"/>
418 </field>
419 <field name="Long Term Reference" start="13" end="13" type="bool"/>
420 <field name="Field Pic" start="14" end="14" type="bool"/>
421 <field name="Top Field" start="15" end="15" type="bool"/>
422 </struct>
423
424 <struct name="HCP_TILE_POSITION_IN_CTB" length="1">
425 <field name="CtbPos0+i" start="0" end="7" type="uint"/>
426 <field name="CtbPos1+i" start="8" end="15" type="uint"/>
427 <field name="CtbPos2+i" start="16" end="23" type="uint"/>
428 <field name="CtbPos3+i" start="24" end="31" type="uint"/>
429 </struct>
430
431 <struct name="HCP_TILE_POSITION_IN_CTB_MSB" length="2">
432 <group count="22" start="0" size="2">
433 <field name="Ctb Row Position of Tile Column" start="0" end="1" type="uint"/>
434 </group>
435 </struct>
436
437 <struct name="HCP_WEIGHTOFFSET_CHROMA_ENTRY" length="1">
438 <field name="Delta Chroma Weight LX[0]" start="0" end="7" type="int"/>
439 <field name="Chroma Offset LX[0]" start="8" end="15" type="uint"/>
440 <field name="Delta Chroma Weight LX[1]" start="16" end="23" type="int"/>
441 <field name="Chroma Offset LX[1]" start="24" end="31" type="uint"/>
442 </struct>
443
444 <struct name="HCP_WEIGHTOFFSET_CHROMA_EXT_ENTRY" length="1">
445 <field name="Chroma Offset LX[0] MSByte [i]" start="0" end="7" type="uint"/>
446 <field name="Chroma Offset LX[0] MSByte [i+1]" start="8" end="15" type="uint"/>
447 <field name="Chroma Offset LX[1] MSByte [i]" start="16" end="23" type="uint"/>
448 <field name="Chroma Offset LX[1] MSByte [i+1]" start="24" end="31" type="uint"/>
449 </struct>
450
451 <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1">
452 <field name="Delta Luma Weight LX" start="0" end="7" type="int"/>
453 <field name="Luma Offset LX" start="8" end="15" type="uint"/>
454 <field name="Luma Offset LX MSByte" start="24" end="31" type="uint"/>
455 </struct>
456
457 <struct name="HEVC_VP9_RDOQ_LAMBDA_FIELDS" length="1">
458 <field name="Lambda Value 0" start="0" end="15" type="uint"/>
459 <field name="Lambda Value 1" start="16" end="31" type="uint"/>
460 </struct>
461
462 <struct name="HUC_VIRTUAL_ADDR_REGION" length="3">
463 <field name="Address" start="0" end="63" type="address"/>
464 <field name="Memory Address Attributes" start="64" end="95" type="MEMORYADDRESSATTRIBUTES"/>
465 </struct>
466
467 <struct name="IMAGE_STATE_COST" length="2">
468 <field name="MV 0 Cost" start="0" end="7" type="uint"/>
469 <field name="MV 1 Cost" start="8" end="15" type="uint"/>
470 <field name="MV 2 Cost" start="16" end="23" type="uint"/>
471 <field name="MV 3 Cost" start="24" end="31" type="uint"/>
472 <field name="MV 4 Cost" start="32" end="39" type="uint"/>
473 <field name="MV 5 Cost" start="40" end="47" type="uint"/>
474 <field name="MV 6 Cost" start="48" end="55" type="uint"/>
475 <field name="MV 7 Cost" start="56" end="63" type="uint"/>
476 </struct>
477
478 <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
479 <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/>
480 <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/>
481 <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/>
482 <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/>
483 <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint"/>
484 <field name="MB Header Error Handling" start="8" end="8" type="bool"/>
485 <field name="Entropy Error Handling" start="10" end="10" type="bool"/>
486 <field name="MPR Error Handling" start="12" end="12" type="bool"/>
487 <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/>
488 <field name="Concealment Picture ID" start="16" end="21" type="uint"/>
489 <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/>
490 <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/>
491 <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint"/>
492 <field name="Intra PredMode (4x4/8x8 Luma) Error Control" start="29" end="29" type="bool"/>
493 <field name="Init Current MB Number" start="30" end="30" type="bool"/>
494 <field name="Concealment Method" start="31" end="31" type="uint"/>
495 <field name="First MB Bit Offset" start="32" end="34" type="uint"/>
496 <field name="Last Slice" start="35" end="35" type="bool"/>
497 <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/>
498 <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/>
499 <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/>
500 <field name="Intra Prediction Error Control" start="64" end="64" type="bool"/>
501 <field name="Intra 8x8/4x4 Prediction Error Concealment Control" start="65" end="65" type="bool"/>
502 <field name="B Slice Temporal Inter Concealment Mode" start="68" end="70" type="uint"/>
503 <field name="B Slice Spatial Inter Concealment Mode" start="72" end="74" type="uint"/>
504 <field name="B Slice Inter Direct Type Concealment Mode" start="76" end="77" type="uint"/>
505 <field name="B Slice Concealment Mode" start="79" end="79" type="uint">
506 <value name="Intra Concealment" value="1"/>
507 <value name="Inter Concealment" value="0"/>
508 </field>
509 <field name="P Slice Inter Concealment Mode" start="80" end="82" type="uint"/>
510 <field name="P Slice Concealment Mode" start="87" end="87" type="uint">
511 <value name="Intra Concealment" value="1"/>
512 <value name="Inter Concealment" value="0"/>
513 </field>
514 <field name="Concealment Reference Picture + Field Bit" start="88" end="93" type="uint"/>
515 <field name="I Slice Concealment Mode" start="95" end="95" type="uint">
516 <value name="Intra Concealment" value="1"/>
517 <value name="Inter Concealment" value="0"/>
518 </field>
519 </struct>
520
521 <struct name="INTERFACE_DESCRIPTOR_DATA" length="8">
522 <field name="Kernel Start Pointer" start="6" end="47" type="offset"/>
523 <field name="Software Exception Enable" start="71" end="71" type="bool"/>
524 <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/>
525 <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/>
526 <field name="Floating Point Mode" start="80" end="80" type="uint">
527 <value name="IEEE-754" value="0"/>
528 <value name="Alternate" value="1"/>
529 </field>
530 <field name="Thread Priority" start="81" end="81" type="uint">
531 <value name="Normal Priority" value="0"/>
532 <value name="High Priority" value="1"/>
533 </field>
534 <field name="Single Program Flow" start="82" end="82" type="bool"/>
535 <field name="Denorm Mode" start="83" end="83" type="uint">
536 <value name="Ftz" value="0"/>
537 <value name="SetByKernel" value="1"/>
538 </field>
539 <field name="Thread Preemption Disable" start="84" end="84" type="bool"/>
540 <field name="Sampler Count" start="98" end="100" type="uint">
541 <value name="No samplers used" value="0"/>
542 <value name="Between 1 and 4 samplers used" value="1"/>
543 <value name="Between 5 and 8 samplers used" value="2"/>
544 <value name="Between 9 and 12 samplers used" value="3"/>
545 <value name="Between 13 and 16 samplers used" value="4"/>
546 </field>
547 <field name="Sampler State Pointer" start="101" end="127" type="offset"/>
548 <field name="Binding Table Entry Count" start="128" end="132" type="uint"/>
549 <field name="Binding Table Pointer" start="133" end="143" type="offset"/>
550 <field name="Constant URB Entry Read Offset" start="160" end="175" type="uint"/>
551 <field name="Constant URB Entry Read Length" start="176" end="191" type="uint"/>
552 <field name="Number of Threads in GPGPU Thread Group" start="192" end="201" type="uint"/>
553 <field name="Global Barrier Enable" start="207" end="207" type="bool"/>
554 <field name="Shared Local Memory Size" start="208" end="212" type="uint">
555 <value name="Encodes 0K" value="0"/>
556 <value name="Encodes 1K" value="1"/>
557 <value name="Encodes 2K" value="2"/>
558 <value name="Encodes 4K" value="3"/>
559 <value name="Encodes 8K" value="4"/>
560 <value name="Encodes 16K" value="5"/>
561 <value name="Encodes 32K" value="6"/>
562 <value name="Encodes 64K" value="7"/>
563 </field>
564 <field name="Barrier Enable" start="213" end="213" type="bool"/>
565 <field name="Rounding Mode" start="214" end="215" type="uint">
566 <value name="RTNE" value="0"/>
567 <value name="RU" value="1"/>
568 <value name="RD" value="2"/>
569 <value name="RTZ" value="3"/>
570 </field>
571 <field name="Cross-Thread Constant Data Read Length" start="224" end="231" type="uint"/>
572 </struct>
573
574 <struct name="LUMA_FILTER_COEFFICIENTS_ARRAY" length="4">
575 <field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
576 <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
577 <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
578 <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
579 <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
580 <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
581 <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
582 <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
583 <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
584 <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
585 <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
586 <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
587 <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
588 <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
589 <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
590 <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
591 </struct>
592
593 <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2">
594 <field name="First MB Bit Offset" start="0" end="2" type="uint"/>
595 <field name="Last MB" start="3" end="3" type="bool"/>
596 <field name="Last Pic Slice" start="5" end="5" type="bool"/>
597 <field name="Slice Concealment Type" start="6" end="6" type="uint"/>
598 <field name="Slice Concealment Override" start="7" end="7" type="uint"/>
599 <field name="MB Count" start="8" end="15" type="uint"/>
600 <field name="Slice Vertical Position" start="16" end="23" type="uint"/>
601 <field name="Slice Horizontal Position" start="24" end="31" type="uint"/>
602 <field name="Next Slice Horizontal Position" start="32" end="39" type="uint"/>
603 <field name="Next Slice Vertical Position" start="40" end="48" type="uint"/>
604 <field name="Quantizer Scale Code" start="56" end="60" type="uint"/>
605 </struct>
606
607 <struct name="MI_MATH_ALU_INSTRUCTION" length="1">
608 <field name="Operand 2" start="0" end="9" type="uint" prefix="MI_ALU">
609 <value name="REG0" value="0x00"/>
610 <value name="REG1" value="0x01"/>
611 <value name="REG2" value="0x02"/>
612 <value name="REG3" value="0x03"/>
613 <value name="REG4" value="0x04"/>
614 <value name="REG5" value="0x05"/>
615 <value name="REG6" value="0x06"/>
616 <value name="REG7" value="0x07"/>
617 <value name="REG8" value="0x08"/>
618 <value name="REG9" value="0x09"/>
619 <value name="REG10" value="0x0a"/>
620 <value name="REG11" value="0x0b"/>
621 <value name="REG12" value="0x0c"/>
622 <value name="REG13" value="0x0d"/>
623 <value name="REG14" value="0x0e"/>
624 <value name="REG15" value="0x0f"/>
625 <value name="SRCA" value="0x20"/>
626 <value name="SRCB" value="0x21"/>
627 <value name="ACCU" value="0x31"/>
628 <value name="ZF" value="0x32"/>
629 <value name="CF" value="0x33"/>
630 </field>
631 <field name="Operand 1" start="10" end="19" type="uint" prefix="MI_ALU">
632 <value name="REG0" value="0x00"/>
633 <value name="REG1" value="0x01"/>
634 <value name="REG2" value="0x02"/>
635 <value name="REG3" value="0x03"/>
636 <value name="REG4" value="0x04"/>
637 <value name="REG5" value="0x05"/>
638 <value name="REG6" value="0x06"/>
639 <value name="REG7" value="0x07"/>
640 <value name="REG8" value="0x08"/>
641 <value name="REG9" value="0x09"/>
642 <value name="REG10" value="0x0a"/>
643 <value name="REG11" value="0x0b"/>
644 <value name="REG12" value="0x0c"/>
645 <value name="REG13" value="0x0d"/>
646 <value name="REG14" value="0x0e"/>
647 <value name="REG15" value="0x0f"/>
648 <value name="SRCA" value="0x20"/>
649 <value name="SRCB" value="0x21"/>
650 <value name="ACCU" value="0x31"/>
651 <value name="ZF" value="0x32"/>
652 <value name="CF" value="0x33"/>
653 </field>
654 <field name="ALU Opcode" start="20" end="31" type="uint" prefix="MI_ALU">
655 <value name="NOOP" value="0x000"/>
656 <value name="LOAD" value="0x080"/>
657 <value name="LOADINV" value="0x480"/>
658 <value name="LOAD0" value="0x081"/>
659 <value name="LOAD1" value="0x481"/>
660 <value name="ADD" value="0x100"/>
661 <value name="SUB" value="0x101"/>
662 <value name="AND" value="0x102"/>
663 <value name="OR" value="0x103"/>
664 <value name="XOR" value="0x104"/>
665 <value name="STORE" value="0x180"/>
666 <value name="STOREINV" value="0x580"/>
667 </field>
668 </struct>
669
670 <struct name="PALETTE_ENTRY" length="1">
671 <field name="Blue" start="0" end="7" type="uint"/>
672 <field name="Green" start="8" end="15" type="uint"/>
673 <field name="Red" start="16" end="23" type="uint"/>
674 <field name="Alpha" start="24" end="31" type="uint"/>
675 </struct>
676
677 <struct name="RENDER_SURFACE_STATE" length="16">
678 <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
679 <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
680 <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
681 <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
682 <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
683 <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
684 <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
685 <value name="NORMAL_MODE" value="0"/>
686 <value name="PROGRESSIVE_FRAME" value="2"/>
687 <value name="INTERLACED_FRAME" value="3"/>
688 </field>
689 <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
690 <value name="Write-Only Cache" value="0"/>
691 <value name="Read-Write Cache" value="1"/>
692 </field>
693 <field name="Sampler L2 Bypass Mode Disable" start="9" end="9" type="bool"/>
694 <field name="Vertical Line Stride Offset" start="10" end="10" type="uint"/>
695 <field name="Vertical Line Stride" start="11" end="11" type="uint"/>
696 <field name="Tile Mode" start="12" end="13" type="uint">
697 <value name="LINEAR" value="0"/>
698 <value name="XMAJOR" value="2"/>
699 <value name="YMAJOR" value="3"/>
700 </field>
701 <field name="Surface Horizontal Alignment" start="14" end="15" type="uint">
702 <value name="HALIGN 4" value="1"/>
703 <value name="HALIGN 8" value="2"/>
704 <value name="HALIGN 16" value="3"/>
705 </field>
706 <field name="Surface Vertical Alignment" start="16" end="17" type="uint">
707 <value name="VALIGN 4" value="1"/>
708 <value name="VALIGN 8" value="2"/>
709 <value name="VALIGN 16" value="3"/>
710 </field>
711 <field name="Surface Format" start="18" end="27" type="uint"/>
712 <field name="Surface Array" start="28" end="28" type="bool"/>
713 <field name="Surface Type" start="29" end="31" type="uint">
714 <value name="SURFTYPE_1D" value="0"/>
715 <value name="SURFTYPE_2D" value="1"/>
716 <value name="SURFTYPE_3D" value="2"/>
717 <value name="SURFTYPE_CUBE" value="3"/>
718 <value name="SURFTYPE_BUFFER" value="4"/>
719 <value name="SURFTYPE_STRBUF" value="5"/>
720 <value name="SURFTYPE_NULL" value="7"/>
721 </field>
722 <field name="Surface QPitch" start="32" end="46" type="uint"/>
723 <field name="Sample Tap Discard Disable" start="47" end="47" type="bool"/>
724 <field name="Double Fetch Disable" start="49" end="49" type="bool"/>
725 <field name="Corner Texel Mode" start="50" end="50" type="uint"/>
726 <field name="Base Mip Level" start="51" end="55" type="u4.1"/>
727 <field name="MOCS" start="56" end="62" type="uint"/>
728 <field name="Enable Unorm Path In Color Pipe" start="63" end="63" type="bool"/>
729 <field name="Width" start="64" end="77" type="uint"/>
730 <field name="Height" start="80" end="93" type="uint"/>
731 <field name="Depth Stencil Resource" start="95" end="95" type="bool"/>
732 <field name="Surface Pitch" start="96" end="113" type="uint"/>
733 <field name="Null Probing Enable" start="114" end="114" type="uint"/>
734 <field name="Standard Tiling Mode Extensions" start="115" end="115" type="uint"/>
735 <field name="Tile Address Mapping Mode" start="116" end="116" type="uint">
736 <value name="Gen9" value="0"/>
737 <value name="Gen10+" value="1"/>
738 </field>
739 <field name="Depth" start="117" end="127" type="uint"/>
740 <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/>
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="Multisampled Surface Storage Format" start="134" end="134" type="uint">
749 <value name="MSFMT_MSS" value="0"/>
750 <value name="MSFMT_DEPTH_STENCIL" value="1"/>
751 </field>
752 <field name="Render Target View Extent" start="135" end="145" type="uint"/>
753 <field name="Minimum Array Element" start="146" end="156" type="uint"/>
754 <field name="Render Target And Sample Unorm Rotation" start="157" end="158" type="uint">
755 <value name="0DEG" value="0"/>
756 <value name="90DEG" value="1"/>
757 <value name="180DEG" value="2"/>
758 <value name="270DEG" value="3"/>
759 </field>
760 <field name="MIP Count / LOD" start="160" end="163" type="uint"/>
761 <field name="Surface Min LOD" start="164" end="167" type="uint"/>
762 <field name="Mip Tail Start LOD" start="168" end="171" type="uint"/>
763 <field name="Coherency Type" start="174" end="174" type="uint">
764 <value name="GPU coherent" value="0"/>
765 <value name="IA coherent" value="1"/>
766 </field>
767 <field name="Tiled Resource Mode" start="178" end="179" type="uint">
768 <value name="NONE" value="0"/>
769 <value name="4KB" value="1"/>
770 <value name="64KB" value="2"/>
771 <value name="TILEYF" value="1"/>
772 <value name="TILEYS" value="2"/>
773 </field>
774 <field name="EWA Disable For Cube" start="180" end="180" type="bool"/>
775 <field name="Y Offset" start="181" end="183" type="uint"/>
776 <field name="X Offset" start="185" end="191" type="uint"/>
777 <field name="Auxiliary Surface Mode" start="192" end="194" type="uint">
778 <value name="AUX_NONE" value="0"/>
779 <value name="AUX_CCS_D" value="1"/>
780 <value name="AUX_APPEND" value="2"/>
781 <value name="AUX_MCS_LCE" value="4"/>
782 <value name="AUX_CCS_E" value="5"/>
783 </field>
784 <field name="Y Offset for U or UV Plane" start="192" end="205" type="uint"/>
785 <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/>
786 <field name="YUV Interpolation Enable" start="207" end="207" type="bool"/>
787 <field name="Auxiliary Surface QPitch" start="208" end="222" type="uint"/>
788 <field name="X Offset for U or UV Plane" start="208" end="221" type="uint"/>
789 <field name="Half Pitch for Chroma" start="222" end="222" type="uint"/>
790 <field name="Separate UV Plane Enable" start="223" end="223" type="bool"/>
791 <field name="Resource Min LOD" start="224" end="235" type="u4.8"/>
792 <field name="Shader Channel Select Alpha" start="240" end="242" type="Shader Channel Select"/>
793 <field name="Shader Channel Select Blue" start="243" end="245" type="Shader Channel Select"/>
794 <field name="Shader Channel Select Green" start="246" end="248" type="Shader Channel Select"/>
795 <field name="Shader Channel Select Red" start="249" end="251" type="Shader Channel Select"/>
796 <field name="Memory Compression Enable" start="254" end="254" type="bool"/>
797 <field name="Memory Compression Mode" start="255" end="255" type="uint">
798 <value name="Horizontal" value="0"/>
799 </field>
800 <field name="Surface Base Address" start="256" end="319" type="address"/>
801 <field name="Quilt Width" start="320" end="324" type="uint"/>
802 <field name="Quilt Height" start="325" end="329" type="uint"/>
803 <field name="Clear Value Address Enable" start="330" end="330" type="bool"/>
804 <field name="Caching Expanded Formats" start="331" end="331" type="uint"/>
805 <field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
806 <field name="Clear Value Address" start="390" end="431" type="address"/>
807 </struct>
808
809 <struct name="ROUNDINGPRECISIONTABLE_3_BITS" length="1">
810 <field name="Rounding Precision" start="0" end="2" type="uint">
811 <value name="+1/16" value="0"/>
812 <value name="+2/16" value="1"/>
813 <value name="+3/16" value="2"/>
814 <value name="+4/16" value="3"/>
815 <value name="+5/16" value="4"/>
816 <value name="+6/16" value="5"/>
817 <value name="+7/16" value="6"/>
818 <value name="+8/16" value="7"/>
819 </field>
820 </struct>
821
822 <struct name="SAMPLER_BORDER_COLOR_STATE" length="4">
823 <field name="Border Color Float Red" start="0" end="31" type="float"/>
824 <field name="Border Color 32bit Red" start="0" end="31" type="uint"/>
825 <field name="Border Color Float Green" start="32" end="63" type="float"/>
826 <field name="Border Color 32bit Green" start="32" end="63" type="uint"/>
827 <field name="Border Color Float Blue" start="64" end="95" type="float"/>
828 <field name="Border Color 32bit Blue" start="64" end="95" type="uint"/>
829 <field name="Border Color Float Alpha" start="96" end="127" type="float"/>
830 <field name="Border Color 32bit Alpha" start="96" end="127" type="uint"/>
831 </struct>
832
833 <struct name="SAMPLER_INDIRECT_STATE_BORDER_COLOR" length="4">
834 <field name="Border Color Red As S31" start="0" end="31" type="int"/>
835 <field name="Border Color Red As U32" start="0" end="31" type="uint"/>
836 <field name="Border Color Red As Float" start="0" end="31" type="float"/>
837 <field name="Border Color Red As U8" start="0" end="7" type="uint"/>
838 <field name="Border Color Green As U8" start="8" end="15" type="uint"/>
839 <field name="Border Color Blue As U8" start="16" end="23" type="uint"/>
840 <field name="Border Color Alpha As U8" start="24" end="31" type="uint"/>
841 <field name="Border Color Green As S31" start="32" end="63" type="int"/>
842 <field name="Border Color Green As U32" start="32" end="63" type="uint"/>
843 <field name="Border Color Green As Float" start="32" end="63" type="float"/>
844 <field name="Border Color Blue As S31" start="64" end="95" type="int"/>
845 <field name="Border Color Blue As U32" start="64" end="95" type="uint"/>
846 <field name="Border Color Blue As Float" start="64" end="95" type="float"/>
847 <field name="Border Color Alpha As S31" start="96" end="127" type="int"/>
848 <field name="Border Color Alpha As U32" start="96" end="127" type="uint"/>
849 <field name="Border Color Alpha As Float" start="96" end="127" type="float"/>
850 </struct>
851
852 <struct name="SAMPLER_STATE" length="4">
853 <field name="Anisotropic Algorithm" start="0" end="0" type="uint">
854 <value name="LEGACY" value="0"/>
855 <value name="EWA Approximation" value="1"/>
856 </field>
857 <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/>
858 <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER">
859 <value name="NEAREST" value="0"/>
860 <value name="LINEAR" value="1"/>
861 <value name="ANISOTROPIC" value="2"/>
862 <value name="MONO" value="6"/>
863 </field>
864 <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
865 <value name="NEAREST" value="0"/>
866 <value name="LINEAR" value="1"/>
867 <value name="ANISOTROPIC" value="2"/>
868 <value name="MONO" value="6"/>
869 </field>
870 <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
871 <value name="NONE" value="0"/>
872 <value name="NEAREST" value="1"/>
873 <value name="LINEAR" value="3"/>
874 </field>
875 <field name="Coarse LOD Quality Mode" start="22" end="26" type="uint"/>
876 <field name="LOD PreClamp Mode" start="27" end="28" type="uint" prefix="CLAMP_MODE">
877 <value name="NONE" value="0"/>
878 <value name="OGL" value="2"/>
879 </field>
880 <field name="Texture Border Color Mode" start="29" end="29" type="uint">
881 <value name="DX10/OGL" value="0"/>
882 <value name="DX9" value="1"/>
883 </field>
884 <field name="Sampler Disable" start="31" end="31" type="bool"/>
885 <field name="Cube Surface Control Mode" start="32" end="32" type="uint">
886 <value name="PROGRAMMED" value="0"/>
887 <value name="OVERRIDE" value="1"/>
888 </field>
889 <field name="Shadow Function" start="33" end="35" type="uint">
890 <value name="PREFILTEROP ALWAYS" value="0"/>
891 <value name="PREFILTEROP NEVER" value="1"/>
892 <value name="PREFILTEROP LESS" value="2"/>
893 <value name="PREFILTEROP EQUAL" value="3"/>
894 <value name="PREFILTEROP LEQUAL" value="4"/>
895 <value name="PREFILTEROP GREATER" value="5"/>
896 <value name="PREFILTEROP NOTEQUAL" value="6"/>
897 <value name="PREFILTEROP GEQUAL" value="7"/>
898 </field>
899 <field name="ChromaKey Mode" start="36" end="36" type="uint">
900 <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/>
901 <value name="KEYFILTER_REPLACE_BLACK" value="1"/>
902 </field>
903 <field name="ChromaKey Index" start="37" end="38" type="uint"/>
904 <field name="ChromaKey Enable" start="39" end="39" type="bool"/>
905 <field name="Max LOD" start="40" end="51" type="u4.8"/>
906 <field name="Min LOD" start="52" end="63" type="u4.8"/>
907 <field name="LOD Clamp Magnification Mode" start="64" end="64" type="uint">
908 <value name="MIPNONE" value="0"/>
909 <value name="MIPFILTER" value="1"/>
910 </field>
911 <field name="SRGB DECODE" start="65" end="65" type="uint">
912 <value name="DECODE_EXT" value="0"/>
913 <value name="SKIP_DECODE_EXT" value="1"/>
914 </field>
915 <field name="Return Filter Weight for Null Texels" start="66" end="66" type="uint"/>
916 <field name="Return Filter Weight for Border Texels" start="67" end="67" type="uint"/>
917 <field name="Force gather4 Behavior" start="69" end="69" type="bool"/>
918 <field name="Border Color Pointer" start="70" end="87" type="offset"/>
919 <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/>
920 <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/>
921 <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/>
922 <field name="Reduction Type Enable" start="105" end="105" type="bool"/>
923 <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/>
924 <field name="Trilinear Filter Quality" start="107" end="108" type="uint">
925 <value name="FULL" value="0"/>
926 <value name="HIGH" value="1"/>
927 <value name="MED" value="2"/>
928 <value name="LOW" value="3"/>
929 </field>
930 <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
931 <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
932 <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
933 <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
934 <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
935 <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
936 <field name="Maximum Anisotropy" start="115" end="117" type="uint">
937 <value name="RATIO 2:1" value="0"/>
938 <value name="RATIO 4:1" value="1"/>
939 <value name="RATIO 6:1" value="2"/>
940 <value name="RATIO 8:1" value="3"/>
941 <value name="RATIO 10:1" value="4"/>
942 <value name="RATIO 12:1" value="5"/>
943 <value name="RATIO 14:1" value="6"/>
944 <value name="RATIO 16:1" value="7"/>
945 </field>
946 <field name="Reduction Type" start="118" end="119" type="uint">
947 <value name="STD_FILTER" value="0"/>
948 <value name="COMPARISON" value="1"/>
949 <value name="MINIMUM" value="2"/>
950 <value name="MAXIMUM" value="3"/>
951 </field>
952 </struct>
953
954 <struct name="SAMPLER_STATE_8X8_AVS_COEFFICIENTS" length="8">
955 <group count="4" start="0" size="8">
956 <field name="Table 0 Filter Coefficient" start="0" end="7" type="s1.6"/>
957 </group>
958 <group count="4" start="0" size="32">
959 <field name="Table 1 Filter Coefficient0" start="0" end="7" type="s1.6"/>
960 <field name="Table 1 Filter Coefficient1" start="8" end="15" type="s1.6"/>
961 </group>
962 </struct>
963
964 <struct name="SCISSOR_RECT" length="2">
965 <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
966 <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
967 <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
968 <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
969 </struct>
970
971 <struct name="SFC_AVS_CHROMA_COEFF_TABLE_BODY" length="64">
972 <field name="Table 1X Filter Coefficient[[n],2]" start="0" end="7" type="s1.6"/>
973 <field name="Table 1Y Filter Coefficient[[n],2]" start="8" end="15" type="s1.6"/>
974 <field name="Table 1X Filter Coefficient[[n],3]" start="16" end="23" type="s1.6"/>
975 <field name="Table 1Y Filter Coefficient[[n],3]" start="24" end="31" type="s1.6"/>
976 <field name="Table 1X Filter Coefficient[[n],4]" start="32" end="39" type="s1.6"/>
977 <field name="Table 1Y Filter Coefficient[[n],4]" start="40" end="47" type="s1.6"/>
978 <field name="Table 1X Filter Coefficient[[n],5]" start="48" end="55" type="s1.6"/>
979 <field name="Table 1Y Filter Coefficient[[n],5]" start="56" end="63" type="s1.6"/>
980 <group count="31" start="64" size="64">
981 <field name="Filter Coefficients" start="0" end="63" type="CHROMA_FILTER_COEFFICIENTS_ARRAY"/>
982 </group>
983 </struct>
984
985 <struct name="SFC_AVS_LUMA_COEFF_TABLE_BODY" length="128">
986 <field name="Table 0X Filter Coefficient[[n],0]" start="0" end="7" type="s1.6"/>
987 <field name="Table 0Y Filter Coefficient[[n],0]" start="8" end="15" type="s1.6"/>
988 <field name="Table 0X Filter Coefficient[[n],1]" start="16" end="23" type="s1.6"/>
989 <field name="Table 0Y Filter Coefficient[[n],1]" start="24" end="31" type="s1.6"/>
990 <field name="Table 0X Filter Coefficient[[n],2]" start="32" end="39" type="s1.6"/>
991 <field name="Table 0Y Filter Coefficient[[n],2]" start="40" end="47" type="s1.6"/>
992 <field name="Table 0X Filter Coefficient[[n],3]" start="48" end="55" type="s1.6"/>
993 <field name="Table 0Y Filter Coefficient[[n],3]" start="56" end="63" type="s1.6"/>
994 <field name="Table 0X Filter Coefficient[[n],4]" start="64" end="71" type="s1.6"/>
995 <field name="Table 0Y Filter Coefficient[[n],4]" start="72" end="79" type="s1.6"/>
996 <field name="Table 0X Filter Coefficient[[n],5]" start="80" end="87" type="s1.6"/>
997 <field name="Table 0Y Filter Coefficient[[n],5]" start="88" end="95" type="s1.6"/>
998 <field name="Table 0X Filter Coefficient[[n],6]" start="96" end="103" type="s1.6"/>
999 <field name="Table 0Y Filter Coefficient[[n],6]" start="104" end="111" type="s1.6"/>
1000 <field name="Table 0X Filter Coefficient[[n],7]" start="112" end="119" type="s1.6"/>
1001 <field name="Table 0Y Filter Coefficient[[n],7]" start="120" end="127" type="s1.6"/>
1002 <group count="31" start="128" size="128">
1003 <field name="Filter Coefficients" start="0" end="127" type="LUMA_FILTER_COEFFICIENTS_ARRAY"/>
1004 </group>
1005 </struct>
1006
1007 <struct name="SFC_AVS_STATE_BODY" length="3">
1008 <field name="Transition Area with 8 Pixels" start="0" end="2" type="uint"/>
1009 <field name="Transition Area with 4 Pixels" start="4" end="6" type="uint"/>
1010 <field name="Sharpness Level" start="24" end="31" type="uint"/>
1011 <field name="Max Derivative 8 Pixels" start="32" end="39" type="uint"/>
1012 <field name="Max Derivative 4 Pixels" start="48" end="55" type="uint"/>
1013 <field name="Input Vertical Siting" start="64" end="67" type="uint">
1014 <value name="1/8" value="1"/>
1015 <value name="2/8" value="2"/>
1016 <value name="3/8" value="3"/>
1017 <value name="4/8" value="4"/>
1018 <value name="5/8" value="5"/>
1019 <value name="6/8" value="6"/>
1020 <value name="7/8" value="7"/>
1021 <value name="8/8" value="8"/>
1022 </field>
1023 </struct>
1024
1025 <struct name="SFC_IEF_STATE_BODY" length="23">
1026 <field name="Gain Factor" start="0" end="5" type="uint" default="44"/>
1027 <field name="Weak Edge Threshold" start="6" end="11" type="uint" default="1"/>
1028 <field name="Strong Edge Threshold" start="12" end="17" type="uint" default="8"/>
1029 <field name="R3x Coefficient" start="18" end="22" type="u0.5" default="5"/>
1030 <field name="R3c Coefficient" start="23" end="27" type="u0.5" default="5"/>
1031 <field name="Global Noise Estimation" start="32" end="39" type="uint"/>
1032 <field name="Non Edge Weight" start="40" end="42" type="uint"/>
1033 <field name="Regular Weight" start="43" end="45" type="uint"/>
1034 <field name="Strong Edge Weight" start="46" end="48" type="uint"/>
1035 <field name="R5x Coefficient" start="49" end="53" type="u0.5"/>
1036 <field name="R5cx Coefficient" start="54" end="58" type="u0.5"/>
1037 <field name="R5c Coefficient" start="59" end="63" type="u0.5"/>
1038 <field name="STD Sin(alpha)" start="64" end="71" type="s0.7"/>
1039 <field name="STD Cos(alpha)" start="72" end="79" type="s0.7"/>
1040 <field name="Sat_Max" start="80" end="85" type="uint"/>
1041 <field name="Hue_Max" start="86" end="91" type="uint"/>
1042 <field name="S3U" start="96" end="106" type="s2.8"/>
1043 <field name="Diamond Margin" start="108" end="110" type="uint"/>
1044 <field name="VY_STD_Enable" start="111" end="111" type="bool"/>
1045 <field name="U_Mid" start="112" end="119" type="uint"/>
1046 <field name="V_Mid" start="120" end="127" type="uint"/>
1047 <field name="Diamond_dv" start="128" end="134" type="int"/>
1048 <field name="Diamond_Th" start="135" end="140" type="uint"/>
1049 <field name="Diamond_alpha" start="141" end="148" type="u2.6"/>
1050 <field name="HS_margin" start="149" end="151" type="uint"/>
1051 <field name="Diamond_du" start="152" end="158" type="int"/>
1052 <field name="Skin Detail Factor" start="159" end="159" type="uint">
1053 <value name="Detail Revealed" value="0"/>
1054 <value name="Not Detail Revealed" value="1"/>
1055 </field>
1056 <field name="Y_point_1" start="160" end="167" type="uint"/>
1057 <field name="Y_point_2" start="168" end="175" type="uint"/>
1058 <field name="Y_point_3" start="176" end="183" type="uint"/>
1059 <field name="Y_point_4" start="184" end="191" type="uint"/>
1060 <field name="INV_Margin_VYL" start="192" end="207" type="u0.16"/>
1061 <field name="INV_Margin_VYU" start="224" end="239" type="u0.16"/>
1062 <field name="P0L" start="240" end="247" type="uint"/>
1063 <field name="P1L" start="248" end="255" type="uint"/>
1064 <field name="P2L" start="256" end="263" type="uint"/>
1065 <field name="P3L" start="264" end="271" type="uint"/>
1066 <field name="B0L" start="272" end="279" type="uint"/>
1067 <field name="B1L" start="280" end="287" type="uint"/>
1068 <field name="B2L" start="288" end="295" type="uint"/>
1069 <field name="B3L" start="296" end="303" type="uint"/>
1070 <field name="S0L" start="304" end="314" type="s2.8"/>
1071 <field name="Y_Slope_2" start="315" end="319" type="u2.3"/>
1072 <field name="S1L" start="320" end="330" type="s2.8"/>
1073 <field name="S2L" start="331" end="341" type="s2.8"/>
1074 <field name="S3L" start="352" end="362" type="s2.8"/>
1075 <field name="P0U" start="363" end="370" type="uint"/>
1076 <field name="P1U" start="371" end="378" type="uint"/>
1077 <field name="Y_Slope1" start="379" end="383" type="u2.3"/>
1078 <field name="P2U" start="384" end="391" type="uint"/>
1079 <field name="P3U" start="392" end="399" type="uint"/>
1080 <field name="B0U" start="400" end="407" type="uint"/>
1081 <field name="B1U" start="408" end="415" type="uint"/>
1082 <field name="B2U" start="416" end="423" type="uint"/>
1083 <field name="B3U" start="424" end="431" type="uint"/>
1084 <field name="S0U" start="432" end="442" type="s2.8"/>
1085 <field name="S1U" start="448" end="458" type="s2.8"/>
1086 <field name="S2U" start="459" end="469" type="s2.8"/>
1087 <field name="Transform Enable" start="480" end="480" type="bool"/>
1088 <field name="YUV Channel Swap" start="481" end="481" type="bool"/>
1089 <field name="C0" start="483" end="495" type="s2.10"/>
1090 <field name="C1" start="496" end="508" type="s2.10"/>
1091 <field name="C2" start="512" end="524" type="s2.10"/>
1092 <field name="C3" start="525" end="537" type="s2.10"/>
1093 <field name="C4" start="544" end="556" type="s2.10"/>
1094 <field name="C5" start="557" end="569" type="s2.10"/>
1095 <field name="C6" start="576" end="588" type="s2.10"/>
1096 <field name="C7" start="589" end="601" type="s2.10"/>
1097 <field name="C8" start="608" end="620" type="s2.10"/>
1098 <field name="Offset In 1" start="640" end="650" type="s2.8"/>
1099 <field name="Offset Out 1" start="651" end="661" type="s2.8"/>
1100 <field name="Offset In 2" start="672" end="682" type="s2.8"/>
1101 <field name="Offset Out 2" start="683" end="693" type="s2.8"/>
1102 <field name="Offset In 3" start="704" end="714" type="s2.8"/>
1103 <field name="Offset Out 3" start="715" end="725" type="s2.8"/>
1104 </struct>
1105
1106 <struct name="SFC_LOCK_BODY" length="1">
1107 <field name="VE-SFC Pipe Select" start="0" end="0" type="uint"/>
1108 <field name="Pre-Scaled Output Surface Output Enable" start="1" end="1" type="bool"/>
1109 </struct>
1110
1111 <struct name="SF_CLIP_VIEWPORT" length="16">
1112 <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
1113 <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
1114 <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
1115 <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
1116 <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
1117 <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
1118 <field name="X Min Clip Guardband" start="256" end="287" type="float"/>
1119 <field name="X Max Clip Guardband" start="288" end="319" type="float"/>
1120 <field name="Y Min Clip Guardband" start="320" end="351" type="float"/>
1121 <field name="Y Max Clip Guardband" start="352" end="383" type="float"/>
1122 <field name="X Min ViewPort" start="384" end="415" type="float"/>
1123 <field name="X Max ViewPort" start="416" end="447" type="float"/>
1124 <field name="Y Min ViewPort" start="448" end="479" type="float"/>
1125 <field name="Y Max ViewPort" start="480" end="511" type="float"/>
1126 </struct>
1127
1128 <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1">
1129 <field name="Source Attribute" start="0" end="4" type="uint"/>
1130 <field name="Swizzle Select" start="6" end="7" type="uint">
1131 <value name="INPUTATTR" value="0"/>
1132 <value name="INPUTATTR_FACING" value="1"/>
1133 <value name="INPUTATTR_W" value="2"/>
1134 <value name="INPUTATTR_FACING_W" value="3"/>
1135 </field>
1136 <field name="Constant Source" start="9" end="10" type="uint">
1137 <value name="CONST_0000" value="0"/>
1138 <value name="CONST_0001_FLOAT" value="1"/>
1139 <value name="CONST_1111_FLOAT" value="2"/>
1140 <value name="PRIM_ID" value="3"/>
1141 </field>
1142 <field name="Swizzle Control Mode" start="11" end="11" type="uint"/>
1143 <field name="Component Override X" start="12" end="12" type="bool"/>
1144 <field name="Component Override Y" start="13" end="13" type="bool"/>
1145 <field name="Component Override Z" start="14" end="14" type="bool"/>
1146 <field name="Component Override W" start="15" end="15" type="bool"/>
1147 </struct>
1148
1149 <struct name="SLICE_HASH_TABLE" length="32">
1150 <group count="16" start="0" size="64">
1151 <group count="16" start="0" size="4">
1152 <field name="Entry" start="0" end="3" type="uint"/>
1153 </group>
1154 </group>
1155 </struct>
1156
1157 <struct name="SO_DECL" length="1">
1158 <field name="Component Mask" start="0" end="3" type="uint" default="0"/>
1159 <field name="Register Index" start="4" end="9" type="uint"/>
1160 <field name="Hole Flag" start="11" end="11" type="bool"/>
1161 <field name="Output Buffer Slot" start="12" end="13" type="uint"/>
1162 </struct>
1163
1164 <struct name="SO_DECL_ENTRY" length="2">
1165 <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/>
1166 <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/>
1167 <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/>
1168 <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/>
1169 </struct>
1170
1171 <struct name="VDENC_SURFACE_CONTROL_BITS" length="1">
1172 <field name="MOCS" start="1" end="6" type="uint"/>
1173 <field name="Arbitration Priority Control" start="7" end="8" type="uint">
1174 <value name="Highest priority" value="0"/>
1175 <value name="Second highest priority" value="1"/>
1176 <value name="Third highest priority" value="2"/>
1177 <value name="Lowest priority" value="3"/>
1178 </field>
1179 <field name="Memory Compression Enable" start="9" end="9" type="bool"/>
1180 <field name="Memory Compression Mode" start="10" end="10" type="uint"/>
1181 <field name="Cache Select" start="12" end="12" type="uint"/>
1182 <field name="Tiled Resource Mode" start="13" end="14" type="uint">
1183 <value name="TRMODE_NONE" value="0"/>
1184 <value name="TRMODE_TILEYF" value="1"/>
1185 <value name="TRMODE_TILEYS" value="2"/>
1186 </field>
1187 </struct>
1188
1189 <struct name="VDENC_PICTURE" length="3">
1190 <field name="Address" start="0" end="63" type="address"/>
1191 <field name="Picture Fields" start="64" end="95" type="VDENC_SURFACE_CONTROL_BITS"/>
1192 </struct>
1193
1194 <struct name="VDENC_SURFACE_STATE_FIELDS" length="4">
1195 <field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="0" end="1" type="u0.2"/>
1196 <field name="Surface Format Byte Swizzle" start="2" end="2" type="bool"/>
1197 <field name="Color space selection" start="3" end="3" type="uint"/>
1198 <field name="Width" start="4" end="17" type="uint"/>
1199 <field name="Height" start="18" end="31" type="uint"/>
1200 <field name="Tile Walk" start="32" end="32" type="uint" prefix="TW">
1201 <value name="XMAJOR" value="0"/>
1202 <value name="YMAJOR" value="1"/>
1203 </field>
1204 <field name="Tiled Surface" start="33" end="33" type="uint"/>
1205 <field name="Half Pitch for Chroma" start="34" end="34" type="bool"/>
1206 <field name="Surface Pitch" start="35" end="51" type="uint"/>
1207 <field name="Chroma Downsample Filter Control" start="52" end="54" type="uint"/>
1208 <field name="Format" start="59" end="63" type="uint"/>
1209 <field name="Surface Format" start="60" end="63" type="uint" prefix="VDENC">
1210 <value name="YUV 4:2:2" value="0"/>
1211 <value name="RGBA 4:4:4:4" value="1"/>
1212 <value name="YUV 4:4:4" value="2"/>
1213 <value name="Y8_UNORM" value="3"/>
1214 <value name="PLANAR_420_8" value="4"/>
1215 </field>
1216 <field name="Y Offset for U(Cb)" start="64" end="78" type="uint"/>
1217 <field name="X Offset for U(Cb)" start="80" end="94" type="uint"/>
1218 <field name="Y Offset for V(Cr)" start="96" end="111" type="uint"/>
1219 <field name="X Offset for V(Cr)" start="112" end="124" type="uint"/>
1220 </struct>
1221
1222 <struct name="VERTEX_BUFFER_STATE" length="4">
1223 <field name="Buffer Pitch" start="0" end="11" type="uint"/>
1224 <field name="Null Vertex Buffer" start="13" end="13" type="bool"/>
1225 <field name="Address Modify Enable" start="14" end="14" type="bool"/>
1226 <field name="MOCS" start="16" end="22" type="uint"/>
1227 <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
1228 <field name="Buffer Starting Address" start="32" end="95" type="address"/>
1229 <field name="Buffer Size" start="96" end="127" type="uint"/>
1230 </struct>
1231
1232 <struct name="VERTEX_ELEMENT_STATE" length="2">
1233 <field name="Source Element Offset" start="0" end="11" type="uint"/>
1234 <field name="Edge Flag Enable" start="15" end="15" type="bool"/>
1235 <field name="Source Element Format" start="16" end="24" type="uint"/>
1236 <field name="Valid" start="25" end="25" type="bool"/>
1237 <field name="Vertex Buffer Index" start="26" end="31" type="uint"/>
1238 <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
1239 <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
1240 <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
1241 <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
1242 </struct>
1243
1244 <instruction name="3DPRIMITIVE" bias="2" length="7" engine="render">
1245 <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
1246 <field name="Predicate Enable" start="8" end="8" type="bool"/>
1247 <field name="UAV Coherency Required" start="9" end="9" type="bool"/>
1248 <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/>
1249 <field name="Extended Parameters Present" start="11" end="11" type="uint"/>
1250 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
1251 <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
1252 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1253 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1254 <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/>
1255 <field name="Vertex Access Type" start="40" end="40" type="uint">
1256 <value name="SEQUENTIAL" value="0"/>
1257 <value name="RANDOM" value="1"/>
1258 </field>
1259 <field name="End Offset Enable" start="41" end="41" type="bool"/>
1260 <field name="Vertex Count Per Instance" start="64" end="95" type="uint"/>
1261 <field name="Start Vertex Location" start="96" end="127" type="uint"/>
1262 <field name="Instance Count" start="128" end="159" type="uint"/>
1263 <field name="Start Instance Location" start="160" end="191" type="uint"/>
1264 <field name="Base Vertex Location" start="192" end="223" type="int"/>
1265 <field name="Extended Parameter 0" start="224" end="255" type="uint"/>
1266 <field name="Extended Parameter 1" start="256" end="287" type="uint"/>
1267 <field name="Extended Parameter 2" start="288" end="319" type="uint"/>
1268 </instruction>
1269
1270 <instruction name="3DSTATE_3D_MODE" bias="2" length="2" engine="render">
1271 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1272 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/>
1273 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1274 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1275 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1276 <field name="Cross Slice Hashing Mode" start="32" end="33" type="uint">
1277 <value name="Normal Mode" value="0"/>
1278 <value name="Disable" value="1"/>
1279 <value name="hashing 32x32" value="3"/>
1280 </field>
1281 <field name="Subslice Hashing Mode" start="34" end="35" type="uint">
1282 <value name="hashing 8x8" value="0"/>
1283 <value name="hashing 16x4" value="1"/>
1284 <value name="hashing 8x4" value="2"/>
1285 <value name="hashing 16x16" value="3"/>
1286 </field>
1287 <field name="Slice Hashing Table Enable" start="38" end="38" type="bool"/>
1288 <field name="Mask" start="48" end="63" type="mbo"/>
1289 </instruction>
1290
1291 <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render">
1292 <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1293 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
1294 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1295 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1296 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1297 <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/>
1298 <field name="AA Point Coverage Slope" start="40" end="47" type="u0.8"/>
1299 <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/>
1300 <field name="AA Point Coverage Bias" start="56" end="63" type="u0.8"/>
1301 <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/>
1302 <field name="AA Point Coverage EndCap Slope" start="72" end="79" type="u0.8"/>
1303 <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/>
1304 <field name="AA Point Coverage EndCap Bias" start="88" end="95" type="u0.8"/>
1305 </instruction>
1306
1307 <instruction name="3DSTATE_BINDING_TABLE_EDIT_DS" bias="2" engine="render">
1308 <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1309 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="70"/>
1310 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1311 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1312 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1313 <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1314 <value name="All Cores" value="3"/>
1315 <value name="Core 1" value="2"/>
1316 <value name="Core 0" value="1"/>
1317 </field>
1318 <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1319 <group count="0" start="64" size="32">
1320 <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1321 </group>
1322 </instruction>
1323
1324 <instruction name="3DSTATE_BINDING_TABLE_EDIT_GS" bias="2" engine="render">
1325 <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1326 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="68"/>
1327 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1328 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1329 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1330 <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1331 <value name="All Cores" value="3"/>
1332 <value name="Core 1" value="2"/>
1333 <value name="Core 0" value="1"/>
1334 </field>
1335 <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1336 <group count="0" start="64" size="32">
1337 <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1338 </group>
1339 </instruction>
1340
1341 <instruction name="3DSTATE_BINDING_TABLE_EDIT_HS" bias="2" engine="render">
1342 <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1343 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="69"/>
1344 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1345 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1346 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1347 <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1348 <value name="All Cores" value="3"/>
1349 <value name="Core 1" value="2"/>
1350 <value name="Core 0" value="1"/>
1351 </field>
1352 <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1353 <group count="0" start="64" size="32">
1354 <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1355 </group>
1356 </instruction>
1357
1358 <instruction name="3DSTATE_BINDING_TABLE_EDIT_PS" bias="2" engine="render">
1359 <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1360 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="71"/>
1361 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1362 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1363 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1364 <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1365 <value name="All Cores" value="3"/>
1366 <value name="Core 1" value="2"/>
1367 <value name="Core 0" value="1"/>
1368 </field>
1369 <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1370 <group count="0" start="64" size="32">
1371 <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1372 </group>
1373 </instruction>
1374
1375 <instruction name="3DSTATE_BINDING_TABLE_EDIT_VS" bias="2" engine="render">
1376 <field name="DWord Length" start="0" end="8" type="uint" default="0"/>
1377 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="67"/>
1378 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1379 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1380 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1381 <field name="Binding Table Edit Target" start="32" end="33" type="uint">
1382 <value name="All Cores" value="3"/>
1383 <value name="Core 1" value="2"/>
1384 <value name="Core 0" value="1"/>
1385 </field>
1386 <field name="Binding Table Block Clear" start="48" end="63" type="uint"/>
1387 <group count="0" start="64" size="32">
1388 <field name="Entry [n]" start="0" end="31" type="BINDING_TABLE_EDIT_ENTRY"/>
1389 </group>
1390 </instruction>
1391
1392 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render">
1393 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1394 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/>
1395 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1396 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1397 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1398 <field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/>
1399 </instruction>
1400
1401 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render">
1402 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1403 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/>
1404 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1405 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1406 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1407 <field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/>
1408 </instruction>
1409
1410 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render">
1411 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1412 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/>
1413 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1414 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1415 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1416 <field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/>
1417 </instruction>
1418
1419 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render">
1420 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1421 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/>
1422 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1423 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1424 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1425 <field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/>
1426 </instruction>
1427
1428 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render">
1429 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1430 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/>
1431 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1432 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1433 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1434 <field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/>
1435 </instruction>
1436
1437 <instruction name="3DSTATE_BINDING_TABLE_POOL_ALLOC" bias="2" length="4" engine="render">
1438 <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1439 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
1440 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1441 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1442 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1443 <field name="MOCS" start="32" end="38" type="uint"/>
1444 <field name="Binding Table Pool Enable" start="43" end="43" type="uint"/>
1445 <field name="Binding Table Pool Base Address" start="44" end="95" type="address"/>
1446 <field name="Binding Table Pool Buffer Size" start="108" end="127" type="uint">
1447 <value name="No Valid Data" value="0"/>
1448 </field>
1449 </instruction>
1450
1451 <instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render">
1452 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1453 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/>
1454 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1455 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1456 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1457 <field name="Blend State Pointer Valid" start="32" end="32" type="bool"/>
1458 <field name="Blend State Pointer" start="38" end="63" type="offset"/>
1459 </instruction>
1460
1461 <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render">
1462 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1463 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/>
1464 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1465 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1466 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1467 <field name="Color Calc State Pointer Valid" start="32" end="32" type="bool"/>
1468 <field name="Color Calc State Pointer" start="38" end="63" type="offset"/>
1469 </instruction>
1470
1471 <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render">
1472 <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1473 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
1474 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1475 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1476 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1477 <field name="ChromaKey Table Index" start="62" end="63" type="uint"/>
1478 <field name="ChromaKey Low Value" start="64" end="95" type="uint"/>
1479 <field name="ChromaKey High Value" start="96" end="127" type="uint"/>
1480 </instruction>
1481
1482 <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render">
1483 <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1484 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
1485 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1486 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1487 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1488 <field name="Depth Clear Value" start="32" end="63" type="float"/>
1489 <field name="Depth Clear Value Valid" start="64" end="64" type="bool"/>
1490 </instruction>
1491
1492 <instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render">
1493 <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1494 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/>
1495 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1496 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1497 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1498 <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/>
1499 <field name="Statistics Enable" start="42" end="42" type="bool"/>
1500 <field name="Force Clip Mode" start="48" end="48" type="bool"/>
1501 <field name="Force User Clip Distance Clip Test Enable Bitmask" start="49" end="49" type="bool"/>
1502 <field name="Early Cull Enable" start="50" end="50" type="bool"/>
1503 <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint">
1504 <value name="8 Bit" value="0"/>
1505 <value name="4 Bit" value="1"/>
1506 </field>
1507 <field name="Force User Clip Distance Cull Test Enable Bitmask" start="52" end="52" type="bool"/>
1508 <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"/>
1509 <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"/>
1510 <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"/>
1511 <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/>
1512 <field name="Perspective Divide Disable" start="73" end="73" type="bool"/>
1513 <field name="Clip Mode" start="77" end="79" type="uint">
1514 <value name="CLIPMODE_NORMAL" value="0"/>
1515 <value name="CLIPMODE_REJECT_ALL" value="3"/>
1516 <value name="CLIPMODE_ACCEPT_ALL" value="4"/>
1517 </field>
1518 <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/>
1519 <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/>
1520 <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/>
1521 <field name="API Mode" start="94" end="94" type="uint">
1522 <value name="APIMODE_OGL" value="0"/>
1523 <value name="APIMODE_D3D" value="1"/>
1524 </field>
1525 <field name="Clip Enable" start="95" end="95" type="bool"/>
1526 <field name="Maximum VP Index" start="96" end="99" type="uint"/>
1527 <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/>
1528 <field name="Maximum Point Width" start="102" end="112" type="u8.3"/>
1529 <field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
1530 </instruction>
1531
1532 <instruction name="3DSTATE_CONSTANT_ALL" bias="2" length="2">
1533 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1534 <field name="Shader Update Enable" start="8" end="12" type="uint"/>
1535 <field name="Vertex Shader Update Enable" start="8" end="8" type="bool"/>
1536 <field name="Hull Shader Update Enable" start="9" end="9" type="bool"/>
1537 <field name="Domain Shader Update Enable" start="10" end="10" type="bool"/>
1538 <field name="Geometry Shader Update Enable" start="11" end="11" type="bool"/>
1539 <field name="Pixel Shader Update Enable" start="12" end="12" type="bool"/>
1540 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="109"/>
1541 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1542 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1543 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1544 <field name="MOCS" start="32" end="38" type="uint"/>
1545 <field name="Pointer Buffer Mask" start="48" end="51" type="uint"/>
1546 <field name="Update Mode" start="63" end="63" type="bool"/>
1547 <group count="0" start="64" size="64">
1548 <field name="Constant Body" start="0" end="63" type="3DSTATE_CONSTANT_ALL_DATA"/>
1549 </group>
1550 </instruction>
1551
1552 <instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
1553 <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1554 <field name="MOCS" start="8" end="14" type="uint"/>
1555 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
1556 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1557 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1558 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1559 <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1560 </instruction>
1561
1562 <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
1563 <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1564 <field name="MOCS" start="8" end="14" type="uint"/>
1565 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
1566 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1567 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1568 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1569 <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1570 </instruction>
1571
1572 <instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
1573 <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1574 <field name="MOCS" start="8" end="14" type="uint"/>
1575 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
1576 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1577 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1578 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1579 <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1580 </instruction>
1581
1582 <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
1583 <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1584 <field name="MOCS" start="8" end="14" type="uint"/>
1585 <field name="Disable Gather at Set Shader Hint" start="15" end="15" type="uint"/>
1586 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
1587 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1588 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1589 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1590 <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1591 </instruction>
1592
1593 <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
1594 <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1595 <field name="MOCS" start="8" end="14" type="uint"/>
1596 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
1597 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1598 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1599 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1600 <field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
1601 </instruction>
1602
1603 <instruction name="3DSTATE_DEPTH_BOUNDS" bias="2" length="4">
1604 <field name="Length" start="0" end="7" type="uint" default="2"/>
1605 <field name="Depth Bounds Test Value Modify Disable" start="14" end="14" type="bool"/>
1606 <field name="Depth Bounds Test Enable Modify Disable" start="15" end="15" type="bool"/>
1607 <field name="3DSTATE Command Sub Opcode" start="16" end="23" type="uint" default="113"/>
1608 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1609 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1610 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1611 <field name="Depth Bounds Test Enable" start="32" end="32" type="uint"/>
1612 <field name="Depth Bounds Test Min Value" start="64" end="95" type="float"/>
1613 <field name="Depth Bounds Test Max Value" start="96" end="127" type="float"/>
1614 </instruction>
1615
1616 <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
1617 <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
1618 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
1619 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1620 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1621 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1622 <field name="Surface Pitch" start="32" end="49" type="uint"/>
1623 <field name="Control Surface Enable" start="51" end="51" type="bool"/>
1624 <field name="Depth Buffer Compression Enable" start="53" end="53" type="bool"/>
1625 <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
1626 <field name="Corner Texel Mode" start="55" end="55" type="bool"/>
1627 <field name="Surface Format" start="56" end="58" type="uint">
1628 <value name="D32_FLOAT" value="1"/>
1629 <value name="D24_UNORM_X8_UINT" value="3"/>
1630 <value name="D16_UNORM" value="5"/>
1631 </field>
1632 <field name="Null Page Coherency Enable" start="59" end="59" type="bool"/>
1633 <field name="Depth Write Enable" start="60" end="60" type="bool"/>
1634 <field name="Surface Type" start="61" end="63" type="uint">
1635 <value name="SURFTYPE_2D" value="1"/>
1636 <value name="SURFTYPE_CUBE" value="3"/>
1637 <value name="SURFTYPE_NULL" value="7"/>
1638 </field>
1639 <field name="Surface Base Address" start="64" end="127" type="address"/>
1640 <field name="Width" start="129" end="142" type="uint"/>
1641 <field name="Height" start="145" end="158" type="uint"/>
1642 <field name="MOCS" start="160" end="166" type="uint"/>
1643 <field name="Minimum Array Element" start="168" end="178" type="uint"/>
1644 <field name="Depth" start="180" end="190" type="uint"/>
1645 <field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
1646 <field name="Tiled Resource Mode" start="222" end="223" type="uint">
1647 <value name="NONE" value="0"/>
1648 <value name="TILEYF" value="1"/>
1649 <value name="TILEYS" value="2"/>
1650 </field>
1651 <field name="Surface QPitch" start="224" end="238" type="uint"/>
1652 <field name="LOD" start="240" end="243" type="uint"/>
1653 <field name="Render Target View Extent" start="245" end="255" type="uint"/>
1654 </instruction>
1655
1656 <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
1657 <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1658 <field name="Core Mode Select" start="14" end="15" type="uint">
1659 <value name="Legacy" value="0"/>
1660 <value name="Core 0 Enabled" value="1"/>
1661 <value name="Core 1 Enabled" value="2"/>
1662 </field>
1663 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
1664 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1665 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1666 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1667 <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
1668 <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
1669 <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
1670 <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
1671 <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
1672 <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
1673 </instruction>
1674
1675 <instruction name="3DSTATE_DS" bias="2" length="11" engine="render">
1676 <field name="DWord Length" start="0" end="7" type="uint" default="9"/>
1677 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/>
1678 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1679 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1680 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1681 <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
1682 <field name="Software Exception Enable" start="103" end="103" type="bool"/>
1683 <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
1684 <field name="Accesses UAV" start="110" end="110" type="bool"/>
1685 <field name="Floating Point Mode" start="112" end="112" type="uint">
1686 <value name="IEEE-754" value="0"/>
1687 <value name="Alternate" value="1"/>
1688 </field>
1689 <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
1690 <value name="High" value="1"/>
1691 </field>
1692 <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
1693 <field name="Sampler Count" start="123" end="125" type="uint">
1694 <value name="No Samplers" value="0"/>
1695 <value name="1-4 Samplers" value="1"/>
1696 <value name="5-8 Samplers" value="2"/>
1697 <value name="9-12 Samplers" value="3"/>
1698 <value name="13-16 Samplers" value="4"/>
1699 </field>
1700 <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
1701 <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
1702 <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
1703 <field name="Patch URB Entry Read Offset" start="196" end="201" type="uint"/>
1704 <field name="Patch URB Entry Read Length" start="203" end="209" type="uint"/>
1705 <field name="Dispatch GRF Start Register For URB Data" start="212" end="216" type="uint"/>
1706 <field name="Enable" start="224" end="224" type="bool"/>
1707 <field name="Cache Disable" start="225" end="225" type="bool"/>
1708 <field name="Compute W Coordinate Enable" start="226" end="226" type="bool"/>
1709 <field name="Dispatch Mode" start="227" end="228" type="uint" prefix="DISPATCH_MODE">
1710 <value name="SIMD8_SINGLE_PATCH" value="1"/>
1711 <value name="SIMD8_SINGLE_OR_DUAL_PATCH" value="2"/>
1712 </field>
1713 <field name="Statistics Enable" start="234" end="234" type="bool"/>
1714 <field name="Maximum Number of Threads" start="245" end="254" type="uint"/>
1715 <field name="User Clip Distance Cull Test Enable Bitmask" start="256" end="263" type="uint"/>
1716 <field name="User Clip Distance Clip Test Enable Bitmask" start="264" end="271" type="uint"/>
1717 <field name="Vertex URB Entry Output Length" start="272" end="276" type="uint"/>
1718 <field name="Vertex URB Entry Output Read Offset" start="277" end="282" type="uint"/>
1719 <field name="DUAL_PATCH Kernel Start Pointer" start="294" end="351" type="offset"/>
1720 </instruction>
1721
1722 <instruction name="3DSTATE_GATHER_CONSTANT_DS" bias="2" engine="render">
1723 <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1724 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="55"/>
1725 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1726 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1727 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1728 <field name="Update Gather Table Only" start="33" end="33" type="uint">
1729 <value name="Commit Gather" value="0"/>
1730 <value name="Non-Commit Gather" value="1"/>
1731 </field>
1732 <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1733 <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1734 <field name="On-Die Table" start="67" end="67" type="uint">
1735 <value name="Load" value="0"/>
1736 <value name="Read" value="1"/>
1737 </field>
1738 <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1739 <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1740 <group count="0" start="96" size="32">
1741 <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1742 <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1743 </group>
1744 </instruction>
1745
1746 <instruction name="3DSTATE_GATHER_CONSTANT_GS" bias="2" engine="render">
1747 <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1748 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="53"/>
1749 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1750 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1751 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1752 <field name="Update Gather Table Only" start="33" end="33" type="uint">
1753 <value name="Commit Gather" value="0"/>
1754 <value name="Non-Commit Gather" value="1"/>
1755 </field>
1756 <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1757 <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1758 <field name="On-Die Table" start="67" end="67" type="uint">
1759 <value name="Load" value="0"/>
1760 <value name="Read" value="1"/>
1761 </field>
1762 <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1763 <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1764 <group count="0" start="96" size="32">
1765 <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1766 <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1767 </group>
1768 </instruction>
1769
1770 <instruction name="3DSTATE_GATHER_CONSTANT_HS" bias="2" engine="render">
1771 <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1772 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="54"/>
1773 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1774 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1775 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1776 <field name="Update Gather Table Only" start="33" end="33" type="uint">
1777 <value name="Commit Gather" value="0"/>
1778 <value name="Non-Commit Gather" value="1"/>
1779 </field>
1780 <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1781 <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1782 <field name="On-Die Table" start="67" end="67" type="uint">
1783 <value name="Load" value="0"/>
1784 <value name="Read" value="1"/>
1785 </field>
1786 <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1787 <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1788 <group count="0" start="96" size="32">
1789 <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1790 <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1791 </group>
1792 </instruction>
1793
1794 <instruction name="3DSTATE_GATHER_CONSTANT_PS" bias="2" engine="render">
1795 <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1796 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="56"/>
1797 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1798 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1799 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1800 <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
1801 <field name="Update Gather Table Only" start="33" end="33" type="uint">
1802 <value name="Commit Gather" value="0"/>
1803 <value name="Non-Commit Gather" value="1"/>
1804 </field>
1805 <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1806 <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1807 <field name="On-Die Table" start="67" end="67" type="uint">
1808 <value name="Load" value="0"/>
1809 <value name="Read" value="1"/>
1810 </field>
1811 <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
1812 <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1813 <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1814 <group count="0" start="96" size="32">
1815 <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1816 <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1817 </group>
1818 </instruction>
1819
1820 <instruction name="3DSTATE_GATHER_CONSTANT_VS" bias="2" engine="render">
1821 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
1822 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="52"/>
1823 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1824 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1825 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1826 <field name="DX9 On-Die Register Read Enable" start="32" end="32" type="bool"/>
1827 <field name="Update Gather Table Only" start="33" end="33" type="uint">
1828 <value name="Commit Gather" value="0"/>
1829 <value name="Non-Commit Gather" value="1"/>
1830 </field>
1831 <field name="Constant Buffer Binding Table Block" start="44" end="47" type="uint"/>
1832 <field name="Constant Buffer Valid" start="48" end="63" type="uint"/>
1833 <field name="On-Die Table" start="67" end="67" type="uint">
1834 <value name="Load" value="0"/>
1835 <value name="Read" value="1"/>
1836 </field>
1837 <field name="Constant Buffer Dx9 Enable" start="68" end="68" type="bool"/>
1838 <field name="Constant Buffer Dx9 Generate Stall" start="69" end="69" type="bool"/>
1839 <field name="Gather Buffer Offset" start="70" end="86" type="offset"/>
1840 <group count="0" start="96" size="32">
1841 <field name="Entry_0" start="0" end="15" type="GATHER_CONSTANT_ENTRY"/>
1842 <field name="Entry_1" start="16" end="31" type="GATHER_CONSTANT_ENTRY"/>
1843 </group>
1844 </instruction>
1845
1846 <instruction name="3DSTATE_GATHER_POOL_ALLOC" bias="2" length="4" engine="render">
1847 <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
1848 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
1849 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
1850 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1851 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1852 <field name="MOCS" start="32" end="38" type="uint"/>
1853 <field name="Gather Pool Enable" start="43" end="43" type="bool"/>
1854 <field name="Gather Pool Base Address" start="44" end="95" type="address"/>
1855 <field name="Gather Pool Buffer Size" start="108" end="127" type="uint"/>
1856 </instruction>
1857
1858 <instruction name="3DSTATE_GS" bias="2" length="10" engine="render">
1859 <field name="DWord Length" start="0" end="7" type="uint" default="8"/>
1860 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
1861 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1862 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1863 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1864 <field name="Kernel Start Pointer" start="38" end="95" type="offset"/>
1865 <field name="Expected Vertex Count" start="96" end="101" type="uint"/>
1866 <field name="Software Exception Enable" start="103" end="103" type="bool"/>
1867 <field name="Mask Stack Exception Enable" start="107" end="107" type="bool"/>
1868 <field name="Accesses UAV" start="108" end="108" type="bool"/>
1869 <field name="Illegal Opcode Exception Enable" start="109" end="109" type="bool"/>
1870 <field name="Floating Point Mode" start="112" end="112" type="uint">
1871 <value name="IEEE-754" value="0"/>
1872 <value name="Alternate" value="1"/>
1873 </field>
1874 <field name="Thread Dispatch Priority" start="113" end="113" type="uint">
1875 <value name="High" value="1"/>
1876 </field>
1877 <field name="Binding Table Entry Count" start="114" end="121" type="uint"/>
1878 <field name="Sampler Count" start="123" end="125" type="uint">
1879 <value name="No Samplers" value="0"/>
1880 <value name="1-4 Samplers" value="1"/>
1881 <value name="5-8 Samplers" value="2"/>
1882 <value name="9-12 Samplers" value="3"/>
1883 <value name="13-16 Samplers" value="4"/>
1884 </field>
1885 <field name="Vector Mask Enable" start="126" end="126" type="bool"/>
1886 <field name="Single Program Flow" start="127" end="127" type="bool"/>
1887 <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/>
1888 <field name="Scratch Space Base Pointer" start="138" end="191" type="address"/>
1889 <field name="Dispatch GRF Start Register For URB Data" start="192" end="195" type="uint"/>
1890 <field name="Vertex URB Entry Read Offset" start="196" end="201" type="uint"/>
1891 <field name="Include Vertex Handles" start="202" end="202" type="bool"/>
1892 <field name="Vertex URB Entry Read Length" start="203" end="208" type="uint"/>
1893 <field name="Output Topology" start="209" end="214" type="3D_Prim_Topo_Type"/>
1894 <field name="Output Vertex Size" start="215" end="220" type="uint"/>
1895 <field name="Dispatch GRF Start Register For URB Data [5:4]" start="221" end="222" type="uint"/>
1896 <field name="Enable" start="224" end="224" type="bool"/>
1897 <field name="Discard Adjacency" start="225" end="225" type="bool"/>
1898 <field name="Reorder Mode" start="226" end="226" type="uint">
1899 <value name="LEADING" value="0"/>
1900 <value name="TRAILING" value="1"/>
1901 </field>
1902 <field name="Hint" start="227" end="227" type="uint"/>
1903 <field name="Include Primitive ID" start="228" end="228" type="bool"/>
1904 <field name="Invocations Increment Value" start="229" end="233" type="uint"/>
1905 <field name="Statistics Enable" start="234" end="234" type="bool"/>
1906 <field name="Dispatch Mode" start="235" end="236" type="uint" prefix="DISPATCH_MODE">
1907 <value name="SIMD8" value="3"/>
1908 </field>
1909 <field name="Default Stream Id" start="237" end="238" type="uint"/>
1910 <field name="Instance Control" start="239" end="243" type="uint"/>
1911 <field name="Control Data Header Size" start="244" end="247" type="uint"/>
1912 <field name="Maximum Number of Threads" start="256" end="264" type="uint"/>
1913 <field name="Static Output Vertex Count" start="272" end="282" type="uint"/>
1914 <field name="Static Output" start="286" end="286" type="bool"/>
1915 <field name="Control Data Format" start="287" end="287" type="uint">
1916 <value name="CUT" value="0"/>
1917 <value name="SID" value="1"/>
1918 </field>
1919 <field name="User Clip Distance Cull Test Enable Bitmask" start="288" end="295" type="uint"/>
1920 <field name="User Clip Distance Clip Test Enable Bitmask" start="296" end="303" type="uint"/>
1921 <field name="Vertex URB Entry Output Length" start="304" end="308" type="uint"/>
1922 <field name="Vertex URB Entry Output Read Offset" start="309" end="314" type="uint"/>
1923 </instruction>
1924
1925 <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="5" engine="render">
1926 <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
1927 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
1928 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1929 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1930 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1931 <field name="Surface Pitch" start="32" end="48" type="uint"/>
1932 <field name="Hierarchical Depth Buffer Write Thru Enable" start="52" end="52" type="bool"/>
1933 <field name="Tiled Resource Mode" start="54" end="55" type="uint">
1934 <value name="NONE" value="0"/>
1935 <value name="TILEYF" value="1"/>
1936 <value name="TILEYS" value="2"/>
1937 </field>
1938 <field name="MOCS" start="57" end="63" type="uint"/>
1939 <field name="Hierarchical Depth Buffer MOCS" start="57" end="63" type="uint"/>
1940 <field name="Surface Base Address" start="64" end="127" type="address"/>
1941 <field name="Surface QPitch" start="128" end="142" type="uint"/>
1942 </instruction>
1943
1944 <instruction name="3DSTATE_HS" bias="2" length="9" engine="render">
1945 <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
1946 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/>
1947 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1948 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1949 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1950 <field name="Software Exception Enable" start="44" end="44" type="bool"/>
1951 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
1952 <field name="Floating Point Mode" start="48" end="48" type="uint">
1953 <value name="IEEE-754" value="0"/>
1954 <value name="alternate" value="1"/>
1955 </field>
1956 <field name="Thread Dispatch Priority" start="49" end="49" type="uint">
1957 <value name="High" value="1"/>
1958 </field>
1959 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
1960 <field name="Sampler Count" start="59" end="61" type="uint">
1961 <value name="No Samplers" value="0"/>
1962 <value name="1-4 Samplers" value="1"/>
1963 <value name="5-8 Samplers" value="2"/>
1964 <value name="9-12 Samplers" value="3"/>
1965 <value name="13-16 Samplers" value="4"/>
1966 </field>
1967 <field name="Instance Count" start="64" end="68" type="uint"/>
1968 <field name="Maximum Number of Threads" start="72" end="80" type="uint"/>
1969 <field name="Statistics Enable" start="93" end="93" type="bool"/>
1970 <field name="Enable" start="95" end="95" type="bool"/>
1971 <field name="Kernel Start Pointer" start="102" end="159" type="offset"/>
1972 <field name="Per-Thread Scratch Space" start="160" end="163" type="uint"/>
1973 <field name="Scratch Space Base Pointer" start="170" end="223" type="address"/>
1974 <field name="Include Primitive ID" start="224" end="224" type="bool"/>
1975 <field name="Patch Count Threshold" start="225" end="227" type="uint"/>
1976 <field name="Vertex URB Entry Read Offset" start="228" end="233" type="uint"/>
1977 <field name="Vertex URB Entry Read Length" start="235" end="240" type="uint"/>
1978 <field name="Dispatch Mode" start="241" end="242" type="uint" prefix="DISPATCH_MODE">
1979 <value name="SINGLE_PATCH" value="0"/>
1980 <value name="8_PATCH" value="2"/>
1981 </field>
1982 <field name="Dispatch GRF Start Register For URB Data" start="243" end="247" type="uint"/>
1983 <field name="Include Vertex Handles" start="248" end="248" type="bool"/>
1984 <field name="Accesses UAV" start="249" end="249" type="bool"/>
1985 <field name="Vector Mask Enable" start="250" end="250" type="bool"/>
1986 <field name="Single Program Flow" start="251" end="251" type="bool"/>
1987 <field name="Dispatch GRF Start Register For URB Data [5]" start="252" end="252" type="uint"/>
1988 </instruction>
1989
1990 <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="5" engine="render">
1991 <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
1992 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
1993 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
1994 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
1995 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
1996 <field name="MOCS" start="32" end="38" type="uint"/>
1997 <field name="Index Format" start="40" end="41" type="uint" prefix="INDEX">
1998 <value name="BYTE" value="0"/>
1999 <value name="WORD" value="1"/>
2000 <value name="DWORD" value="2"/>
2001 </field>
2002 <field name="Buffer Starting Address" start="64" end="127" type="address"/>
2003 <field name="Buffer Size" start="128" end="159" type="uint"/>
2004 </instruction>
2005
2006 <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
2007 <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
2008 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
2009 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2010 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2011 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2012 <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
2013 <field name="Current Stipple Index" start="48" end="51" type="uint"/>
2014 <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
2015 <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/>
2016 <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
2017 <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/>
2018 </instruction>
2019
2020 <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render">
2021 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2022 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/>
2023 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2024 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2025 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2026 <field name="Monochrome Filter Height" start="32" end="34" type="uint"/>
2027 <field name="Monochrome Filter Width" start="35" end="37" type="uint"/>
2028 </instruction>
2029
2030 <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="2" engine="render">
2031 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2032 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/>
2033 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
2034 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2035 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2036 <field name="Number of Multisamples" start="33" end="35" type="uint"/>
2037 <field name="Pixel Location" start="36" end="36" type="uint">
2038 <value name="CENTER" value="0"/>
2039 <value name="UL_CORNER" value="1"/>
2040 </field>
2041 <field name="Pixel Position Offset Enable" start="37" end="37" type="bool"/>
2042 </instruction>
2043
2044 <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
2045 <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
2046 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
2047 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2048 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2049 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2050 <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
2051 <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
2052 </instruction>
2053
2054 <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
2055 <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
2056 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
2057 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
2058 <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
2059 <field name="Command Type" start="29" end="31" type="uint" default="3"/>
2060 <group count="32" start="32" size="32">
2061 <field name="Pattern Row" start="0" end="31" type="uint"/>