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