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