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