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