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