1<?xml version="1.0" ?> 2<genxml name="CTG" gen="4.5"> 3 <enum name="3D_Prim_Topo_Type" prefix="3DPRIM"> 4 <value name="POINTLIST" value="1"/> 5 <value name="LINELIST" value="2"/> 6 <value name="LINESTRIP" value="3"/> 7 <value name="TRILIST" value="4"/> 8 <value name="TRISTRIP" value="5"/> 9 <value name="TRIFAN" value="6"/> 10 <value name="QUADLIST" value="7"/> 11 <value name="QUADSTRIP" value="8"/> 12 <value name="LINELIST_ADJ" value="9"/> 13 <value name="LINESTRIP_ADJ" value="10"/> 14 <value name="TRILIST_ADJ" value="11"/> 15 <value name="TRISTRIP_ADJ" value="12"/> 16 <value name="TRISTRIP_REVERSE" value="13"/> 17 <value name="POLYGON" value="14"/> 18 <value name="RECTLIST" value="15"/> 19 <value name="LINELOOP" value="16"/> 20 <value name="POINTLIST _BF" value="17"/> 21 <value name="LINESTRIP_CONT" value="18"/> 22 <value name="LINESTRIP_BF" value="19"/> 23 <value name="LINESTRIP_CONT_BF" value="20"/> 24 <value name="TRIFAN_NOSTIPPLE" value="22"/> 25 </enum> 26 27 <enum name="3D_Vertex_Component_Control" prefix="VFCOMP"> 28 <value name="NOSTORE" value="0"/> 29 <value name="STORE_SRC" value="1"/> 30 <value name="STORE_0" value="2"/> 31 <value name="STORE_1_FP" value="3"/> 32 <value name="STORE_1_INT" value="4"/> 33 <value name="STORE_VID" value="5"/> 34 <value name="STORE_IID" value="6"/> 35 <value name="STORE_PID" value="7"/> 36 </enum> 37 38 <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION"> 39 <value name="ADD" value="0"/> 40 <value name="SUBTRACT" value="1"/> 41 <value name="REVERSE_SUBTRACT" value="2"/> 42 <value name="MIN" value="3"/> 43 <value name="MAX" value="4"/> 44 </enum> 45 46 <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR"> 47 <value name="ONE" value="1"/> 48 <value name="SRC_COLOR" value="2"/> 49 <value name="SRC_ALPHA" value="3"/> 50 <value name="DST_ALPHA" value="4"/> 51 <value name="DST_COLOR" value="5"/> 52 <value name="SRC_ALPHA_SATURATE" value="6"/> 53 <value name="CONST_COLOR" value="7"/> 54 <value name="CONST_ALPHA" value="8"/> 55 <value name="SRC1_COLOR" value="9"/> 56 <value name="SRC1_ALPHA" value="10"/> 57 <value name="ZERO" value="17"/> 58 <value name="INV_SRC_COLOR" value="18"/> 59 <value name="INV_SRC_ALPHA" value="19"/> 60 <value name="INV_DST_ALPHA" value="20"/> 61 <value name="INV_DST_COLOR" value="21"/> 62 <value name="INV_CONST_COLOR" value="23"/> 63 <value name="INV_CONST_ALPHA" value="24"/> 64 <value name="INV_SRC1_COLOR" value="25"/> 65 <value name="INV_SRC1_ALPHA" value="26"/> 66 </enum> 67 68 <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION"> 69 <value name="ALWAYS" value="0"/> 70 <value name="NEVER" value="1"/> 71 <value name="LESS" value="2"/> 72 <value name="EQUAL" value="3"/> 73 <value name="LEQUAL" value="4"/> 74 <value name="GREATER" value="5"/> 75 <value name="NOTEQUAL" value="6"/> 76 <value name="GEQUAL" value="7"/> 77 </enum> 78 79 <enum name="3D_Stencil_Operation" prefix="STENCILOP"> 80 <value name="KEEP" value="0"/> 81 <value name="ZERO" value="1"/> 82 <value name="REPLACE" value="2"/> 83 <value name="INCRSAT" value="3"/> 84 <value name="DECRSAT" value="4"/> 85 <value name="INCR" value="5"/> 86 <value name="DECR" value="6"/> 87 <value name="INVERT" value="7"/> 88 </enum> 89 90 <enum name="3D_Logic_Op_Function" prefix="LOGICOP"> 91 <value name="CLEAR" value="0"/> 92 <value name="NOR" value="1"/> 93 <value name="AND_INVERTED" value="2"/> 94 <value name="COPY_INVERTED" value="3"/> 95 <value name="AND_REVERSE" value="4"/> 96 <value name="INVERT" value="5"/> 97 <value name="XOR" value="6"/> 98 <value name="NAND" value="7"/> 99 <value name="AND" value="8"/> 100 <value name="EQUIV" value="9"/> 101 <value name="NOOP" value="10"/> 102 <value name="OR_INVERTED" value="11"/> 103 <value name="COPY" value="12"/> 104 <value name="OR_REVERSE" value="13"/> 105 <value name="OR" value="14"/> 106 <value name="SET" value="15"/> 107 </enum> 108 109 <enum name="SURFACE_FORMAT" prefix="SF"> 110 <value name="R32G32B32A32_FLOAT" value="0"/> 111 <value name="R32G32B32A32_SINT" value="1"/> 112 <value name="R32G32B32A32_UINT" value="2"/> 113 <value name="R32G32B32A32_UNORM" value="3"/> 114 <value name="R32G32B32A32_SNORM" value="4"/> 115 <value name="R64G64_FLOAT" value="5"/> 116 <value name="R32G32B32X32_FLOAT" value="6"/> 117 <value name="R32G32B32A32_SSCALED" value="7"/> 118 <value name="R32G32B32A32_USCALED" value="8"/> 119 <value name="R32G32B32_FLOAT" value="64"/> 120 <value name="R32G32B32_SINT" value="65"/> 121 <value name="R32G32B32_UINT" value="66"/> 122 <value name="R32G32B32_UNORM" value="67"/> 123 <value name="R32G32B32_SNORM" value="68"/> 124 <value name="R32G32B32_SSCALED" value="69"/> 125 <value name="R32G32B32_USCALED" value="70"/> 126 <value name="R32G32B32_SFIXED" value="80"/> 127 <value name="R16G16B16A16_UNORM" value="128"/> 128 <value name="R16G16B16A16_SNORM" value="129"/> 129 <value name="R16G16B16A16_SINT" value="130"/> 130 <value name="R16G16B16A16_UINT" value="131"/> 131 <value name="R16G16B16A16_FLOAT" value="132"/> 132 <value name="R32G32_FLOAT" value="133"/> 133 <value name="R32G32_SINT" value="134"/> 134 <value name="R32G32_UINT" value="135"/> 135 <value name="R32_FLOAT_X8X24_TYPELESS" value="136"/> 136 <value name="X32_TYPELESS_G8X24_UINT" value="137"/> 137 <value name="L32A32_FLOAT" value="138"/> 138 <value name="R32G32_UNORM" value="139"/> 139 <value name="R32G32_SNORM" value="140"/> 140 <value name="R64_FLOAT" value="141"/> 141 <value name="R16G16B16X16_UNORM" value="142"/> 142 <value name="R16G16B16X16_FLOAT" value="143"/> 143 <value name="A32X32_FLOAT" value="144"/> 144 <value name="L32X32_FLOAT" value="145"/> 145 <value name="I32X32_FLOAT" value="146"/> 146 <value name="R16G16B16A16_SSCALED" value="147"/> 147 <value name="R16G16B16A16_USCALED" value="148"/> 148 <value name="R32G32_SSCALED" value="149"/> 149 <value name="R32G32_USCALED" value="150"/> 150 <value name="B8G8R8A8_UNORM" value="192"/> 151 <value name="B8G8R8A8_UNORM_SRGB" value="193"/> 152 <value name="R10G10B10A2_UNORM" value="194"/> 153 <value name="R10G10B10A2_UNORM_SRGB" value="195"/> 154 <value name="R10G10B10A2_UINT" value="196"/> 155 <value name="R10G10B10_SNORM_A2_UNORM" value="197"/> 156 <value name="R8G8B8A8_UNORM" value="199"/> 157 <value name="R8G8B8A8_UNORM_SRGB" value="200"/> 158 <value name="R8G8B8A8_SNORM" value="201"/> 159 <value name="R8G8B8A8_SINT" value="202"/> 160 <value name="R8G8B8A8_UINT" value="203"/> 161 <value name="R16G16_UNORM" value="204"/> 162 <value name="R16G16_SNORM" value="205"/> 163 <value name="R16G16_SINT" value="206"/> 164 <value name="R16G16_UINT" value="207"/> 165 <value name="R16G16_FLOAT" value="208"/> 166 <value name="B10G10R10A2_UNORM" value="209"/> 167 <value name="B10G10R10A2_UNORM_SRGB" value="210"/> 168 <value name="R11G11B10_FLOAT" value="211"/> 169 <value name="R32_SINT" value="214"/> 170 <value name="R32_UINT" value="215"/> 171 <value name="R32_FLOAT" value="216"/> 172 <value name="R24_UNORM_X8_TYPELESS" value="217"/> 173 <value name="X24_TYPELESS_G8_UINT" value="218"/> 174 <value name="L32_UNORM" value="221"/> 175 <value name="A32_UNORM" value="222"/> 176 <value name="L16A16_UNORM" value="223"/> 177 <value name="I24X8_UNORM" value="224"/> 178 <value name="L24X8_UNORM" value="225"/> 179 <value name="A24X8_UNORM" value="226"/> 180 <value name="I32_FLOAT" value="227"/> 181 <value name="L32_FLOAT" value="228"/> 182 <value name="A32_FLOAT" value="229"/> 183 <value name="X8B8_UNORM_G8R8_SNORM" value="230"/> 184 <value name="A8X8_UNORM_G8R8_SNORM" value="231"/> 185 <value name="B8X8_UNORM_G8R8_SNORM" value="232"/> 186 <value name="B8G8R8X8_UNORM" value="233"/> 187 <value name="B8G8R8X8_UNORM_SRGB" value="234"/> 188 <value name="R8G8B8X8_UNORM" value="235"/> 189 <value name="R8G8B8X8_UNORM_SRGB" value="236"/> 190 <value name="R9G9B9E5_SHAREDEXP" value="237"/> 191 <value name="B10G10R10X2_UNORM" value="238"/> 192 <value name="L16A16_FLOAT" value="240"/> 193 <value name="R32_UNORM" value="241"/> 194 <value name="R32_SNORM" value="242"/> 195 <value name="R10G10B10X2_USCALED" value="243"/> 196 <value name="R8G8B8A8_SSCALED" value="244"/> 197 <value name="R8G8B8A8_USCALED" value="245"/> 198 <value name="R16G16_SSCALED" value="246"/> 199 <value name="R16G16_USCALED" value="247"/> 200 <value name="R32_SSCALED" value="248"/> 201 <value name="R32_USCALED" value="249"/> 202 <value name="B5G6R5_UNORM" value="256"/> 203 <value name="B5G6R5_UNORM_SRGB" value="257"/> 204 <value name="B5G5R5A1_UNORM" value="258"/> 205 <value name="B5G5R5A1_UNORM_SRGB" value="259"/> 206 <value name="B4G4R4A4_UNORM" value="260"/> 207 <value name="B4G4R4A4_UNORM_SRGB" value="261"/> 208 <value name="R8G8_UNORM" value="262"/> 209 <value name="R8G8_SNORM" value="263"/> 210 <value name="R8G8_SINT" value="264"/> 211 <value name="R8G8_UINT" value="265"/> 212 <value name="R16_UNORM" value="266"/> 213 <value name="R16_SNORM" value="267"/> 214 <value name="R16_SINT" value="268"/> 215 <value name="R16_UINT" value="269"/> 216 <value name="R16_FLOAT" value="270"/> 217 <value name="A8P8_UNORM_PALETTE0" value="271"/> 218 <value name="A8P8_UNORM_PALETTE1" value="272"/> 219 <value name="I16_UNORM" value="273"/> 220 <value name="L16_UNORM" value="274"/> 221 <value name="A16_UNORM" value="275"/> 222 <value name="L8A8_UNORM" value="276"/> 223 <value name="I16_FLOAT" value="277"/> 224 <value name="L16_FLOAT" value="278"/> 225 <value name="A16_FLOAT" value="279"/> 226 <value name="L8A8_UNORM_SRGB" value="280"/> 227 <value name="R5G5_SNORM_B6_UNORM" value="281"/> 228 <value name="B5G5R5X1_UNORM" value="282"/> 229 <value name="B5G5R5X1_UNORM_SRGB" value="283"/> 230 <value name="R8G8_SSCALED" value="284"/> 231 <value name="R8G8_USCALED" value="285"/> 232 <value name="R16_SSCALED" value="286"/> 233 <value name="R16_USCALED" value="287"/> 234 <value name="P8A8_UNORM_PALETTE0" value="290"/> 235 <value name="P8A8_UNORM_PALETTE1" value="291"/> 236 <value name="A1B5G5R5_UNORM" value="292"/> 237 <value name="A4B4G4R4_UNORM" value="293"/> 238 <value name="L8A8_UINT" value="294"/> 239 <value name="L8A8_SINT" value="295"/> 240 <value name="R8_UNORM" value="320"/> 241 <value name="R8_SNORM" value="321"/> 242 <value name="R8_SINT" value="322"/> 243 <value name="R8_UINT" value="323"/> 244 <value name="A8_UNORM" value="324"/> 245 <value name="I8_UNORM" value="325"/> 246 <value name="L8_UNORM" value="326"/> 247 <value name="P4A4_UNORM_PALETTE0" value="327"/> 248 <value name="A4P4_UNORM_PALETTE0" value="328"/> 249 <value name="R8_SSCALED" value="329"/> 250 <value name="R8_USCALED" value="330"/> 251 <value name="P8_UNORM_PALETTE0" value="331"/> 252 <value name="L8_UNORM_SRGB" value="332"/> 253 <value name="P8_UNORM_PALETTE1" value="333"/> 254 <value name="P4A4_UNORM_PALETTE1" value="334"/> 255 <value name="A4P4_UNORM_PALETTE1" value="335"/> 256 <value name="Y8_UNORM" value="336"/> 257 <value name="L8_UINT" value="338"/> 258 <value name="L8_SINT" value="339"/> 259 <value name="I8_UINT" value="340"/> 260 <value name="I8_SINT" value="341"/> 261 <value name="DXT1_RGB_SRGB" value="384"/> 262 <value name="R1_UNORM" value="385"/> 263 <value name="YCRCB_NORMAL" value="386"/> 264 <value name="YCRCB_SWAPUVY" value="387"/> 265 <value name="P2_UNORM_PALETTE0" value="388"/> 266 <value name="P2_UNORM_PALETTE1" value="389"/> 267 <value name="BC1_UNORM" value="390"/> 268 <value name="BC2_UNORM" value="391"/> 269 <value name="BC3_UNORM" value="392"/> 270 <value name="BC4_UNORM" value="393"/> 271 <value name="BC5_UNORM" value="394"/> 272 <value name="BC1_UNORM_SRGB" value="395"/> 273 <value name="BC2_UNORM_SRGB" value="396"/> 274 <value name="BC3_UNORM_SRGB" value="397"/> 275 <value name="MONO8" value="398"/> 276 <value name="YCRCB_SWAPUV" value="399"/> 277 <value name="YCRCB_SWAPY" value="400"/> 278 <value name="DXT1_RGB" value="401"/> 279 <value name="FXT1" value="402"/> 280 <value name="R8G8B8_UNORM" value="403"/> 281 <value name="R8G8B8_SNORM" value="404"/> 282 <value name="R8G8B8_SSCALED" value="405"/> 283 <value name="R8G8B8_USCALED" value="406"/> 284 <value name="R64G64B64A64_FLOAT" value="407"/> 285 <value name="R64G64B64_FLOAT" value="408"/> 286 <value name="BC4_SNORM" value="409"/> 287 <value name="BC5_SNORM" value="410"/> 288 <value name="R16G16B16_FLOAT" value="411"/> 289 <value name="R16G16B16_UNORM" value="412"/> 290 <value name="R16G16B16_SNORM" value="413"/> 291 <value name="R16G16B16_SSCALED" value="414"/> 292 <value name="R16G16B16_USCALED" value="415"/> 293 <value name="BC6H_SF16" value="417"/> 294 <value name="BC7_UNORM" value="418"/> 295 <value name="BC7_UNORM_SRGB" value="419"/> 296 <value name="BC6H_UF16" value="420"/> 297 <value name="PLANAR_420_8" value="421"/> 298 <value name="R8G8B8_UNORM_SRGB" value="424"/> 299 <value name="ETC1_RGB8" value="425"/> 300 <value name="ETC2_RGB8" value="426"/> 301 <value name="EAC_R11" value="427"/> 302 <value name="EAC_RG11" value="428"/> 303 <value name="EAC_SIGNED_R11" value="429"/> 304 <value name="EAC_SIGNED_RG11" value="430"/> 305 <value name="ETC2_SRGB8" value="431"/> 306 <value name="R16G16B16_UINT" value="432"/> 307 <value name="R16G16B16_SINT" value="433"/> 308 <value name="R32_SFIXED" value="434"/> 309 <value name="R10G10B10A2_SNORM" value="435"/> 310 <value name="R10G10B10A2_USCALED" value="436"/> 311 <value name="R10G10B10A2_SSCALED" value="437"/> 312 <value name="R10G10B10A2_SINT" value="438"/> 313 <value name="B10G10R10A2_SNORM" value="439"/> 314 <value name="B10G10R10A2_USCALED" value="440"/> 315 <value name="B10G10R10A2_SSCALED" value="441"/> 316 <value name="B10G10R10A2_UINT" value="442"/> 317 <value name="B10G10R10A2_SINT" value="443"/> 318 <value name="R64G64B64A64_PASSTHRU" value="444"/> 319 <value name="R64G64B64_PASSTHRU" value="445"/> 320 <value name="ETC2_RGB8_PTA" value="448"/> 321 <value name="ETC2_SRGB8_PTA" value="449"/> 322 <value name="ETC2_EAC_RGBA8" value="450"/> 323 <value name="ETC2_EAC_SRGB8_A8" value="451"/> 324 <value name="R8G8B8_UINT" value="456"/> 325 <value name="R8G8B8_SINT" value="457"/> 326 <value name="RAW" value="511"/> 327 </enum> 328 329 <enum name="Texture_Coordinate_Mode" prefix="TCM"> 330 <value name="WRAP" value="0"/> 331 <value name="MIRROR" value="1"/> 332 <value name="CLAMP" value="2"/> 333 <value name="CUBE" value="3"/> 334 <value name="CLAMP_BORDER" value="4"/> 335 <value name="MIRROR_ONCE" value="5"/> 336 </enum> 337 338 <struct name="CC_VIEWPORT" length="2"> 339 <field name="Minimum Depth" start="0" end="31" type="float"/> 340 <field name="Maximum Depth" start="32" end="63" type="float"/> 341 </struct> 342 343 <struct name="CLIP_STATE" length="11"> 344 <field name="Kernel Start Pointer" start="6" end="31" type="address"/> 345 <field name="GRF Register Count" start="1" end="3" type="uint"/> 346 <field name="Single Program Flow" start="63" end="63" type="bool"/> 347 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 348 <field name="Thread Priority" start="49" end="49" type="uint"> 349 <value name="Normal Priority" value="0"/> 350 <value name="High Priority" value="1"/> 351 </field> 352 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 353 <value name="IEEE-754" value="0"/> 354 <value name="Alternate" value="1"/> 355 </field> 356 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 357 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 358 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 359 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 360 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 361 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 362 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 363 <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/> 364 <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/> 365 <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> 366 <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> 367 <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> 368 <field name="Number of URB Entries" start="139" end="146" type="uint"/> 369 <field name="Clipper Statistics Enable" start="138" end="138" type="bool"/> 370 <field name="GS Output Object Statistics Enable" start="138" end="138" type="bool"/> 371 <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE"> 372 <value name="OGL" value="0"/> 373 <value name="D3D" value="1"/> 374 </field> 375 <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS"> 376 <value name="NDCSPACE" value="0"/> 377 <value name="SCREENSPACE" value="1"/> 378 </field> 379 <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/> 380 <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/> 381 <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/> 382 <field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/> 383 <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/> 384 <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/> 385 <field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE"> 386 <value name="NORMAL" value="0"/> 387 <value name="ALL" value="1"/> 388 <value name="CLIP_NON_REJECTED" value="2"/> 389 <value name="REJECT_ALL" value="3"/> 390 <value name="ACCEPT_ALL" value="4"/> 391 </field> 392 <field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/> 393 <field name="Screen Space Viewport X Min" start="224" end="255" type="float"/> 394 <field name="Screen Space Viewport X Max" start="256" end="287" type="float"/> 395 <field name="Screen Space Viewport Y Min" start="288" end="319" type="float"/> 396 <field name="Screen Space Viewport Y Max" start="320" end="351" type="float"/> 397 </struct> 398 399 <struct name="CLIP_VIEWPORT" length="4"> 400 <field name="XMin Clip Guardband" start="0" end="31" type="float"/> 401 <field name="XMax Clip Guardband" start="32" end="63" type="float"/> 402 <field name="YMin Clip Guardband" start="64" end="95" type="float"/> 403 <field name="YMax Clip Guardband" start="96" end="127" type="float"/> 404 </struct> 405 406 <struct name="SCISSOR_RECT" length="2"> 407 <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/> 408 <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/> 409 <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/> 410 <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/> 411 </struct> 412 413 <struct name="COLOR_CALC_STATE" length="8"> 414 <field name="Stencil Test Enable" start="31" end="31" type="bool"/> 415 <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/> 416 <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/> 417 <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/> 418 <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/> 419 <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/> 420 <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/> 421 <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/> 422 <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/> 423 <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/> 424 <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/> 425 <field name="Stencil Reference Value" start="56" end="63" type="uint"/> 426 <field name="Stencil Test Mask" start="48" end="55" type="uint"/> 427 <field name="Stencil Write Mask" start="40" end="47" type="uint"/> 428 <field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/> 429 <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/> 430 <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/> 431 <field name="Depth Test Enable" start="79" end="79" type="bool"/> 432 <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/> 433 <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/> 434 <field name="Logic Op Enable" start="64" end="64" type="bool"/> 435 <field name="Alpha Test Format" start="111" end="111" type="uint"> 436 <value name="ALPHATEST_UNORM8" value="0"/> 437 <value name="ALPHATEST_FLOAT32" value="1"/> 438 </field> 439 <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/> 440 <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/> 441 <field name="Alpha Test Enable" start="107" end="107" type="bool"/> 442 <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/> 443 <field name="CC Viewport State Pointer" start="133" end="159" type="address"/> 444 <field name="Color Dither Enable" start="191" end="191" type="bool"/> 445 <field name="Round Disable Function Disable" start="190" end="190" type="bool"/> 446 <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/> 447 <field name="Statistics Enable" start="175" end="175" type="bool"/> 448 <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/> 449 <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/> 450 <field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/> 451 <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/> 452 <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/> 453 <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/> 454 <field name="X Dither Offset" start="209" end="210" type="uint"/> 455 <field name="Y Dither Offset" start="207" end="208" type="uint"/> 456 <field name="Color Clamp Range" start="194" end="195" type="uint"> 457 <value name="COLORCLAMP_UNORM" value="0"/> 458 <value name="COLORCLAMP_SNORM" value="1"/> 459 <value name="COLORCLAMP_RTFORMAT" value="2"/> 460 </field> 461 <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/> 462 <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/> 463 <field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/> 464 <field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/> 465 </struct> 466 467 <struct name="GS_STATE" length="7"> 468 <field name="Kernel Start Pointer" start="6" end="31" type="address"/> 469 <field name="GRF Register Count" start="1" end="3" type="uint"/> 470 <field name="Single Program Flow" start="63" end="63" type="bool"/> 471 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 472 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 473 <value name="IEEE-754" value="0"/> 474 <value name="Alternate" value="1"/> 475 </field> 476 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 477 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 478 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 479 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 480 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 481 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 482 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 483 <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/> 484 <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/> 485 <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> 486 <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> 487 <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> 488 <field name="Number of URB Entries" start="139" end="146" type="uint"/> 489 <field name="GS Statistics Enable" start="138" end="138" type="bool"/> 490 <field name="Rendering Enable" start="136" end="136" type="bool"/> 491 <field name="Sampler State Pointer" start="165" end="191" type="address"/> 492 <field name="Sampler Count" start="160" end="162" type="uint"/> 493 <field name="Reorder Enable" start="222" end="222" type="bool"/> 494 <field name="Discard Adjacency" start="221" end="221" type="bool"/> 495 <field name="Maximum VPIndex" start="192" end="195" type="uint"/> 496 </struct> 497 498 <struct name="RENDER_SURFACE_STATE" length="6"> 499 <field name="Surface Type" start="29" end="31" type="uint"> 500 <value name="SURFTYPE_1D" value="0"/> 501 <value name="SURFTYPE_2D" value="1"/> 502 <value name="SURFTYPE_3D" value="2"/> 503 <value name="SURFTYPE_CUBE" value="3"/> 504 <value name="SURFTYPE_BUFFER" value="4"/> 505 <value name="SURFTYPE_NULL" value="7"/> 506 </field> 507 <field name="Data Return Format" start="27" end="27" type="uint"> 508 <value name="DATA_RETURN_FLOAT32" value="0"/> 509 <value name="DATA_RETURN_S1.14" value="1"/> 510 </field> 511 <field name="Surface Format" start="18" end="26" type="uint"/> 512 <field name="Color Buffer Component Write Disables" start="14" end="17" type="uint"> 513 <value name="WRITEDISABLE_ALPHA" value="8"/> 514 <value name="WRITEDISABLE_RED" value="4"/> 515 <value name="WRITEDISABLE_GREEN" value="2"/> 516 <value name="WRITEDISABLE_BLUE" value="1"/> 517 </field> 518 <field name="Color Blend Enable" start="13" end="13" type="bool"/> 519 <field name="Vertical Line Stride" start="12" end="12" type="uint"/> 520 <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/> 521 <field name="MIP Map Layout Mode" start="10" end="10" type="uint"> 522 <value name="MIPLAYOUT_BELOW" value="0"/> 523 <value name="MIPLAYOUT_RIGHT" value="1"/> 524 </field> 525 <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"> 526 <value name="WRITE_ONLY" value="0"/> 527 <value name="READ_WRITE" value="1"/> 528 </field> 529 <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint"> 530 <value name="NORMAL_MODE" value="0"/> 531 <value name="PROGRESSIVE_FRAME" value="2"/> 532 <value name="INTERLACED_FRAME" value="3"/> 533 </field> 534 <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/> 535 <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/> 536 <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/> 537 <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/> 538 <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/> 539 <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/> 540 <field name="Surface Base Address" start="32" end="63" type="address"/> 541 <field name="Height" start="83" end="95" type="uint"/> 542 <field name="Width" start="70" end="82" type="uint"/> 543 <field name="MIP Count / LOD" start="66" end="69" type="uint"/> 544 <field name="Depth" start="117" end="127" type="uint"/> 545 <field name="Surface Pitch" start="99" end="115" type="uint"/> 546 <field name="Tiled Surface" start="97" end="97" type="uint"/> 547 <field name="Tile Walk" start="96" end="96" type="uint"> 548 <value name="TILEWALK_XMAJOR" value="0"/> 549 <value name="TILEWALK_YMAJOR" value="1"/> 550 </field> 551 <field name="Surface Min LOD" start="156" end="159" type="uint"/> 552 <field name="Minimum Array Element" start="145" end="155" type="uint"/> 553 <field name="Render Target View Extent" start="136" end="144" type="uint"/> 554 <field name="X Offset" start="185" end="191" type="uint"/> 555 <field name="Y Offset" start="180" end="183" type="uint"/> 556 </struct> 557 558 <struct name="SAMPLER_BORDER_COLOR_STATE" length="12"> 559 <field name="Border Color Red" start="0" end="31" type="float"/> 560 <field name="Border Color Green" start="32" end="63" type="float"/> 561 <field name="Border Color Blue" start="64" end="95" type="float"/> 562 <field name="Border Color Alpha" start="96" end="127" type="float"/> 563 </struct> 564 565 <struct name="SAMPLER_STATE" length="4"> 566 <field name="Sampler Disable" start="31" end="31" type="bool"/> 567 <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/> 568 <field name="Base Mip Level" start="22" end="26" type="u4.1"/> 569 <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER"> 570 <value name="NONE" value="0"/> 571 <value name="NEAREST" value="1"/> 572 <value name="LINEAR" value="3"/> 573 </field> 574 <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER"> 575 <value name="NEAREST" value="0"/> 576 <value name="LINEAR" value="1"/> 577 <value name="ANISOTROPIC" value="2"/> 578 <value name="MONO" value="6"/> 579 </field> 580 <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/> 581 <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/> 582 <field name="Shadow Function" start="0" end="2" type="uint"> 583 <value name="PREFILTEROP_ALWAYS" value="0"/> 584 <value name="PREFILTEROP_NEVER" value="1"/> 585 <value name="PREFILTEROP_LESS" value="2"/> 586 <value name="PREFILTEROP_EQUAL" value="3"/> 587 <value name="PREFILTEROP_LEQUAL" value="4"/> 588 <value name="PREFILTEROP_GREATER" value="5"/> 589 <value name="PREFILTEROP_NOTEQUAL" value="6"/> 590 <value name="PREFILTEROP_GEQUAL" value="7"/> 591 </field> 592 <field name="Min LOD" start="54" end="63" type="u4.6"/> 593 <field name="Max LOD" start="44" end="53" type="u4.6"/> 594 <field name="Cube Surface Control Mode" start="41" end="41" type="uint"> 595 <value name="CUBECTRLMODE_PROGRAMMED" value="0"/> 596 <value name="CUBECTRLMODE_OVERRIDE" value="1"/> 597 </field> 598 <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/> 599 <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/> 600 <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/> 601 <field name="Border Color Pointer" start="69" end="95" type="address"/> 602 <field name="Monochrome Filter Height" start="125" end="127" type="uint"/> 603 <field name="Monochrome Filter Width" start="122" end="124" type="uint"/> 604 <field name="ChromaKey Enable" start="121" end="121" type="bool"/> 605 <field name="ChromaKey Index" start="119" end="120" type="uint"/> 606 <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER"> 607 <value name="KILL_ON_ANY_MATCH" value="0"/> 608 <value name="REPLACE_BLACK" value="1"/> 609 </field> 610 <field name="Maximum Anisotropy" start="115" end="117" type="uint"> 611 <value name="RATIO 2:1" value="0"/> 612 <value name="RATIO 4:1" value="1"/> 613 <value name="RATIO 6:1" value="2"/> 614 <value name="RATIO 8:1" value="3"/> 615 <value name="RATIO 10:1" value="4"/> 616 <value name="RATIO 12:1" value="5"/> 617 <value name="RATIO 14:1" value="6"/> 618 <value name="RATIO 16:1" value="7"/> 619 </field> 620 <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/> 621 <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/> 622 <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/> 623 <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/> 624 <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/> 625 <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/> 626 </struct> 627 628 <struct name="SF_STATE" length="8"> 629 <field name="Kernel Start Pointer" start="6" end="31" type="address"/> 630 <field name="GRF Register Count" start="1" end="3" type="uint"/> 631 <field name="Single Program Flow" start="63" end="63" type="bool"/> 632 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 633 <field name="Thread Priority" start="49" end="49" type="uint"> 634 <value name="Normal Priority" value="0"/> 635 <value name="High Priority" value="1"/> 636 </field> 637 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 638 <value name="IEEE-754" value="0"/> 639 <value name="Alternate" value="1"/> 640 </field> 641 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 642 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 643 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 644 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 645 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 646 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 647 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 648 <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/> 649 <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/> 650 <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> 651 <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> 652 <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> 653 <field name="Number of URB Entries" start="139" end="146" type="uint"/> 654 <field name="Statistics Enable" start="138" end="138" type="bool"/> 655 <field name="Setup Viewport State Offset" start="165" end="191" type="address"/> 656 <field name="Viewport Transform Enable" start="161" end="161" type="bool"/> 657 <field name="Front Winding" start="160" end="160" type="uint"> 658 <value name="FRONTWINDING_CW" value="0"/> 659 <value name="FRONTWINDING_CCW" value="1"/> 660 </field> 661 <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/> 662 <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE"> 663 <value name="BOTH" value="0"/> 664 <value name="NONE" value="1"/> 665 <value name="FRONT" value="2"/> 666 <value name="BACK" value="3"/> 667 </field> 668 <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/> 669 <field name="Line Width" start="216" end="219" type="u3.1"/> 670 <field name="Line End Cap Antialiasing Region Width" start="214" end="215" type="uint"> 671 <value name="0.5 pixels" value="0"/> 672 <value name="1.0 pixels" value="1"/> 673 <value name="2.0 pixels" value="2"/> 674 <value name="4.0 pixels" value="3"/> 675 </field> 676 <field name="Point Rasterization Rule" start="212" end="213" type="uint"> 677 <value name="RASTRULE_UPPER_LEFT" value="0"/> 678 <value name="RASTRULE_UPPER_RIGHT" value="1"/> 679 </field> 680 <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/> 681 <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/> 682 <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/> 683 <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/> 684 <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/> 685 <field name="Last Pixel Enable" start="255" end="255" type="bool"/> 686 <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint"> 687 <value name="Vertex 0" value="0"/> 688 <value name="Vertex 1" value="1"/> 689 <value name="Vertex 2" value="2"/> 690 </field> 691 <field name="Line Strip/List Provoking Vertex Select" start="251" end="252" type="uint"> 692 <value name="Vertex 0" value="0"/> 693 <value name="Vertex 1" value="1"/> 694 </field> 695 <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint"> 696 <value name="Vertex 0" value="0"/> 697 <value name="Vertex 1" value="1"/> 698 <value name="Vertex 2" value="2"/> 699 </field> 700 <field name="AA Line Distance Mode" start="238" end="238" type="uint" prefix="AALINEDISTANCE"> 701 <value name="MANHATTAN" value="0"/> 702 <value name="TRUE" value="1"/> 703 </field> 704 <field name="Sprite Point Enable" start="237" end="237" type="bool"/> 705 <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint"> 706 <value name="8 Sub-Pixel Precision Bits" value="0"/> 707 <value name="4 Sub-Pixel Precision Bits" value="1"/> 708 </field> 709 <field name="Point Width Source" start="235" end="235" type="uint"> 710 <value name="Vertex" value="0"/> 711 <value name="State" value="1"/> 712 </field> 713 <field name="Point Width" start="224" end="234" type="u8.3"/> 714 </struct> 715 716 <struct name="SF_VIEWPORT" length="8"> 717 <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/> 718 <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/> 719 <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/> 720 <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/> 721 <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/> 722 <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/> 723 <field name="Scissor Rectangle" start="192" end="255" type="SCISSOR_RECT"/> 724 </struct> 725 726 <struct name="VERTEX_BUFFER_STATE" length="4"> 727 <field name="Vertex Buffer Index" start="27" end="31" type="uint"/> 728 <field name="Buffer Access Type" start="26" end="26" type="uint"> 729 <value name="VERTEXDATA" value="0"/> 730 <value name="INSTANCEDATA" value="1"/> 731 </field> 732 <field name="Buffer Pitch" start="0" end="10" type="uint"/> 733 <field name="Buffer Starting Address" start="32" end="63" type="address"/> 734 <field name="Max Index" start="64" end="95" type="uint"/> 735 <field name="Instance Data Step Rate" start="96" end="127" type="uint"/> 736 </struct> 737 738 <struct name="VERTEX_ELEMENT_STATE" length="2"> 739 <field name="Vertex Buffer Index" start="27" end="31" type="uint"/> 740 <field name="Valid" start="26" end="26" type="bool"/> 741 <field name="Source Element Format" start="16" end="24" type="SURFACE_FORMAT"/> 742 <field name="Source Element Offset" start="0" end="10" type="uint"/> 743 <field name="Destination Element Offset" start="32" end="39" type="uint"/> 744 <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/> 745 <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/> 746 <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/> 747 <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/> 748 </struct> 749 750 <struct name="VS_STATE" length="7"> 751 <field name="Kernel Start Pointer" start="6" end="31" type="address"/> 752 <field name="GRF Register Count" start="1" end="3" type="uint"/> 753 <field name="Single Program Flow" start="63" end="63" type="bool"/> 754 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 755 <field name="Thread Priority" start="49" end="49" type="uint"> 756 <value name="Normal Priority" value="0"/> 757 <value name="High Priority" value="1"/> 758 </field> 759 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 760 <value name="IEEE-754" value="0"/> 761 <value name="Alternate" value="1"/> 762 </field> 763 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 764 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 765 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 766 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 767 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 768 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 769 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 770 <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/> 771 <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/> 772 <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> 773 <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> 774 <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> 775 <field name="Number of URB Entries" start="139" end="146" type="uint"/> 776 <field name="Statistics Enable" start="138" end="138" type="bool"/> 777 <field name="Sampler State Pointer" start="165" end="191" type="address"/> 778 <field name="Sampler Count" start="160" end="162" type="uint"/> 779 <field name="Vertex Cache Disable" start="193" end="193" type="bool"/> 780 <field name="Enable" start="192" end="192" type="bool"/> 781 </struct> 782 783 <struct name="WM_STATE" length="8"> 784 <field name="Kernel Start Pointer 0" start="6" end="31" type="address"/> 785 <field name="GRF Register Count 0" start="1" end="3" type="uint"/> 786 <field name="Single Program Flow" start="63" end="63" type="bool"/> 787 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 788 <field name="Thread Priority" start="49" end="49" type="uint"> 789 <value name="Normal" value="0"/> 790 <value name="High" value="1"/> 791 </field> 792 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 793 <value name="IEEE-754" value="0"/> 794 <value name="Alternate" value="1"/> 795 </field> 796 <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/> 797 <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/> 798 <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/> 799 <field name="Software Exception Enable" start="33" end="33" type="bool"/> 800 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 801 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 802 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 803 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 804 <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/> 805 <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/> 806 <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/> 807 <field name="Sampler State Pointer" start="133" end="159" type="address"/> 808 <field name="Sampler Count" start="130" end="132" type="uint"/> 809 <field name="Statistics Enable" start="128" end="128" type="bool"/> 810 <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 811 <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/> 812 <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/> 813 <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/> 814 <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/> 815 <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/> 816 <field name="Early Depth Test Enable" start="178" end="178" type="bool"/> 817 <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint"> 818 <value name="0.5 pixels" value="0"/> 819 <value name="1.0 pixels" value="1"/> 820 <value name="2.0 pixels" value="2"/> 821 <value name="4.0 pixels" value="3"/> 822 </field> 823 <field name="Line Antialiasing Region Width" start="174" end="175" type="uint"> 824 <value name="0.5 pixels" value="0"/> 825 <value name="1.0 pixels" value="1"/> 826 <value name="2.0 pixels" value="2"/> 827 <value name="4.0 pixels" value="3"/> 828 </field> 829 <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/> 830 <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/> 831 <field name="Line Stipple Enable" start="171" end="171" type="bool"/> 832 <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/> 833 <field name="Contiguous 64 Pixel Dispatch Enable" start="164" end="164" type="bool"/> 834 <field name="Contiguous 32 Pixel Dispatch Enable" start="163" end="163" type="bool"/> 835 <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/> 836 <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/> 837 <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/> 838 <field name="Global Depth Offset Constant" start="192" end="223" type="float"/> 839 <field name="Global Depth Offset Scale" start="224" end="255" type="float"/> 840 </struct> 841 842 <instruction name="3DPRIMITIVE" bias="2" length="6"> 843 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 844 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 845 <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/> 846 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 847 <field name="Vertex Access Type" start="15" end="15" type="uint"> 848 <value name="SEQUENTIAL" value="0"/> 849 <value name="RANDOM" value="1"/> 850 </field> 851 <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/> 852 <field name="Indirect Vertex Count" start="9" end="9" type="uint"/> 853 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 854 <field name="Vertex Count Per Instance" start="32" end="63" type="uint"/> 855 <field name="Start Vertex Location" start="64" end="95" type="uint"/> 856 <field name="Instance Count" start="96" end="127" type="uint"/> 857 <field name="Start Instance Location" start="128" end="159" type="uint"/> 858 <field name="Base Vertex Location" start="160" end="191" type="int"/> 859 </instruction> 860 861 <instruction name="3DSTATE_AA_LINE_PARAMETERS" bias="2" length="3"> 862 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 863 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 864 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 865 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/> 866 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 867 <field name="AA Coverage Bias" start="48" end="55" type="u0.8"/> 868 <field name="AA Coverage Slope" start="32" end="39" type="u0.8"/> 869 <field name="AA Coverage EndCap Bias" start="80" end="87" type="u0.8"/> 870 <field name="AA Coverage EndCap Slope" start="64" end="71" type="u0.8"/> 871 </instruction> 872 873 <instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6"> 874 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 875 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 876 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 877 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 878 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 879 <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/> 880 <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/> 881 <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/> 882 <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/> 883 <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/> 884 </instruction> 885 886 <instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5"> 887 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 888 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 889 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 890 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 891 <field name="DWord Length" start="0" end="7" type="uint" default="3"/> 892 <field name="Blend Constant Color Red" start="32" end="63" type="float"/> 893 <field name="Blend Constant Color Green" start="64" end="95" type="float"/> 894 <field name="Blend Constant Color Blue" start="96" end="127" type="float"/> 895 <field name="Blend Constant Color Alpha" start="128" end="159" type="float"/> 896 </instruction> 897 898 <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="6"> 899 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 900 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 901 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 902 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/> 903 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 904 <field name="Surface Type" start="61" end="63" type="uint"> 905 <value name="SURFTYPE_1D" value="0"/> 906 <value name="SURFTYPE_2D" value="1"/> 907 <value name="SURFTYPE_3D" value="2"/> 908 <value name="SURFTYPE_CUBE" value="3"/> 909 <value name="SURFTYPE_NULL" value="7"/> 910 </field> 911 <field name="Tiled Surface" start="59" end="59" type="bool"/> 912 <field name="Tile Walk" start="58" end="58" type="uint"> 913 <value name="TILEWALK_YMAJOR" value="1"/> 914 </field> 915 <field name="Depth Buffer Coordinate Offset Disable" start="57" end="57" type="bool"/> 916 <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint"> 917 <value name="NORMAL" value="0"/> 918 <value name="STR1" value="1"/> 919 <value name="STR2" value="3"/> 920 </field> 921 <field name="Surface Format" start="50" end="52" type="uint"> 922 <value name="D32_FLOAT_S8X24_UINT" value="0"/> 923 <value name="D32_FLOAT" value="1"/> 924 <value name="D24_UNORM_S8_UINT" value="2"/> 925 <value name="D24_UNORM_X8_UINT" value="3"/> 926 <value name="D16_UNORM" value="5"/> 927 </field> 928 <field name="Surface Pitch" start="32" end="48" type="uint"/> 929 <field name="Surface Base Address" start="64" end="95" type="address"/> 930 <field name="Height" start="115" end="127" type="uint"> 931 <value name="SURFTYPE_1D: must be zero" value="0"/> 932 </field> 933 <field name="Width" start="102" end="114" type="uint"/> 934 <field name="LOD" start="98" end="101" type="uint"/> 935 <field name="MIP Map Layout Mode" start="97" end="97" type="uint"> 936 <value name="MIPLAYOUT_BELOW" value="0"/> 937 <value name="MIPLAYOUT_RIGHT" value="1"/> 938 </field> 939 <field name="Depth" start="149" end="159" type="uint"> 940 <value name="SURFTYPE_CUBE: must be zero" value="0"/> 941 </field> 942 <field name="Minimum Array Element" start="138" end="148" type="uint"/> 943 <field name="Render Target View Extent" start="129" end="137" type="uint"/> 944 <field name="Depth Coordinate Offset Y" start="176" end="191" type="int"/> 945 <field name="Depth Coordinate Offset X" start="160" end="175" type="int"/> 946 </instruction> 947 948 <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4"> 949 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 950 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 951 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 952 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 953 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 954 <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/> 955 <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/> 956 <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/> 957 <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/> 958 <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/> 959 <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/> 960 </instruction> 961 962 <instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2"> 963 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 964 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 965 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 966 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/> 967 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 968 <field name="Global Depth Offset Clamp" start="32" end="63" type="float"/> 969 </instruction> 970 971 <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3"> 972 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 973 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 974 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 975 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/> 976 <field name="Cut Index Enable" start="10" end="10" type="bool"/> 977 <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX"> 978 <value name="BYTE" value="0"/> 979 <value name="WORD" value="1"/> 980 <value name="DWORD" value="2"/> 981 </field> 982 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 983 <field name="Buffer Starting Address" start="32" end="63" type="address"/> 984 <field name="Buffer Ending Address" start="64" end="95" type="address"/> 985 </instruction> 986 987 <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3"> 988 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 989 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 990 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 991 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/> 992 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 993 <field name="Modify Enable (Current Repeat Counter, Current Stipple Index)" start="63" end="63" type="bool"/> 994 <field name="Current Repeat Counter" start="53" end="61" type="uint"/> 995 <field name="Current Stipple Index" start="48" end="51" type="uint"/> 996 <field name="Line Stipple Pattern" start="32" end="47" type="uint"/> 997 <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/> 998 <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/> 999 </instruction> 1000 1001 <instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7"> 1002 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1003 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1004 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1005 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 1006 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 1007 <field name="Pointer to VS State" start="37" end="63" type="address"/> 1008 <field name="Pointer to GS State" start="69" end="95" type="address"/> 1009 <field name="GS Enable" start="64" end="64" type="bool"/> 1010 <field name="Pointer to CLIP State" start="101" end="127" type="address"/> 1011 <field name="Clip Enable" start="96" end="96" type="bool"/> 1012 <field name="Pointer to SF State" start="133" end="159" type="address"/> 1013 <field name="Pointer to WM State" start="165" end="191" type="address"/> 1014 <field name="Pointer to Color Calc State" start="197" end="223" type="address"/> 1015 </instruction> 1016 1017 <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2"> 1018 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1019 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1020 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1021 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/> 1022 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1023 <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/> 1024 <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/> 1025 </instruction> 1026 1027 <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33"> 1028 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1029 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1030 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1031 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/> 1032 <field name="DWord Length" start="0" end="7" type="uint" default="31"/> 1033 <group count="32" start="32" size="32"> 1034 <field name="Pattern Row" start="0" end="31" type="uint"/> 1035 </group> 1036 </instruction> 1037 1038 <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2"> 1039 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1040 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1041 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1042 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/> 1043 <field name="DWord Length" start="0" end="7" type="uint" default="3"/> 1044 <group count="0" start="32" size="128"> 1045 <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/> 1046 </group> 1047 </instruction> 1048 1049 <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2"> 1050 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1051 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1052 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1053 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/> 1054 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1055 <group count="0" start="32" size="64"> 1056 <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/> 1057 </group> 1058 </instruction> 1059 1060 <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1"> 1061 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1062 <field name="Command SubType" start="27" end="28" type="uint" default="1"/> 1063 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1064 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/> 1065 <field name="Statistics Enable" start="0" end="0" type="bool"/> 1066 </instruction> 1067 1068 <instruction name="CS_URB_STATE" bias="2" length="2"> 1069 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1070 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1071 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1072 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 1073 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1074 <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/> 1075 <field name="Number of URB Entries" start="32" end="34" type="uint"/> 1076 </instruction> 1077 1078 <instruction name="CONSTANT_BUFFER" bias="2" length="2"> 1079 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1080 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1081 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1082 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/> 1083 <field name="Valid" start="8" end="8" type="bool" default="0"/> 1084 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1085 <field name="Buffer Starting Address" start="38" end="63" type="address"/> 1086 <field name="Buffer Length" start="32" end="37" type="uint"/> 1087 </instruction> 1088 1089 <instruction name="MI_FLUSH" bias="1" length="1"> 1090 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1091 <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/> 1092 <field name="Global Snapshot Count Reset" start="3" end="3" type="uint"> 1093 <value name="Don't Reset" value="0"/> 1094 <value name="Reset" value="1"/> 1095 </field> 1096 <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint"> 1097 <value name="Flush" value="0"/> 1098 <value name="Don't Flush" value="1"/> 1099 </field> 1100 <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint"> 1101 <value name="Don't Invalidate" value="0"/> 1102 <value name="Invalidate" value="1"/> 1103 </field> 1104 </instruction> 1105 1106 <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3"> 1107 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1108 <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/> 1109 <field name="Byte Write Disables" start="8" end="11" type="uint"/> 1110 <field name="DWord Length" start="0" end="5" type="uint" default="1"/> 1111 <field name="Register Offset" start="34" end="63" type="offset"/> 1112 <field name="Data DWord" start="64" end="95" type="uint"/> 1113 </instruction> 1114 1115 <instruction name="MI_STORE_DATA_IMM" bias="2" length="5"> 1116 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1117 <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/> 1118 <field name="Memory Address Type" start="22" end="22" type="bool"/> 1119 <field name="BitFieldName" start="21" end="21" type="uint"/> 1120 <field name="DWord Length" start="0" end="5" type="uint" default="2"/> 1121 <field name="Physical Start Address Extension" start="32" end="35" type="address"/> 1122 <field name="Address" start="66" end="95" type="address"/> 1123 <field name="Data DWord 0" start="96" end="127" type="uint"/> 1124 <field name="Data DWord 1" start="128" end="159" type="uint"/> 1125 </instruction> 1126 1127 <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3"> 1128 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1129 <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/> 1130 <field name="Use Global GTT" start="22" end="22" type="bool"/> 1131 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1132 <field name="Physical Start Address Extension" start="60" end="63" type="address"/> 1133 <field name="Register Address" start="34" end="54" type="offset"/> 1134 <field name="Memory Address" start="66" end="95" type="address"/> 1135 </instruction> 1136 1137 <instruction name="PIPE_CONTROL" bias="2" length="4"> 1138 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1139 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1140 <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/> 1141 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 1142 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 1143 <field name="Post Sync Operation" start="14" end="15" type="uint"> 1144 <value name="No Write" value="0"/> 1145 <value name="Write Immediate Data" value="1"/> 1146 <value name="Write PS Depth Count" value="2"/> 1147 <value name="Write Timestamp" value="3"/> 1148 </field> 1149 <field name="Depth Stall Enable" start="13" end="13" type="bool"/> 1150 <field name="Write Cache Flush" start="12" end="12" type="bool"/> 1151 <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/> 1152 <field name="Texture Cache Flush Enable" start="10" end="10" type="bool"/> 1153 <field name="Indirect State Pointers Disable" start="9" end="9" type="bool"/> 1154 <field name="Notify Enable" start="8" end="8" type="bool"/> 1155 <field name="Address" start="35" end="63" type="address"/> 1156 <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT"> 1157 <value name="PGTT" value="0"/> 1158 <value name="GGTT" value="1"/> 1159 </field> 1160 <field name="Immediate Data" start="64" end="127" type="uint"/> 1161 </instruction> 1162 1163 <instruction name="PIPELINE_SELECT" bias="1" length="1"> 1164 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1165 <field name="Command SubType" start="27" end="28" type="uint" default="1"/> 1166 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1167 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/> 1168 <field name="Pipeline Selection" start="0" end="1" type="uint"> 1169 <value name="3D" value="0"/> 1170 <value name="Media" value="1"/> 1171 </field> 1172 </instruction> 1173 1174 <instruction name="STATE_BASE_ADDRESS" bias="2" length="6"> 1175 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1176 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1177 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1178 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 1179 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 1180 <field name="General State Base Address" start="44" end="63" type="address"/> 1181 <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/> 1182 <field name="Surface State Base Address" start="76" end="95" type="address"/> 1183 <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/> 1184 <field name="Indirect Object Base Address" start="108" end="127" type="address"/> 1185 <field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/> 1186 <field name="General State Access Upper Bound" start="140" end="159" type="address"/> 1187 <field name="General State Access Upper Bound Modify Enable" start="128" end="128" type="bool"/> 1188 <field name="Indirect Object Access Upper Bound" start="172" end="191" type="address"/> 1189 <field name="Indirect Object Access Upper Bound Modify Enable" start="160" end="160" type="bool"/> 1190 </instruction> 1191 1192 <instruction name="STATE_SIP" bias="2" length="2"> 1193 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1194 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1195 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1196 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/> 1197 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1198 <field name="System Instruction Pointer" start="36" end="63" type="offset"/> 1199 </instruction> 1200 1201 <instruction name="URB_FENCE" bias="2" length="3"> 1202 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1203 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1204 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1205 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 1206 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1207 <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/> 1208 <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/> 1209 <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/> 1210 <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/> 1211 <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/> 1212 <field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/> 1213 <field name="CLIP Fence" start="52" end="61" type="bool"/> 1214 <field name="GS Fence" start="42" end="51" type="bool"/> 1215 <field name="VS Fence" start="32" end="41" type="bool"/> 1216 <field name="CS Fence" start="84" end="94" type="bool"/> 1217 <field name="VFE Fence" start="74" end="83" type="bool"/> 1218 <field name="SF Fence" start="64" end="73" type="bool"/> 1219 </instruction> 1220 1221 <instruction name="XY_COLOR_BLT" bias="2" length="6"> 1222 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1223 <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/> 1224 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 1225 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1226 <field name="Tiling Enable" start="11" end="11" type="bool"/> 1227 <field name="Clipping Enabled" start="62" end="62" type="bool"/> 1228 <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH"> 1229 <value name="8 bit" value="0"/> 1230 <value name="565" value="1"/> 1231 <value name="1555" value="2"/> 1232 <value name="32 bit" value="3"/> 1233 </field> 1234 <field name="Raster Operation" start="48" end="55" type="int"/> 1235 <field name="Destination Pitch" start="32" end="47" type="int"/> 1236 <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/> 1237 <field name="Destination X1 Coordinate" start="64" end="79" type="int"/> 1238 <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/> 1239 <field name="Destination X2 Coordinate" start="96" end="111" type="int"/> 1240 <field name="Destination Base Address" start="128" end="159" type="address"/> 1241 <field name="Solid Pattern Color" start="160" end="191" type="int"/> 1242 </instruction> 1243 1244 <instruction name="XY_SETUP_BLT" bias="2" length="8"> 1245 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1246 <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/> 1247 <field name="DWord Length" start="0" end="7" type="uint" default="6"/> 1248 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1249 <field name="Tiling Enable" start="11" end="11" type="bool"/> 1250 <field name="Clipping Enabled" start="62" end="62" type="bool"/> 1251 <field name="Mono Source Transparency Mode" start="61" end="61" type="bool"/> 1252 <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH"> 1253 <value name="8 bit" value="0"/> 1254 <value name="565" value="1"/> 1255 <value name="1555" value="2"/> 1256 <value name="32 bit" value="3"/> 1257 </field> 1258 <field name="Raster Operation" start="48" end="55" type="int"/> 1259 <field name="Destination Pitch" start="32" end="47" type="int"/> 1260 <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/> 1261 <field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/> 1262 <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/> 1263 <field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/> 1264 <field name="Destination Base Address" start="128" end="159" type="address"/> 1265 <field name="Background Color" start="160" end="191" type="uint"/> 1266 <field name="Foreground Color" start="192" end="223" type="uint"/> 1267 <field name="Pattern Base Address" start="224" end="255" type="uint"/> 1268 </instruction> 1269 1270 <instruction name="XY_SRC_COPY_BLT" bias="2" length="8"> 1271 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1272 <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/> 1273 <field name="DWord Length" start="0" end="7" type="uint" default="6"/> 1274 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1275 <field name="Source Tiling Enable" start="15" end="15" type="bool"/> 1276 <field name="Destination Tiling Enable" start="11" end="11" type="bool"/> 1277 <field name="Clipping Enabled" start="62" end="62" type="bool"/> 1278 <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH"> 1279 <value name="8 bit" value="0"/> 1280 <value name="565" value="1"/> 1281 <value name="1555" value="2"/> 1282 <value name="32 bit" value="3"/> 1283 </field> 1284 <field name="Raster Operation" start="48" end="55" type="int"/> 1285 <field name="Destination Pitch" start="32" end="47" type="int"/> 1286 <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/> 1287 <field name="Destination X1 Coordinate" start="64" end="79" type="int"/> 1288 <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/> 1289 <field name="Destination X2 Coordinate" start="96" end="111" type="int"/> 1290 <field name="Destination Base Address" start="128" end="159" type="address"/> 1291 <field name="Source Y1 Coordinate" start="176" end="191" type="int"/> 1292 <field name="Source X1 Coordinate" start="160" end="175" type="int"/> 1293 <field name="Source Pitch" start="192" end="207" type="int"/> 1294 <field name="Source Base Address" start="224" end="255" type="address"/> 1295 </instruction> 1296 1297 <instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3"> 1298 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1299 <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/> 1300 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1301 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1302 <field name="Packing" start="16" end="16" type="uint"> 1303 <value name="Bit Packed" value="0"/> 1304 <value name="Byte Packed" value="1"/> 1305 </field> 1306 <field name="Tiling Enable" start="11" end="11" type="bool"/> 1307 <field name="Destination Pitch" start="32" end="47" type="int"/> 1308 <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/> 1309 <field name="Destination X1 Coordinate" start="32" end="47" type="int"/> 1310 <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/> 1311 <field name="Destination X2 Coordinate" start="64" end="79" type="int"/> 1312 </instruction> 1313</genxml> 1314