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