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