1<?xml version="1.0" ?> 2<genxml name="IVB" gen="7"> 3 4 <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR"> 5 <value name="ONE" value="1"/> 6 <value name="SRC_COLOR" value="2"/> 7 <value name="SRC_ALPHA" value="3"/> 8 <value name="DST_ALPHA" value="4"/> 9 <value name="DST_COLOR" value="5"/> 10 <value name="SRC_ALPHA_SATURATE" value="6"/> 11 <value name="CONST_COLOR" value="7"/> 12 <value name="CONST_ALPHA" value="8"/> 13 <value name="SRC1_COLOR" value="9"/> 14 <value name="SRC1_ALPHA" value="10"/> 15 <value name="ZERO" value="17"/> 16 <value name="INV_SRC_COLOR" value="18"/> 17 <value name="INV_SRC_ALPHA" value="19"/> 18 <value name="INV_DST_ALPHA" value="20"/> 19 <value name="INV_DST_COLOR" value="21"/> 20 <value name="INV_CONST_COLOR" value="23"/> 21 <value name="INV_CONST_ALPHA" value="24"/> 22 <value name="INV_SRC1_COLOR" value="25"/> 23 <value name="INV_SRC1_ALPHA" value="26"/> 24 </enum> 25 26 <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION"> 27 <value name="ADD" value="0"/> 28 <value name="SUBTRACT" value="1"/> 29 <value name="REVERSE_SUBTRACT" value="2"/> 30 <value name="MIN" value="3"/> 31 <value name="MAX" value="4"/> 32 </enum> 33 34 <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION"> 35 <value name="ALWAYS" value="0"/> 36 <value name="NEVER" value="1"/> 37 <value name="LESS" value="2"/> 38 <value name="EQUAL" value="3"/> 39 <value name="LEQUAL" value="4"/> 40 <value name="GREATER" value="5"/> 41 <value name="NOTEQUAL" value="6"/> 42 <value name="GEQUAL" value="7"/> 43 </enum> 44 45 <enum name="3D_Logic_Op_Function" prefix="LOGICOP"> 46 <value name="CLEAR" value="0"/> 47 <value name="NOR" value="1"/> 48 <value name="AND_INVERTED" value="2"/> 49 <value name="COPY_INVERTED" value="3"/> 50 <value name="AND_REVERSE" value="4"/> 51 <value name="INVERT" value="5"/> 52 <value name="XOR" value="6"/> 53 <value name="NAND" value="7"/> 54 <value name="AND" value="8"/> 55 <value name="EQUIV" value="9"/> 56 <value name="NOOP" value="10"/> 57 <value name="OR_INVERTED" value="11"/> 58 <value name="COPY" value="12"/> 59 <value name="OR_REVERSE" value="13"/> 60 <value name="OR" value="14"/> 61 <value name="SET" value="15"/> 62 </enum> 63 64 <enum name="3D_Prim_Topo_Type" prefix="3DPRIM"> 65 <value name="POINTLIST" value="1"/> 66 <value name="LINELIST" value="2"/> 67 <value name="LINESTRIP" value="3"/> 68 <value name="TRILIST" value="4"/> 69 <value name="TRISTRIP" value="5"/> 70 <value name="TRIFAN" value="6"/> 71 <value name="QUADLIST" value="7"/> 72 <value name="QUADSTRIP" value="8"/> 73 <value name="LINELIST_ADJ" value="9"/> 74 <value name="LINESTRIP_ADJ" value="10"/> 75 <value name="TRILIST_ADJ" value="11"/> 76 <value name="TRISTRIP_ADJ" value="12"/> 77 <value name="TRISTRIP_REVERSE" value="13"/> 78 <value name="POLYGON" value="14"/> 79 <value name="RECTLIST" value="15"/> 80 <value name="LINELOOP" value="16"/> 81 <value name="POINTLIST _BF" value="17"/> 82 <value name="LINESTRIP_CONT" value="18"/> 83 <value name="LINESTRIP_BF" value="19"/> 84 <value name="LINESTRIP_CONT_BF" value="20"/> 85 <value name="TRIFAN_NOSTIPPLE" value="22"/> 86 <value name="PATCHLIST_1" value="32"/> 87 <value name="PATCHLIST_2" value="33"/> 88 <value name="PATCHLIST_3" value="34"/> 89 <value name="PATCHLIST_4" value="35"/> 90 <value name="PATCHLIST_5" value="36"/> 91 <value name="PATCHLIST_6" value="37"/> 92 <value name="PATCHLIST_7" value="38"/> 93 <value name="PATCHLIST_8" value="39"/> 94 <value name="PATCHLIST_9" value="40"/> 95 <value name="PATCHLIST_10" value="41"/> 96 <value name="PATCHLIST_11" value="42"/> 97 <value name="PATCHLIST_12" value="43"/> 98 <value name="PATCHLIST_13" value="44"/> 99 <value name="PATCHLIST_14" value="45"/> 100 <value name="PATCHLIST_15" value="46"/> 101 <value name="PATCHLIST_16" value="47"/> 102 <value name="PATCHLIST_17" value="48"/> 103 <value name="PATCHLIST_18" value="49"/> 104 <value name="PATCHLIST_19" value="50"/> 105 <value name="PATCHLIST_20" value="51"/> 106 <value name="PATCHLIST_21" value="52"/> 107 <value name="PATCHLIST_22" value="53"/> 108 <value name="PATCHLIST_23" value="54"/> 109 <value name="PATCHLIST_24" value="55"/> 110 <value name="PATCHLIST_25" value="56"/> 111 <value name="PATCHLIST_26" value="57"/> 112 <value name="PATCHLIST_27" value="58"/> 113 <value name="PATCHLIST_28" value="59"/> 114 <value name="PATCHLIST_29" value="60"/> 115 <value name="PATCHLIST_30" value="61"/> 116 <value name="PATCHLIST_31" value="62"/> 117 <value name="PATCHLIST_32" value="63"/> 118 </enum> 119 120 <enum name="3D_Stencil_Operation" prefix="STENCILOP"> 121 <value name="KEEP" value="0"/> 122 <value name="ZERO" value="1"/> 123 <value name="REPLACE" value="2"/> 124 <value name="INCRSAT" value="3"/> 125 <value name="DECRSAT" value="4"/> 126 <value name="INCR" value="5"/> 127 <value name="DECR" value="6"/> 128 <value name="INVERT" value="7"/> 129 </enum> 130 131 <enum name="3D_Vertex_Component_Control" prefix="VFCOMP"> 132 <value name="NOSTORE" value="0"/> 133 <value name="STORE_SRC" value="1"/> 134 <value name="STORE_0" value="2"/> 135 <value name="STORE_1_FP" value="3"/> 136 <value name="STORE_1_INT" value="4"/> 137 <value name="STORE_VID" value="5"/> 138 <value name="STORE_IID" value="6"/> 139 <value name="STORE_PID" value="7"/> 140 </enum> 141 142 <enum name="Texture Coordinate Mode" prefix="TCM"> 143 <value name="WRAP" value="0"/> 144 <value name="MIRROR" value="1"/> 145 <value name="CLAMP" value="2"/> 146 <value name="CUBE" value="3"/> 147 <value name="CLAMP_BORDER" value="4"/> 148 <value name="MIRROR_ONCE" value="5"/> 149 </enum> 150 151 <struct name="3DSTATE_CONSTANT_BODY" length="6"> 152 <group count="4" start="0" size="16"> 153 <field name="Read Length" start="0" end="15" type="uint"/> 154 </group> 155 <field name="MOCS" start="64" end="68" type="uint"/> 156 <group count="4" start="64" size="32"> 157 <field name="Buffer" start="5" end="31" type="address"/> 158 </group> 159 </struct> 160 161 <struct name="BINDING_TABLE_STATE" length="1"> 162 <field name="Surface State Pointer" start="5" end="31" type="offset"/> 163 </struct> 164 165 <struct name="BLEND_STATE_ENTRY" length="2"> 166 <field name="Destination Blend Factor" start="0" end="4" type="3D_Color_Buffer_Blend_Factor"/> 167 <field name="Source Blend Factor" start="5" end="9" type="3D_Color_Buffer_Blend_Factor"/> 168 <field name="Color Blend Function" start="11" end="13" type="3D_Color_Buffer_Blend_Function"/> 169 <field name="Destination Alpha Blend Factor" start="15" end="19" type="3D_Color_Buffer_Blend_Factor"/> 170 <field name="Source Alpha Blend Factor" start="20" end="24" type="3D_Color_Buffer_Blend_Factor"/> 171 <field name="Alpha Blend Function" start="26" end="28" type="3D_Color_Buffer_Blend_Function"/> 172 <field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/> 173 <field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/> 174 <field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/> 175 <field name="Pre-Blend Color Clamp Enable" start="33" end="33" type="bool"/> 176 <field name="Color Clamp Range" start="34" end="35" type="uint"> 177 <value name="COLORCLAMP_UNORM" value="0"/> 178 <value name="COLORCLAMP_SNORM" value="1"/> 179 <value name="COLORCLAMP_RTFORMAT" value="2"/> 180 </field> 181 <field name="Y Dither Offset" start="40" end="41" type="uint"/> 182 <field name="X Dither Offset" start="42" end="43" type="uint"/> 183 <field name="Color Dither Enable" start="44" end="44" type="bool"/> 184 <field name="Alpha Test Function" start="45" end="47" type="3D_Compare_Function"/> 185 <field name="Alpha Test Enable" start="48" end="48" type="bool"/> 186 <field name="Logic Op Function" start="50" end="53" type="3D_Logic_Op_Function"/> 187 <field name="Logic Op Enable" start="54" end="54" type="bool"/> 188 <field name="Write Disable Blue" start="56" end="56" type="bool"/> 189 <field name="Write Disable Green" start="57" end="57" type="bool"/> 190 <field name="Write Disable Red" start="58" end="58" type="bool"/> 191 <field name="Write Disable Alpha" start="59" end="59" type="bool"/> 192 <field name="AlphaToCoverage Dither Enable" start="61" end="61" type="bool"/> 193 <field name="AlphaToOne Enable" start="62" end="62" type="bool"/> 194 <field name="AlphaToCoverage Enable" start="63" end="63" type="bool"/> 195 </struct> 196 197 <struct name="BLEND_STATE" length="0"> 198 <group count="0" start="0" size="64"> 199 <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/> 200 </group> 201 </struct> 202 203 <struct name="CC_VIEWPORT" length="2"> 204 <field name="Minimum Depth" start="0" end="31" type="float"/> 205 <field name="Maximum Depth" start="32" end="63" type="float"/> 206 </struct> 207 208 <struct name="COLOR_CALC_STATE" length="6"> 209 <field name="Alpha Test Format" start="0" end="0" type="uint"> 210 <value name="ALPHATEST_UNORM8" value="0"/> 211 <value name="ALPHATEST_FLOAT32" value="1"/> 212 </field> 213 <field name="Round Disable Function Disable" start="15" end="15" type="bool"/> 214 <field name="Backface Stencil Reference Value" start="16" end="23" type="uint"/> 215 <field name="Stencil Reference Value" start="24" end="31" type="uint"/> 216 <field name="Alpha Reference Value As UNORM8" start="32" end="63" type="uint"/> 217 <field name="Alpha Reference Value As FLOAT32" start="32" end="63" type="float"/> 218 <field name="Blend Constant Color Red" start="64" end="95" type="float"/> 219 <field name="Blend Constant Color Green" start="96" end="127" type="float"/> 220 <field name="Blend Constant Color Blue" start="128" end="159" type="float"/> 221 <field name="Blend Constant Color Alpha" start="160" end="191" type="float"/> 222 </struct> 223 224 <struct name="DEPTH_STENCIL_STATE" length="3"> 225 <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/> 226 <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/> 227 <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/> 228 <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/> 229 <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/> 230 <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/> 231 <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/> 232 <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/> 233 <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/> 234 <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/> 235 <field name="Stencil Test Enable" start="31" end="31" type="bool"/> 236 <field name="Backface Stencil Write Mask" start="32" end="39" type="uint"/> 237 <field name="Backface Stencil Test Mask" start="40" end="47" type="uint"/> 238 <field name="Stencil Write Mask" start="48" end="55" type="uint"/> 239 <field name="Stencil Test Mask" start="56" end="63" type="uint"/> 240 <field name="Depth Buffer Write Enable" start="90" end="90" type="bool"/> 241 <field name="Depth Test Function" start="91" end="93" type="3D_Compare_Function"/> 242 <field name="Depth Test Enable" start="95" end="95" type="bool"/> 243 </struct> 244 245 <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="2"> 246 <field name="MB Error Concealment P Slice Weight Prediction Disable" start="0" end="0" type="bool"/> 247 <field name="MB Error Concealment P Slice Motion Vectors Override Disable" start="1" end="1" type="bool"/> 248 <field name="MB Error Concealment P Slice Reference Index Override Disable" start="2" end="2" type="bool"/> 249 <field name="MB Error Concealment B Spatial Weight Prediction Disable" start="3" end="3" type="bool"/> 250 <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" start="4" end="4" type="bool"/> 251 <field name="MB Error Concealment B Spatial Reference Index Override Disable" start="5" end="5" type="bool"/> 252 <field name="MB Error Concealment B Spatial Prediction Mode" start="6" end="7" type="uint" default="0"/> 253 <field name="MB Header Error Handling" start="8" end="8" type="bool"/> 254 <field name="Entropy Error Handling" start="10" end="10" type="bool"/> 255 <field name="MPR Error Handling" start="12" end="12" type="bool"/> 256 <field name="BSD Premature Complete Error Handling" start="14" end="14" type="bool"/> 257 <field name="Concealment Picture ID" start="16" end="21" type="uint"/> 258 <field name="MB Error Concealment B Temporal Weight Prediction Disable" start="24" end="24" type="bool"/> 259 <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" start="25" end="25" type="bool"/> 260 <field name="MB Error Concealment B Temporal Reference Index Override Enable" start="26" end="26" type="bool"/> 261 <field name="MB Error Concealment B Temporal Prediction Mode" start="27" end="28" type="uint" default="0"/> 262 <field name="Init Current MB Number" start="30" end="30" type="bool"/> 263 <field name="Concealment Method" start="31" end="31" type="uint"/> 264 <field name="First MB Bit Offset" start="32" end="34" type="uint"/> 265 <field name="Last Slice" start="35" end="35" type="bool"/> 266 <field name="Emulation Prevention Byte Present" start="36" end="36" type="bool"/> 267 <field name="Fix Prev MB Skipped" start="39" end="39" type="bool"/> 268 <field name="First MB Byte Offset of Slice Data or Slice Header" start="48" end="63" type="uint"/> 269 </struct> 270 271 <struct name="INTERFACE_DESCRIPTOR_DATA" length="8"> 272 <field name="Kernel Start Pointer" start="6" end="31" type="offset"/> 273 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 274 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 275 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 276 <field name="Floating Point Mode" start="48" end="48" type="uint"> 277 <value name="IEEE-754" value="0"/> 278 <value name="Alternate" value="1"/> 279 </field> 280 <field name="Thread Priority" start="49" end="49" type="uint"> 281 <value name="Normal Priority" value="0"/> 282 <value name="High Priority" value="1"/> 283 </field> 284 <field name="Single Program Flow" start="50" end="50" type="bool"/> 285 <field name="Sampler Count" start="66" end="68" type="uint"> 286 <value name="No samplers used" value="0"/> 287 <value name="Between 1 and 4 samplers used" value="1"/> 288 <value name="Between 5 and 8 samplers used" value="2"/> 289 <value name="Between 9 and 12 samplers used" value="3"/> 290 <value name="Between 13 and 16 samplers used" value="4"/> 291 </field> 292 <field name="Sampler State Pointer" start="69" end="95" type="offset"/> 293 <field name="Binding Table Entry Count" start="96" end="100" type="uint"/> 294 <field name="Binding Table Pointer" start="101" end="111" type="offset"/> 295 <field name="Constant URB Entry Read Offset" start="128" end="143" type="uint"/> 296 <field name="Constant URB Entry Read Length" start="144" end="159" type="uint"/> 297 <field name="Number of Threads in GPGPU Thread Group" start="160" end="167" type="uint"/> 298 <field name="Shared Local Memory Size" start="176" end="180" type="uint"/> 299 <field name="Barrier Enable" start="181" end="181" type="bool"/> 300 <field name="Rounding Mode" start="182" end="183" type="uint"> 301 <value name="RTNE" value="0"/> 302 <value name="RU" value="1"/> 303 <value name="RD" value="2"/> 304 <value name="RTZ" value="3"/> 305 </field> 306 </struct> 307 308 <struct name="MEMORY_OBJECT_CONTROL_STATE" length="1"> 309 <field name="L3 Cacheability Control (L3CC)" start="0" end="0" type="uint"/> 310 <field name="LLC Cacheability Control (LLCCC)" start="1" end="1" type="uint"/> 311 <field name="Graphics Data Type (GFDT)" start="2" end="2" type="uint"/> 312 </struct> 313 314 <struct name="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION" length="2"> 315 <field name="First MB Bit Offset" start="0" end="2" type="uint"/> 316 <field name="Last MB" start="3" end="3" type="bool"/> 317 <field name="Last Pic Slice" start="5" end="5" type="bool"/> 318 <field name="MB Count" start="8" end="14" type="uint"/> 319 <field name="Slice Vertical Position" start="16" end="22" type="uint"/> 320 <field name="Slice Horizontal Position" start="24" end="30" type="uint"/> 321 <field name="Quantizer Scale Code" start="56" end="60" type="uint"/> 322 </struct> 323 324 <struct name="PALETTE_ENTRY" length="1"> 325 <field name="Blue" start="0" end="7" type="uint"/> 326 <field name="Green" start="8" end="15" type="uint"/> 327 <field name="Red" start="16" end="23" type="uint"/> 328 <field name="Alpha" start="24" end="31" type="uint"/> 329 </struct> 330 331 <struct name="RENDER_SURFACE_STATE" length="8"> 332 <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/> 333 <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/> 334 <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/> 335 <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/> 336 <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/> 337 <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/> 338 <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint"> 339 <value name="NORMAL_MODE" value="0"/> 340 <value name="PROGRESSIVE_FRAME" value="2"/> 341 <value name="INTERLACED_FRAME" value="3"/> 342 </field> 343 <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"/> 344 <field name="Surface Array Spacing" start="10" end="10" type="uint"> 345 <value name="ARYSPC_FULL" value="0"/> 346 <value name="ARYSPC_LOD0" value="1"/> 347 </field> 348 <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/> 349 <field name="Vertical Line Stride" start="12" end="12" type="uint"/> 350 <field name="Tile Walk" start="13" end="13" type="uint"> 351 <value name="TILEWALK_XMAJOR" value="0"/> 352 <value name="TILEWALK_YMAJOR" value="1"/> 353 </field> 354 <field name="Tiled Surface" start="14" end="14" type="bool"/> 355 <field name="Surface Horizontal Alignment" start="15" end="15" type="uint"> 356 <value name="HALIGN_4" value="0"/> 357 <value name="HALIGN_8" value="1"/> 358 </field> 359 <field name="Surface Vertical Alignment" start="16" end="17" type="uint"> 360 <value name="VALIGN_2" value="0"/> 361 <value name="VALIGN_4" value="1"/> 362 </field> 363 <field name="Surface Format" start="18" end="26" type="uint"/> 364 <field name="Surface Array" start="28" end="28" type="bool"/> 365 <field name="Surface Type" start="29" end="31" type="uint"> 366 <value name="SURFTYPE_1D" value="0"/> 367 <value name="SURFTYPE_2D" value="1"/> 368 <value name="SURFTYPE_3D" value="2"/> 369 <value name="SURFTYPE_CUBE" value="3"/> 370 <value name="SURFTYPE_BUFFER" value="4"/> 371 <value name="SURFTYPE_STRBUF" value="5"/> 372 <value name="SURFTYPE_NULL" value="7"/> 373 </field> 374 <field name="Surface Base Address" start="32" end="63" type="address"/> 375 <field name="Width" start="64" end="77" type="uint"/> 376 <field name="Height" start="80" end="93" type="uint"/> 377 <field name="Surface Pitch" start="96" end="113" type="uint"/> 378 <field name="Depth" start="117" end="127" type="uint"/> 379 <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/> 380 <field name="Strbuf Minimum Array Element" start="128" end="154" type="uint"/> 381 <field name="Number of Multisamples" start="131" end="133" type="uint"> 382 <value name="MULTISAMPLECOUNT_1" value="0"/> 383 <value name="MULTISAMPLECOUNT_4" value="2"/> 384 <value name="MULTISAMPLECOUNT_8" value="3"/> 385 </field> 386 <field name="Multisampled Surface Storage Format" start="134" end="134" type="uint"> 387 <value name="MSFMT_MSS" value="0"/> 388 <value name="MSFMT_DEPTH_STENCIL" value="1"/> 389 </field> 390 <field name="Render Target View Extent" start="135" end="145" type="uint"/> 391 <field name="Minimum Array Element" start="146" end="156" type="uint"/> 392 <field name="Render Target Rotation" start="157" end="158" type="uint"> 393 <value name="RTROTATE_0DEG" value="0"/> 394 <value name="RTROTATE_90DEG" value="1"/> 395 <value name="RTROTATE_270DEG" value="3"/> 396 </field> 397 <field name="MIP Count / LOD" start="160" end="163" type="uint"/> 398 <field name="Surface Min LOD" start="164" end="167" type="uint"/> 399 <field name="MOCS" start="176" end="179" type="uint"/> 400 <field name="Y Offset" start="180" end="183" type="uint"/> 401 <field name="X Offset" start="185" end="191" type="uint"/> 402 <field name="MCS Enable" start="192" end="192" type="bool"/> 403 <field name="Y Offset for UV Plane" start="192" end="205" type="uint"/> 404 <field name="Append Counter Enable" start="193" end="193" type="bool"/> 405 <field name="Auxiliary Surface Pitch" start="195" end="203" type="uint"/> 406 <field name="Append Counter Address" start="198" end="223" type="address"/> 407 <field name="Auxiliary Surface Base Address" start="204" end="223" type="address"/> 408 <field name="X Offset for UV Plane" start="208" end="221" type="uint"/> 409 <field name="Reserved: MBZ" start="222" end="223" type="uint"/> 410 <field name="Resource Min LOD" start="224" end="235" type="u4.8"/> 411 <field name="Alpha Clear Color" start="252" end="252" type="uint"> 412 <value name="CC_ZERO" value="0"/> 413 <value name="CC_ONE" value="1"/> 414 </field> 415 <field name="Blue Clear Color" start="253" end="253" type="uint"> 416 <value name="CC_ZERO" value="0"/> 417 <value name="CC_ONE" value="1"/> 418 </field> 419 <field name="Green Clear Color" start="254" end="254" type="uint"> 420 <value name="CC_ZERO" value="0"/> 421 <value name="CC_ONE" value="1"/> 422 </field> 423 <field name="Red Clear Color" start="255" end="255" type="uint"> 424 <value name="CC_ZERO" value="0"/> 425 <value name="CC_ONE" value="1"/> 426 </field> 427 </struct> 428 429 <struct name="SAMPLER_BORDER_COLOR_STATE" length="4"> 430 <field name="Border Color Unorm Red" start="0" end="7" type="uint"/> 431 <field name="Border Color Float Red" start="0" end="31" type="float"/> 432 <field name="Border Color Unorm Green" start="8" end="15" type="uint"/> 433 <field name="Border Color Unorm Blue" start="16" end="23" type="uint"/> 434 <field name="Border Color Unorm Alpha" start="24" end="31" type="uint"/> 435 <field name="Border Color Float Green" start="32" end="63" type="float"/> 436 <field name="Border Color Float Blue" start="64" end="95" type="float"/> 437 <field name="Border Color Float Alpha" start="96" end="127" type="float"/> 438 </struct> 439 440 <struct name="SAMPLER_STATE" length="4"> 441 <field name="Anisotropic Algorithm" start="0" end="0" type="uint"> 442 <value name="LEGACY" value="0"/> 443 <value name="EWA Approximation" value="1"/> 444 </field> 445 <field name="Texture LOD Bias" start="1" end="13" type="s4.8"/> 446 <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"> 447 <value name="NEAREST" value="0"/> 448 <value name="LINEAR" value="1"/> 449 <value name="ANISOTROPIC" value="2"/> 450 <value name="MONO" value="6"/> 451 </field> 452 <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER"> 453 <value name="NEAREST" value="0"/> 454 <value name="LINEAR" value="1"/> 455 <value name="ANISOTROPIC" value="2"/> 456 <value name="MONO" value="6"/> 457 </field> 458 <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER"> 459 <value name="NONE" value="0"/> 460 <value name="NEAREST" value="1"/> 461 <value name="LINEAR" value="3"/> 462 </field> 463 <field name="Base Mip Level" start="22" end="26" type="u4.1"/> 464 <field name="LOD PreClamp Enable" start="28" end="28" type="uint" prefix="CLAMP_ENABLE"> 465 <value name="OGL" value="1"/> 466 </field> 467 <field name="Texture Border Color Mode" start="29" end="29" type="uint"> 468 <value name="DX10/OGL" value="0"/> 469 <value name="DX9" value="1"/> 470 </field> 471 <field name="Sampler Disable" start="31" end="31" type="bool"/> 472 <field name="Cube Surface Control Mode" start="32" end="32" type="uint"> 473 <value name="PROGRAMMED" value="0"/> 474 <value name="OVERRIDE" value="1"/> 475 </field> 476 <field name="Shadow Function" start="33" end="35" type="uint"> 477 <value name="PREFILTEROP ALWAYS" value="0"/> 478 <value name="PREFILTEROP NEVER" value="1"/> 479 <value name="PREFILTEROP LESS" value="2"/> 480 <value name="PREFILTEROP EQUAL" value="3"/> 481 <value name="PREFILTEROP LEQUAL" value="4"/> 482 <value name="PREFILTEROP GREATER" value="5"/> 483 <value name="PREFILTEROP NOTEQUAL" value="6"/> 484 <value name="PREFILTEROP GEQUAL" value="7"/> 485 </field> 486 <field name="Max LOD" start="40" end="51" type="u4.8"/> 487 <field name="Min LOD" start="52" end="63" type="u4.8"/> 488 <field name="Border Color Pointer" start="69" end="95" type="offset"/> 489 <field name="TCZ Address Control Mode" start="96" end="98" type="Texture Coordinate Mode"/> 490 <field name="TCY Address Control Mode" start="99" end="101" type="Texture Coordinate Mode"/> 491 <field name="TCX Address Control Mode" start="102" end="104" type="Texture Coordinate Mode"/> 492 <field name="Non-normalized Coordinate Enable" start="106" end="106" type="bool"/> 493 <field name="Trilinear Filter Quality" start="107" end="108" type="uint"> 494 <value name="FULL" value="0"/> 495 <value name="MED" value="2"/> 496 <value name="LOW" value="3"/> 497 </field> 498 <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/> 499 <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/> 500 <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/> 501 <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/> 502 <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/> 503 <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/> 504 <field name="Maximum Anisotropy" start="115" end="117" type="uint"> 505 <value name="RATIO 2:1" value="0"/> 506 <value name="RATIO 4:1" value="1"/> 507 <value name="RATIO 6:1" value="2"/> 508 <value name="RATIO 8:1" value="3"/> 509 <value name="RATIO 10:1" value="4"/> 510 <value name="RATIO 12:1" value="5"/> 511 <value name="RATIO 14:1" value="6"/> 512 <value name="RATIO 16:1" value="7"/> 513 </field> 514 <field name="ChromaKey Mode" start="118" end="118" type="uint"> 515 <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0"/> 516 <value name="KEYFILTER_REPLACE_BLACK" value="1"/> 517 </field> 518 <field name="ChromaKey Index" start="119" end="120" type="uint"/> 519 <field name="ChromaKey Enable" start="121" end="121" type="bool"/> 520 </struct> 521 522 <struct name="SCISSOR_RECT" length="2"> 523 <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/> 524 <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/> 525 <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/> 526 <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/> 527 </struct> 528 529 <struct name="SF_CLIP_VIEWPORT" length="16"> 530 <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/> 531 <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/> 532 <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/> 533 <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/> 534 <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/> 535 <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/> 536 <field name="X Min Clip Guardband" start="256" end="287" type="float"/> 537 <field name="X Max Clip Guardband" start="288" end="319" type="float"/> 538 <field name="Y Min Clip Guardband" start="320" end="351" type="float"/> 539 <field name="Y Max Clip Guardband" start="352" end="383" type="float"/> 540 </struct> 541 542 <struct name="SF_OUTPUT_ATTRIBUTE_DETAIL" length="1"> 543 <field name="Source Attribute" start="0" end="4" type="uint"/> 544 <field name="Swizzle Select" start="6" end="7" type="uint"> 545 <value name="INPUTATTR" value="0"/> 546 <value name="INPUTATTR_FACING" value="1"/> 547 <value name="INPUTATTR_W" value="2"/> 548 <value name="INPUTATTR_FACING_W" value="3"/> 549 </field> 550 <field name="Constant Source" start="9" end="10" type="uint"> 551 <value name="CONST_0000" value="0"/> 552 <value name="CONST_0001_FLOAT" value="1"/> 553 <value name="CONST_1111_FLOAT" value="2"/> 554 <value name="PRIM_ID" value="3"/> 555 </field> 556 <field name="Swizzle Control Mode" start="11" end="11" type="uint"/> 557 <field name="Component Override X" start="12" end="12" type="bool"/> 558 <field name="Component Override Y" start="13" end="13" type="bool"/> 559 <field name="Component Override Z" start="14" end="14" type="bool"/> 560 <field name="Component Override W" start="15" end="15" type="bool"/> 561 </struct> 562 563 <struct name="SO_DECL" length="1"> 564 <field name="Component Mask" start="0" end="3" type="uint" default="0"/> 565 <field name="Register Index" start="4" end="9" type="uint"/> 566 <field name="Hole Flag" start="11" end="11" type="bool"/> 567 <field name="Output Buffer Slot" start="12" end="13" type="uint"/> 568 </struct> 569 570 <struct name="SO_DECL_ENTRY" length="2"> 571 <field name="Stream 0 Decl" start="0" end="15" type="SO_DECL"/> 572 <field name="Stream 1 Decl" start="16" end="31" type="SO_DECL"/> 573 <field name="Stream 2 Decl" start="32" end="47" type="SO_DECL"/> 574 <field name="Stream 3 Decl" start="48" end="63" type="SO_DECL"/> 575 </struct> 576 577 <struct name="VERTEX_BUFFER_STATE" length="4"> 578 <field name="Buffer Pitch" start="0" end="11" type="uint"/> 579 <field name="Vertex Fetch Invalidate" start="12" end="12" type="bool" default="0"/> 580 <field name="Null Vertex Buffer" start="13" end="13" type="bool"/> 581 <field name="Address Modify Enable" start="14" end="14" type="bool"/> 582 <field name="MOCS" start="16" end="19" type="uint"/> 583 <field name="Buffer Access Type" start="20" end="20" type="uint"> 584 <value name="VERTEXDATA" value="0"/> 585 <value name="INSTANCEDATA" value="1"/> 586 </field> 587 <field name="Vertex Buffer Index" start="26" end="31" type="uint"/> 588 <field name="Buffer Starting Address" start="32" end="63" type="address"/> 589 <field name="End Address" start="64" end="95" type="address"/> 590 <field name="Instance Data Step Rate" start="96" end="127" type="uint"/> 591 </struct> 592 593 <struct name="VERTEX_ELEMENT_STATE" length="2"> 594 <field name="Source Element Offset" start="0" end="11" type="uint"/> 595 <field name="Edge Flag Enable" start="15" end="15" type="bool"/> 596 <field name="Source Element Format" start="16" end="24" type="uint"/> 597 <field name="Valid" start="25" end="25" type="bool"/> 598 <field name="Vertex Buffer Index" start="26" end="31" type="uint"/> 599 <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/> 600 <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/> 601 <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/> 602 <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/> 603 </struct> 604 605 <instruction name="3DPRIMITIVE" bias="2" length="7" engine="render"> 606 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 607 <field name="Predicate Enable" start="8" end="8" type="bool"/> 608 <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/> 609 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 610 <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/> 611 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 612 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 613 <field name="Primitive Topology Type" start="32" end="37" type="3D_Prim_Topo_Type"/> 614 <field name="Vertex Access Type" start="40" end="40" type="uint"> 615 <value name="SEQUENTIAL" value="0"/> 616 <value name="RANDOM" value="1"/> 617 </field> 618 <field name="End Offset Enable" start="41" end="41" type="bool"/> 619 <field name="Vertex Count Per Instance" start="64" end="95" type="uint"/> 620 <field name="Start Vertex Location" start="96" end="127" type="uint"/> 621 <field name="Instance Count" start="128" end="159" type="uint"/> 622 <field name="Start Instance Location" start="160" end="191" type="uint"/> 623 <field name="Base Vertex Location" start="192" end="223" type="int"/> 624 </instruction> 625 626 <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3" engine="render"> 627 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 628 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/> 629 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 630 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 631 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 632 <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/> 633 <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/> 634 <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/> 635 <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/> 636 </instruction> 637 638 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_DS" bias="2" length="2" engine="render"> 639 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 640 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="40"/> 641 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 642 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 643 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 644 <field name="Pointer to DS Binding Table" start="37" end="47" type="offset"/> 645 </instruction> 646 647 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_GS" bias="2" length="2" engine="render"> 648 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 649 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="41"/> 650 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 651 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 652 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 653 <field name="Pointer to GS Binding Table" start="37" end="47" type="offset"/> 654 </instruction> 655 656 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_HS" bias="2" length="2" engine="render"> 657 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 658 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="39"/> 659 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 660 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 661 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 662 <field name="Pointer to HS Binding Table" start="37" end="47" type="offset"/> 663 </instruction> 664 665 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_PS" bias="2" length="2" engine="render"> 666 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 667 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="42"/> 668 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 669 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 670 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 671 <field name="Pointer to PS Binding Table" start="37" end="47" type="offset"/> 672 </instruction> 673 674 <instruction name="3DSTATE_BINDING_TABLE_POINTERS_VS" bias="2" length="2" engine="render"> 675 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 676 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="38"/> 677 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 678 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 679 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 680 <field name="Pointer to VS Binding Table" start="37" end="47" type="offset"/> 681 </instruction> 682 683 <instruction name="3DSTATE_BLEND_STATE_POINTERS" bias="2" length="2" engine="render"> 684 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 685 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="36"/> 686 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 687 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 688 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 689 <field start="32" end="32" type="mbo"/> 690 <field name="Blend State Pointer" start="38" end="63" type="offset"/> 691 </instruction> 692 693 <instruction name="3DSTATE_CC_STATE_POINTERS" bias="2" length="2" engine="render"> 694 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 695 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="14"/> 696 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 697 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 698 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 699 <field start="32" end="32" type="mbo"/> 700 <field name="Color Calc State Pointer" start="38" end="63" type="offset"/> 701 </instruction> 702 703 <instruction name="3DSTATE_CHROMA_KEY" bias="2" length="4" engine="render"> 704 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 705 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/> 706 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 707 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 708 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 709 <field name="ChromaKey Table Index" start="62" end="63" type="uint"/> 710 <field name="ChromaKey Low Value" start="64" end="95" type="uint"/> 711 <field name="ChromaKey High Value" start="96" end="127" type="uint"/> 712 </instruction> 713 714 <instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="3" engine="render"> 715 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 716 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/> 717 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 718 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 719 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 720 <field name="Depth Clear Value" start="32" end="63" type="uint"/> 721 <field name="Depth Clear Value Valid" start="64" end="64" type="bool"/> 722 </instruction> 723 724 <instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render"> 725 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 726 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/> 727 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 728 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 729 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 730 <field name="User Clip Distance Cull Test Enable Bitmask" start="32" end="39" type="uint"/> 731 <field name="Statistics Enable" start="42" end="42" type="bool"/> 732 <field name="Cull Mode" start="48" end="49" type="uint" prefix="CULLMODE"> 733 <value name="BOTH" value="0"/> 734 <value name="NONE" value="1"/> 735 <value name="FRONT" value="2"/> 736 <value name="BACK" value="3"/> 737 </field> 738 <field name="Early Cull Enable" start="50" end="50" type="bool"/> 739 <field name="Vertex Sub Pixel Precision Select" start="51" end="51" type="uint"/> 740 <field name="Front Winding" start="52" end="52" type="uint"/> 741 <field name="Triangle Fan Provoking Vertex Select" start="64" end="65" type="uint"> 742 <value name="Vertex 0" value="0"/> 743 <value name="Vertex 1" value="1"/> 744 <value name="Vertex 2" value="2"/> 745 </field> 746 <field name="Line Strip/List Provoking Vertex Select" start="66" end="67" type="uint"> 747 <value name="Vertex 0" value="0"/> 748 <value name="Vertex 1" value="1"/> 749 </field> 750 <field name="Triangle Strip/List Provoking Vertex Select" start="68" end="69" type="uint"> 751 <value name="Vertex 0" value="0"/> 752 <value name="Vertex 1" value="1"/> 753 <value name="Vertex 2" value="2"/> 754 </field> 755 <field name="Non-Perspective Barycentric Enable" start="72" end="72" type="bool"/> 756 <field name="Perspective Divide Disable" start="73" end="73" type="bool"/> 757 <field name="Clip Mode" start="77" end="79" type="uint"> 758 <value name="CLIPMODE_NORMAL" value="0"/> 759 <value name="CLIPMODE_REJECT_ALL" value="3"/> 760 <value name="CLIPMODE_ACCEPT_ALL" value="4"/> 761 </field> 762 <field name="User Clip Distance Clip Test Enable Bitmask" start="80" end="87" type="uint"/> 763 <field name="Guardband Clip Test Enable" start="90" end="90" type="bool"/> 764 <field name="Viewport Z Clip Test Enable" start="91" end="91" type="bool"/> 765 <field name="Viewport XY Clip Test Enable" start="92" end="92" type="bool"/> 766 <field name="API Mode" start="94" end="94" type="uint"> 767 <value name="APIMODE_OGL" value="0"/> 768 <value name="APIMODE_D3D" value="1"/> 769 </field> 770 <field name="Clip Enable" start="95" end="95" type="bool"/> 771 <field name="Maximum VP Index" start="96" end="99" type="uint"/> 772 <field name="Force Zero RTA Index Enable" start="101" end="101" type="bool"/> 773 <field name="Maximum Point Width" start="102" end="112" type="u8.3"/> 774 <field name="Minimum Point Width" start="113" end="123" type="u8.3"/> 775 </instruction> 776 777 <instruction name="3DSTATE_CONSTANT_DS" bias="2" length="7" engine="render"> 778 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 779 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/> 780 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 781 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 782 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 783 <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/> 784 </instruction> 785 786 <instruction name="3DSTATE_CONSTANT_GS" bias="2" length="7" engine="render"> 787 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 788 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/> 789 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 790 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 791 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 792 <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/> 793 </instruction> 794 795 <instruction name="3DSTATE_CONSTANT_HS" bias="2" length="7" engine="render"> 796 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 797 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/> 798 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 799 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 800 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 801 <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/> 802 </instruction> 803 804 <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="7" engine="render"> 805 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 806 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/> 807 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 808 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 809 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 810 <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/> 811 </instruction> 812 813 <instruction name="3DSTATE_CONSTANT_VS" bias="2" length="7" engine="render"> 814 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 815 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/> 816 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 817 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 818 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 819 <field name="Constant Body" start="32" end="223" type="3DSTATE_CONSTANT_BODY"/> 820 </instruction> 821 822 <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="7" engine="render"> 823 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 824 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/> 825 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 826 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 827 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 828 <field name="Surface Pitch" start="32" end="49" type="uint"/> 829 <field name="Surface Format" start="50" end="52" type="uint"> 830 <value name="D32_FLOAT" value="1"/> 831 <value name="D24_UNORM_X8_UINT" value="3"/> 832 <value name="D16_UNORM" value="5"/> 833 </field> 834 <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/> 835 <field name="Stencil Write Enable" start="59" end="59" type="bool"/> 836 <field name="Depth Write Enable" start="60" end="60" type="bool"/> 837 <field name="Surface Type" start="61" end="63" type="uint"> 838 <value name="SURFTYPE_1D" value="0"/> 839 <value name="SURFTYPE_2D" value="1"/> 840 <value name="SURFTYPE_3D" value="2"/> 841 <value name="SURFTYPE_CUBE" value="3"/> 842 <value name="SURFTYPE_NULL" value="7"/> 843 </field> 844 <field name="Surface Base Address" start="64" end="95" type="address"/> 845 <field name="LOD" start="96" end="99" type="uint"/> 846 <field name="Width" start="100" end="113" type="uint"/> 847 <field name="Height" start="114" end="127" type="uint"/> 848 <field name="MOCS" start="128" end="131" type="uint"/> 849 <field name="Minimum Array Element" start="138" end="148" type="uint"/> 850 <field name="Depth" start="149" end="159" type="uint"> 851 <value name="SURFTYPE_CUBE (must be zero)" value="0"/> 852 </field> 853 <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/> 854 <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/> 855 <field name="Render Target View Extent" start="213" end="223" type="uint"/> 856 </instruction> 857 858 <instruction name="3DSTATE_DEPTH_STENCIL_STATE_POINTERS" bias="2" length="2" engine="render"> 859 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 860 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="37"/> 861 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 862 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 863 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 864 <field start="32" end="32" type="mbo"/> 865 <field name="Pointer to DEPTH_STENCIL_STATE" start="38" end="63" type="offset"/> 866 </instruction> 867 868 <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render"> 869 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 870 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 871 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 872 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 873 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 874 <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/> 875 <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/> 876 <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/> 877 <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/> 878 <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/> 879 <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/> 880 </instruction> 881 882 <instruction name="3DSTATE_DS" bias="2" length="6" engine="render"> 883 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 884 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="29"/> 885 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 886 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 887 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 888 <field name="Kernel Start Pointer" start="38" end="63" type="offset"/> 889 <field name="Software Exception Enable" start="71" end="71" type="bool"/> 890 <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/> 891 <field name="Floating Point Mode" start="80" end="80" type="uint"> 892 <value name="IEEE-754" value="0"/> 893 <value name="Alternate" value="1"/> 894 </field> 895 <field name="Binding Table Entry Count" start="82" end="89" type="uint"/> 896 <field name="Sampler Count" start="91" end="93" type="uint"> 897 <value name="No Samplers" value="0"/> 898 <value name="1-4 Samplers" value="1"/> 899 <value name="5-8 Samplers" value="2"/> 900 <value name="9-12 Samplers" value="3"/> 901 <value name="13-16 Samplers" value="4"/> 902 </field> 903 <field name="Vector Mask Enable" start="94" end="94" type="bool"/> 904 <field name="Single Domain Point Dispatch" start="95" end="95" type="uint"/> 905 <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/> 906 <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/> 907 <field name="Patch URB Entry Read Offset" start="132" end="137" type="uint"/> 908 <field name="Patch URB Entry Read Length" start="139" end="145" type="uint"/> 909 <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/> 910 <field name="Enable" start="160" end="160" type="bool"/> 911 <field name="DS Cache Disable" start="161" end="161" type="bool"/> 912 <field name="Compute W Coordinate Enable" start="162" end="162" type="bool"/> 913 <field name="Statistics Enable" start="170" end="170" type="bool"/> 914 <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 915 </instruction> 916 917 <instruction name="3DSTATE_GS" bias="2" length="7" engine="render"> 918 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 919 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/> 920 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 921 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 922 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 923 <field name="Kernel Start Pointer" start="38" end="63" type="offset"/> 924 <field name="Software Exception Enable" start="71" end="71" type="bool"/> 925 <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/> 926 <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/> 927 <field name="Floating Point Mode" start="80" end="80" type="uint"> 928 <value name="IEEE-754" value="0"/> 929 <value name="alternate" value="1"/> 930 </field> 931 <field name="Thread Priority" start="81" end="81" type="uint"> 932 <value name="Normal Priority" value="0"/> 933 <value name="High Priority" value="1"/> 934 </field> 935 <field name="Binding Table Entry Count" start="82" end="89" type="uint"/> 936 <field name="Sampler Count" start="91" end="93" type="uint"> 937 <value name="No Samplers" value="0"/> 938 <value name="1-4 Samplers" value="1"/> 939 <value name="5-8 Samplers" value="2"/> 940 <value name="9-12 Samplers" value="3"/> 941 <value name="13-16 Samplers" value="4"/> 942 </field> 943 <field name="Vector Mask Enable" start="94" end="94" type="bool"/> 944 <field name="Single Program Flow" start="95" end="95" type="bool"/> 945 <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/> 946 <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/> 947 <field name="Dispatch GRF Start Register For URB Data" start="128" end="131" type="uint"/> 948 <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/> 949 <field name="Include Vertex Handles" start="138" end="138" type="bool"/> 950 <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/> 951 <field name="Output Topology" start="145" end="150" type="3D_Prim_Topo_Type"/> 952 <field name="Output Vertex Size" start="151" end="156" type="uint"/> 953 <field name="Enable" start="160" end="160" type="bool"/> 954 <field name="Discard Adjacency" start="161" end="161" type="bool"/> 955 <field name="Reorder Mode" start="162" end="162" type="uint"> 956 <value name="LEADING" value="0"/> 957 <value name="TRAILING" value="1"/> 958 </field> 959 <field name="Hint" start="163" end="163" type="uint"/> 960 <field name="Include Primitive ID" start="164" end="164" type="bool"/> 961 <field name="GS Invocations Increment Value" start="165" end="169" type="uint"/> 962 <field name="Statistics Enable" start="170" end="170" type="uint"/> 963 <field name="Dispatch Mode" start="171" end="172" type="uint" prefix="DISPATCH_MODE"> 964 <value name="SINGLE" value="0"/> 965 <value name="DUAL_INSTANCE" value="1"/> 966 <value name="DUAL_OBJECT" value="2"/> 967 </field> 968 <field name="Default StreamID" start="173" end="174" type="uint"/> 969 <field name="Instance Control" start="175" end="179" type="uint"/> 970 <field name="Control Data Header Size" start="180" end="183" type="uint"/> 971 <field name="Control Data Format" start="184" end="184" type="uint"> 972 <value name="GSCTL_CUT" value="0"/> 973 <value name="GSCTL_SID" value="1"/> 974 </field> 975 <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 976 <field name="Semaphore Handle" start="192" end="203" type="offset"/> 977 </instruction> 978 979 <instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render"> 980 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 981 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/> 982 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 983 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 984 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 985 <field name="Surface Pitch" start="32" end="48" type="uint"/> 986 <field name="MOCS" start="57" end="60" type="uint"/> 987 <field name="Surface Base Address" start="64" end="95" type="address"/> 988 </instruction> 989 990 <instruction name="3DSTATE_HS" bias="2" length="7" engine="render"> 991 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 992 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="27"/> 993 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 994 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 995 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 996 <field name="Maximum Number of Threads" start="32" end="38" type="uint"/> 997 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 998 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 999 <field name="Floating Point Mode" start="48" end="48" type="uint"> 1000 <value name="IEEE-754" value="0"/> 1001 <value name="alternate" value="1"/> 1002 </field> 1003 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 1004 <field name="Sampler Count" start="59" end="61" type="uint"> 1005 <value name="No Samplers" value="0"/> 1006 <value name="1-4 Samplers" value="1"/> 1007 <value name="5-8 Samplers" value="2"/> 1008 <value name="9-12 Samplers" value="3"/> 1009 <value name="13-16 Samplers" value="4"/> 1010 </field> 1011 <field name="Instance Count" start="64" end="67" type="uint"/> 1012 <field name="Statistics Enable" start="93" end="93" type="bool"/> 1013 <field name="Enable" start="95" end="95" type="bool"/> 1014 <field name="Kernel Start Pointer" start="102" end="127" type="offset"/> 1015 <field name="Per-Thread Scratch Space" start="128" end="131" type="uint"/> 1016 <field name="Scratch Space Base Pointer" start="138" end="159" type="address"/> 1017 <field name="Vertex URB Entry Read Offset" start="164" end="169" type="uint"/> 1018 <field name="Vertex URB Entry Read Length" start="171" end="176" type="uint"/> 1019 <field name="Dispatch GRF Start Register For URB Data" start="179" end="183" type="uint"/> 1020 <field name="Include Vertex Handles" start="184" end="184" type="bool"/> 1021 <field name="Vector Mask Enable" start="186" end="186" type="bool"/> 1022 <field name="Single Program Flow" start="187" end="187" type="bool"/> 1023 <field name="Semaphore Handle" start="192" end="203" type="offset"/> 1024 </instruction> 1025 1026 <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render"> 1027 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1028 <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX"> 1029 <value name="BYTE" value="0"/> 1030 <value name="WORD" value="1"/> 1031 <value name="DWORD" value="2"/> 1032 </field> 1033 <field name="Cut Index Enable" start="10" end="10" type="bool"/> 1034 <field name="MOCS" start="12" end="15" type="uint"/> 1035 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/> 1036 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1037 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1038 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1039 <field name="Buffer Starting Address" start="32" end="63" type="address"/> 1040 <field name="Buffer Ending Address" start="64" end="95" type="address"/> 1041 </instruction> 1042 1043 <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render"> 1044 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1045 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/> 1046 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1047 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1048 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1049 <field name="Line Stipple Pattern" start="32" end="47" type="uint"/> 1050 <field name="Current Stipple Index" start="48" end="51" type="uint"/> 1051 <field name="Current Repeat Counter" start="53" end="61" type="uint"/> 1052 <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/> 1053 <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/> 1054 <field name="Line Stipple Inverse Repeat Count" start="79" end="95" type="u1.16"/> 1055 </instruction> 1056 1057 <instruction name="3DSTATE_MONOFILTER_SIZE" bias="2" length="2" engine="render"> 1058 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1059 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="17"/> 1060 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1061 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1062 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1063 <field name="Monochrome Filter Height" start="32" end="34" type="uint"/> 1064 <field name="Monochrome Filter Width" start="35" end="37" type="uint"/> 1065 </instruction> 1066 1067 <instruction name="3DSTATE_MULTISAMPLE" bias="2" length="4" engine="render"> 1068 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 1069 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="13"/> 1070 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1071 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1072 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1073 <field name="Number of Multisamples" start="33" end="35" type="uint"> 1074 <value name="NUMSAMPLES_1" value="0"/> 1075 <value name="NUMSAMPLES_4" value="2"/> 1076 <value name="NUMSAMPLES_8" value="3"/> 1077 </field> 1078 <field name="Pixel Location" start="36" end="36" type="uint"> 1079 <value name="CENTER" value="0"/> 1080 <value name="UL_CORNER" value="1"/> 1081 </field> 1082 <field name="Sample0 Y Offset" start="64" end="67" type="u0.4"/> 1083 <field name="Sample0 X Offset" start="68" end="71" type="u0.4"/> 1084 <field name="Sample1 Y Offset" start="72" end="75" type="u0.4"/> 1085 <field name="Sample1 X Offset" start="76" end="79" type="u0.4"/> 1086 <field name="Sample2 Y Offset" start="80" end="83" type="u0.4"/> 1087 <field name="Sample2 X Offset" start="84" end="87" type="u0.4"/> 1088 <field name="Sample3 Y Offset" start="88" end="91" type="u0.4"/> 1089 <field name="Sample3 X Offset" start="92" end="95" type="u0.4"/> 1090 <field name="Sample4 Y Offset" start="96" end="99" type="u0.4"/> 1091 <field name="Sample4 X Offset" start="100" end="103" type="u0.4"/> 1092 <field name="Sample5 Y Offset" start="104" end="107" type="u0.4"/> 1093 <field name="Sample5 X Offset" start="108" end="111" type="u0.4"/> 1094 <field name="Sample6 Y Offset" start="112" end="115" type="u0.4"/> 1095 <field name="Sample6 X Offset" start="116" end="119" type="u0.4"/> 1096 <field name="Sample7 Y Offset" start="120" end="123" type="u0.4"/> 1097 <field name="Sample7 X Offset" start="124" end="127" type="u0.4"/> 1098 </instruction> 1099 1100 <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render"> 1101 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1102 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/> 1103 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1104 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1105 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1106 <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/> 1107 <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/> 1108 </instruction> 1109 1110 <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render"> 1111 <field name="DWord Length" start="0" end="7" type="uint" default="31"/> 1112 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/> 1113 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1114 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1115 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1116 <group count="32" start="32" size="32"> 1117 <field name="Pattern Row" start="0" end="31" type="uint"/> 1118 </group> 1119 </instruction> 1120 1121 <instruction name="3DSTATE_PS" bias="2" length="8" engine="render"> 1122 <field name="DWord Length" start="0" end="7" type="uint" default="6"/> 1123 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/> 1124 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1125 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1126 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1127 <field name="Kernel Start Pointer 0" start="38" end="63" type="offset"/> 1128 <field name="Software Exception Enable" start="71" end="71" type="bool"/> 1129 <field name="Mask Stack Exception Enable" start="75" end="75" type="bool"/> 1130 <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/> 1131 <field name="Rounding Mode" start="78" end="79" type="uint"> 1132 <value name="RTNE" value="0"/> 1133 <value name="RU" value="1"/> 1134 <value name="RD" value="2"/> 1135 <value name="RTZ" value="3"/> 1136 </field> 1137 <field name="Floating Point Mode" start="80" end="80" type="uint"> 1138 <value name="IEEE-745" value="0"/> 1139 <value name="Alt" value="1"/> 1140 </field> 1141 <field name="Binding Table Entry Count" start="82" end="89" type="uint"/> 1142 <field name="Denormal Mode" start="90" end="90" type="uint"> 1143 <value name="FTZ" value="0"/> 1144 <value name="RET" value="1"/> 1145 </field> 1146 <field name="Sampler Count" start="91" end="93" type="uint"/> 1147 <field name="Vector Mask Enable" start="94" end="94" type="bool"/> 1148 <field name="Single Program Flow" start="95" end="95" type="bool"/> 1149 <field name="Per Thread Scratch Space" start="96" end="99" type="uint"/> 1150 <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/> 1151 <field name="8 Pixel Dispatch Enable" start="128" end="128" type="bool"/> 1152 <field name="16 Pixel Dispatch Enable" start="129" end="129" type="bool"/> 1153 <field name="32 Pixel Dispatch Enable" start="130" end="130" type="bool"/> 1154 <field name="Position XY Offset Select" start="131" end="132" type="uint"> 1155 <value name="POSOFFSET_NONE" value="0"/> 1156 <value name="POSOFFSET_CENTROID" value="2"/> 1157 <value name="POSOFFSET_SAMPLE" value="3"/> 1158 </field> 1159 <field name="Render Target Resolve Enable" start="134" end="134" type="bool"/> 1160 <field name="Dual Source Blend Enable" start="135" end="135" type="bool"/> 1161 <field name="Render Target Fast Clear Enable" start="136" end="136" type="bool"/> 1162 <field name="oMask Present to RenderTarget" start="137" end="137" type="bool"/> 1163 <field name="Attribute Enable" start="138" end="138" type="bool"/> 1164 <field name="Push Constant Enable" start="139" end="139" type="bool"/> 1165 <field name="Maximum Number of Threads" start="152" end="159" type="uint"/> 1166 <field name="Dispatch GRF Start Register For Constant/Setup Data 2" start="160" end="166" type="uint"/> 1167 <field name="Dispatch GRF Start Register For Constant/Setup Data 1" start="168" end="174" type="uint"/> 1168 <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="176" end="182" type="uint"/> 1169 <field name="Kernel Start Pointer 1" start="198" end="223" type="offset"/> 1170 <field name="Kernel Start Pointer 2" start="230" end="255" type="offset"/> 1171 </instruction> 1172 1173 <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_DS" bias="2" length="2" engine="render"> 1174 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1175 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/> 1176 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1177 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1178 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1179 <field name="Constant Buffer Size" start="32" end="36" type="uint"> 1180 <value name="0KB" value="0"/> 1181 </field> 1182 <field name="Constant Buffer Offset" start="48" end="51" type="uint"> 1183 <value name="0KB" value="0"/> 1184 </field> 1185 </instruction> 1186 1187 <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_GS" bias="2" length="2" engine="render"> 1188 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1189 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/> 1190 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1191 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1192 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1193 <field name="Constant Buffer Size" start="32" end="36" type="uint"> 1194 <value name="0KB" value="0"/> 1195 </field> 1196 <field name="Constant Buffer Offset" start="48" end="51" type="uint"> 1197 <value name="0KB" value="0"/> 1198 </field> 1199 </instruction> 1200 1201 <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_HS" bias="2" length="2" engine="render"> 1202 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1203 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/> 1204 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1205 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1206 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1207 <field name="Constant Buffer Size" start="32" end="36" type="uint"> 1208 <value name="0KB" value="0"/> 1209 </field> 1210 <field name="Constant Buffer Offset" start="48" end="51" type="uint"> 1211 <value name="0KB" value="0"/> 1212 </field> 1213 </instruction> 1214 1215 <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_PS" bias="2" length="2" engine="render"> 1216 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1217 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/> 1218 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1219 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1220 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1221 <field name="Constant Buffer Size" start="32" end="36" type="uint"> 1222 <value name="0KB" value="0"/> 1223 </field> 1224 <field name="Constant Buffer Offset" start="48" end="51" type="uint"> 1225 <value name="0KB" value="0"/> 1226 </field> 1227 </instruction> 1228 1229 <instruction name="3DSTATE_PUSH_CONSTANT_ALLOC_VS" bias="2" length="2" engine="render"> 1230 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1231 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="18"/> 1232 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1233 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1234 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1235 <field name="Constant Buffer Size" start="32" end="36" type="uint"> 1236 <value name="0KB" value="0"/> 1237 </field> 1238 <field name="Constant Buffer Offset" start="48" end="51" type="uint"> 1239 <value name="0KB" value="0"/> 1240 </field> 1241 </instruction> 1242 1243 <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD0" bias="2" engine="render"> 1244 <field name="DWord Length" start="0" end="7" type="uint"/> 1245 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/> 1246 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1247 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1248 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1249 <group count="0" start="32" size="32"> 1250 <field name="Entry" start="0" end="31" type="PALETTE_ENTRY"/> 1251 </group> 1252 </instruction> 1253 1254 <instruction name="3DSTATE_SAMPLER_PALETTE_LOAD1" bias="2" engine="render"> 1255 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1256 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="12"/> 1257 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1258 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1259 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1260 <group count="0" start="32" size="32"> 1261 <field name="Palette Alpha[0:N-1]" start="24" end="31" type="uint"/> 1262 <field name="Palette Red[0:N-1]" start="16" end="23" type="uint"/> 1263 <field name="Palette Green[0:N-1]" start="8" end="15" type="uint"/> 1264 <field name="Palette Blue[0:N-1]" start="0" end="7" type="uint"/> 1265 </group> 1266 </instruction> 1267 1268 <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_DS" bias="2" length="2" engine="render"> 1269 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1270 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="45"/> 1271 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1272 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1273 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1274 <field name="Pointer to DS Sampler State" start="37" end="63" type="offset"/> 1275 </instruction> 1276 1277 <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_GS" bias="2" length="2" engine="render"> 1278 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1279 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="46"/> 1280 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1281 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1282 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1283 <field name="Pointer to GS Sampler State" start="37" end="63" type="offset"/> 1284 </instruction> 1285 1286 <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_HS" bias="2" length="2" engine="render"> 1287 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1288 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="44"/> 1289 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1290 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1291 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1292 <field name="Pointer to HS Sampler State" start="37" end="63" type="offset"/> 1293 </instruction> 1294 1295 <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_PS" bias="2" length="2" engine="render"> 1296 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1297 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="47"/> 1298 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1299 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1300 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1301 <field name="Pointer to PS Sampler State" start="37" end="63" type="offset"/> 1302 </instruction> 1303 1304 <instruction name="3DSTATE_SAMPLER_STATE_POINTERS_VS" bias="2" length="2" engine="render"> 1305 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1306 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="43"/> 1307 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1308 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1309 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1310 <field name="Pointer to VS Sampler State" start="37" end="63" type="offset"/> 1311 </instruction> 1312 1313 <instruction name="3DSTATE_SAMPLE_MASK" bias="2" length="2" engine="render"> 1314 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1315 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/> 1316 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1317 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1318 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1319 <field name="Sample Mask" start="32" end="39" type="uint"/> 1320 </instruction> 1321 1322 <instruction name="3DSTATE_SBE" bias="2" length="14" engine="render"> 1323 <field name="DWord Length" start="0" end="7" type="uint" default="12"/> 1324 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="31"/> 1325 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1326 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1327 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1328 <field name="Vertex URB Entry Read Offset" start="36" end="41" type="uint"/> 1329 <field name="Vertex URB Entry Read Length" start="43" end="47" type="uint"/> 1330 <field name="Point Sprite Texture Coordinate Origin" start="52" end="52" type="uint"> 1331 <value name="UPPERLEFT" value="0"/> 1332 <value name="LOWERLEFT" value="1"/> 1333 </field> 1334 <field name="Attribute Swizzle Enable" start="53" end="53" type="bool"/> 1335 <field name="Number of SF Output Attributes" start="54" end="59" type="uint"/> 1336 <field name="Attribute Swizzle Control Mode" start="60" end="60" type="uint"> 1337 <value name="SWIZ_0_15" value="0"/> 1338 <value name="SWIZ_16_31" value="1"/> 1339 </field> 1340 <group count="16" start="64" size="16"> 1341 <field name="Attribute" start="0" end="15" type="SF_OUTPUT_ATTRIBUTE_DETAIL"/> 1342 </group> 1343 <field name="Point Sprite Texture Coordinate Enable" start="320" end="351" type="uint"/> 1344 <field name="Constant Interpolation Enable" start="352" end="383" type="uint"/> 1345 <field name="Attribute 0 WrapShortest Enables" start="384" end="387" type="uint"/> 1346 <field name="Attribute 1 WrapShortest Enables" start="388" end="391" type="uint"/> 1347 <field name="Attribute 2 WrapShortest Enables" start="392" end="395" type="uint"/> 1348 <field name="Attribute 3 WrapShortest Enables" start="396" end="399" type="uint"/> 1349 <field name="Attribute 4 WrapShortest Enables" start="400" end="403" type="uint"/> 1350 <field name="Attribute 5 WrapShortest Enables" start="404" end="407" type="uint"/> 1351 <field name="Attribute 6 WrapShortest Enables" start="408" end="411" type="uint"/> 1352 <field name="Attribute 7 WrapShortest Enables" start="412" end="415" type="uint"/> 1353 <field name="Attribute 8 WrapShortest Enables" start="416" end="419" type="uint"/> 1354 <field name="Attribute 9 WrapShortest Enables" start="420" end="423" type="uint"/> 1355 <field name="Attribute 10 WrapShortest Enables" start="424" end="427" type="uint"/> 1356 <field name="Attribute 11 WrapShortest Enables" start="428" end="431" type="uint"/> 1357 <field name="Attribute 12 WrapShortest Enables" start="432" end="435" type="uint"/> 1358 <field name="Attribute 13 WrapShortest Enables" start="436" end="439" type="uint"/> 1359 <field name="Attribute 14 WrapShortest Enables" start="440" end="443" type="uint"/> 1360 <field name="Attribute 15 WrapShortest Enables" start="444" end="447" type="uint"/> 1361 </instruction> 1362 1363 <instruction name="3DSTATE_SCISSOR_STATE_POINTERS" bias="2" length="2" engine="render"> 1364 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1365 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="15"/> 1366 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1367 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1368 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1369 <field name="Scissor Rect Pointer" start="37" end="63" type="offset"/> 1370 </instruction> 1371 1372 <instruction name="3DSTATE_SF" bias="2" length="7" engine="render"> 1373 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 1374 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="19"/> 1375 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1376 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1377 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1378 <field name="Front Winding" start="32" end="32" type="uint"/> 1379 <field name="Viewport Transform Enable" start="33" end="33" type="bool"/> 1380 <field name="BackFace Fill Mode" start="35" end="36" type="uint" prefix="FILL_MODE"> 1381 <value name="SOLID" value="0"/> 1382 <value name="WIREFRAME" value="1"/> 1383 <value name="POINT" value="2"/> 1384 </field> 1385 <field name="FrontFace Fill Mode" start="37" end="38" type="uint" prefix="FILL_MODE"> 1386 <value name="SOLID" value="0"/> 1387 <value name="WIREFRAME" value="1"/> 1388 <value name="POINT" value="2"/> 1389 </field> 1390 <field name="Global Depth Offset Enable Point" start="39" end="39" type="bool"/> 1391 <field name="Global Depth Offset Enable Wireframe" start="40" end="40" type="bool"/> 1392 <field name="Global Depth Offset Enable Solid" start="41" end="41" type="bool"/> 1393 <field name="Statistics Enable" start="42" end="42" type="bool"/> 1394 <field name="Legacy Global Depth Bias Enable" start="43" end="43" type="bool"/> 1395 <field name="Depth Buffer Surface Format" start="44" end="46" type="uint"> 1396 <value name="D32_FLOAT_S8X24_UINT" value="0"/> 1397 <value name="D32_FLOAT" value="1"/> 1398 <value name="D24_UNORM_S8_UINT" value="2"/> 1399 <value name="D24_UNORM_X8_UINT" value="3"/> 1400 <value name="D16_UNORM" value="5"/> 1401 </field> 1402 <field name="Multisample Rasterization Mode" start="72" end="73" type="uint"> 1403 <value name="MSRASTMODE_OFF_PIXEL" value="0"/> 1404 <value name="MSRASTMODE_OFF_PATTERN" value="1"/> 1405 <value name="MSRASTMODE_ON_PIXEL" value="2"/> 1406 <value name="MSRASTMODE_ON_PATTERN" value="3"/> 1407 </field> 1408 <field name="Scissor Rectangle Enable" start="75" end="75" type="bool"/> 1409 <field name="Line End Cap Antialiasing Region Width" start="80" end="81" type="uint"> 1410 <value name="0.5 pixels" value="0"/> 1411 <value name="1.0 pixels" value="1"/> 1412 <value name="2.0 pixels" value="2"/> 1413 <value name="4.0 pixels" value="3"/> 1414 </field> 1415 <field name="Line Width" start="82" end="91" type="u3.7"/> 1416 <field name="Cull Mode" start="93" end="94" type="uint" prefix="CULLMODE"> 1417 <value name="BOTH" value="0"/> 1418 <value name="NONE" value="1"/> 1419 <value name="FRONT" value="2"/> 1420 <value name="BACK" value="3"/> 1421 </field> 1422 <field name="Antialiasing Enable" start="95" end="95" type="bool"/> 1423 <field name="Point Width" start="96" end="106" type="u8.3"/> 1424 <field name="Point Width Source" start="107" end="107" type="uint"> 1425 <value name="Vertex" value="0"/> 1426 <value name="State" value="1"/> 1427 </field> 1428 <field name="Vertex Sub Pixel Precision Select" start="108" end="108" type="uint"> 1429 <value name="8 Bit" value="0"/> 1430 <value name="4 Bit" value="1"/> 1431 </field> 1432 <field name="AA Line Distance Mode" start="110" end="110" type="uint"> 1433 <value name="AALINEDISTANCE_TRUE" value="1"/> 1434 </field> 1435 <field name="Triangle Fan Provoking Vertex Select" start="121" end="122" type="uint"> 1436 <value name="Vertex 0" value="0"/> 1437 <value name="Vertex 1" value="1"/> 1438 <value name="Vertex 2" value="2"/> 1439 </field> 1440 <field name="Line Strip/List Provoking Vertex Select" start="123" end="124" type="uint"/> 1441 <field name="Triangle Strip/List Provoking Vertex Select" start="125" end="126" type="uint"> 1442 <value name="Vertex 0" value="0"/> 1443 <value name="Vertex 1" value="1"/> 1444 <value name="Vertex 2" value="2"/> 1445 </field> 1446 <field name="Last Pixel Enable" start="127" end="127" type="bool"/> 1447 <field name="Global Depth Offset Constant" start="128" end="159" type="float"/> 1448 <field name="Global Depth Offset Scale" start="160" end="191" type="float"/> 1449 <field name="Global Depth Offset Clamp" start="192" end="223" type="float"/> 1450 </instruction> 1451 1452 <instruction name="3DSTATE_SO_BUFFER" bias="2" length="4" engine="render"> 1453 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 1454 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="24"/> 1455 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1456 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1457 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1458 <field name="Surface Pitch" start="32" end="43" type="uint"/> 1459 <field name="MOCS" start="57" end="60" type="uint"/> 1460 <field name="SO Buffer Index" start="61" end="62" type="uint"/> 1461 <field name="Surface Base Address" start="66" end="95" type="address"/> 1462 <field name="Surface End Address" start="98" end="127" type="address"/> 1463 </instruction> 1464 1465 <instruction name="3DSTATE_SO_DECL_LIST" bias="2" engine="render"> 1466 <field name="DWord Length" start="0" end="8" type="uint"/> 1467 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/> 1468 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1469 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1470 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1471 <field name="Stream to Buffer Selects [0]" start="32" end="35" type="uint"/> 1472 <field name="Stream to Buffer Selects [1]" start="36" end="39" type="uint"/> 1473 <field name="Stream to Buffer Selects [2]" start="40" end="43" type="uint"/> 1474 <field name="Stream to Buffer Selects [3]" start="44" end="47" type="uint"/> 1475 <field name="Num Entries [0]" start="64" end="71" type="uint"/> 1476 <field name="Num Entries [1]" start="72" end="79" type="uint"/> 1477 <field name="Num Entries [2]" start="80" end="87" type="uint"/> 1478 <field name="Num Entries [3]" start="88" end="95" type="uint"/> 1479 <group count="0" start="96" size="64"> 1480 <field name="Entry" start="0" end="63" type="SO_DECL_ENTRY"/> 1481 </group> 1482 </instruction> 1483 1484 <instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render"> 1485 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1486 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/> 1487 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1488 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1489 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1490 <field name="Surface Pitch" start="32" end="48" type="uint"/> 1491 <field name="MOCS" start="57" end="60" type="uint"/> 1492 <field name="Surface Base Address" start="64" end="95" type="address"/> 1493 </instruction> 1494 1495 <instruction name="3DSTATE_STREAMOUT" bias="2" length="3" engine="render"> 1496 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1497 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="30"/> 1498 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1499 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1500 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1501 <field name="SO Buffer Enable [0]" start="40" end="40" type="bool"/> 1502 <field name="SO Buffer Enable [1]" start="41" end="41" type="bool"/> 1503 <field name="SO Buffer Enable [2]" start="42" end="42" type="bool"/> 1504 <field name="SO Buffer Enable [3]" start="43" end="43" type="bool"/> 1505 <field name="SO Statistics Enable" start="57" end="57" type="bool"/> 1506 <field name="Reorder Mode" start="58" end="58" type="uint"> 1507 <value name="LEADING" value="0"/> 1508 <value name="TRAILING" value="1"/> 1509 </field> 1510 <field name="Render Stream Select" start="59" end="60" type="uint"/> 1511 <field name="Rendering Disable" start="62" end="62" type="bool"/> 1512 <field name="SO Function Enable" start="63" end="63" type="bool"/> 1513 <field name="Stream 0 Vertex Read Length" start="64" end="68" type="uint"/> 1514 <field name="Stream 0 Vertex Read Offset" start="69" end="69" type="uint"/> 1515 <field name="Stream 1 Vertex Read Length" start="72" end="76" type="uint"/> 1516 <field name="Stream 1 Vertex Read Offset" start="77" end="77" type="uint"/> 1517 <field name="Stream 2 Vertex Read Length" start="80" end="84" type="uint"/> 1518 <field name="Stream 2 Vertex Read Offset" start="85" end="85" type="uint"/> 1519 <field name="Stream 3 Vertex Read Length" start="88" end="92" type="uint"/> 1520 <field name="Stream 3 Vertex Read Offset" start="93" end="93" type="uint"/> 1521 </instruction> 1522 1523 <instruction name="3DSTATE_TE" bias="2" length="4" engine="render"> 1524 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 1525 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="28"/> 1526 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1527 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1528 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1529 <field name="TE Enable" start="32" end="32" type="bool"/> 1530 <field name="TE Mode" start="33" end="34" type="uint"> 1531 <value name="HW_TESS" value="0"/> 1532 <value name="SW_TESS" value="1"/> 1533 </field> 1534 <field name="TE Domain" start="36" end="37" type="uint"> 1535 <value name="QUAD" value="0"/> 1536 <value name="TRI" value="1"/> 1537 <value name="ISOLINE" value="2"/> 1538 </field> 1539 <field name="Output Topology" start="40" end="41" type="uint" prefix="OUTPUT"> 1540 <value name="POINT" value="0"/> 1541 <value name="LINE" value="1"/> 1542 <value name="TRI_CW" value="2"/> 1543 <value name="TRI_CCW" value="3"/> 1544 </field> 1545 <field name="Partitioning" start="44" end="45" type="uint"> 1546 <value name="INTEGER" value="0"/> 1547 <value name="ODD_FRACTIONAL" value="1"/> 1548 <value name="EVEN_FRACTIONAL" value="2"/> 1549 </field> 1550 <field name="Maximum Tessellation Factor Odd" start="64" end="95" type="float"/> 1551 <field name="Maximum Tessellation Factor Not Odd" start="96" end="127" type="float"/> 1552 </instruction> 1553 1554 <instruction name="3DSTATE_URB_DS" bias="2" length="2" engine="render"> 1555 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1556 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="50"/> 1557 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1558 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1559 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1560 <field name="DS Number of URB Entries" start="32" end="47" type="uint"/> 1561 <field name="DS URB Entry Allocation Size" start="48" end="56" type="uint"/> 1562 <field name="DS URB Starting Address" start="57" end="61" type="uint"/> 1563 </instruction> 1564 1565 <instruction name="3DSTATE_URB_GS" bias="2" length="2" engine="render"> 1566 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1567 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="51"/> 1568 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1569 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1570 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1571 <field name="GS Number of URB Entries" start="32" end="47" type="uint"/> 1572 <field name="GS URB Entry Allocation Size" start="48" end="56" type="uint"/> 1573 <field name="GS URB Starting Address" start="57" end="61" type="uint"/> 1574 </instruction> 1575 1576 <instruction name="3DSTATE_URB_HS" bias="2" length="2" engine="render"> 1577 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1578 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="49"/> 1579 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1580 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1581 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1582 <field name="HS Number of URB Entries" start="32" end="47" type="uint"/> 1583 <field name="HS URB Entry Allocation Size" start="48" end="56" type="uint"/> 1584 <field name="HS URB Starting Address" start="57" end="61" type="uint"/> 1585 </instruction> 1586 1587 <instruction name="3DSTATE_URB_VS" bias="2" length="2" engine="render"> 1588 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1589 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="48"/> 1590 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1591 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1592 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1593 <field name="VS Number of URB Entries" start="32" end="47" type="uint"/> 1594 <field name="VS URB Entry Allocation Size" start="48" end="56" type="uint"/> 1595 <field name="VS URB Starting Address" start="57" end="61" type="uint"/> 1596 </instruction> 1597 1598 <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render"> 1599 <field name="DWord Length" start="0" end="7" type="uint" default="3"/> 1600 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/> 1601 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1602 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1603 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1604 <group count="0" start="32" size="128"> 1605 <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/> 1606 </group> 1607 </instruction> 1608 1609 <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render"> 1610 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1611 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/> 1612 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1613 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1614 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1615 <group count="0" start="32" size="64"> 1616 <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/> 1617 </group> 1618 </instruction> 1619 1620 <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render"> 1621 <field name="Statistics Enable" start="0" end="0" type="bool"/> 1622 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/> 1623 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1624 <field name="Command SubType" start="27" end="28" type="uint" default="1"/> 1625 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1626 </instruction> 1627 1628 <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_CC" bias="2" length="2" engine="render"> 1629 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1630 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="35"/> 1631 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1632 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1633 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1634 <field name="CC Viewport Pointer" start="37" end="63" type="offset"/> 1635 </instruction> 1636 1637 <instruction name="3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP" bias="2" length="2" engine="render"> 1638 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1639 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="33"/> 1640 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1641 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1642 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1643 <field name="SF Clip Viewport Pointer" start="38" end="63" type="offset"/> 1644 </instruction> 1645 1646 <instruction name="3DSTATE_VS" bias="2" length="6" engine="render"> 1647 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 1648 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/> 1649 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1650 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1651 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1652 <field name="Kernel Start Pointer" start="38" end="63" type="offset"/> 1653 <field name="Software Exception Enable" start="71" end="71" type="bool"/> 1654 <field name="Illegal Opcode Exception Enable" start="77" end="77" type="bool"/> 1655 <field name="Floating Point Mode" start="80" end="80" type="uint"> 1656 <value name="IEEE-754" value="0"/> 1657 <value name="Alternate" value="1"/> 1658 </field> 1659 <field name="Binding Table Entry Count" start="82" end="89" type="uint"/> 1660 <field name="Sampler Count" start="91" end="93" type="uint"> 1661 <value name="No Samplers" value="0"/> 1662 <value name="1-4 Samplers" value="1"/> 1663 <value name="5-8 Samplers" value="2"/> 1664 <value name="9-12 Samplers" value="3"/> 1665 <value name="13-16 Samplers" value="4"/> 1666 </field> 1667 <field name="Vector Mask Enable" start="94" end="94" type="bool"/> 1668 <field name="Single Vertex Dispatch" start="95" end="95" type="bool"/> 1669 <field name="Per-Thread Scratch Space" start="96" end="99" type="uint"/> 1670 <field name="Scratch Space Base Pointer" start="106" end="127" type="address"/> 1671 <field name="Vertex URB Entry Read Offset" start="132" end="137" type="uint"/> 1672 <field name="Vertex URB Entry Read Length" start="139" end="144" type="uint"/> 1673 <field name="Dispatch GRF Start Register For URB Data" start="148" end="152" type="uint"/> 1674 <field name="Enable" start="160" end="160" type="bool"/> 1675 <field name="Vertex Cache Disable" start="161" end="161" type="bool"/> 1676 <field name="Statistics Enable" start="170" end="170" type="bool"/> 1677 <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 1678 </instruction> 1679 1680 <instruction name="3DSTATE_WM" bias="2" length="3" engine="render"> 1681 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1682 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/> 1683 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1684 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1685 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1686 <field name="Multisample Rasterization Mode" start="32" end="33" type="uint"> 1687 <value name="MSRASTMODE_OFF_PIXEL" value="0"/> 1688 <value name="MSRASTMODE_OFF_PATTERN" value="1"/> 1689 <value name="MSRASTMODE_ON_PIXEL" value="2"/> 1690 <value name="MSRASTMODE_ON_PATTERN" value="3"/> 1691 </field> 1692 <field name="Point Rasterization Rule" start="34" end="34" type="uint"> 1693 <value name="RASTRULE_UPPER_LEFT" value="0"/> 1694 <value name="RASTRULE_UPPER_RIGHT" value="1"/> 1695 </field> 1696 <field name="Line Stipple Enable" start="35" end="35" type="bool"/> 1697 <field name="Polygon Stipple Enable" start="36" end="36" type="bool"/> 1698 <field name="Line Antialiasing Region Width" start="38" end="39" type="uint"> 1699 <value name="0.5 pixels" value="0"/> 1700 <value name="1.0 pixels" value="1"/> 1701 <value name="2.0 pixels" value="2"/> 1702 <value name="4.0 pixels" value="3"/> 1703 </field> 1704 <field name="Line End Cap Antialiasing Region Width" start="40" end="41" type="uint"/> 1705 <field name="Pixel Shader Uses Input Coverage Mask" start="42" end="42" type="bool"/> 1706 <field name="Barycentric Interpolation Mode" start="43" end="48" type="uint"> 1707 <value name="BIM_PERSPECTIVE_PIXEL" value="1"/> 1708 <value name="BIM_PERSPECTIVE_CENTROID" value="2"/> 1709 <value name="BIM_PERSPECTIVE_SAMPLE" value="4"/> 1710 <value name="BIM_LINEAR_PIXEL" value="8"/> 1711 <value name="BIM_LINEAR_CENTROID" value="16"/> 1712 <value name="BIM_LINEAR_SAMPLE" value="32"/> 1713 </field> 1714 <field name="Position ZW Interpolation Mode" start="49" end="50" type="uint"> 1715 <value name="INTERP_PIXEL" value="0"/> 1716 <value name="INTERP_CENTROID" value="2"/> 1717 <value name="INTERP_SAMPLE" value="3"/> 1718 </field> 1719 <field name="Pixel Shader Uses Source W" start="51" end="51" type="bool"/> 1720 <field name="Pixel Shader Uses Source Depth" start="52" end="52" type="bool"/> 1721 <field name="Early Depth/Stencil Control" start="53" end="54" type="uint"> 1722 <value name="EDSC_NORMAL" value="0"/> 1723 <value name="EDSC_PSEXEC" value="1"/> 1724 <value name="EDSC_PREPS" value="2"/> 1725 </field> 1726 <field name="Pixel Shader Computed Depth Mode" start="55" end="56" type="uint"> 1727 <value name="PSCDEPTH_OFF" value="0"/> 1728 <value name="PSCDEPTH_ON" value="1"/> 1729 <value name="PSCDEPTH_ON_GE" value="2"/> 1730 <value name="PSCDEPTH_ON_LE" value="3"/> 1731 </field> 1732 <field name="Pixel Shader Kills Pixel" start="57" end="57" type="bool"/> 1733 <field name="Legacy Diamond Line Rasterization" start="58" end="58" type="bool"/> 1734 <field name="Hierarchical Depth Buffer Resolve Enable" start="59" end="59" type="bool"/> 1735 <field name="Depth Buffer Resolve Enable" start="60" end="60" type="bool"/> 1736 <field name="Thread Dispatch Enable" start="61" end="61" type="bool"/> 1737 <field name="Depth Buffer Clear" start="62" end="62" type="bool"/> 1738 <field name="Statistics Enable" start="63" end="63" type="bool"/> 1739 <field name="Multisample Dispatch Mode" start="95" end="95" type="uint"> 1740 <value name="MSDISPMODE_PERSAMPLE" value="0"/> 1741 <value name="MSDISPMODE_PERPIXEL" value="1"/> 1742 </field> 1743 </instruction> 1744 1745 <instruction name="GPGPU_OBJECT" bias="2" length="8" engine="render"> 1746 <field name="DWord Length" start="0" end="7" type="uint" default="6"/> 1747 <field name="Predicate Enable" start="8" end="8" type="bool"/> 1748 <field name="SubOpcode" start="16" end="23" type="uint" default="4"/> 1749 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 1750 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1751 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1752 <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/> 1753 <field name="Shared Local Memory Fixed Offset" start="39" end="39" type="uint"/> 1754 <field name="Indirect Data Length" start="64" end="80" type="uint"/> 1755 <field name="Half-Slice Destination Select" start="81" end="82" type="uint"> 1756 <value name="Half-Slice 1" value="2"/> 1757 <value name="Half-Slice 0" value="1"/> 1758 <value name="Either Half-Slice" value="0"/> 1759 </field> 1760 <field name="End of Thread Group" start="88" end="88" type="uint"/> 1761 <field name="Shared Local Memory Offset" start="92" end="95" type="uint"/> 1762 <field name="Indirect Data Start Address" start="96" end="127" type="offset"/> 1763 <field name="Thread Group ID X" start="128" end="159" type="uint"/> 1764 <field name="Thread Group ID Y" start="160" end="191" type="uint"/> 1765 <field name="Thread Group ID Z" start="192" end="223" type="uint"/> 1766 <field name="Execution Mask" start="224" end="255" type="uint"/> 1767 </instruction> 1768 1769 <instruction name="GPGPU_WALKER" bias="2" length="11" engine="render"> 1770 <field name="DWord Length" start="0" end="7" type="uint" default="9"/> 1771 <field name="Predicate Enable" start="8" end="8" type="bool"/> 1772 <field name="Indirect Parameter Enable" start="10" end="10" type="bool"/> 1773 <field name="SubOpcode A" start="16" end="23" type="uint" default="5"/> 1774 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 1775 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1776 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1777 <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/> 1778 <field name="Thread Width Counter Maximum" start="64" end="69" type="uint"/> 1779 <field name="Thread Height Counter Maximum" start="72" end="77" type="uint"/> 1780 <field name="Thread Depth Counter Maximum" start="80" end="85" type="uint"/> 1781 <field name="SIMD Size" start="94" end="95" type="uint"> 1782 <value name="SIMD8" value="0"/> 1783 <value name="SIMD16" value="1"/> 1784 <value name="SIMD32" value="2"/> 1785 </field> 1786 <field name="Thread Group ID Starting X" start="96" end="127" type="uint"/> 1787 <field name="Thread Group ID X Dimension" start="128" end="159" type="uint"/> 1788 <field name="Thread Group ID Starting Y" start="160" end="191" type="uint"/> 1789 <field name="Thread Group ID Y Dimension" start="192" end="223" type="uint"/> 1790 <field name="Thread Group ID Starting Z" start="224" end="255" type="uint"/> 1791 <field name="Thread Group ID Z Dimension" start="256" end="287" type="uint"/> 1792 <field name="Right Execution Mask" start="288" end="319" type="uint"/> 1793 <field name="Bottom Execution Mask" start="320" end="351" type="uint"/> 1794 </instruction> 1795 1796 <instruction name="MEDIA_CURBE_LOAD" bias="2" length="4" engine="render"> 1797 <field name="DWord Length" start="0" end="15" type="uint" default="2"/> 1798 <field name="SubOpcode" start="16" end="23" type="uint" default="1"/> 1799 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 1800 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1801 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1802 <field name="CURBE Total Data Length" start="64" end="80" type="uint"/> 1803 <field name="CURBE Data Start Address" start="96" end="127" type="uint"/> 1804 </instruction> 1805 1806 <instruction name="MEDIA_INTERFACE_DESCRIPTOR_LOAD" bias="2" length="4" engine="render"> 1807 <field name="DWord Length" start="0" end="15" type="uint" default="2"/> 1808 <field name="SubOpcode" start="16" end="23" type="uint" default="2"/> 1809 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 1810 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1811 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1812 <field name="Interface Descriptor Total Length" start="64" end="80" type="uint"/> 1813 <field name="Interface Descriptor Data Start Address" start="96" end="127" type="offset"/> 1814 </instruction> 1815 1816 <instruction name="MEDIA_OBJECT" bias="2" engine="render"> 1817 <field name="DWord Length" start="0" end="15" type="uint" default="4"/> 1818 <field name="Media Command Sub-Opcode" start="16" end="23" type="uint" default="0"/> 1819 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 1820 <field name="Media Command Pipeline" start="27" end="28" type="uint" default="2"/> 1821 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1822 <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/> 1823 <field name="Indirect Data Length" start="64" end="80" type="uint"/> 1824 <field name="Half-Slice Destination Select" start="81" end="82" type="uint"> 1825 <value name="Half-Slice 1" value="2"/> 1826 <value name="Half-Slice 0" value="1"/> 1827 <value name="Either half-slice" value="0"/> 1828 </field> 1829 <field name="Use Scoreboard" start="85" end="85" type="uint"> 1830 <value name="Not using scoreboard" value="0"/> 1831 <value name="Using scoreboard" value="1"/> 1832 </field> 1833 <field name="Thread Synchronization" start="88" end="88" type="uint"> 1834 <value name="No thread synchronization" value="0"/> 1835 <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/> 1836 </field> 1837 <field name="Children Present" start="95" end="95" type="bool"/> 1838 <field name="Indirect Data Start Address" start="96" end="127" type="address"/> 1839 <field name="Scoreboard X" start="128" end="136" type="uint"/> 1840 <field name="Scoredboard Y" start="144" end="152" type="uint"/> 1841 <field name="Scoreboard Mask" start="160" end="167" type="uint"/> 1842 <field name="Scoreboard Color" start="176" end="179" type="uint"/> 1843 <group count="0" start="192" size="32"> 1844 <field name="Inline Data" start="0" end="31" type="uint"/> 1845 </group> 1846 </instruction> 1847 1848 <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render"> 1849 <field name="DWord Length" start="0" end="15" type="uint" default="14"/> 1850 <field name="SubOpcode" start="16" end="23" type="uint" default="2"/> 1851 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 1852 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1853 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1854 <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/> 1855 <field name="PRT_FenceType" start="86" end="86" type="uint"> 1856 <value name="Root thread queue" value="0"/> 1857 <value name="VFE state flush" value="1"/> 1858 </field> 1859 <field name="PRT_Fence Needed" start="87" end="87" type="bool"/> 1860 <field name="Children Present" start="95" end="95" type="bool"/> 1861 <group count="12" start="128" size="32"> 1862 <field name="Inline Data" start="0" end="31" type="uint"/> 1863 </group> 1864 </instruction> 1865 1866 <instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render"> 1867 <field name="DWord Length" start="0" end="15" type="uint" default="15"/> 1868 <field name="SubOpcode" start="16" end="23" type="uint" default="3"/> 1869 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 1870 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1871 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1872 <field name="Interface Descriptor Offset" start="32" end="36" type="uint"/> 1873 <field name="Indirect Data Length" start="64" end="80" type="uint"/> 1874 <field name="Use Scoreboard" start="85" end="85" type="uint"> 1875 <value name="Not using scoreboard" value="0"/> 1876 <value name="Using scoreboard" value="1"/> 1877 </field> 1878 <field name="Thread Synchronization" start="88" end="88" type="uint"> 1879 <value name="No thread synchronization" value="0"/> 1880 <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1"/> 1881 </field> 1882 <field name="Children Present" start="95" end="95" type="uint"/> 1883 <field name="Indirect Data Start Address" start="96" end="127" type="offset"/> 1884 <field name="Scoreboard Mask" start="160" end="167" type="uint"/> 1885 <field name="Mid-Loop Unit X" start="200" end="201" type="int"/> 1886 <field name="Local Mid-Loop Unit Y" start="204" end="205" type="int"/> 1887 <field name="Middle Loop Extra Steps" start="208" end="212" type="uint"/> 1888 <field name="Color Count Minus One" start="216" end="219" type="uint"/> 1889 <field name="Repel" start="222" end="222" type="uint"/> 1890 <field name="Dual Mode" start="223" end="223" type="uint"/> 1891 <field name="Local Loop Exec Count" start="224" end="233" type="uint"/> 1892 <field name="Global Loop Exec Count" start="240" end="249" type="uint"/> 1893 <field name="Block Resolution X" start="256" end="264" type="uint"/> 1894 <field name="Block Resolution Y" start="272" end="280" type="uint"/> 1895 <field name="Local Start X" start="288" end="296" type="uint"/> 1896 <field name="Local Start Y" start="304" end="312" type="uint"/> 1897 <field name="Local End X" start="320" end="328" type="uint"/> 1898 <field name="Local End Y" start="336" end="344" type="uint"/> 1899 <field name="Local Outer Loop Stride X" start="352" end="361" type="int"/> 1900 <field name="Local Outer Loop Stride Y" start="368" end="377" type="int"/> 1901 <field name="Local Inner Loop Unit X" start="384" end="393" type="int"/> 1902 <field name="Local Inner Loop Unit Y" start="400" end="409" type="int"/> 1903 <field name="Global Resolution X" start="416" end="424" type="uint"/> 1904 <field name="Global Resolution Y" start="432" end="440" type="uint"/> 1905 <field name="Global Start X" start="448" end="457" type="int"/> 1906 <field name="Global Start Y" start="464" end="473" type="int"/> 1907 <field name="Global Outer Loop Stride X" start="480" end="489" type="int"/> 1908 <field name="Global Outer Loop Stride Y" start="496" end="505" type="int"/> 1909 <field name="Global Inner Loop Unit X" start="512" end="521" type="int"/> 1910 <field name="Global Inner Loop Unit Y" start="528" end="537" type="int"/> 1911 <group count="0" start="544" size="32"> 1912 <field name="Inline Data" start="0" end="31" type="uint"/> 1913 </group> 1914 </instruction> 1915 1916 <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render"> 1917 <field name="DWord Length" start="0" end="15" type="uint" default="0"/> 1918 <field name="SubOpcode" start="16" end="23" type="uint" default="4"/> 1919 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 1920 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1921 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1922 <field name="Interface Descriptor Offset" start="32" end="37" type="uint"/> 1923 <field name="Watermark Required" start="38" end="38" type="uint"/> 1924 </instruction> 1925 1926 <instruction name="MEDIA_VFE_STATE" bias="2" length="8" engine="render"> 1927 <field name="DWord Length" start="0" end="15" type="uint" default="6"/> 1928 <field name="SubOpcode" start="16" end="23" type="uint" default="0"/> 1929 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 1930 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1931 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1932 <field name="Per Thread Scratch Space" start="32" end="35" type="uint"/> 1933 <field name="Scratch Space Base Pointer" start="42" end="63" type="address"/> 1934 <field name="GPGPU Mode" start="66" end="66" type="uint"/> 1935 <field name="Gateway MMIO Access Control" start="67" end="68" type="uint"> 1936 <value name="No MMIO read/write allowed" value="0"/> 1937 <value name="MMIO read/write to any address" value="2"/> 1938 </field> 1939 <field name="Bypass Gateway Control" start="70" end="70" type="uint"> 1940 <value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/> 1941 <value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/> 1942 </field> 1943 <field name="Reset Gateway Timer" start="71" end="71" type="uint"> 1944 <value name="Maintaining the existing timestamp state" value="0"/> 1945 <value name="Resetting relative timer and latching the global timestamp" value="1"/> 1946 </field> 1947 <field name="Number of URB Entries" start="72" end="79" type="uint"/> 1948 <field name="Maximum Number of Threads" start="80" end="95" type="uint"/> 1949 <field name="CURBE Allocation Size" start="128" end="143" type="uint"/> 1950 <field name="URB Entry Allocation Size" start="144" end="159" type="uint"/> 1951 <field name="Scoreboard Mask" start="160" end="167" type="uint"/> 1952 <field name="Scoreboard Type" start="190" end="190" type="uint"> 1953 <value name="Stalling Scoreboard" value="0"/> 1954 <value name="Non-Stalling Scoreboard" value="1"/> 1955 </field> 1956 <field name="Scoreboard Enable" start="191" end="191" type="uint"> 1957 <value name="Scoreboard disabled" value="0"/> 1958 <value name="Scoreboard enabled" value="1"/> 1959 </field> 1960 <field name="Scoreboard 0 Delta X" start="192" end="195" type="int"/> 1961 <field name="Scoreboard 0 Delta Y" start="196" end="199" type="int"/> 1962 <field name="Scoreboard 1 Delta X" start="200" end="203" type="int"/> 1963 <field name="Scoreboard 1 Delta Y" start="204" end="207" type="int"/> 1964 <field name="Scoreboard 2 Delta X" start="208" end="211" type="int"/> 1965 <field name="Scoreboard 2 Delta Y" start="212" end="215" type="int"/> 1966 <field name="Scoreboard 3 Delta X" start="216" end="219" type="int"/> 1967 <field name="Scoreboard 3 Delta Y" start="220" end="223" type="int"/> 1968 <field name="Scoreboard 4 Delta X" start="224" end="227" type="int"/> 1969 <field name="Scoreboard 4 Delta Y" start="228" end="231" type="int"/> 1970 <field name="Scoreboard 5 Delta X" start="232" end="235" type="int"/> 1971 <field name="Scoreboard 5 Delta Y" start="236" end="239" type="int"/> 1972 <field name="Scoreboard 6 Delta X" start="240" end="243" type="int"/> 1973 <field name="Scoreboard 6 Delta Y" start="244" end="247" type="int"/> 1974 <field name="Scoreboard 7 Delta X" start="248" end="251" type="int"/> 1975 <field name="Scoreboard 7 Delta Y" start="252" end="255" type="int"/> 1976 </instruction> 1977 1978 <instruction name="MFC_AVC_PAK_OBJECT" bias="2" length="11" engine="video"> 1979 <field name="DWord Length" start="0" end="11" type="uint" default="9"/> 1980 <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/> 1981 <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/> 1982 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 1983 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 1984 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1985 <field name="Indirect PAK-MV Data Length" start="32" end="41" type="uint"/> 1986 <field name="Indirect PAK-MV Data Start Address Offset" start="64" end="92" type="offset"/> 1987 <group count="8" start="96" size="32"> 1988 <field name="Inline Data" start="0" end="31" type="uint"/> 1989 </group> 1990 <group count="12" start="352" size="32"> 1991 <field name="VDEnc Mode Inline Data" start="0" end="31" type="uint"/> 1992 </group> 1993 </instruction> 1994 1995 <instruction name="MFC_MPEG2_PAK_OBJECT" bias="2" length="9" engine="video"> 1996 <field name="DWord Length" start="0" end="11" type="uint" default="7"/> 1997 <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/> 1998 <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/> 1999 <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/> 2000 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2001 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2002 <group count="8" start="32" size="32"> 2003 <field name="Inline Data" start="0" end="31" type="uint"/> 2004 </group> 2005 </instruction> 2006 2007 <instruction name="MFC_MPEG2_SLICEGROUP_STATE" bias="2" length="8" engine="video"> 2008 <field name="DWord Length" start="0" end="11" type="uint" default="6"/> 2009 <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/> 2010 <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/> 2011 <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/> 2012 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2013 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2014 <field name="Stream ID" start="32" end="33" type="uint"/> 2015 <field name="Slice ID" start="36" end="39" type="uint"/> 2016 <field name="Intra Slice Flag" start="44" end="44" type="bool"/> 2017 <field name="Intra Slice" start="45" end="45" type="bool"/> 2018 <field name="First Slice Header Disable" start="46" end="46" type="bool"/> 2019 <field name="Tail Insertion Present" start="47" end="47" type="bool"/> 2020 <field name="Slice Data Insertion Present" start="48" end="48" type="bool"/> 2021 <field name="Header Insertion Present" start="49" end="49" type="bool"/> 2022 <field name="Compressed BitStream Output Disable" start="50" end="50" type="bool"/> 2023 <field name="Last Slice" start="51" end="51" type="bool"/> 2024 <field name="MB Type Skip Conversion Disable" start="52" end="52" type="bool"/> 2025 <field name="Rate Control Panic Type" start="54" end="54" type="uint"> 2026 <value name="QP Panic" value="0"/> 2027 <value name="CBP Panic" value="1"/> 2028 </field> 2029 <field name="Rate Control Panic Enable" start="55" end="55" type="bool"/> 2030 <field name="Rate Control Stable Tolerance" start="56" end="59" type="uint"/> 2031 <field name="Rate Control Triggle Mode" start="60" end="61" type="uint"> 2032 <value name="Always Rate Control" value="0"/> 2033 <value name="Gentle Rate Control" value="1"/> 2034 <value name="Loose Rate Control" value="2"/> 2035 </field> 2036 <field name="Reset Rate Control Counter" start="62" end="62" type="bool"/> 2037 <field name="Rate Control Counter Enable" start="63" end="63" type="bool"/> 2038 <field name="First MB X Count" start="64" end="71" type="uint"/> 2039 <field name="First MB Y Count" start="72" end="79" type="uint"/> 2040 <field name="Next Slice Group MB X Count" start="80" end="87" type="uint"/> 2041 <field name="Next Slice Group MB Y Count" start="88" end="95" type="uint"/> 2042 <field name="Slice Group QP" start="96" end="101" type="uint"/> 2043 <field name="Slice Group Skip" start="104" end="104" type="bool"/> 2044 <field name="Indirect PAK-BSE Data Start Address" start="128" end="156" type="offset"/> 2045 <field name="Grow Init" start="160" end="163" type="uint"/> 2046 <field name="Grow Resistance" start="164" end="167" type="uint"/> 2047 <field name="Shrink Init" start="168" end="171" type="uint"/> 2048 <field name="Shrink Resistance" start="172" end="175" type="uint"/> 2049 <field name="QP Max Positive Modifier Magnitude" start="176" end="183" type="uint"/> 2050 <field name="QP Max Negative Modifier Magnitude" start="184" end="191" type="uint"/> 2051 <field name="Correct 1" start="192" end="195" type="uint"/> 2052 <field name="Correct 2" start="196" end="199" type="uint"/> 2053 <field name="Correct 3" start="200" end="203" type="uint"/> 2054 <field name="Correct 4" start="204" end="207" type="uint"/> 2055 <field name="Correct 5" start="208" end="211" type="uint"/> 2056 <field name="Correct 6" start="212" end="215" type="uint"/> 2057 <field name="CV0" start="224" end="227" type="uint"/> 2058 <field name="CV1" start="228" end="231" type="uint"/> 2059 <field name="CV2" start="232" end="235" type="uint"/> 2060 <field name="CV3" start="236" end="239" type="uint"/> 2061 <field name="CV4" start="240" end="243" type="uint"/> 2062 <field name="CV5" start="244" end="247" type="uint"/> 2063 <field name="CV6" start="248" end="251" type="uint"/> 2064 <field name="CV7" start="252" end="255" type="uint"/> 2065 </instruction> 2066 2067 <instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="6" engine="video"> 2068 <field name="DWord Length" start="0" end="11" type="uint" default="4"/> 2069 <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/> 2070 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2071 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2072 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2073 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2074 <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/> 2075 <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/> 2076 <field name="Inline Data" start="96" end="191" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT"/> 2077 </instruction> 2078 2079 <instruction name="MFD_AVC_DPB_STATE" bias="2" length="11" engine="video"> 2080 <field name="DWord Length" start="0" end="11" type="uint" default="9"/> 2081 <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/> 2082 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2083 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2084 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2085 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2086 <group count="16" start="32" size="1"> 2087 <field name="Non-Existing Frame" start="0" end="0" type="uint"> 2088 <value name="INVALID" value="1"/> 2089 <value name="VALID" value="0"/> 2090 </field> 2091 </group> 2092 <group count="16" start="48" size="1"> 2093 <field name="Long Term Frame" start="0" end="0" type="uint"/> 2094 </group> 2095 <group count="16" start="64" size="2"> 2096 <field name="Used for Reference" start="0" end="1" type="uint"> 2097 <value name="NOT_REFERENCE" value="0"/> 2098 <value name="TOP_FIELD" value="1"/> 2099 <value name="BOTTOM_FIELD" value="2"/> 2100 <value name="FRAME" value="3"/> 2101 </field> 2102 </group> 2103 <group count="16" start="96" size="16"> 2104 <field name="LTST Frame Number List" start="0" end="15" type="uint" prefix="LTST"> 2105 <value name="Long Term Frame" value="1"/> 2106 <value name="Short Term Frame" value="0"/> 2107 </field> 2108 </group> 2109 </instruction> 2110 2111 <instruction name="MFD_AVC_SLICEADDR" bias="2" length="3" engine="video"> 2112 <field name="DWord Length" start="0" end="11" type="uint" default="1"/> 2113 <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/> 2114 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2115 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2116 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2117 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2118 <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/> 2119 <field name="Indirect BSD Data Start Address" start="64" end="92" type="address"/> 2120 </instruction> 2121 2122 <instruction name="MFD_IT_OBJECT" bias="2" engine="video"> 2123 <field name="DWord Length" start="0" end="11" type="uint" default="6"/> 2124 <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/> 2125 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2126 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 2127 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2128 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2129 <field name="Indirect IT-MV Data Length" start="32" end="41" type="uint"/> 2130 <field name="Indirect IT-MV Data Start Address Offset" start="64" end="92" type="offset"/> 2131 <field name="Indirect IT-COEFF Data Length" start="96" end="107" type="uint"/> 2132 <field name="Indirect IT-COEFF Data Start Address Offset" start="128" end="156" type="offset"/> 2133 <field name="Indirect IT-DBLK Control Data Length" start="160" end="165" type="uint"/> 2134 <field name="Indirect IT-DBLK Control Data Start Address Offset" start="192" end="220" type="offset"/> 2135 <group count="0" start="224" size="32"> 2136 <field name="Inline Data" start="0" end="31" type="uint"/> 2137 </group> 2138 </instruction> 2139 2140 <instruction name="MFD_JPEG_BSD_OBJECT" bias="2" length="6" engine="video"> 2141 <field name="DWord Length" start="0" end="11" type="uint" default="4"/> 2142 <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/> 2143 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2144 <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/> 2145 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2146 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2147 <field name="Indirect Data Length" start="32" end="63" type="uint"/> 2148 <field name="Indirect Data Start Address" start="64" end="92" type="offset"/> 2149 <field name="Scan Vertical Position" start="96" end="108" type="uint"/> 2150 <field name="Scan Horizontal Position" start="112" end="124" type="uint"/> 2151 <field name="MCU Count" start="128" end="153" type="uint"/> 2152 <field name="Scan Components" start="155" end="157" type="uint"/> 2153 <field name="Interleaved" start="158" end="158" type="bool"/> 2154 <field name="Restart Interval" start="160" end="175" type="uint"/> 2155 </instruction> 2156 2157 <instruction name="MFD_MPEG2_BSD_OBJECT" bias="2" length="5" engine="video"> 2158 <field name="DWord Length" start="0" end="11" type="uint" default="3"/> 2159 <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/> 2160 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2161 <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/> 2162 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2163 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2164 <field name="Indirect BSD Data Length" start="32" end="63" type="uint"/> 2165 <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/> 2166 <field name="Inline Data" start="96" end="159" type="MFD_MPEG2_BSD_OBJECT_INLINE_DATA_DESCRIPTION"/> 2167 </instruction> 2168 2169 <instruction name="MFD_VC1_BSD_OBJECT" bias="2" length="5" engine="video"> 2170 <field name="DWord Length" start="0" end="11" type="uint" default="3"/> 2171 <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/> 2172 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2173 <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/> 2174 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2175 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2176 <field name="Indirect BSD Data Length" start="32" end="55" type="uint"/> 2177 <field name="Indirect BSD Data Start Address" start="64" end="92" type="offset"/> 2178 <field name="Next Slice Vertical Position" start="96" end="104" type="uint"/> 2179 <field name="Slice Start Vertical Position" start="112" end="119" type="uint"/> 2180 <field name="First MB Bit Offset" start="128" end="130" type="uint"/> 2181 <field name="Emulation Prevention Byte Present" start="132" end="132" type="bool"/> 2182 <field name="First MB Byte Offset of Slice Data or Slice Header" start="144" end="159" type="uint"/> 2183 </instruction> 2184 2185 <instruction name="MFD_VC1_LONG_PIC_STATE" bias="2" length="6" engine="video"> 2186 <field name="DWord Length" start="0" end="11" type="uint" default="4"/> 2187 <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/> 2188 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2189 <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/> 2190 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2191 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2192 <field name="Picture Width In MBs" start="32" end="39" type="uint"/> 2193 <field name="Picture Height In MBs" start="48" end="55" type="uint"/> 2194 <field name="VC1 Profile" start="64" end="64" type="uint"> 2195 <value name="Simple/Main Profile" value="0"/> 2196 <value name="Advanced Profile" value="1"/> 2197 </field> 2198 <field name="Second Field" start="67" end="67" type="bool"/> 2199 <field name="Overlap Smoothing Enable" start="68" end="68" type="bool"/> 2200 <field name="Loop Filter Enable" start="69" end="69" type="bool"/> 2201 <field name="Range Reduction Enable" start="70" end="70" type="bool"/> 2202 <field name="Range Reduction Scale" start="71" end="71" type="uint"/> 2203 <field name="MV Mode" start="72" end="75" type="uint"/> 2204 <field name="Sync Marker" start="76" end="76" type="bool"/> 2205 <field name="Interpolation Rounder Control" start="77" end="77" type="bool"/> 2206 <field name="Implicit Quantizer" start="78" end="78" type="bool"/> 2207 <field name="DMV Surface Valid" start="79" end="79" type="bool"/> 2208 <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/> 2209 <field name="B Scale Factor" start="96" end="103" type="uint"/> 2210 <field name="PQ Value" start="104" end="108" type="uint"/> 2211 <field name="Alternative PQ Value" start="112" end="116" type="uint"/> 2212 <field name="Frame Coding Mode" start="120" end="121" type="uint"> 2213 <value name="Progressive Frame Picture" value="0"/> 2214 <value name="Interlaced Frame Picture" value="1"/> 2215 <value name="Field Picture with Top Field First" value="2"/> 2216 <value name="Field Picture with Bottom Field First" value="3"/> 2217 </field> 2218 <field name="Picure Type" start="122" end="124" type="uint"/> 2219 <field name="CONDOVER" start="125" end="126" type="uint"/> 2220 <field name="PQ Uniform" start="128" end="128" type="bool"/> 2221 <field name="Half QP" start="129" end="129" type="bool"/> 2222 <field name="Alternative PQ Configuration" start="130" end="131" type="uint"/> 2223 <field name="Alternative PQ Edge Mask" start="132" end="135" type="uint"/> 2224 <field name="Extended MV Range" start="136" end="137" type="uint"/> 2225 <field name="Extended DMV Range" start="138" end="139" type="uint"/> 2226 <field name="Forward Reference Distance" start="144" end="147" type="uint"/> 2227 <field name="Backward Reference Distance" start="148" end="151" type="uint"/> 2228 <field name="Number of References" start="152" end="152" type="uint"> 2229 <value name="One field referenced" value="0"/> 2230 <value name="Two fields referenced" value="1"/> 2231 </field> 2232 <field name="Reference Field Picture Polarity" start="153" end="153" type="uint"> 2233 <value name="Top (even) Field" value="0"/> 2234 <value name="Bottom (odd) Field" value="1"/> 2235 </field> 2236 <field name="Fast UV Motion Compensation" start="154" end="154" type="uint"> 2237 <value name="No Rounding" value="0"/> 2238 <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/> 2239 </field> 2240 <field name="Four MV Switch" start="155" end="155" type="uint"> 2241 <value name="Only 1-MV" value="0"/> 2242 <value name="1, 2, or 4 MVs" value="1"/> 2243 </field> 2244 <field name="Unified MV Mode" start="156" end="157" type="uint"> 2245 <value name="1-MV half-pel bilinear" value="3"/> 2246 <value name="1-MV" value="1"/> 2247 <value name="1-MV half-pel" value="2"/> 2248 <value name="Mixed MV" value="0"/> 2249 </field> 2250 <field name="Coded Block Pattern Table" start="160" end="162" type="uint"/> 2251 <field name="Intra Transform DC Table" start="163" end="163" type="uint"/> 2252 <field name="Picture-level Transform Chroma AC Coding Set Index" start="164" end="165" type="uint"/> 2253 <field name="Picture-level Transform Luma AC Coding Set Index" start="166" end="167" type="uint"/> 2254 <field name="MB Mode Table" start="168" end="170" type="uint"/> 2255 <field name="MB Transform Type" start="171" end="171" type="bool"/> 2256 <field name="Picture-level Transform Type" start="172" end="173" type="uint"> 2257 <value name="8x8 Transform" value="0"/> 2258 <value name="8x4 Transform" value="1"/> 2259 <value name="4x8 Transform" value="2"/> 2260 <value name="4x4 Transform" value="3"/> 2261 </field> 2262 <field name="2-MV Block Pattern Table" start="176" end="177" type="uint"/> 2263 <field name="4-MV Block Pattern Table" start="178" end="179" type="uint"/> 2264 <field name="MV Table" start="180" end="182" type="uint"/> 2265 <field name="FIELDTX Raw" start="184" end="184" type="bool"/> 2266 <field name="ACPRED Raw" start="185" end="185" type="bool"/> 2267 <field name="OVERFLAGS Raw" start="186" end="186" type="bool"/> 2268 <field name="DIRECTMB Raw" start="187" end="187" type="bool"/> 2269 <field name="SKIPMB Raw" start="188" end="188" type="bool"/> 2270 <field name="MVTYPEMB Raw" start="189" end="189" type="bool"/> 2271 <field name="FORWARDMB Raw" start="190" end="190" type="bool"/> 2272 <field name="Bitplane Buffer Present" start="191" end="191" type="bool"/> 2273 </instruction> 2274 2275 <instruction name="MFD_VC1_SHORT_PIC_STATE" bias="2" length="5" engine="video"> 2276 <field name="DWord Length" start="0" end="11" type="uint" default="3"/> 2277 <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/> 2278 <field name="SubOpcode A" start="21" end="23" type="uint" default="1"/> 2279 <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/> 2280 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2281 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2282 <field name="Picture Width" start="32" end="39" type="uint"/> 2283 <field name="Picture Height" start="48" end="55" type="uint"/> 2284 <field name="Picture Structure" start="64" end="65" type="uint"/> 2285 <field name="Second Field" start="67" end="67" type="bool"/> 2286 <field name="Intra Picture" start="68" end="68" type="bool"/> 2287 <field name="Backward Prediction Present" start="69" end="69" type="bool"/> 2288 <field name="VC1 Profile" start="75" end="75" type="uint"> 2289 <value name="Simple/Main Profile" value="0"/> 2290 <value name="Advanced Profile" value="1"/> 2291 </field> 2292 <field name="DMV Surface Valid" start="79" end="79" type="bool"/> 2293 <field name="MV Mode" start="80" end="83" type="uint"/> 2294 <field name="Interpolation Rounder Control" start="87" end="87" type="bool"/> 2295 <field name="Bitplane Buffer Pitch" start="88" end="95" type="uint"/> 2296 <field name="variable-sized transform coding" start="96" end="96" type="bool"/> 2297 <field name="DQUANT" start="97" end="98" type="uint"/> 2298 <field name="EXTENDED_MV Present" start="99" end="99" type="bool"/> 2299 <field name="Fast UV Motion Compensation" start="100" end="100" type="uint"> 2300 <value name="No Rounding" value="0"/> 2301 <value name="Quarter-Pel offsets to Half/Full pel positions" value="1"/> 2302 </field> 2303 <field name="Loop Filter Enable" start="101" end="101" type="bool"/> 2304 <field name="REFDIST_FLAG" start="102" end="102" type="bool"/> 2305 <field name="PANSCAN Present" start="103" end="103" type="bool"/> 2306 <field name="MAXBFRAMES" start="104" end="106" type="uint"/> 2307 <field name="RANGERED Present" start="107" end="107" type="bool"/> 2308 <field name="SYNCMARKER Present" start="108" end="108" type="bool"/> 2309 <field name="MULTIRES Present" start="109" end="109" type="bool"/> 2310 <field name="QUANTIZER" start="110" end="111" type="uint"/> 2311 <field name="P-Pic Ref Distance" start="112" end="116" type="uint"/> 2312 <field name="Progressive Pic Type" start="118" end="119" type="uint"/> 2313 <field name="Range Reduction Enable" start="124" end="124" type="uint"/> 2314 <field name="Range Reduction Scale" start="125" end="125" type="uint"/> 2315 <field name="Overlap Smoothing Enable" start="126" end="126" type="bool"/> 2316 <field name="EXTENDED_DMV Present" start="128" end="128" type="bool"/> 2317 <field name="PSF" start="129" end="129" type="bool"/> 2318 <field name="REFPIC" start="130" end="130" type="bool"/> 2319 <field name="FINTERFLAG" start="131" end="131" type="bool"/> 2320 <field name="TFCNTRFLAG" start="132" end="132" type="bool"/> 2321 <field name="INTERLACE" start="133" end="133" type="bool"/> 2322 <field name="PULLDOWN" start="134" end="134" type="bool"/> 2323 <field name="POSTPROC" start="135" end="135" type="bool"/> 2324 <field name="4-MV Allowed" start="136" end="136" type="bool"/> 2325 <field name="BFraction Enumeration" start="152" end="156" type="uint"/> 2326 </instruction> 2327 2328 <instruction name="MFX_AVC_DIRECTMODE_STATE" bias="2" length="69" engine="video"> 2329 <field name="DWord Length" start="0" end="11" type="uint" default="67"/> 2330 <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/> 2331 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2332 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2333 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2334 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2335 <group count="32" start="1056" size="32"> 2336 <field name="Direct MV Buffer - Address" start="6" end="31" type="address"/> 2337 <field name="Direct MV Buffer - Arbitration Priority Control" start="4" end="5" type="uint"> 2338 <value name="Highest priority" value="0"/> 2339 <value name="Second highest priority" value="1"/> 2340 <value name="Third highest priority" value="2"/> 2341 <value name="Lowest priority" value="3"/> 2342 </field> 2343 <field name="Direct MV Buffer - Graphics Data Type" start="2" end="2" type="uint"/> 2344 <field name="Direct MV Buffer - Cacheability Control" start="0" end="1" type="uint"> 2345 <value name="GTT entry" value="0"/> 2346 <value name="Not in LLC or MLC" value="1"/> 2347 <value name="In LLC but not MLC" value="2"/> 2348 <value name="Both LLC and MLC" value="3"/> 2349 </field> 2350 </group> 2351 <group count="2" start="1056" size="32"> 2352 <field name="Direct MV Buffer (Write) - Address" start="6" end="31" type="address"/> 2353 <field name="Direct MV Buffer (Write) - Arbitration Priority Control" start="4" end="5" type="uint"> 2354 <value name="Highest priority" value="0"/> 2355 <value name="Second highest priority" value="1"/> 2356 <value name="Third highest priority" value="2"/> 2357 <value name="Lowest priority" value="3"/> 2358 </field> 2359 <field name="Direct MV Buffer (Write) - Graphics Data Type" start="2" end="2" type="uint"/> 2360 <field name="Direct MV Buffer (Write) - Cacheability Control" start="0" end="1" type="uint"> 2361 <value name="GTT entry" value="0"/> 2362 <value name="Not in LLC or MLC" value="1"/> 2363 <value name="In LLC but not MLC" value="2"/> 2364 <value name="Both LLC and MLC" value="3"/> 2365 </field> 2366 </group> 2367 <group count="34" start="1120" size="32"> 2368 <field name="POC List" start="0" end="31" type="uint"/> 2369 </group> 2370 </instruction> 2371 2372 <instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video"> 2373 <field name="DWord Length" start="0" end="11" type="uint" default="12"/> 2374 <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/> 2375 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2376 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2377 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2378 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2379 <field name="Frame Size" start="32" end="47" type="uint"/> 2380 <field name="Frame Width" start="64" end="71" type="uint"/> 2381 <field name="Frame Height" start="80" end="87" type="uint"/> 2382 <field name="Image Structure" start="104" end="105" type="uint"> 2383 <value name="Frame Picture" value="0"/> 2384 <value name="Top Field Picture" value="1"/> 2385 <value name="Bottom Field Picture" value="3"/> 2386 <value name="Invalid, not allowed." value="2"/> 2387 </field> 2388 <field name="Weighted BiPrediction IDC" start="106" end="107" type="uint"> 2389 <value name="DEFAULT" value="0"/> 2390 <value name="EXPLICIT" value="1"/> 2391 <value name="IMPLICIT" value="2"/> 2392 </field> 2393 <field name="Weighted Prediction Enable" start="108" end="108" type="bool"/> 2394 <field name="First Chroma QP Offset" start="112" end="116" type="uint"/> 2395 <field name="Second Chroma QP Offset" start="120" end="124" type="uint"/> 2396 <field name="Field Picure" start="128" end="128" type="bool"/> 2397 <field name="MBAFF Mode" start="129" end="129" type="bool"/> 2398 <field name="Frame MB Only" start="130" end="130" type="bool"/> 2399 <field name="8x8 IDCT Transform Mode" start="131" end="131" type="bool"/> 2400 <field name="Direct 8x8 Inference" start="132" end="132" type="bool"/> 2401 <field name="Constrained Intra Prediction" start="133" end="133" type="bool"/> 2402 <field name="Non-Reference Picture" start="134" end="134" type="bool"/> 2403 <field name="Entropy Coding Sync Enable" start="135" end="135" type="bool"/> 2404 <field name="MB MV Format" start="136" end="136" type="uint"> 2405 <value name="IGNORE" value="0"/> 2406 <value name="FOLLOW" value="1"/> 2407 </field> 2408 <field name="Chroma Format IDC" start="138" end="139" type="uint"> 2409 <value name="Monochrome picture" value="0"/> 2410 <value name="4:2:0 picture" value="1"/> 2411 <value name="4:2:2 picture (not supported)" value="2"/> 2412 <value name="4:4:4 picture (not supported)" value="3"/> 2413 </field> 2414 <field name="MV Unpacked Enable" start="140" end="140" type="bool"/> 2415 <field name="Load Bitstream Pointer Per Slice" start="142" end="142" type="bool"/> 2416 <field name="MB Status Read" start="143" end="143" type="bool"/> 2417 <field name="Minimum Frame Size" start="144" end="159" type="uint"/> 2418 <field name="Intra MB Max Bit Control" start="160" end="160" type="bool"/> 2419 <field name="Inter MB Max Bit Control" start="161" end="161" type="bool"/> 2420 <field name="Frame Bitrate Max Report" start="162" end="162" type="bool"/> 2421 <field name="Frame Bitrate Min Report" start="163" end="163" type="bool"/> 2422 <field name="Force IPCM Control" start="167" end="167" type="bool"/> 2423 <field name="MB Level Rate Control" start="169" end="169" type="bool"/> 2424 <field name="Minimum Frame Size Units" start="170" end="171" type="uint"> 2425 <value name="Compatibility mode" value="0"/> 2426 <value name="16 bytes" value="1"/> 2427 <value name="4Kb" value="2"/> 2428 <value name="16Kb" value="3"/> 2429 </field> 2430 <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="bool"/> 2431 <field name="Non First Pass" start="176" end="176" type="uint"/> 2432 <field name="Trellis Quantization Chroma Disable" start="187" end="187" type="bool"/> 2433 <field name="Trellis Quantization Rounding" start="188" end="190" type="uint"/> 2434 <field name="Trellis Quantization Enable" start="191" end="191" type="bool"/> 2435 <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/> 2436 <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/> 2437 <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/> 2438 <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/> 2439 <field name="Slice Delta QP Max[2]" start="272" end="279" type="uint"/> 2440 <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/> 2441 <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/> 2442 <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/> 2443 <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/> 2444 <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/> 2445 <field name="Frame Bitrate Min" start="320" end="333" type="uint"/> 2446 <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint"> 2447 <value name="Compatibility mode" value="0"/> 2448 <value name="New mode" value="1"/> 2449 </field> 2450 <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/> 2451 <field name="Frame Bitrate Max" start="336" end="349" type="uint"/> 2452 <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint"> 2453 <value name="Compatibility mode" value="0"/> 2454 <value name="New mode" value="1"/> 2455 </field> 2456 <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/> 2457 <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/> 2458 <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/> 2459 <field name="Slice Stats Stream-Out Enable" start="383" end="383" type="bool"/> 2460 <field name="Initial QP Value" start="416" end="423" type="int"/> 2461 <field name="Number of Active Reference Pictures from L0" start="424" end="429" type="uint"/> 2462 <field name="Number of Active Reference Pictures from L1" start="432" end="437" type="uint"/> 2463 <field name="Number of Reference Frames" start="440" end="444" type="uint"/> 2464 <field name="Current Picture Has Performed MMCO5" start="445" end="445" type="bool"/> 2465 <field name="Pic Order Present" start="448" end="448" type="bool"/> 2466 <field name="Delta Pic Order Always Zero" start="449" end="449" type="bool"/> 2467 <field name="Pic Order Count Type" start="450" end="451" type="uint"/> 2468 <field name="Slice Group Map Type" start="456" end="458" type="uint"/> 2469 <field name="Redundant Pic Count Present" start="459" end="459" type="bool"/> 2470 <field name="Number of Slice Groups" start="460" end="462" type="uint"/> 2471 <field name="Deblocking Filter Control Present" start="463" end="463" type="bool"/> 2472 <field name="Log2 Max Frame Number" start="464" end="471" type="uint"/> 2473 <field name="Log2 Max Pic Order Count LSB" start="472" end="479" type="uint"/> 2474 <field name="Slice Group Change Rate" start="480" end="495" type="uint"/> 2475 <field name="Current Picture Frame Number" start="496" end="511" type="uint"/> 2476 </instruction> 2477 2478 <instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video"> 2479 <field name="DWord Length" start="0" end="11" type="uint" default="8"/> 2480 <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/> 2481 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2482 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2483 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2484 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2485 <field name="Reference Picture List Select" start="32" end="32" type="uint"/> 2486 <group count="32" start="64" size="8"> 2487 <field name="Reference List Entry" start="0" end="7" type="uint"/> 2488 </group> 2489 </instruction> 2490 2491 <instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video"> 2492 <field name="DWord Length" start="0" end="11" type="uint" default="8"/> 2493 <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/> 2494 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2495 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2496 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2497 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2498 <field name="Slice Type" start="32" end="35" type="uint"> 2499 <value name="P Slice" value="0"/> 2500 <value name="B Slice" value="1"/> 2501 <value name="I Slice" value="2"/> 2502 </field> 2503 <field name="Log2 Weight Denominator Luma" start="64" end="66" type="uint"/> 2504 <field name="Log2 Weight Denominator Chroma" start="72" end="74" type="uint"/> 2505 <field name="Number of Reference Pictures in Inter-prediction List 0" start="80" end="85" type="uint"/> 2506 <field name="Number of Reference Pictures in Inter-prediction List 1" start="88" end="93" type="uint"/> 2507 <field name="Slice Alpha C0 Offset Div2" start="96" end="99" type="int"/> 2508 <field name="Slice Beta Offset Div2" start="104" end="107" type="int"/> 2509 <field name="Slice Quantization Parameter" start="112" end="117" type="uint"/> 2510 <field name="CABAC Init IDC" start="120" end="121" type="uint"/> 2511 <field name="Disable Deblocking Filter Indicator" start="123" end="124" type="uint"/> 2512 <field name="Direct Prediction Type" start="125" end="125" type="uint"> 2513 <value name="Temporal" value="0"/> 2514 <value name="Spatial" value="1"/> 2515 </field> 2516 <field name="Weighted Prediction Indicator" start="126" end="127" type="uint"/> 2517 <field name="Slice Start MB Number" start="128" end="142" type="uint"/> 2518 <field name="Slice Horizontal Position" start="144" end="151" type="uint"/> 2519 <field name="Slice Vertical Position" start="152" end="159" type="uint"/> 2520 <field name="Next Slice Horizontal Position" start="160" end="167" type="uint"/> 2521 <field name="Next Slice Vertical Position" start="176" end="183" type="uint"/> 2522 <field name="Stream ID" start="192" end="193" type="uint"/> 2523 <field name="Slice ID" start="196" end="199" type="uint"/> 2524 <field name="CABAC Zero Word Insertion Enable" start="204" end="204" type="bool"/> 2525 <field name="Emulation Byte Slice Insert Enable" start="205" end="205" type="bool"/> 2526 <field name="Tail Insertion Present" start="207" end="207" type="bool"/> 2527 <field name="Slice Data Insertion Present" start="208" end="208" type="bool"/> 2528 <field name="Header Insertion Present" start="209" end="209" type="bool"/> 2529 <field name="Last Slice Group" start="211" end="211" type="bool"/> 2530 <field name="MB Type Skip Conversion Disable" start="212" end="212" type="bool"/> 2531 <field name="MB Type Direct Conversion Disable" start="213" end="213" type="bool"/> 2532 <field name="Rate Control Panic Type" start="214" end="214" type="uint"> 2533 <value name="QP Panic" value="0"/> 2534 <value name="CBP Panic" value="1"/> 2535 </field> 2536 <field name="Rate Control Panic Enable" start="215" end="215" type="bool"/> 2537 <field name="Rate Control Stable Tolerance" start="216" end="219" type="uint"/> 2538 <field name="Rate Control Triggle Mode" start="220" end="221" type="uint"> 2539 <value name="Always Rate Control" value="0"/> 2540 <value name="Gentle Rate Control" value="1"/> 2541 <value name="Loose Rate Control" value="2"/> 2542 </field> 2543 <field name="Reset Rate Control Counter" start="222" end="222" type="bool"/> 2544 <field name="Rate Control Counter Enable" start="223" end="223" type="uint"/> 2545 <field name="Indirect PAK-BSE Data Start Address" start="224" end="252" type="offset"/> 2546 <field name="Grow Init" start="256" end="259" type="uint"/> 2547 <field name="Grow Resistance" start="260" end="263" type="uint"/> 2548 <field name="Shrink Init" start="264" end="267" type="uint"/> 2549 <field name="Shrink Resistance" start="268" end="271" type="uint"/> 2550 <field name="QP Max Positive Modifier Magnitude" start="272" end="279" type="uint"/> 2551 <field name="QP Max Negative Modifier Magnitude" start="280" end="287" type="uint"/> 2552 <field name="Correct 1" start="288" end="291" type="uint"/> 2553 <field name="Correct 2" start="292" end="295" type="uint"/> 2554 <field name="Correct 3" start="296" end="299" type="uint"/> 2555 <field name="Correct 4" start="300" end="303" type="uint"/> 2556 <field name="Correct 5" start="304" end="307" type="uint"/> 2557 <field name="Correct 6" start="308" end="311" type="uint"/> 2558 <field name="Round Intra" start="312" end="314" type="uint"> 2559 <value name="+1/16" value="0"/> 2560 <value name="+2/16" value="1"/> 2561 <value name="+3/16" value="2"/> 2562 <value name="+4/16" value="3"/> 2563 <value name="+5/16" value="4"/> 2564 <value name="+6/16" value="5"/> 2565 <value name="+7/16" value="6"/> 2566 <value name="+8/16" value="7"/> 2567 </field> 2568 <field name="Round Intra Enable" start="315" end="315" type="bool"/> 2569 <field name="Round Inter" start="316" end="318" type="uint"> 2570 <value name="+1/16" value="0"/> 2571 <value name="+2/16" value="1"/> 2572 <value name="+3/16" value="2"/> 2573 <value name="+4/16" value="3"/> 2574 <value name="+5/16" value="4"/> 2575 <value name="+6/16" value="5"/> 2576 <value name="+7/16" value="6"/> 2577 <value name="+8/16" value="7"/> 2578 </field> 2579 <field name="Round Inter Enable" start="319" end="319" type="bool"/> 2580 <field name="CV0" start="320" end="323" type="uint"/> 2581 <field name="CV1" start="324" end="327" type="uint"/> 2582 <field name="CV2" start="328" end="331" type="uint"/> 2583 <field name="CV3" start="332" end="335" type="uint"/> 2584 <field name="CV4" start="336" end="339" type="uint"/> 2585 <field name="CV5" start="340" end="343" type="uint"/> 2586 <field name="CV6" start="344" end="347" type="uint"/> 2587 <field name="CV7" start="348" end="351" type="uint"/> 2588 </instruction> 2589 2590 <instruction name="MFX_AVC_WEIGHTOFFSET_STATE" bias="2" length="98" engine="video"> 2591 <field name="DWord Length" start="0" end="11" type="uint" default="96"/> 2592 <field name="SubOpcode B" start="16" end="20" type="uint" default="5"/> 2593 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2594 <field name="Media Command Opcode" start="24" end="26" type="uint" default="1"/> 2595 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2596 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2597 <field name="Weight and Offset Select" start="32" end="32" type="uint"> 2598 <value name="L0 table" value="0"/> 2599 <value name="L1 table" value="1"/> 2600 </field> 2601 <group count="96" start="64" size="32"> 2602 <field name="Weight Offset" start="0" end="31" type="uint"/> 2603 </group> 2604 </instruction> 2605 2606 <instruction name="MFX_BSP_BUF_BASE_ADDR_STATE" bias="2" length="4" engine="video"> 2607 <field name="DWord Length" start="0" end="11" type="uint" default="2"/> 2608 <field name="SubOpcode B" start="16" end="20" type="uint" default="4"/> 2609 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2610 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 2611 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2612 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2613 <field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" start="36" end="37" type="uint"> 2614 <value name="Highest priority" value="0"/> 2615 <value name="Second Highest priority" value="1"/> 2616 <value name="Third Highest Priority" value="2"/> 2617 <value name="Lowest Priority" value="3"/> 2618 </field> 2619 <field name="BSD/MPC Row Store Scratch Buffer - Address" start="38" end="63" type="address"/> 2620 <field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" start="68" end="69" type="uint"> 2621 <value name="Highest priority" value="0"/> 2622 <value name="Second highest priority" value="1"/> 2623 <value name="Third highest priority" value="2"/> 2624 <value name="Lowest priority" value="3"/> 2625 </field> 2626 <field name="MPR Row Store Scratch Buffer - Address" start="70" end="95" type="address"/> 2627 <field name="Bitplane Read Buffer - Arbitration Priority Control" start="100" end="101" type="uint"> 2628 <value name="Highest priority" value="0"/> 2629 <value name="Second highest priority" value="1"/> 2630 <value name="Third highest priority" value="2"/> 2631 <value name="Lowest priority" value="3"/> 2632 </field> 2633 <field name="Bitplane Read Buffer - Address" start="102" end="127" type="address"/> 2634 </instruction> 2635 2636 <instruction name="MFX_DBK_OBJECT" bias="2" length="5" engine="video"> 2637 <field name="DWord Length" start="0" end="11" type="uint" default="3"/> 2638 <field name="SubOpcode B" start="16" end="20" type="uint" default="9"/> 2639 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2640 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 2641 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2642 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2643 <field name="Pre Deblocking Source - Cacheability Control" start="32" end="33" type="uint"> 2644 <value name="GTT entry" value="0"/> 2645 <value name="Not in LLC or MLC" value="1"/> 2646 <value name="In LLC but not MLC" value="2"/> 2647 <value name="Both LLC and MLC" value="3"/> 2648 </field> 2649 <field name="Pre Deblocking Source - Graphics Data Type" start="34" end="34" type="uint"/> 2650 <field name="Pre Deblocking Source - Arbitration Priority Control" start="36" end="37" type="uint"> 2651 <value name="Highest priority" value="0"/> 2652 <value name="Second highest priority" value="1"/> 2653 <value name="Third highest priority" value="2"/> 2654 <value name="Lowest priority" value="3"/> 2655 </field> 2656 <field name="Pre Deblocking Source - Address" start="38" end="63" type="address"/> 2657 <field name="Deblocking Control - Cacheability Control" start="64" end="65" type="uint"> 2658 <value name="GTT entry" value="0"/> 2659 <value name="Not in LLC or MLC" value="1"/> 2660 <value name="In LLC but not MLC" value="2"/> 2661 <value name="Both LLC and MLC" value="3"/> 2662 </field> 2663 <field name="Deblocking Control - Graphics Data Type" start="66" end="66" type="uint"/> 2664 <field name="Deblocking Control - Arbitration Priority Control" start="68" end="69" type="uint"> 2665 <value name="Highest priority" value="0"/> 2666 <value name="Second highest priority" value="1"/> 2667 <value name="Third highest priority" value="2"/> 2668 <value name="Lowest priority" value="3"/> 2669 </field> 2670 <field name="Deblocking Control - Address" start="70" end="95" type="address"/> 2671 <field name="Deblocking - Cacheability Control" start="96" end="97" type="uint"> 2672 <value name="GTT entry" value="0"/> 2673 <value name="Not in LLC or MLC" value="1"/> 2674 <value name="In LLC but not MLC" value="2"/> 2675 <value name="Both LLC and MLC" value="3"/> 2676 </field> 2677 <field name="Deblocking - Graphics Data Type" start="98" end="98" type="uint"/> 2678 <field name="Deblocking - Arbitration Priority Control" start="100" end="101" type="uint"> 2679 <value name="Highest priority" value="0"/> 2680 <value name="Second highest priority" value="1"/> 2681 <value name="Third highest priority" value="2"/> 2682 <value name="Lowest priority" value="3"/> 2683 </field> 2684 <field name="Deblocking - Address" start="102" end="127" type="address"/> 2685 <field name="Deblock Row Store - Cacheability Control" start="128" end="129" type="uint"> 2686 <value name="GTT entry" value="0"/> 2687 <value name="Not in LLC or MLC" value="1"/> 2688 <value name="In LLC but not MLC" value="2"/> 2689 <value name="Both LLC and MLC" value="3"/> 2690 </field> 2691 <field name="Deblock Row Store - Graphics Data Type" start="130" end="130" type="uint"/> 2692 <field name="Deblock Row Store - Arbitration Priority Control" start="132" end="133" type="uint"> 2693 <value name="Highest priority" value="0"/> 2694 <value name="Second highest priority" value="1"/> 2695 <value name="Third highest priority" value="2"/> 2696 <value name="Lowest priority" value="3"/> 2697 </field> 2698 <field name="Deblock Row Store - Address" start="134" end="159" type="address"/> 2699 </instruction> 2700 2701 <instruction name="MFX_FQM_STATE" bias="2" length="34" engine="video"> 2702 <field name="DWord Length" start="0" end="11" type="uint" default="32"/> 2703 <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/> 2704 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2705 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 2706 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2707 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2708 <field name="AVC" start="32" end="33" type="uint"> 2709 <value name="AVC_4x4_Intra_MATRIX" value="0"/> 2710 <value name="AVC_4x4_Inter_MATRIX" value="1"/> 2711 <value name="AVC_8x8_Intra_MATRIX" value="2"/> 2712 <value name="AVC_8x8_Inter_MATRIX" value="3"/> 2713 </field> 2714 <field name="MPEG2" start="32" end="33" type="uint"> 2715 <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/> 2716 <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/> 2717 </field> 2718 <field name="Forward Quantizer Matrix" start="64" end="1087" type="uint"/> 2719 </instruction> 2720 2721 <instruction name="MFX_IND_OBJ_BASE_ADDR_STATE" bias="2" length="11" engine="video"> 2722 <field name="DWord Length" start="0" end="11" type="uint" default="9"/> 2723 <field name="SubOpcode B" start="16" end="20" type="uint" default="3"/> 2724 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2725 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 2726 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2727 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2728 <field name="MFX Indirect Bitstream Object - Cacheability Control" start="32" end="33" type="uint"> 2729 <value name="GTT entry" value="0"/> 2730 <value name="Not in LLC or MLC" value="1"/> 2731 <value name="In LLC but not MLC" value="2"/> 2732 <value name="Both LLC and MLC" value="3"/> 2733 </field> 2734 <field name="MFX Indirect Bitstream Object - Graphics Data Type" start="34" end="34" type="uint"/> 2735 <field name="MFX Indirect Bitstream Object - Arbitration Priority Control" start="36" end="37" type="uint"> 2736 <value name="Highest priority" value="0"/> 2737 <value name="Second highest priority" value="1"/> 2738 <value name="Third highest priority" value="2"/> 2739 <value name="Lowest priority" value="3"/> 2740 </field> 2741 <field name="MFX Indirect Bitstream Object - Address" start="44" end="63" type="address"/> 2742 <field name="MFX Indirect Bitstream Object - Access Upper Bound" start="76" end="95" type="address"/> 2743 <field name="MFX Indirect MV Object - Cacheability Control" start="96" end="97" type="uint"> 2744 <value name="From GTT entry" value="0"/> 2745 <value name="Not cached in LLC or MLC" value="1"/> 2746 <value name="In LLC but not MLC" value="2"/> 2747 <value name="Both LLC and MLC" value="3"/> 2748 </field> 2749 <field name="MFX Indirect MV Object - Graphics Data Type" start="98" end="98" type="uint"/> 2750 <field name="MFX Indirect MV Object - Arbitration Priority Control" start="100" end="101" type="uint"> 2751 <value name="Highest priority" value="0"/> 2752 <value name="Second highest priority" value="1"/> 2753 <value name="Third highest priority" value="2"/> 2754 <value name="Lowest priority" value="3"/> 2755 </field> 2756 <field name="MFX Indirect MV Object - Address" start="108" end="127" type="address"/> 2757 <field name="MFX Indirect MV Object - Access Upper Bound" start="140" end="159" type="address"/> 2758 <field name="MFD Indirect IT-COEFF Object - Cacheability Control" start="160" end="161" type="uint"> 2759 <value name="From GTT entry" value="0"/> 2760 <value name="Not in LLC or MLC" value="1"/> 2761 <value name="In LLC but not MLC" value="2"/> 2762 <value name="Both LLC and MLC" value="3"/> 2763 </field> 2764 <field name="MFD Indirect IT-COEFF Object - Graphics Data Type" start="162" end="162" type="uint"/> 2765 <field name="MFD Indirect IT-COEFF Object - Arbitration Priority Control" start="164" end="165" type="uint"> 2766 <value name="Highest priority" value="0"/> 2767 <value name="Second highest priority" value="1"/> 2768 <value name="Third highest priority" value="2"/> 2769 <value name="Lowest priority" value="3"/> 2770 </field> 2771 <field name="MFD Indirect IT-COEFF Object - Address" start="172" end="191" type="address"/> 2772 <field name="MFD Indirect IT-COEFF Object - Access Upper Bound" start="204" end="223" type="address"/> 2773 <field name="MFD Indirect IT-DBLK Object - Cacheability Control" start="224" end="225" type="uint"> 2774 <value name="From GTT entry" value="0"/> 2775 <value name="Not cached in LLC or MLC" value="1"/> 2776 <value name="In LLC but not MLC" value="2"/> 2777 <value name="Both LLC and MLC" value="3"/> 2778 </field> 2779 <field name="MFD Indirect IT-DBLK Object - Graphics Data Type" start="226" end="226" type="uint"/> 2780 <field name="MFD Indirect IT-DBLK Object - Arbitration Priority Control" start="228" end="229" type="uint"> 2781 <value name="Highest priority" value="0"/> 2782 <value name="Second highest priority" value="1"/> 2783 <value name="Third highest priority" value="2"/> 2784 <value name="Lowest priority" value="3"/> 2785 </field> 2786 <field name="MFD Indirect IT-DBLK Object - Address" start="236" end="255" type="address"/> 2787 <field name="MFD Indirect IT-DBLK Object - Access Upper Bound" start="268" end="287" type="address"/> 2788 <field name="MFC Indirect PAK-BSE Object - Cacheability Control" start="288" end="289" type="uint"> 2789 <value name="GTT entry" value="0"/> 2790 <value name="Not in LLC or MLC" value="1"/> 2791 <value name="In LLC but not MLC" value="2"/> 2792 <value name="Both LLC and MLC" value="3"/> 2793 </field> 2794 <field name="MFC Indirect PAK-BSE Object - Graphics Data Type" start="290" end="290" type="uint"/> 2795 <field name="MFC Indirect PAK-BSE Object - Arbitration Priority Control" start="292" end="293" type="uint"> 2796 <value name="Highest priority" value="0"/> 2797 <value name="Second highest priority" value="1"/> 2798 <value name="Third highest priority" value="2"/> 2799 <value name="Lowest priority" value="3"/> 2800 </field> 2801 <field name="MFC Indirect PAK-BSE Object - Address" start="300" end="319" type="address"/> 2802 <field name="MFC Indirect PAK-BSE Object - Access Upper Bound" start="332" end="351" type="address"/> 2803 </instruction> 2804 2805 <instruction name="MFX_JPEG_HUFF_TABLE_STATE" bias="2" length="831" engine="video"> 2806 <field name="DWord Length" start="0" end="11" type="uint" default="829"/> 2807 <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/> 2808 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2809 <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/> 2810 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2811 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2812 <field name="Huffman Table ID" start="32" end="32" type="uint"/> 2813 <group count="12" start="64" size="8"> 2814 <field name="DC_BITS" start="0" end="7" type="uint"/> 2815 </group> 2816 <group count="12" start="160" size="8"> 2817 <field name="DC_HUFFVAL" start="0" end="7" type="uint"/> 2818 </group> 2819 <group count="16" start="256" size="8"> 2820 <field name="AC_BITS" start="0" end="15" type="uint"/> 2821 </group> 2822 <group count="160" start="384" size="8"> 2823 <field name="AC_HUFFVAL" start="0" end="7" type="uint"/> 2824 </group> 2825 <group count="2" start="1664" size="8"> 2826 <field name="AC_HUFFVAL2" start="0" end="7" type="uint"/> 2827 </group> 2828 </instruction> 2829 2830 <instruction name="MFX_JPEG_PIC_STATE" bias="2" length="3" engine="video"> 2831 <field name="DWord Length" start="0" end="11" type="uint" default="1"/> 2832 <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/> 2833 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2834 <field name="Media Command Opcode" start="24" end="26" type="uint" default="7"/> 2835 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2836 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2837 <field name="Input Format YUV" start="32" end="34" type="uint"/> 2838 <field name="Rotation" start="36" end="37" type="uint"/> 2839 <field name="Frame Width In Blocks" start="64" end="76" type="uint"/> 2840 <field name="Frame Height In Blocks" start="80" end="92" type="uint"/> 2841 </instruction> 2842 2843 <instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video"> 2844 <field name="DWord Length" start="0" end="11" type="uint" default="0"/> 2845 <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/> 2846 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2847 <field name="Media Command Opcode" start="24" end="26" type="uint" default="3"/> 2848 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2849 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2850 <field name="Scan Order" start="38" end="38" type="uint"> 2851 <value name="MPEG_ZIGZAG_SCAN" value="0"/> 2852 <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1"/> 2853 </field> 2854 <field name="Intra VLC Format" start="39" end="39" type="uint"/> 2855 <field name="Quantizer Scale Type" start="40" end="40" type="uint"> 2856 <value name="MPEG_QSCALE_LINEAR" value="0"/> 2857 <value name="MPEG_QSCALE_NONLINEAR" value="1"/> 2858 </field> 2859 <field name="Concealment MV" start="41" end="41" type="bool"/> 2860 <field name="Frame Prediction Frame DCT" start="42" end="42" type="uint"/> 2861 <field name="Top Field First" start="43" end="43" type="bool"/> 2862 <field name="Picture Structure" start="44" end="45" type="uint"> 2863 <value name="MPEG_TOP_FIELD" value="1"/> 2864 <value name="MPEG_BOTTOM_FIELD" value="2"/> 2865 <value name="MPEG_FRAME" value="3"/> 2866 </field> 2867 <field name="Intra DC Precision" start="46" end="47" type="uint"/> 2868 <field name="F_code[0][0]" start="48" end="51" type="uint"/> 2869 <field name="F_code[0][1]" start="52" end="55" type="uint"/> 2870 <field name="F_code[1][0]" start="56" end="59" type="uint"/> 2871 <field name="F_code[1][1]" start="60" end="63" type="uint"/> 2872 <field name="Disable Mismatch" start="64" end="64" type="bool"/> 2873 <field name="Mismatch Control Disable" start="65" end="65" type="bool"/> 2874 <field name="Picture Coding Type" start="73" end="74" type="uint"> 2875 <value name="MPEG_I_PICTURE" value="1"/> 2876 <value name="MPEG_P_PICTURE" value="2"/> 2877 <value name="MPEG_B_PICTURE" value="3"/> 2878 </field> 2879 <field name="Load Bitstream Pointer Per Slice" start="78" end="78" type="bool"/> 2880 <field name="Frame Width In MBs" start="96" end="103" type="uint"/> 2881 <field name="Frame Height In MBs" start="112" end="119" type="uint"/> 2882 <field name="Round Intra DC" start="129" end="130" type="uint"/> 2883 <field name="Round Inter DC" start="132" end="134" type="uint"/> 2884 <field name="Round Intra AC" start="136" end="138" type="uint"/> 2885 <field name="Round Inter AC," start="140" end="142" type="uint"/> 2886 <field name="Minimum Frame Size" start="144" end="159" type="uint"/> 2887 <field name="Intra MB Max Bit Control" start="160" end="160" type="uint"/> 2888 <field name="Inter MB Max Bit Control" start="161" end="161" type="uint"/> 2889 <field name="Frame Bitrate Max Report" start="162" end="162" type="uint"/> 2890 <field name="Frame Bitrate Min Report" start="163" end="163" type="uint"/> 2891 <field name="MBRateControlMask" start="169" end="169" type="uint"/> 2892 <field name="Minimum Frame Size Units" start="170" end="171" type="uint"> 2893 <value name="Compatibility mode" value="0"/> 2894 <value name="16 bytes" value="1"/> 2895 <value name="4Kb" value="2"/> 2896 <value name="16Kb" value="3"/> 2897 </field> 2898 <field name="Inter MB Force CBP to Zero Control" start="172" end="172" type="uint"/> 2899 <field name="Frame Size Control" start="176" end="176" type="uint"/> 2900 <field name="Intra MB Conformance Max Size" start="192" end="203" type="uint"/> 2901 <field name="Inter MB Conformance Max Size" start="208" end="219" type="uint"/> 2902 <field name="Slice Delta QP Max[0]" start="256" end="263" type="int"/> 2903 <field name="Slice Delta QP Max[1]" start="264" end="271" type="int"/> 2904 <field name="Slice Delta QP Max[2]" start="272" end="279" type="int"/> 2905 <field name="Slice Delta QP Max[3]" start="280" end="287" type="int"/> 2906 <field name="Slice Delta QP Min[0]" start="288" end="295" type="int"/> 2907 <field name="Slice Delta QP Min[1]" start="296" end="303" type="int"/> 2908 <field name="Slice Delta QP Min[2]" start="304" end="311" type="int"/> 2909 <field name="Slice Delta QP Min[3]" start="312" end="319" type="int"/> 2910 <field name="Frame Bitrate Min" start="320" end="333" type="uint"/> 2911 <field name="Frame Bitrate Min Unit Mode" start="334" end="334" type="uint"> 2912 <value name="Compatibility mode" value="0"/> 2913 <value name="New Mode" value="1"/> 2914 </field> 2915 <field name="Frame Bitrate Min Unit" start="335" end="335" type="uint"/> 2916 <field name="Frame Bitrate Max" start="336" end="349" type="uint"/> 2917 <field name="Frame Bitrate Max Unit Mode" start="350" end="350" type="uint"> 2918 <value name="Compatibility mode" value="0"/> 2919 <value name="New mode" value="1"/> 2920 </field> 2921 <field name="Frame Bitrate Max Unit" start="351" end="351" type="uint"/> 2922 <field name="Frame Bitrate Min Delta" start="352" end="366" type="uint"/> 2923 <field name="Frame Bitrate Max Delta" start="368" end="382" type="uint"/> 2924 </instruction> 2925 2926 <instruction name="MFX_PAK_INSERT_OBJECT" bias="2" engine="video"> 2927 <field name="DWord Length" start="0" end="11" type="uint" default="0"/> 2928 <field name="SubOpcode B" start="16" end="20" type="uint" default="8"/> 2929 <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/> 2930 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 2931 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2932 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2933 <field name="Bitstream Start Reset" start="32" end="32" type="bool"/> 2934 <field name="End of Slice" start="33" end="33" type="bool"/> 2935 <field name="Last Header" start="34" end="34" type="bool"/> 2936 <field name="Emulation Byte Bits Insert Enable" start="35" end="35" type="bool"/> 2937 <field name="Skip Emulation Byte Count" start="36" end="39" type="uint"/> 2938 <field name="Data Bits In Last DW" start="40" end="45" type="uint"/> 2939 <field name="Slice Header Indicator" start="46" end="46" type="uint"> 2940 <value name="SLICE_HEADER" value="1"/> 2941 <value name="LEGACY" value="0"/> 2942 </field> 2943 <field name="Header Length Excluded From Size" start="47" end="47" type="uint"> 2944 <value name="NO_ACCUMULATION" value="1"/> 2945 <value name="ACCUMULATE" value="0"/> 2946 </field> 2947 <field name="Data Byte Offset" start="48" end="49" type="uint"/> 2948 <group count="0" start="64" size="32"> 2949 <field name="Insert Data PayLoad" start="0" end="31" type="uint"/> 2950 </group> 2951 </instruction> 2952 2953 <instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="24" engine="video"> 2954 <field name="DWord Length" start="0" end="11" type="uint" default="22"/> 2955 <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/> 2956 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 2957 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 2958 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 2959 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 2960 <field name="Pre Deblocking Destination - Arbitration Priority Control" start="36" end="37" type="uint"> 2961 <value name="Highest priority" value="0"/> 2962 <value name="Second highest priority" value="1"/> 2963 <value name="Third highest priority" value="2"/> 2964 <value name="Lowest priority" value="3"/> 2965 </field> 2966 <field name="Pre Deblocking Destination - Address" start="38" end="63" type="address"/> 2967 <field name="Post Deblocking Destination - Cacheability Control" start="64" end="65" type="uint"> 2968 <value name="GTT entry" value="0"/> 2969 <value name="Not LLC or MLC" value="1"/> 2970 <value name="In LLC but not MLC" value="2"/> 2971 <value name="Both LLC and MLC" value="3"/> 2972 </field> 2973 <field name="Post Deblocking Destination - Graphics Data Type" start="66" end="66" type="uint"/> 2974 <field name="Post Deblocking Destination - Arbitration Priority Control" start="68" end="69" type="uint"> 2975 <value name="Highest priority" value="0"/> 2976 <value name="Second highest priority" value="1"/> 2977 <value name="Third highest priority" value="2"/> 2978 <value name="Lowest priority" value="3"/> 2979 </field> 2980 <field name="Post Deblocking Destination - Address" start="70" end="95" type="address"/> 2981 <field name="Original Uncompressed Picture Source - Cacheability Control" start="96" end="97" type="uint"> 2982 <value name="GTT entry" value="0"/> 2983 <value name="Not in LLC or MLC" value="1"/> 2984 <value name="In LLC but not MLC" value="2"/> 2985 <value name="Both LLC and MLC" value="3"/> 2986 </field> 2987 <field name="Original Uncompressed Picture Source - Graphics Data Type" start="98" end="98" type="uint"/> 2988 <field name="Original Uncompressed Picture Source - Arbitration Priority Control" start="100" end="101" type="uint"> 2989 <value name="Highest priority" value="0"/> 2990 <value name="Second highest priority" value="1"/> 2991 <value name="Third highest priority" value="2"/> 2992 <value name="Lowest priority" value="3"/> 2993 </field> 2994 <field name="Original Uncompressed Picture Source - Address" start="102" end="127" type="address"/> 2995 <field name="Stream-Out Data Destination - Cacheability Control" start="128" end="129" type="uint"> 2996 <value name="GTT entry" value="0"/> 2997 <value name="Not in LLC or MLC" value="1"/> 2998 <value name="In LLC but not MLC" value="2"/> 2999 <value name="Both LLC and MLC" value="3"/> 3000 </field> 3001 <field name="Stream-Out Data Destination - Graphics Data Type" start="130" end="130" type="uint"/> 3002 <field name="Stream-Out Data Destination - Arbitration Priority Control" start="132" end="133" type="uint"> 3003 <value name="Highest priority" value="0"/> 3004 <value name="Second highest priority" value="1"/> 3005 <value name="Third highest priority" value="2"/> 3006 <value name="Lowest priority" value="3"/> 3007 </field> 3008 <field name="Stream-Out Data Destination - Address" start="134" end="159" type="address"/> 3009 <field name="Intra Row Store Scratch Buffer - Cacheability Control" start="160" end="161" type="uint"> 3010 <value name="GTT entry" value="0"/> 3011 <value name="Not in LLC or MLC" value="1"/> 3012 <value name="In LLC but not MLC" value="2"/> 3013 <value name="Both LLC and MLC" value="3"/> 3014 </field> 3015 <field name="Intra Row Store Scratch Buffer - Graphics Data Type" start="162" end="162" type="uint"/> 3016 <field name="Intra Row Store Scratch Buffer - Arbitration Priority Control" start="164" end="165" type="uint"> 3017 <value name="Highest priority" value="0"/> 3018 <value name="Second highest priority" value="1"/> 3019 <value name="Third highest priority" value="2"/> 3020 <value name="Lowest priority" value="3"/> 3021 </field> 3022 <field name="Intra Row Store Scratch Buffer - Address" start="166" end="191" type="address"/> 3023 <field name="Deblocking Filter Row Store Scratch Buffer - Cacheability Control" start="192" end="193" type="uint"> 3024 <value name="GTT entry" value="0"/> 3025 <value name="Not in LLC or MLC" value="1"/> 3026 <value name="LLC but not MLC" value="2"/> 3027 <value name="Both LLC and MLC" value="3"/> 3028 </field> 3029 <field name="Deblocking Filter Row Store Scratch Buffer - Graphics Data Type" start="194" end="194" type="uint"/> 3030 <field name="Deblocking Filter Row Store Scratch Buffer - Arbitration Priority Control" start="196" end="197" type="uint"> 3031 <value name="Highest priority" value="0"/> 3032 <value name="Second highest priority" value="1"/> 3033 <value name="Third highest priority" value="2"/> 3034 <value name="Lowest priority" value="3"/> 3035 </field> 3036 <field name="Deblocking Filter Row Store Scratch Buffer - Address" start="198" end="223" type="address"/> 3037 <group count="16" start="224" size="32"> 3038 <field name="Reference Picture - Address" start="6" end="31" type="address"/> 3039 <field name="Reference Picture - Arbitration Priority Control" start="4" end="5" type="uint"> 3040 <value name="Highest priority" value="0"/> 3041 <value name="Second highest priority" value="1"/> 3042 <value name="Third highest priority" value="2"/> 3043 <value name="Lowest priority" value="3"/> 3044 </field> 3045 <field name="Reference Picture - Graphics Data Type" start="2" end="2" type="uint"/> 3046 <field name="Reference Picture - Cacheability Control" start="0" end="1" type="uint"> 3047 <value name="GTT entry" value="0"/> 3048 <value name="Not in LLC or MLC" value="1"/> 3049 <value name="In LLC but not MLC" value="2"/> 3050 <value name="Both LLC and MLC" value="3"/> 3051 </field> 3052 </group> 3053 <field name="MB Status Buffer - Cacheability Control" start="736" end="737" type="uint"> 3054 <value name="GTT" value="0"/> 3055 <value name="Not in LLC or MLC" value="1"/> 3056 <value name="In LLC but not MLC" value="2"/> 3057 <value name="Both LLC and MLC" value="3"/> 3058 </field> 3059 <field name="MB Status Buffer - Graphics Data Type" start="738" end="738" type="uint"/> 3060 <field name="MB Status Buffer - Arbitration Priority Control" start="740" end="741" type="uint"> 3061 <value name="Highest priority" value="0"/> 3062 <value name="Second highest priority" value="1"/> 3063 <value name="Third highest priority" value="2"/> 3064 <value name="Lowest priority" value="3"/> 3065 </field> 3066 <field name="MB Status Buffer - Address" start="742" end="767" type="address"/> 3067 </instruction> 3068 3069 <instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video"> 3070 <field name="DWord Length" start="0" end="11" type="uint" default="3"/> 3071 <field name="SubOpcode B" start="16" end="20" type="uint" default="0"/> 3072 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 3073 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 3074 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 3075 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3076 <field name="Standard Select" start="32" end="35" type="uint" prefix="SS"> 3077 <value name="MPEG2" value="0"/> 3078 <value name="VC1" value="1"/> 3079 <value name="AVC" value="2"/> 3080 <value name="JPEG" value="3"/> 3081 </field> 3082 <field name="Codec Select" start="36" end="36" type="uint"> 3083 <value name="Decode" value="0"/> 3084 <value name="Encode" value="1"/> 3085 </field> 3086 <field name="Stitch Mode" start="37" end="37" type="bool"/> 3087 <field name="Pre Deblocking Output Enable" start="40" end="40" type="bool"/> 3088 <field name="Post Deblocking Output Enable" start="41" end="41" type="bool"/> 3089 <field name="Stream-Out Enable" start="42" end="42" type="bool"/> 3090 <field name="Pic Error/Status Report Enable" start="43" end="43" type="bool"/> 3091 <field name="Decoder Mode select" start="47" end="48" type="uint"> 3092 <value name="VLD Mode" value="0"/> 3093 <value name="IT Mode" value="1"/> 3094 <value name="Deblocker Mode" value="2"/> 3095 <value name="Interlayer Mode" value="3"/> 3096 </field> 3097 <field name="Decoder Short Format Mode" start="49" end="49" type="uint"> 3098 <value name="Short Format Driver Interface" value="0"/> 3099 <value name="Long Format Driver Interface" value="1"/> 3100 </field> 3101 <field name="Extended Stream-Out Enable" start="50" end="50" type="bool"/> 3102 <field name="Pic Status/Error Report ID" start="96" end="127" type="uint"/> 3103 </instruction> 3104 3105 <instruction name="MFX_QM_STATE" bias="2" length="34" engine="video"> 3106 <field name="DWord Length" start="0" end="11" type="uint" default="32"/> 3107 <field name="SubOpcode B" start="16" end="20" type="uint" default="7"/> 3108 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 3109 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 3110 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 3111 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3112 <field name="AVC" start="32" end="33" type="uint"> 3113 <value name="AVC_4x4_Intra_MATRIX" value="0"/> 3114 <value name="AVC_4x4_Inter_MATRIX" value="1"/> 3115 <value name="AVC_8x8_Intra_MATRIX" value="2"/> 3116 <value name="AVC_8x8_Inter_MATRIX" value="3"/> 3117 </field> 3118 <field name="MPEG2" start="32" end="33" type="uint"> 3119 <value name="MPEG_INTRA_QUANTIZER_MATRIX" value="0"/> 3120 <value name="MPEG_NON_INTRA_QUANTIZER_MATRIX" value="1"/> 3121 </field> 3122 <field name="Forward Quantizer Matrix" start="64" end="1087" type="uint"/> 3123 </instruction> 3124 3125 <instruction name="MFX_STATE_POINTER" bias="2" length="2" engine="video"> 3126 <field name="DWord Length" start="0" end="11" type="uint" default="0"/> 3127 <field name="SubOpcode B" start="16" end="20" type="uint" default="6"/> 3128 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 3129 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 3130 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 3131 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3132 <field name="State Pointer Index" start="32" end="33" type="uint"/> 3133 <field name="State Pointer" start="37" end="63" type="uint"/> 3134 </instruction> 3135 3136 <instruction name="MFX_STITCH_OBJECT" bias="2" engine="video"> 3137 <field name="DWord Length" start="0" end="11" type="uint" default="0"/> 3138 <field name="SubOpcode B" start="16" end="20" type="uint" default="10"/> 3139 <field name="SubOpcode A" start="21" end="23" type="uint" default="2"/> 3140 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 3141 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 3142 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3143 <field name="End of Slice" start="33" end="33" type="bool"/> 3144 <field name="Last Header" start="34" end="34" type="bool"/> 3145 <field name="Source Data Ending Bit Inclusion" start="40" end="45" type="uint"/> 3146 <field name="Source Data Starting Byte Offset" start="48" end="49" type="uint"/> 3147 <field name="Indirect Data Length" start="64" end="82" type="uint"/> 3148 <field name="Indirect Data Start Address" start="96" end="127" type="offset"/> 3149 <group count="0" start="128" size="32"> 3150 <field name="Insert Data PayLoad" start="0" end="31" type="uint"/> 3151 </group> 3152 </instruction> 3153 3154 <instruction name="MFX_SURFACE_STATE" bias="2" length="6" engine="video"> 3155 <field name="DWord Length" start="0" end="11" type="uint" default="4"/> 3156 <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/> 3157 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 3158 <field name="Media Command Opcode" start="24" end="26" type="uint" default="0"/> 3159 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 3160 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3161 <field name="Cr(V)/Cb(U) Pixel Offset V Direction" start="64" end="65" type="uint"/> 3162 <field name="Width" start="68" end="81" type="uint"/> 3163 <field name="Height" start="82" end="95" type="uint"/> 3164 <field name="Tile Walk" start="96" end="96" type="uint" prefix="TW"> 3165 <value name="XMAJOR" value="0"/> 3166 <value name="YMAJOR" value="1"/> 3167 </field> 3168 <field name="Tiled Surface" start="97" end="97" type="bool"/> 3169 <field name="Half Pitch for Chroma" start="98" end="98" type="bool"/> 3170 <field name="Surface Pitch" start="99" end="115" type="uint"/> 3171 <field name="Interleave Chroma" start="123" end="123" type="bool"/> 3172 <field name="Surface Format" start="124" end="127" type="uint"> 3173 <value name="YCRCB_NORMAL" value="0"/> 3174 <value name="YCRCB_SWAPUVY" value="1"/> 3175 <value name="YCRCB_SWAPUV" value="2"/> 3176 <value name="YCRCB_SWAPY" value="3"/> 3177 <value name="PLANAR_420_8" value="4"/> 3178 <value name="PLANAR_411_8" value="5"/> 3179 <value name="PLANAR_422_8" value="6"/> 3180 <value name="STMM_DN_STATISTICS" value="7"/> 3181 <value name="R10G10B10A2_UNORM" value="8"/> 3182 <value name="R8G8B8A8_UNORM" value="9"/> 3183 <value name="R8B8_UNORM (CrCb)" value="10"/> 3184 <value name="R8_UNORM (Cr/Cb)" value="11"/> 3185 <value name="Y8_UNORM" value="12"/> 3186 </field> 3187 <field name="Y Offset for U(Cb)" start="128" end="142" type="uint"/> 3188 <field name="X Offset for U(Cb)" start="144" end="158" type="uint"/> 3189 <field name="Y Offset for V(Cr)" start="160" end="175" type="uint"/> 3190 <field name="X Offset for V(Cr)" start="176" end="188" type="uint"/> 3191 </instruction> 3192 3193 <instruction name="MFX_VC1_DIRECTMODE_STATE" bias="2" length="3" engine="video"> 3194 <field name="DWord Length" start="0" end="11" type="uint" default="1"/> 3195 <field name="SubOpcode B" start="16" end="20" type="uint" default="2"/> 3196 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 3197 <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/> 3198 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 3199 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3200 <field name="Direct MV Write Buffer - Cacheability Control" start="32" end="33" type="uint"> 3201 <value name="GTT entry" value="0"/> 3202 <value name="Not in LLC or MLC" value="1"/> 3203 <value name="In LLC but not MLC" value="2"/> 3204 <value name="Both LLC and MLC" value="3"/> 3205 </field> 3206 <field name="Direct MV Write Buffer - Graphics Data Type" start="34" end="34" type="uint"/> 3207 <field name="Direct MV Write Buffer - Arbitration Priority Control" start="36" end="37" type="uint"> 3208 <value name="Highest priority" value="0"/> 3209 <value name="Second highest priority" value="1"/> 3210 <value name="Third highest priority" value="2"/> 3211 <value name="Lowest priority" value="3"/> 3212 </field> 3213 <field name="Direct MV Write Buffer - Address" start="38" end="63" type="address"/> 3214 <field name="Direct MV Read Buffer - Cacheability Control" start="64" end="65" type="uint"> 3215 <value name="GTT entry" value="0"/> 3216 <value name="Not in LLC or MLC" value="1"/> 3217 <value name="In LLC but not MLC" value="2"/> 3218 <value name="Both LLC and MLC" value="3"/> 3219 </field> 3220 <field name="Direct MV Read Buffer - Graphics Data Type" start="66" end="66" type="uint"/> 3221 <field name="Direct MV Read Buffer - Arbitration Priority Control" start="68" end="69" type="uint"> 3222 <value name="Highest priority" value="0"/> 3223 <value name="Second highest priority" value="1"/> 3224 <value name="Third highest priority" value="2"/> 3225 <value name="Lowest priority" value="3"/> 3226 </field> 3227 <field name="Direct MV Read Buffer - Address" start="70" end="95" type="address"/> 3228 </instruction> 3229 3230 <instruction name="MFX_VC1_PRED_PIPE_STATE" bias="2" length="6" engine="video"> 3231 <field name="DWord Length" start="0" end="11" type="uint" default="4"/> 3232 <field name="SubOpcode B" start="16" end="20" type="uint" default="1"/> 3233 <field name="SubOpcode A" start="21" end="23" type="uint" default="0"/> 3234 <field name="Media Command Opcode" start="24" end="26" type="uint" default="2"/> 3235 <field name="Pipeline" start="27" end="28" type="uint" default="2"/> 3236 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3237 <field name="Reference Frame Boundary Replication Mode" start="36" end="39" type="uint"/> 3238 <field name="Vin_intensitycomp_Single_BWDen" start="40" end="41" type="uint"/> 3239 <field name="Vin_intensitycomp_Single_FWDen" start="42" end="43" type="uint"/> 3240 <field name="Vin_intensitycomp_Double_BWDen" start="44" end="45" type="uint"/> 3241 <field name="Vin_intensitycomp_Double_FWDen" start="46" end="47" type="uint"/> 3242 <field name="LumScale1 - single - FWD" start="64" end="69" type="uint"/> 3243 <field name="LumScale2 - single - FWD" start="72" end="77" type="uint"/> 3244 <field name="LumShift1 - single - FWD" start="80" end="85" type="uint"/> 3245 <field name="LumShift2 - single - FWD" start="88" end="93" type="uint"/> 3246 <field name="LumScale1 - double - FWD" start="96" end="101" type="uint"/> 3247 <field name="LumScale2 - double - FWD" start="104" end="109" type="uint"/> 3248 <field name="LumShift1 - double - FWD" start="112" end="117" type="uint"/> 3249 <field name="LumShift2 - double - FWD" start="120" end="125" type="uint"/> 3250 <field name="LumScale1 - single - BWD" start="128" end="133" type="uint"/> 3251 <field name="LumScale2 - single - BWD" start="136" end="141" type="uint"/> 3252 <field name="LumShift1 - single - BWD" start="144" end="149" type="uint"/> 3253 <field name="LumShift2 - single - BWD" start="152" end="157" type="uint"/> 3254 <field name="LumScale1 - double - BWD" start="160" end="165" type="uint"/> 3255 <field name="LumScale2 - double - BWD" start="168" end="173" type="uint"/> 3256 <field name="LumShift1 - double - BWD" start="176" end="181" type="uint"/> 3257 <field name="LumShift2 - double - BWD" start="184" end="189" type="uint"/> 3258 </instruction> 3259 3260 <instruction name="MFX_WAIT" bias="1" length="1" engine="video"> 3261 <field name="DWord Length" start="0" end="5" type="uint" default="0"/> 3262 <field name="MFX Sync Control Flag" start="8" end="8" type="bool"/> 3263 <field name="SubOpcode" start="16" end="26" type="uint" default="0"/> 3264 <field name="Command Subtype" start="27" end="28" type="uint" default="1"/> 3265 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3266 </instruction> 3267 3268 <instruction name="MI_ARB_CHECK" bias="1" length="1"> 3269 <field name="MI Command Opcode" start="23" end="28" type="uint" default="5"/> 3270 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3271 </instruction> 3272 3273 <instruction name="MI_ARB_ON_OFF" bias="1" length="1"> 3274 <field name="Arbitration Enable" start="0" end="0" type="bool"/> 3275 <field name="MI Command Opcode" start="23" end="28" type="uint" default="8"/> 3276 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3277 </instruction> 3278 3279 <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1"> 3280 <field name="MI Command Opcode" start="23" end="28" type="uint" default="10"/> 3281 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3282 </instruction> 3283 3284 <instruction name="MI_BATCH_BUFFER_START" bias="2" length="2"> 3285 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 3286 <field name="Address Space Indicator" start="8" end="8" type="uint" prefix="ASI"> 3287 <value name="GGTT" value="0"/> 3288 <value name="PPGTT" value="1"/> 3289 </field> 3290 <field name="Clear Command Buffer Enable" start="11" end="11" type="bool"/> 3291 <field name="MI Command Opcode" start="23" end="28" type="uint" default="49"/> 3292 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3293 <field name="Batch Buffer Start Address" start="34" end="63" type="address"/> 3294 </instruction> 3295 3296 <instruction name="MI_CLFLUSH" bias="2" engine="render"> 3297 <field name="DWord Length" start="0" end="9" type="uint" default="1"/> 3298 <field name="Use Global GTT" start="22" end="22" type="bool"/> 3299 <field name="MI Command Opcode" start="23" end="28" type="uint" default="39"/> 3300 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3301 <field name="Starting Cacheline Offset" start="38" end="43" type="uint"/> 3302 <field name="Page Base Address" start="44" end="63" type="address"/> 3303 <field name="Page Base Address High" start="64" end="79" type="address"/> 3304 <group count="0" start="96" size="32"> 3305 <field name="DW Representing a Half Cache Line" start="0" end="31" type="uint"/> 3306 </group> 3307 </instruction> 3308 3309 <instruction name="MI_CONDITIONAL_BATCH_BUFFER_END" bias="2" length="2"> 3310 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 3311 <field name="Compare Semaphore" start="21" end="21" type="uint" default="0"/> 3312 <field name="Use Global GTT" start="22" end="22" type="bool"/> 3313 <field name="MI Command Opcode" start="23" end="28" type="uint" default="54"/> 3314 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3315 <field name="Compare Data Dword" start="32" end="63" type="uint"/> 3316 <field name="Compare Address" start="67" end="95" type="address"/> 3317 </instruction> 3318 3319 <instruction name="MI_FLUSH" bias="1" length="1" engine="render"> 3320 <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint"> 3321 <value name="Don't Invalidate" value="0"/> 3322 <value name="Invalidate" value="1"/> 3323 </field> 3324 <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint"> 3325 <value name="Flush" value="0"/> 3326 <value name="Don't Flush" value="1"/> 3327 </field> 3328 <field name="Global Snapshot Count Reset" start="3" end="3" type="uint"> 3329 <value name="Don't Reset" value="0"/> 3330 <value name="Reset" value="1"/> 3331 </field> 3332 <field name="Generic Media State Clear" start="4" end="4" type="bool"/> 3333 <field name="Indirect State Pointers Disable" start="5" end="5" type="bool"/> 3334 <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/> 3335 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3336 </instruction> 3337 3338 <instruction name="MI_FLUSH_DW" bias="2" length="4" engine="video"> 3339 <field name="DWord Length" start="0" end="5" type="uint"/> 3340 <field name="Video Pipeline Cache Invalidate" start="7" end="7" type="bool"/> 3341 <field name="Notify Enable" start="8" end="8" type="bool"/> 3342 <field name="Post-Sync Operation" start="14" end="15" type="uint"/> 3343 <field name="Synchronize GFDT Surface" start="17" end="17" type="bool"/> 3344 <field name="TLB Invalidate" start="18" end="18" type="bool"/> 3345 <field name="Store Data Index" start="21" end="21" type="bool"/> 3346 <field name="MI Command Opcode" start="23" end="28" type="uint" default="38"/> 3347 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3348 <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT"> 3349 <value name="PPGTT" value="0"/> 3350 <value name="GGTT" value="1"/> 3351 </field> 3352 <field name="Address" start="35" end="63" type="address"/> 3353 <group count="2" start="64" size="32"> 3354 <field name="Immediate Data" start="0" end="31" type="uint"/> 3355 </group> 3356 </instruction> 3357 3358 <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3"> 3359 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 3360 <field name="Byte Write Disables" start="8" end="11" type="uint"/> 3361 <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/> 3362 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3363 <field name="Register Offset" start="34" end="54" type="offset"/> 3364 <field name="Data DWord" start="64" end="95" type="uint"/> 3365 <group count="0" start="96" size="64"> 3366 <field name="Register Offset" start="2" end="22" type="offset"/> 3367 <field name="Data DWord" start="32" end="63" type="uint"/> 3368 </group> 3369 </instruction> 3370 3371 <instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="3"> 3372 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 3373 <field name="Async Mode Enable" start="21" end="21" type="bool"/> 3374 <field name="Use Global GTT" start="22" end="22" type="bool"/> 3375 <field name="MI Command Opcode" start="23" end="28" type="uint" default="41"/> 3376 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3377 <field name="Register Address" start="34" end="54" type="offset"/> 3378 <field name="Memory Address" start="66" end="95" type="address"/> 3379 </instruction> 3380 3381 <instruction name="MI_NOOP" bias="1" length="1"> 3382 <field name="Identification Number" start="0" end="21" type="uint"/> 3383 <field name="Identification Number Register Write Enable" start="22" end="22" type="bool"/> 3384 <field name="MI Command Opcode" start="23" end="28" type="uint" default="0"/> 3385 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3386 </instruction> 3387 3388 <instruction name="MI_PREDICATE" bias="1" length="1"> 3389 <field name="Compare Operation" start="0" end="1" type="uint" prefix="COMPARE"> 3390 <value name="TRUE" value="0"/> 3391 <value name="FALSE" value="1"/> 3392 <value name="SRCS_EQUAL" value="2"/> 3393 <value name="DELTAS_EQUAL" value="3"/> 3394 </field> 3395 <field name="Combine Operation" start="3" end="4" type="uint" prefix="COMBINE"> 3396 <value name="SET" value="0"/> 3397 <value name="AND" value="1"/> 3398 <value name="OR" value="2"/> 3399 <value name="XOR" value="3"/> 3400 </field> 3401 <field name="Load Operation" start="6" end="7" type="uint" prefix="LOAD"> 3402 <value name="KEEP" value="0"/> 3403 <value name="LOAD" value="2"/> 3404 <value name="LOADINV" value="3"/> 3405 </field> 3406 <field name="MI Command Opcode" start="23" end="28" type="uint" default="12"/> 3407 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3408 </instruction> 3409 3410 <instruction name="MI_REPORT_HEAD" bias="1" length="1"> 3411 <field name="MI Command Opcode" start="23" end="28" type="uint" default="7"/> 3412 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3413 </instruction> 3414 3415 <instruction name="MI_REPORT_PERF_COUNT" bias="2" length="3" engine="render"> 3416 <field name="DWord Length" start="0" end="5" type="uint" default="1"/> 3417 <field name="MI Command Opcode" start="23" end="28" type="uint" default="40"/> 3418 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3419 <field name="Use Global GTT" start="32" end="32" type="bool"/> 3420 <field name="Memory Address" start="38" end="63" type="address"/> 3421 <field name="Report ID" start="64" end="95" type="uint"/> 3422 </instruction> 3423 3424 <instruction name="MI_SEMAPHORE_MBOX" bias="2" length="3"> 3425 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 3426 <field name="Register Select" start="16" end="17" type="uint"> 3427 <value name="RVSYNC" value="0"/> 3428 <value name="RBSYNC" value="2"/> 3429 <value name="Use General Register Select" value="3"/> 3430 </field> 3431 <field name="MI Command Opcode" start="23" end="28" type="uint" default="22"/> 3432 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3433 <field name="Semaphore Data Dword" start="32" end="63" type="uint"/> 3434 </instruction> 3435 3436 <instruction name="MI_SET_CONTEXT" bias="2" length="2"> 3437 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 3438 <field name="MI Command Opcode" start="23" end="28" type="uint" default="24"/> 3439 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3440 <field name="Restore Inhibit" start="32" end="32" type="uint"/> 3441 <field name="Force Restore" start="33" end="33" type="uint"/> 3442 <field name="Extended State Restore Enable" start="34" end="34" type="bool"/> 3443 <field name="Extended State Save Enable" start="35" end="35" type="bool"/> 3444 <field name="Reserved, Must be 1" start="40" end="40" type="uint"/> 3445 <field name="Logical Context Address" start="44" end="63" type="address"/> 3446 </instruction> 3447 3448 <instruction name="MI_STORE_DATA_IMM" bias="2" length="4"> 3449 <field name="DWord Length" start="0" end="5" type="uint" default="2"/> 3450 <field name="Use Global GTT" start="22" end="22" type="bool"/> 3451 <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/> 3452 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3453 <field name="Core Mode Enable" start="64" end="64" type="uint"/> 3454 <field name="Address" start="66" end="95" type="address"/> 3455 <field name="Immediate Data" start="96" end="159" type="uint"/> 3456 </instruction> 3457 3458 <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3"> 3459 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 3460 <field name="MI Command Opcode" start="23" end="28" type="uint" default="33"/> 3461 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3462 <field name="Offset" start="34" end="43" type="uint"/> 3463 <field name="Data DWord 0" start="64" end="95" type="uint"/> 3464 <field name="Data DWord 1" start="96" end="127" type="uint"/> 3465 </instruction> 3466 3467 <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3"> 3468 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 3469 <field name="Use Global GTT" start="22" end="22" type="bool"/> 3470 <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/> 3471 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3472 <field name="Register Address" start="34" end="54" type="offset"/> 3473 <field name="Memory Address" start="66" end="95" type="address"/> 3474 </instruction> 3475 3476 <instruction name="MI_SUSPEND_FLUSH" bias="1" length="1"> 3477 <field name="Suspend Flush" start="0" end="0" type="bool"/> 3478 <field name="MI Command Opcode" start="23" end="28" type="uint" default="11"/> 3479 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3480 </instruction> 3481 3482 <instruction name="MI_TOPOLOGY_FILTER" bias="1" length="1"> 3483 <field name="Topology Filter Value" start="0" end="5" type="3D_Prim_Topo_Type"/> 3484 <field name="MI Command Opcode" start="23" end="28" type="uint" default="13"/> 3485 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3486 </instruction> 3487 3488 <instruction name="MI_URB_CLEAR" bias="2" length="2" engine="render"> 3489 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 3490 <field name="MI Command Opcode" start="23" end="28" type="uint" default="25"/> 3491 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3492 <field name="URB Address" start="32" end="45" type="offset"/> 3493 <field name="URB Clear Length" start="48" end="60" type="uint"/> 3494 </instruction> 3495 3496 <instruction name="MI_USER_INTERRUPT" bias="1" length="1"> 3497 <field name="MI Command Opcode" start="23" end="28" type="uint" default="2"/> 3498 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3499 </instruction> 3500 3501 <instruction name="MI_WAIT_FOR_EVENT" bias="1" length="1" engine="render|blitter|video"> 3502 <field name="Display Pipe A Scan Line Wait Enable" start="0" end="0" type="bool"/> 3503 <field name="Display Plane A Flip Pending Wait Enable" start="1" end="1" type="bool"/> 3504 <field name="Display Sprite A Flip Pending Wait Enable" start="2" end="2" type="bool"/> 3505 <field name="Display Pipe A Vertical Blank Wait Enable" start="3" end="3" type="bool"/> 3506 <field name="Display Pipe A Horizontal Blank Wait Enable" start="5" end="5" type="bool"/> 3507 <field name="Display Pipe B Scan Line Wait Enable" start="8" end="8" type="bool"/> 3508 <field name="Display Plane B Flip Pending Wait Enable" start="9" end="9" type="bool"/> 3509 <field name="Display Sprite B Flip Pending Wait Enable" start="10" end="10" type="bool"/> 3510 <field name="Display Pipe B Vertical Blank Wait Enable" start="11" end="11" type="bool"/> 3511 <field name="Display Pipe B Horizontal Blank Wait Enable" start="13" end="13" type="bool"/> 3512 <field name="Display Pipe C Scan Line Wait Enable" start="14" end="14" type="bool"/> 3513 <field name="Display Plane C Flip Pending Wait Enable" start="15" end="15" type="bool"/> 3514 <field name="Condition Code Wait Select" start="16" end="19" type="uint"> 3515 <value name="Not enabled" value="0"/> 3516 </field> 3517 <field name="Display Sprite C Flip Pending Wait Enable" start="20" end="20" type="bool"/> 3518 <field name="Display Pipe C Vertical Blank Wait Enable" start="21" end="21" type="bool"/> 3519 <field name="Display Pipe C Horizontal Blank Wait Enable" start="22" end="22" type="bool"/> 3520 <field name="MI Command Opcode" start="23" end="28" type="uint" default="3"/> 3521 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 3522 </instruction> 3523 3524 <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render"> 3525 <field name="Pipeline Selection" start="0" end="1" type="uint"> 3526 <value name="3D" value="0"/> 3527 <value name="Media" value="1"/> 3528 <value name="GPGPU" value="2"/> 3529 </field> 3530 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/> 3531 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 3532 <field name="Command SubType" start="27" end="28" type="uint" default="1"/> 3533 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3534 </instruction> 3535 3536 <instruction name="PIPE_CONTROL" bias="2" length="5" engine="render"> 3537 <field name="DWord Length" start="0" end="7" type="uint" default="3"/> 3538 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 3539 <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/> 3540 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 3541 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3542 <field name="Depth Cache Flush Enable" start="32" end="32" type="bool"/> 3543 <field name="Stall At Pixel Scoreboard" start="33" end="33" type="bool"/> 3544 <field name="State Cache Invalidation Enable" start="34" end="34" type="bool"/> 3545 <field name="Constant Cache Invalidation Enable" start="35" end="35" type="bool"/> 3546 <field name="VF Cache Invalidation Enable" start="36" end="36" type="bool"/> 3547 <field name="DC Flush Enable" start="37" end="37" type="bool"/> 3548 <field name="Pipe Control Flush Enable" start="39" end="39" type="bool"/> 3549 <field name="Notify Enable" start="40" end="40" type="bool"/> 3550 <field name="Indirect State Pointers Disable" start="41" end="41" type="bool"/> 3551 <field name="Texture Cache Invalidation Enable" start="42" end="42" type="bool"/> 3552 <field name="Instruction Cache Invalidate Enable" start="43" end="43" type="bool"/> 3553 <field name="Render Target Cache Flush Enable" start="44" end="44" type="bool"/> 3554 <field name="Depth Stall Enable" start="45" end="45" type="bool"/> 3555 <field name="Post Sync Operation" start="46" end="47" type="uint"> 3556 <value name="No Write" value="0"/> 3557 <value name="Write Immediate Data" value="1"/> 3558 <value name="Write PS Depth Count" value="2"/> 3559 <value name="Write Timestamp" value="3"/> 3560 </field> 3561 <field name="Generic Media State Clear" start="48" end="48" type="bool"/> 3562 <field name="TLB Invalidate" start="50" end="50" type="bool"/> 3563 <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/> 3564 <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/> 3565 <field name="Store Data Index" start="53" end="53" type="uint"/> 3566 <field name="LRI Post Sync Operation" start="55" end="55" type="uint"> 3567 <value name="No LRI Operation" value="0"/> 3568 <value name="MMIO Write Immediate Data" value="1"/> 3569 </field> 3570 <field name="Destination Address Type" start="56" end="56" type="uint" prefix="DAT"> 3571 <value name="PPGTT" value="0"/> 3572 <value name="GGTT" value="1"/> 3573 </field> 3574 <field name="Address" start="66" end="95" type="address"/> 3575 <field name="Immediate Data" start="96" end="159" type="uint"/> 3576 </instruction> 3577 3578 <instruction name="STATE_BASE_ADDRESS" bias="2" length="10" engine="render"> 3579 <field name="DWord Length" start="0" end="7" type="uint" default="8"/> 3580 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 3581 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 3582 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 3583 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3584 <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/> 3585 <field name="Stateless Data Port Access Force Write Thru" start="35" end="35" type="uint"/> 3586 <field name="Stateless Data Port Access MOCS" start="36" end="39" type="uint"/> 3587 <field name="General State MOCS" start="40" end="43" type="uint"/> 3588 <field name="General State Base Address" start="44" end="63" type="address"/> 3589 <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/> 3590 <field name="Surface State MOCS" start="72" end="75" type="uint"/> 3591 <field name="Surface State Base Address" start="76" end="95" type="address"/> 3592 <field name="Dynamic State Base Address Modify Enable" start="96" end="96" type="bool"/> 3593 <field name="Dynamic State MOCS" start="104" end="107" type="uint"/> 3594 <field name="Dynamic State Base Address" start="108" end="127" type="address"/> 3595 <field name="Indirect Object Base Address Modify Enable" start="128" end="128" type="bool"/> 3596 <field name="Indirect Object MOCS" start="136" end="139" type="uint"/> 3597 <field name="Indirect Object Base Address" start="140" end="159" type="address"/> 3598 <field name="Instruction Base Address Modify Enable" start="160" end="160" type="bool"/> 3599 <field name="Instruction MOCS" start="168" end="171" type="uint"/> 3600 <field name="Instruction Base Address" start="172" end="191" type="address"/> 3601 <field name="General State Access Upper Bound Modify Enable" start="192" end="192" type="bool"/> 3602 <field name="General State Access Upper Bound" start="204" end="223" type="address"/> 3603 <field name="Dynamic State Access Upper Bound Modify Enable" start="224" end="224" type="bool"/> 3604 <field name="Dynamic State Access Upper Bound" start="236" end="255" type="address"/> 3605 <field name="Indirect Object Access Upper Bound Modify Enable" start="256" end="256" type="bool"/> 3606 <field name="Indirect Object Access Upper Bound" start="268" end="287" type="address"/> 3607 <field name="Instruction Access Upper Bound Modify Enable" start="288" end="288" type="bool"/> 3608 <field name="Instruction Access Upper Bound" start="300" end="319" type="address"/> 3609 </instruction> 3610 3611 <instruction name="STATE_PREFETCH" bias="2" length="2" engine="render"> 3612 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 3613 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/> 3614 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 3615 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 3616 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3617 <field name="Prefetch Count" start="32" end="34" type="uint"/> 3618 <field name="Prefetch Pointer" start="38" end="63" type="address"/> 3619 </instruction> 3620 3621 <instruction name="STATE_SIP" bias="2" length="2" engine="render"> 3622 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 3623 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/> 3624 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 3625 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 3626 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3627 <field name="System Instruction Pointer" start="36" end="63" type="offset"/> 3628 </instruction> 3629 3630 <instruction name="SWTESS_BASE_ADDRESS" bias="2" length="2" engine="render"> 3631 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 3632 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="3"/> 3633 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 3634 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 3635 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 3636 <field name="SW Tessellation MOCS" start="40" end="43" type="uint"/> 3637 <field name="SW Tessellation Base Address" start="44" end="63" type="address"/> 3638 </instruction> 3639 3640 <register name="BCS_FAULT_REG" length="1" num="0x4294"> 3641 <field name="Valid Bit" start="0" end="0" type="bool"/> 3642 <field name="Fault Type" start="1" end="2" type="uint"> 3643 <value name="Page Fault" value="0"/> 3644 <value name="Invalid PD Fault" value="1"/> 3645 <value name="Unloaded PD Fault" value="2"/> 3646 <value name="Invalid and Unloaded PD fault" value="3"/> 3647 </field> 3648 <field name="SRCID of Fault" start="3" end="10" type="uint"/> 3649 <field name="GTTSEL" start="11" end="11" type="uint"> 3650 <value name="PPGTT" value="0"/> 3651 <value name="GGTT" value="1"/> 3652 </field> 3653 <field name="Virtual Address of Fault" start="12" end="31" type="address"/> 3654 </register> 3655 3656 <register name="BCS_INSTDONE" length="1" num="0x2206c"> 3657 <field name="Ring Enable" start="0" end="0" type="bool"/> 3658 <field name="Blitter IDLE" start="1" end="1" type="bool"/> 3659 <field name="GAB IDLE" start="2" end="2" type="bool"/> 3660 <field name="BCS Done" start="3" end="3" type="bool"/> 3661 </register> 3662 3663 <register name="BCS_RING_BUFFER_CTL" length="1" num="0x2203c"> 3664 <field name="Ring Buffer Enable" start="0" end="0" type="bool"/> 3665 <field name="Automatic Report Head Pointer" start="1" end="2" type="uint"> 3666 <value name="MI_AUTOREPORT_OFF" value="0"/> 3667 <value name="MI_AUTOREPORT_64KB" value="1"/> 3668 <value name="MI_AUTOREPORT_4KB" value="2"/> 3669 <value name="MI_AUTOREPORT_128KB" value="3"/> 3670 </field> 3671 <field name="Disable Register Accesses" start="8" end="8" type="bool"/> 3672 <field name="Semaphore Wait" start="10" end="10" type="bool"/> 3673 <field name="RBWait" start="11" end="11" type="bool"/> 3674 <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/> 3675 </register> 3676 3677 <register name="CL_INVOCATION_COUNT" length="2" num="0x2338"> 3678 <field name="CL Invocation Count Report" start="0" end="63" type="uint"/> 3679 </register> 3680 3681 <register name="CL_PRIMITIVES_COUNT" length="2" num="0x2340"> 3682 <field name="CL Primitives Count Report" start="0" end="63" type="uint"/> 3683 </register> 3684 3685 <register name="CS_INVOCATION_COUNT" length="2" num="0x2290"> 3686 <field name="CS Invocation Count Report" start="0" end="63" type="uint"/> 3687 </register> 3688 3689 <register name="DS_INVOCATION_COUNT" length="2" num="0x2308"> 3690 <field name="DS Invocation Count Report" start="0" end="63" type="uint"/> 3691 </register> 3692 3693 <register name="ERR_INT" length="1" num="0x44040"> 3694 <field name="Primary A GTT Fault Status" start="0" end="0" type="bool"/> 3695 <field name="Primary B GTT Fault Status" start="1" end="1" type="bool"/> 3696 <field name="Sprite A GTT Fault Status" start="2" end="2" type="bool"/> 3697 <field name="Sprite B GTT Fault Status" start="3" end="3" type="bool"/> 3698 <field name="Cursor A GTT Fault Status" start="4" end="4" type="bool"/> 3699 <field name="Cursor B GTT Fault Status" start="5" end="5" type="bool"/> 3700 <field name="Invalid page table entry data" start="6" end="6" type="bool"/> 3701 <field name="Invalid GTT page table entry" start="7" end="7" type="bool"/> 3702 </register> 3703 3704 <register name="GFX_ARB_ERROR_RPT" length="1" num="0x40a0"> 3705 <field name="TLB Page Fault Error" start="0" end="0" type="bool"/> 3706 <field name="Context Page Fault Error" start="1" end="1" type="bool"/> 3707 <field name="Invalid Page Directory entry error" start="2" end="2" type="bool"/> 3708 <field name="Hardware Status Page Fault Error" start="3" end="3" type="bool"/> 3709 <field name="TLB Page VTD Translation Error" start="4" end="4" type="bool"/> 3710 <field name="Context Page VTD Translation Error" start="5" end="5" type="bool"/> 3711 <field name="Page Directory Entry VTD Translation Error" start="6" end="6" type="bool"/> 3712 <field name="Hardware Status Page VTD Translation Error" start="7" end="7" type="bool"/> 3713 <field name="Unloaded PD Error" start="8" end="8" type="bool"/> 3714 </register> 3715 3716 <register name="GS_INVOCATION_COUNT" length="2" num="0x2328"> 3717 <field name="GS Invocation Count Report" start="0" end="63" type="uint"/> 3718 </register> 3719 3720 <register name="GS_PRIMITIVES_COUNT" length="2" num="0x2330"> 3721 <field name="GS Primitives Count Report" start="0" end="63" type="uint"/> 3722 </register> 3723 3724 <register name="HS_INVOCATION_COUNT" length="2" num="0x2300"> 3725 <field name="HS Invocation Count Report" start="0" end="63" type="uint"/> 3726 </register> 3727 3728 <register name="IA_PRIMITIVES_COUNT" length="2" num="0x2318"> 3729 <field name="IA Primitives Count Report" start="0" end="63" type="uint"/> 3730 </register> 3731 3732 <register name="IA_VERTICES_COUNT" length="2" num="0x2310"> 3733 <field name="IA Vertices Count Report" start="0" end="63" type="uint"/> 3734 </register> 3735 3736 <register name="INSTDONE_1" length="1" num="0x206c"> 3737 <field name="PRB0 Ring Enable" start="0" end="0" type="bool"/> 3738 <field name="VFG Done" start="1" end="1" type="bool"/> 3739 <field name="VS Done" start="2" end="2" type="bool"/> 3740 <field name="HS Done" start="3" end="3" type="bool"/> 3741 <field name="TE Done" start="4" end="4" type="bool"/> 3742 <field name="DS Done" start="5" end="5" type="bool"/> 3743 <field name="GS Done" start="6" end="6" type="bool"/> 3744 <field name="SOL Done" start="7" end="7" type="bool"/> 3745 <field name="CL Done" start="8" end="8" type="bool"/> 3746 <field name="SF Done" start="9" end="9" type="bool"/> 3747 <field name="TDG Done" start="12" end="12" type="bool"/> 3748 <field name="URBM Done" start="13" end="13" type="bool"/> 3749 <field name="SVG Done" start="14" end="14" type="bool"/> 3750 <field name="GAFS Done" start="15" end="15" type="bool"/> 3751 <field name="VFE Done" start="16" end="16" type="bool"/> 3752 <field name="TSG Done" start="17" end="17" type="bool"/> 3753 <field name="GAFM Done" start="18" end="18" type="bool"/> 3754 <field name="GAM Done" start="19" end="19" type="bool"/> 3755 <field name="SDE Done" start="22" end="22" type="bool"/> 3756 <field name="RCCFBC CS Done" start="23" end="23" type="bool"/> 3757 </register> 3758 3759 <register name="INSTPM" length="1" num="0x20c0"> 3760 <field name="3D State Instruction Disable" start="1" end="1" type="bool"/> 3761 <field name="3D Rendering Instruction Disable" start="2" end="2" type="bool"/> 3762 <field name="Media Instruction Disable" start="3" end="3" type="bool"/> 3763 <field name="CONSTANT_BUFFER Address Offset Disable" start="6" end="6" type="bool"/> 3764 <field name="3D State Instruction Disable Mask" start="17" end="17" type="bool"/> 3765 <field name="3D Rendering Instruction Disable Mask" start="18" end="18" type="bool"/> 3766 <field name="Media Instruction Disable Mask" start="19" end="19" type="bool"/> 3767 <field name="CONSTANT_BUFFER Address Offset Disable Mask" start="22" end="22" type="bool"/> 3768 </register> 3769 3770 <register name="L3CNTLREG2" length="1" num="0xb020"> 3771 <field name="SLM Enable" start="0" end="0" type="uint"/> 3772 <field name="URB Allocation" start="1" end="6" type="uint"/> 3773 <field name="URB Low Bandwidth" start="7" end="7" type="uint"/> 3774 <field name="ALL Allocation" start="8" end="13" type="uint"/> 3775 <field name="RO Allocation" start="14" end="19" type="uint"/> 3776 <field name="RO Low Bandwidth" start="20" end="20" type="uint"/> 3777 <field name="DC Allocation" start="21" end="26" type="uint"/> 3778 <field name="DC Low Bandwidth" start="27" end="27" type="uint"/> 3779 </register> 3780 3781 <register name="L3CNTLREG3" length="1" num="0xb024"> 3782 <field name="IS Allocation" start="1" end="6" type="uint"/> 3783 <field name="IS Low Bandwidth" start="7" end="7" type="uint"/> 3784 <field name="C Allocation" start="8" end="13" type="uint"/> 3785 <field name="C Low Bandwidth" start="14" end="14" type="uint"/> 3786 <field name="T Allocation" start="15" end="20" type="uint"/> 3787 <field name="T Low Bandwidth" start="21" end="21" type="uint"/> 3788 </register> 3789 3790 <register name="L3SQCREG1" length="1" num="0xb010"> 3791 <field name="Convert DC_UC" start="24" end="24" type="uint"/> 3792 <field name="Convert IS_UC" start="25" end="25" type="uint"/> 3793 <field name="Convert C_UC" start="26" end="26" type="uint"/> 3794 <field name="Convert T_UC" start="27" end="27" type="uint"/> 3795 </register> 3796 3797 <register name="PS_INVOCATION_COUNT" length="2" num="0x2348"> 3798 <field name="PS Invocation Count Report" start="0" end="63" type="uint"/> 3799 </register> 3800 3801 <register name="RCS_FAULT_REG" length="1" num="0x4094"> 3802 <field name="Valid Bit" start="0" end="0" type="bool"/> 3803 <field name="Fault Type" start="1" end="2" type="uint"> 3804 <value name="Page Fault" value="0"/> 3805 <value name="Invalid PD Fault" value="1"/> 3806 <value name="Unloaded PD Fault" value="2"/> 3807 <value name="Invalid and Unloaded PD fault" value="3"/> 3808 </field> 3809 <field name="SRCID of Fault" start="3" end="10" type="uint"/> 3810 <field name="GTTSEL" start="11" end="11" type="uint"> 3811 <value name="PPGTT" value="0"/> 3812 <value name="GGTT" value="1"/> 3813 </field> 3814 <field name="Virtual Address of Fault" start="12" end="31" type="address"/> 3815 </register> 3816 3817 <register name="RCS_RING_BUFFER_CTL" length="1" num="0x203c"> 3818 <field name="Ring Buffer Enable" start="0" end="0" type="bool"/> 3819 <field name="Automatic Report Head Pointer" start="1" end="2" type="uint"> 3820 <value name="MI_AUTOREPORT_OFF" value="0"/> 3821 <value name="MI_AUTOREPORT_64KBMI_AUTOREPORT_4KB" value="1"/> 3822 <value name="MI_AUTOREPORT_128KB" value="3"/> 3823 </field> 3824 <field name="Semaphore Wait" start="10" end="10" type="bool"/> 3825 <field name="RBWait" start="11" end="11" type="bool"/> 3826 <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/> 3827 </register> 3828 3829 <register name="ROW_INSTDONE" length="1" num="0xe164"> 3830 <field name="BC Done" start="0" end="0" type="bool"/> 3831 <field name="PSD Done" start="1" end="1" type="bool"/> 3832 <field name="DC Done" start="2" end="2" type="bool"/> 3833 <field name="DAPR Done" start="3" end="3" type="bool"/> 3834 <field name="TDL Done" start="6" end="6" type="bool"/> 3835 <field name="GW Done" start="8" end="8" type="bool"/> 3836 <field name="IC Done" start="12" end="12" type="bool"/> 3837 <field name="EU00 Done SS0" start="16" end="16" type="bool"/> 3838 <field name="EU01 Done SS0" start="17" end="17" type="bool"/> 3839 <field name="EU02 Done SS0" start="18" end="18" type="bool"/> 3840 <field name="EU03 Done SS0" start="19" end="19" type="bool"/> 3841 <field name="MA0 Done SS0" start="20" end="20" type="bool"/> 3842 <field name="EU10 Done SS0" start="21" end="21" type="bool"/> 3843 <field name="EU11 Done SS0" start="22" end="22" type="bool"/> 3844 <field name="EU12 Done SS0" start="23" end="23" type="bool"/> 3845 <field name="EU13 Done SS0" start="24" end="24" type="bool"/> 3846 <field name="MA1 Done" start="25" end="25" type="bool"/> 3847 </register> 3848 3849 <register name="RPSTAT1" length="1" num="0xa01c"> 3850 <field name="Previous GT Frequency" start="0" end="6" type="uint"/> 3851 <field name="Current GT Frequency" start="7" end="14" type="uint"/> 3852 </register> 3853 3854 <register name="SAMPLER_INSTDONE" length="1" num="0xe160"> 3855 <field name="VME Done" start="0" end="0" type="bool"/> 3856 <field name="PL0 Done" start="1" end="1" type="bool"/> 3857 <field name="SO0 Done" start="2" end="2" type="bool"/> 3858 <field name="DG0 Done" start="3" end="3" type="bool"/> 3859 <field name="FT0 Done" start="4" end="4" type="bool"/> 3860 <field name="DM0 Done" start="5" end="5" type="bool"/> 3861 <field name="SC Done" start="6" end="6" type="bool"/> 3862 <field name="FL0 Done" start="7" end="7" type="bool"/> 3863 <field name="QC Done" start="8" end="8" type="bool"/> 3864 <field name="SVSM Done" start="9" end="9" type="bool"/> 3865 <field name="SI0 Done" start="10" end="10" type="bool"/> 3866 <field name="MT0 Done" start="11" end="11" type="bool"/> 3867 <field name="AVS Done" start="12" end="12" type="bool"/> 3868 <field name="IEF Done" start="13" end="13" type="bool"/> 3869 <field name="VDI Done" start="14" end="14" type="bool"/> 3870 <field name="SVSM ARB3" start="15" end="15" type="bool"/> 3871 <field name="SVSM ARB2" start="16" end="16" type="bool"/> 3872 <field name="SVSM ARB1" start="17" end="17" type="bool"/> 3873 <field name="SVSM Adapter" start="18" end="18" type="bool"/> 3874 </register> 3875 3876 <register name="SC_INSTDONE" length="1" num="0x7100"> 3877 <field name="SVL Done" start="0" end="0" type="bool"/> 3878 <field name="WMFE Done" start="1" end="1" type="bool"/> 3879 <field name="WMBE Done" start="2" end="2" type="bool"/> 3880 <field name="HIZ Done" start="3" end="3" type="bool"/> 3881 <field name="STC Done" start="4" end="4" type="bool"/> 3882 <field name="IZ Done" start="5" end="5" type="bool"/> 3883 <field name="SBE Done" start="6" end="6" type="bool"/> 3884 <field name="RCZ Done" start="8" end="8" type="bool"/> 3885 <field name="RCC Done" start="9" end="9" type="bool"/> 3886 <field name="RCPBE Done" start="10" end="10" type="bool"/> 3887 <field name="RCPFE Done" start="11" end="11" type="bool"/> 3888 <field name="DAPB Done" start="12" end="12" type="bool"/> 3889 <field name="DAPRBE Done" start="13" end="13" type="bool"/> 3890 <field name="IECP Done" start="14" end="14" type="bool"/> 3891 <field name="SARB Done" start="15" end="15" type="bool"/> 3892 <field name="VSC Done" start="16" end="16" type="bool"/> 3893 </register> 3894 3895 <register name="SO_NUM_PRIMS_WRITTEN0" length="2" num="0x5200"> 3896 <field name="Num Prims Written Count" start="0" end="63" type="uint"/> 3897 </register> 3898 3899 <register name="SO_NUM_PRIMS_WRITTEN1" length="2" num="0x5208"> 3900 <field name="Num Prims Written Count" start="0" end="63" type="uint"/> 3901 </register> 3902 3903 <register name="SO_NUM_PRIMS_WRITTEN2" length="2" num="0x5210"> 3904 <field name="Num Prims Written Count" start="0" end="63" type="uint"/> 3905 </register> 3906 3907 <register name="SO_NUM_PRIMS_WRITTEN3" length="2" num="0x5218"> 3908 <field name="Num Prims Written Count" start="0" end="63" type="uint"/> 3909 </register> 3910 3911 <register name="SO_PRIM_STORAGE_NEEDED0" length="2" num="0x5240"> 3912 <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/> 3913 </register> 3914 3915 <register name="SO_PRIM_STORAGE_NEEDED1" length="2" num="0x5248"> 3916 <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/> 3917 </register> 3918 3919 <register name="SO_PRIM_STORAGE_NEEDED2" length="2" num="0x5250"> 3920 <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/> 3921 </register> 3922 3923 <register name="SO_PRIM_STORAGE_NEEDED3" length="2" num="0x5258"> 3924 <field name="Prim Storage Needed Count" start="0" end="63" type="uint"/> 3925 </register> 3926 3927 <register name="SO_WRITE_OFFSET0" length="1" num="0x5280"> 3928 <field name="Write Offset" start="2" end="31" type="offset"/> 3929 </register> 3930 3931 <register name="SO_WRITE_OFFSET1" length="1" num="0x5284"> 3932 <field name="Write Offset" start="2" end="31" type="offset"/> 3933 </register> 3934 3935 <register name="SO_WRITE_OFFSET2" length="1" num="0x5288"> 3936 <field name="Write Offset" start="2" end="31" type="offset"/> 3937 </register> 3938 3939 <register name="SO_WRITE_OFFSET3" length="1" num="0x528c"> 3940 <field name="Write Offset" start="2" end="31" type="offset"/> 3941 </register> 3942 3943 <register name="VCS_FAULT_REG" length="1" num="0x4194"> 3944 <field name="Valid Bit" start="0" end="0" type="bool"/> 3945 <field name="Fault Type" start="1" end="2" type="uint"> 3946 <value name="Page Fault" value="0"/> 3947 <value name="Invalid PD Fault" value="1"/> 3948 <value name="Unloaded PD Fault" value="2"/> 3949 <value name="Invalid and Unloaded PD fault" value="3"/> 3950 </field> 3951 <field name="SRCID of Fault" start="3" end="10" type="uint"/> 3952 <field name="GTTSEL" start="11" end="11" type="uint"> 3953 <value name="PPGTT" value="0"/> 3954 <value name="GGTT" value="1"/> 3955 </field> 3956 <field name="Virtual Address of Fault" start="12" end="31" type="address"/> 3957 </register> 3958 3959 <register name="VCS_INSTDONE" length="1" num="0x1206c"> 3960 <field name="Ring Enable" start="0" end="0" type="bool"/> 3961 <field name="USB Done" start="1" end="1" type="bool"/> 3962 <field name="QRC Done" start="2" end="2" type="bool"/> 3963 <field name="SEC Done" start="3" end="3" type="bool"/> 3964 <field name="MPC Done" start="4" end="4" type="bool"/> 3965 <field name="VFT Done" start="5" end="5" type="bool"/> 3966 <field name="BSP Done" start="6" end="6" type="bool"/> 3967 <field name="VLF Done" start="7" end="7" type="bool"/> 3968 <field name="VOP Done" start="8" end="8" type="bool"/> 3969 <field name="VMC Done" start="9" end="9" type="bool"/> 3970 <field name="VIP Done" start="10" end="10" type="bool"/> 3971 <field name="VIT Done" start="11" end="11" type="bool"/> 3972 <field name="VDS Done" start="12" end="12" type="bool"/> 3973 <field name="VMX Done" start="13" end="13" type="bool"/> 3974 <field name="VCP Done" start="14" end="14" type="bool"/> 3975 <field name="VCD Done" start="15" end="15" type="bool"/> 3976 <field name="VAD Done" start="16" end="16" type="bool"/> 3977 <field name="VMD Done" start="17" end="17" type="bool"/> 3978 <field name="VIS Done" start="18" end="18" type="bool"/> 3979 <field name="VAC Done" start="19" end="19" type="bool"/> 3980 <field name="VAM Done" start="20" end="20" type="bool"/> 3981 <field name="JPG Done" start="21" end="21" type="bool"/> 3982 <field name="VBP Done" start="22" end="22" type="bool"/> 3983 <field name="VHR Done" start="23" end="23" type="bool"/> 3984 <field name="VCI Done" start="24" end="24" type="bool"/> 3985 <field name="VCR Done" start="25" end="25" type="bool"/> 3986 <field name="VIN Done" start="26" end="26" type="bool"/> 3987 <field name="VPR Done" start="27" end="27" type="bool"/> 3988 <field name="VTQ Done" start="28" end="28" type="bool"/> 3989 <field name="VCS Done" start="30" end="30" type="bool"/> 3990 <field name="GAC Done" start="31" end="31" type="bool"/> 3991 </register> 3992 3993 <register name="VCS_RING_BUFFER_CTL" length="1" num="0x1203c"> 3994 <field name="Ring Buffer Enable" start="0" end="0" type="bool"/> 3995 <field name="Automatic Report Head Pointer" start="1" end="2" type="uint"> 3996 <value name="MI_AUTOREPORT_OFF" value="0"/> 3997 <value name="MI_AUTOREPORT_64KB" value="1"/> 3998 <value name="MI_AUTOREPORT_4KB" value="2"/> 3999 <value name="MI_AUTOREPORT_128KB" value="3"/> 4000 </field> 4001 <field name="Disable Register Accesses" start="8" end="8" type="bool"/> 4002 <field name="Semaphore Wait" start="10" end="10" type="bool"/> 4003 <field name="RBWait" start="11" end="11" type="bool"/> 4004 <field name="Buffer Length (in pages - 1)" start="12" end="20" type="uint"/> 4005 </register> 4006 4007 <register name="VS_INVOCATION_COUNT" length="2" num="0x2320"> 4008 <field name="VS Invocation Count Report" start="0" end="63" type="uint"/> 4009 </register> 4010</genxml> 4011