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