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