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