1<?xml version="1.0" ?> 2<genxml name="BRW" gen="4"> 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="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/> 383 <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/> 384 <field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE"> 385 <value name="NORMAL" value="0"/> 386 <value name="ALL" value="1"/> 387 <value name="CLIP_NON_REJECTED" value="2"/> 388 <value name="REJECT_ALL" value="3"/> 389 <value name="ACCEPT_ALL" value="4"/> 390 </field> 391 <field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/> 392 <field name="Screen Space Viewport X Min" start="224" end="255" type="float"/> 393 <field name="Screen Space Viewport X Max" start="256" end="287" type="float"/> 394 <field name="Screen Space Viewport Y Min" start="288" end="319" type="float"/> 395 <field name="Screen Space Viewport Y Max" start="320" end="351" type="float"/> 396 </struct> 397 398 <struct name="CLIP_VIEWPORT" length="4"> 399 <field name="XMin Clip Guardband" start="0" end="31" type="float"/> 400 <field name="XMax Clip Guardband" start="32" end="63" type="float"/> 401 <field name="YMin Clip Guardband" start="64" end="95" type="float"/> 402 <field name="YMax Clip Guardband" start="96" end="127" type="float"/> 403 </struct> 404 405 <struct name="SCISSOR_RECT" length="2"> 406 <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/> 407 <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/> 408 <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/> 409 <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/> 410 </struct> 411 412 <struct name="COLOR_CALC_STATE" length="8"> 413 <field name="Stencil Test Enable" start="31" end="31" type="bool"/> 414 <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/> 415 <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/> 416 <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/> 417 <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/> 418 <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/> 419 <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/> 420 <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/> 421 <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/> 422 <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/> 423 <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/> 424 <field name="Stencil Reference Value" start="56" end="63" type="uint"/> 425 <field name="Stencil Test Mask" start="48" end="55" type="uint"/> 426 <field name="Stencil Write Mask" start="40" end="47" type="uint"/> 427 <field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/> 428 <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/> 429 <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/> 430 <field name="Depth Test Enable" start="79" end="79" type="bool"/> 431 <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/> 432 <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/> 433 <field name="Logic Op Enable" start="64" end="64" type="bool"/> 434 <field name="Alpha Test Format" start="111" end="111" type="uint"> 435 <value name="ALPHATEST_UNORM8" value="0"/> 436 <value name="ALPHATEST_FLOAT32" value="1"/> 437 </field> 438 <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/> 439 <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/> 440 <field name="Alpha Test Enable" start="107" end="107" type="bool"/> 441 <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/> 442 <field name="CC Viewport State Pointer" start="133" end="159" type="address"/> 443 <field name="Color Dither Enable" start="191" end="191" type="bool"/> 444 <field name="Round Disable Function Disable" start="190" end="190" type="bool"/> 445 <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/> 446 <field name="Statistics Enable" start="175" end="175" type="bool"/> 447 <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/> 448 <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/> 449 <field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/> 450 <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/> 451 <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/> 452 <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/> 453 <field name="X Dither Offset" start="209" end="210" type="uint"/> 454 <field name="Y Dither Offset" start="207" end="208" type="uint"/> 455 <field name="Color Clamp Range" start="194" end="195" type="uint"> 456 <value name="COLORCLAMP_UNORM" value="0"/> 457 <value name="COLORCLAMP_SNORM" value="1"/> 458 <value name="COLORCLAMP_RTFORMAT" value="2"/> 459 </field> 460 <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/> 461 <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/> 462 <field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/> 463 <field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/> 464 </struct> 465 466 <struct name="GS_STATE" length="7"> 467 <field name="Kernel Start Pointer" start="6" end="31" type="address"/> 468 <field name="GRF Register Count" start="1" end="3" type="uint"/> 469 <field name="Single Program Flow" start="63" end="63" type="bool"/> 470 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 471 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 472 <value name="IEEE-754" value="0"/> 473 <value name="Alternate" value="1"/> 474 </field> 475 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 476 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 477 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 478 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 479 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 480 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 481 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 482 <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/> 483 <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/> 484 <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> 485 <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> 486 <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> 487 <field name="Number of URB Entries" start="139" end="146" type="uint"/> 488 <field name="Sampler State Pointer" start="165" end="191" type="address"/> 489 <field name="Sampler Count" start="160" end="162" type="uint"/> 490 <field name="Reorder Enable" start="222" end="222" type="bool"/> 491 <field name="Discard Adjacency" start="221" end="221" type="bool"/> 492 <field name="Maximum VPIndex" start="192" end="195" type="uint"/> 493 </struct> 494 495 <struct name="RENDER_SURFACE_STATE" length="5"> 496 <field name="Surface Type" start="29" end="31" type="uint"> 497 <value name="SURFTYPE_1D" value="0"/> 498 <value name="SURFTYPE_2D" value="1"/> 499 <value name="SURFTYPE_3D" value="2"/> 500 <value name="SURFTYPE_CUBE" value="3"/> 501 <value name="SURFTYPE_BUFFER" value="4"/> 502 <value name="SURFTYPE_NULL" value="7"/> 503 </field> 504 <field name="Data Return Format" start="27" end="27" type="uint"> 505 <value name="DATA_RETURN_FLOAT32" value="0"/> 506 <value name="DATA_RETURN_S1.14" value="1"/> 507 </field> 508 <field name="Surface Format" start="18" end="26" type="uint"/> 509 <field name="Color Buffer Component Write Disables" start="14" end="17" type="uint"> 510 <value name="WRITEDISABLE_ALPHA" value="8"/> 511 <value name="WRITEDISABLE_RED" value="4"/> 512 <value name="WRITEDISABLE_GREEN" value="2"/> 513 <value name="WRITEDISABLE_BLUE" value="1"/> 514 </field> 515 <field name="Color Blend Enable" start="13" end="13" type="bool"/> 516 <field name="Vertical Line Stride" start="12" end="12" type="uint"/> 517 <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/> 518 <field name="MIP Map Layout Mode" start="10" end="10" type="uint"> 519 <value name="MIPLAYOUT_BELOW" value="0"/> 520 <value name="MIPLAYOUT_RIGHT" value="1"/> 521 </field> 522 <field name="Render Cache Read Write Mode" start="8" end="8" type="uint"> 523 <value name="WRITE_ONLY" value="0"/> 524 <value name="READ_WRITE" value="1"/> 525 </field> 526 <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint"> 527 <value name="NORMAL_MODE" value="0"/> 528 </field> 529 <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/> 530 <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/> 531 <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/> 532 <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/> 533 <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/> 534 <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/> 535 <field name="Surface Base Address" start="32" end="63" type="address"/> 536 <field name="Height" start="83" end="95" type="uint"/> 537 <field name="Width" start="70" end="82" type="uint"/> 538 <field name="MIP Count / LOD" start="66" end="69" type="uint"/> 539 <field name="Depth" start="117" end="127" type="uint"/> 540 <field name="Surface Pitch" start="99" end="115" type="uint"/> 541 <field name="Tiled Surface" start="97" end="97" type="uint"/> 542 <field name="Tile Walk" start="96" end="96" type="uint"> 543 <value name="TILEWALK_XMAJOR" value="0"/> 544 <value name="TILEWALK_YMAJOR" value="1"/> 545 </field> 546 <field name="Surface Min LOD" start="156" end="159" type="uint"/> 547 <field name="Minimum Array Element" start="145" end="155" type="uint"/> 548 <field name="Render Target View Extent" start="136" end="144" type="uint"/> 549 </struct> 550 551 <struct name="SAMPLER_BORDER_COLOR_STATE" length="12"> 552 <field name="Border Color Red" start="0" end="31" type="float"/> 553 <field name="Border Color Green" start="32" end="63" type="float"/> 554 <field name="Border Color Blue" start="64" end="95" type="float"/> 555 <field name="Border Color Alpha" start="96" end="127" type="float"/> 556 </struct> 557 558 <struct name="SAMPLER_STATE" length="4"> 559 <field name="Sampler Disable" start="31" end="31" type="bool"/> 560 <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/> 561 <field name="Base Mip Level" start="22" end="26" type="u4.1"/> 562 <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER"> 563 <value name="NONE" value="0"/> 564 <value name="NEAREST" value="1"/> 565 <value name="LINEAR" value="3"/> 566 </field> 567 <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER"> 568 <value name="NEAREST" value="0"/> 569 <value name="LINEAR" value="1"/> 570 <value name="ANISOTROPIC" value="2"/> 571 <value name="MONO" value="6"/> 572 </field> 573 <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/> 574 <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/> 575 <field name="Shadow Function" start="0" end="2" type="uint"> 576 <value name="PREFILTEROP_ALWAYS" value="0"/> 577 <value name="PREFILTEROP_NEVER" value="1"/> 578 <value name="PREFILTEROP_LESS" value="2"/> 579 <value name="PREFILTEROP_EQUAL" value="3"/> 580 <value name="PREFILTEROP_LEQUAL" value="4"/> 581 <value name="PREFILTEROP_GREATER" value="5"/> 582 <value name="PREFILTEROP_NOTEQUAL" value="6"/> 583 <value name="PREFILTEROP_GEQUAL" value="7"/> 584 </field> 585 <field name="Min LOD" start="54" end="63" type="u4.6"/> 586 <field name="Max LOD" start="44" end="53" type="u4.6"/> 587 <field name="Cube Surface Control Mode" start="41" end="41" type="uint"> 588 <value name="CUBECTRLMODE_PROGRAMMED" value="0"/> 589 <value name="CUBECTRLMODE_OVERRIDE" value="1"/> 590 </field> 591 <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/> 592 <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/> 593 <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/> 594 <field name="Border Color Pointer" start="69" end="95" type="address"/> 595 <field name="ChromaKey Enable" start="121" end="121" type="bool"/> 596 <field name="ChromaKey Index" start="119" end="120" type="uint"/> 597 <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER"> 598 <value name="KILL_ON_ANY_MATCH" value="0"/> 599 <value name="REPLACE_BLACK" value="1"/> 600 </field> 601 <field name="Maximum Anisotropy" start="115" end="117" type="uint"> 602 <value name="RATIO 2:1" value="0"/> 603 <value name="RATIO 4:1" value="1"/> 604 <value name="RATIO 6:1" value="2"/> 605 <value name="RATIO 8:1" value="3"/> 606 <value name="RATIO 10:1" value="4"/> 607 <value name="RATIO 12:1" value="5"/> 608 <value name="RATIO 14:1" value="6"/> 609 <value name="RATIO 16:1" value="7"/> 610 </field> 611 <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/> 612 <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/> 613 <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/> 614 <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/> 615 <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/> 616 <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/> 617 </struct> 618 619 <struct name="SF_STATE" length="8"> 620 <field name="Kernel Start Pointer" start="6" end="31" type="address"/> 621 <field name="GRF Register Count" start="1" end="3" type="uint"/> 622 <field name="Single Program Flow" start="63" end="63" type="bool"/> 623 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 624 <field name="Thread Priority" start="49" end="49" type="uint"> 625 <value name="Normal Priority" value="0"/> 626 <value name="High Priority" value="1"/> 627 </field> 628 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 629 <value name="IEEE-754" value="0"/> 630 <value name="Alternate" value="1"/> 631 </field> 632 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 633 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 634 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 635 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 636 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 637 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 638 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 639 <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/> 640 <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/> 641 <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> 642 <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> 643 <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> 644 <field name="Number of URB Entries" start="139" end="146" type="uint"/> 645 <field name="Setup Viewport State Offset" start="165" end="191" type="address"/> 646 <field name="Viewport Transform Enable" start="161" end="161" type="bool"/> 647 <field name="Front Winding" start="160" end="160" type="uint"> 648 <value name="FRONTWINDING_CW" value="0"/> 649 <value name="FRONTWINDING_CCW" value="1"/> 650 </field> 651 <field name="Anti-Aliasing Enable" start="223" end="223" type="bool"/> 652 <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE"> 653 <value name="BOTH" value="0"/> 654 <value name="NONE" value="1"/> 655 <value name="FRONT" value="2"/> 656 <value name="BACK" value="3"/> 657 </field> 658 <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/> 659 <field name="Line Width" start="216" end="219" type="u3.1"/> 660 <field name="Line End Cap Antialiasing Region Width" start="214" end="215" type="uint"> 661 <value name="0.5 pixels" value="0"/> 662 <value name="1.0 pixels" value="1"/> 663 <value name="2.0 pixels" value="2"/> 664 <value name="4.0 pixels" value="3"/> 665 </field> 666 <field name="Point Rasterization Rule" start="212" end="213" type="uint"> 667 <value name="RASTRULE_UPPER_LEFT" value="0"/> 668 <value name="RASTRULE_UPPER_RIGHT" value="1"/> 669 </field> 670 <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/> 671 <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/> 672 <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/> 673 <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/> 674 <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/> 675 <field name="Last Pixel Enable" start="255" end="255" type="bool"/> 676 <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint"> 677 <value name="Vertex 0" value="0"/> 678 <value name="Vertex 1" value="1"/> 679 <value name="Vertex 2" value="2"/> 680 </field> 681 <field name="Line Strip/List Provoking Vertex Select" start="251" end="252" type="uint"> 682 <value name="Vertex 0" value="0"/> 683 <value name="Vertex 1" value="1"/> 684 </field> 685 <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint"> 686 <value name="Vertex 0" value="0"/> 687 <value name="Vertex 1" value="1"/> 688 <value name="Vertex 2" value="2"/> 689 </field> 690 <field name="Sprite Point Enable" start="237" end="237" type="bool"/> 691 <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint"> 692 <value name="8 Sub-Pixel Precision Bits" value="0"/> 693 <value name="4 Sub-Pixel Precision Bits" value="1"/> 694 </field> 695 <field name="Point Width Source" start="235" end="235" type="uint"> 696 <value name="Vertex" value="0"/> 697 <value name="State" value="1"/> 698 </field> 699 <field name="Point Width" start="224" end="234" type="u8.3"/> 700 </struct> 701 702 <struct name="SF_VIEWPORT" length="8"> 703 <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/> 704 <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/> 705 <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/> 706 <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/> 707 <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/> 708 <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/> 709 <field name="Scissor Rectangle" start="192" end="255" type="SCISSOR_RECT"/> 710 </struct> 711 712 <struct name="VERTEX_BUFFER_STATE" length="4"> 713 <field name="Vertex Buffer Index" start="27" end="31" type="uint"/> 714 <field name="Buffer Access Type" start="26" end="26" type="uint"> 715 <value name="VERTEXDATA" value="0"/> 716 <value name="INSTANCEDATA" value="1"/> 717 </field> 718 <field name="Buffer Pitch" start="0" end="10" type="uint"/> 719 <field name="Buffer Starting Address" start="32" end="63" type="address"/> 720 <field name="Max Index" start="64" end="95" type="uint"/> 721 <field name="Instance Data Step Rate" start="96" end="127" type="uint"/> 722 </struct> 723 724 <struct name="VERTEX_ELEMENT_STATE" length="2"> 725 <field name="Vertex Buffer Index" start="27" end="31" type="uint"/> 726 <field name="Valid" start="26" end="26" type="bool"/> 727 <field name="Source Element Format" start="16" end="24" type="SURFACE_FORMAT"/> 728 <field name="Source Element Offset" start="0" end="10" type="uint"/> 729 <field name="Destination Element Offset" start="32" end="39" type="uint"/> 730 <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/> 731 <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/> 732 <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/> 733 <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/> 734 </struct> 735 736 <struct name="VS_STATE" length="7"> 737 <field name="Kernel Start Pointer" start="6" end="31" type="address"/> 738 <field name="GRF Register Count" start="1" end="3" type="uint"/> 739 <field name="Single Program Flow" start="63" end="63" type="bool"/> 740 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 741 <field name="Thread Priority" start="49" end="49" type="uint"> 742 <value name="Normal Priority" value="0"/> 743 <value name="High Priority" value="1"/> 744 </field> 745 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 746 <value name="IEEE-754" value="0"/> 747 <value name="Alternate" value="1"/> 748 </field> 749 <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/> 750 <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/> 751 <field name="Software Exception Enable" start="39" end="39" type="bool"/> 752 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 753 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 754 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 755 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 756 <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/> 757 <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/> 758 <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/> 759 <field name="Maximum Number of Threads" start="153" end="158" type="uint"/> 760 <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/> 761 <field name="Number of URB Entries" start="139" end="146" type="uint"/> 762 <field name="Statistics Enable" start="138" end="138" type="bool"/> 763 <field name="Sampler State Pointer" start="165" end="191" type="address"/> 764 <field name="Sampler Count" start="160" end="162" type="uint"/> 765 <field name="Vertex Cache Disable" start="193" end="193" type="bool"/> 766 <field name="Enable" start="192" end="192" type="bool"/> 767 </struct> 768 769 <struct name="WM_STATE" length="8"> 770 <field name="Kernel Start Pointer 0" start="6" end="31" type="address"/> 771 <field name="GRF Register Count 0" start="1" end="3" type="uint"/> 772 <field name="Single Program Flow" start="63" end="63" type="bool"/> 773 <field name="Binding Table Entry Count" start="50" end="57" type="uint"/> 774 <field name="Thread Priority" start="49" end="49" type="uint"> 775 <value name="High" value="1"/> 776 </field> 777 <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE"> 778 <value name="IEEE-754" value="0"/> 779 <value name="Alternate" value="1"/> 780 </field> 781 <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/> 782 <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/> 783 <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/> 784 <field name="Software Exception Enable" start="33" end="33" type="bool"/> 785 <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/> 786 <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/> 787 <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/> 788 <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/> 789 <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/> 790 <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/> 791 <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/> 792 <field name="Sampler State Pointer" start="133" end="159" type="address"/> 793 <field name="Sampler Count" start="130" end="132" type="uint"/> 794 <field name="Statistics Enable" start="128" end="128" type="bool"/> 795 <field name="Maximum Number of Threads" start="185" end="191" type="uint"/> 796 <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/> 797 <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/> 798 <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/> 799 <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/> 800 <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/> 801 <field name="Early Depth Test Enable" start="178" end="178" type="bool"/> 802 <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint"> 803 <value name="0.5 pixels" value="0"/> 804 <value name="1.0 pixels" value="1"/> 805 <value name="2.0 pixels" value="2"/> 806 <value name="4.0 pixels" value="3"/> 807 </field> 808 <field name="Line Antialiasing Region Width" start="174" end="175" type="uint"> 809 <value name="0.5 pixels" value="0"/> 810 <value name="1.0 pixels" value="1"/> 811 <value name="2.0 pixels" value="2"/> 812 <value name="4.0 pixels" value="3"/> 813 </field> 814 <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/> 815 <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/> 816 <field name="Line Stipple Enable" start="171" end="171" type="bool"/> 817 <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/> 818 <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/> 819 <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/> 820 <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/> 821 <field name="Global Depth Offset Constant" start="192" end="223" type="float"/> 822 <field name="Global Depth Offset Scale" start="224" end="255" type="float"/> 823 </struct> 824 825 <instruction name="3DPRIMITIVE" bias="2" length="6"> 826 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 827 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 828 <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/> 829 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 830 <field name="Vertex Access Type" start="15" end="15" type="uint"> 831 <value name="SEQUENTIAL" value="0"/> 832 <value name="RANDOM" value="1"/> 833 </field> 834 <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/> 835 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 836 <field name="Vertex Count Per Instance" start="32" end="63" type="uint"/> 837 <field name="Start Vertex Location" start="64" end="95" type="uint"/> 838 <field name="Instance Count" start="96" end="127" type="uint" default="1"> 839 <value name="UNDEFINED" value="0"/> 840 <value name="'non-instanced' operation" value="1"/> 841 </field> 842 <field name="Base Vertex Location" start="160" end="191" type="int"/> 843 </instruction> 844 845 <instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6"> 846 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 847 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 848 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 849 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 850 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 851 <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/> 852 <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/> 853 <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/> 854 <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/> 855 <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/> 856 </instruction> 857 858 <instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5"> 859 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 860 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 861 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 862 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 863 <field name="DWord Length" start="0" end="7" type="uint" default="3"/> 864 <field name="Blend Constant Color Red" start="32" end="63" type="float"/> 865 <field name="Blend Constant Color Green" start="64" end="95" type="float"/> 866 <field name="Blend Constant Color Blue" start="96" end="127" type="float"/> 867 <field name="Blend Constant Color Alpha" start="128" end="159" type="float"/> 868 </instruction> 869 870 <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="5"> 871 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 872 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 873 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 874 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/> 875 <field name="DWord Length" start="0" end="7" type="uint" default="3"/> 876 <field name="Surface Type" start="61" end="63" type="uint"> 877 <value name="SURFTYPE_1D" value="0"/> 878 <value name="SURFTYPE_2D" value="1"/> 879 <value name="SURFTYPE_3D" value="2"/> 880 <value name="SURFTYPE_CUBE" value="3"/> 881 <value name="SURFTYPE_NULL" value="7"/> 882 </field> 883 <field name="Tiled Surface" start="59" end="59" type="bool"/> 884 <field name="Tile Walk" start="58" end="58" type="uint"> 885 <value name="TILEWALK_YMAJOR" value="1"/> 886 </field> 887 <field name="Depth Buffer Coordinate Offset Disable" start="57" end="57" type="bool"/> 888 <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint"> 889 <value name="NORMAL" value="0"/> 890 <value name="STR1" value="1"/> 891 <value name="STR2" value="3"/> 892 </field> 893 <field name="Surface Format" start="50" end="52" type="uint"> 894 <value name="D32_FLOAT_S8X24_UINT" value="0"/> 895 <value name="D32_FLOAT" value="1"/> 896 <value name="D24_UNORM_S8_UINT" value="2"/> 897 <value name="D24_UNORM_X8_UINT" value="3"/> 898 <value name="D16_UNORM" value="5"/> 899 </field> 900 <field name="Surface Pitch" start="32" end="48" type="uint"/> 901 <field name="Surface Base Address" start="64" end="95" type="address"/> 902 <field name="Height" start="115" end="127" type="uint"> 903 <value name="SURFTYPE_1D: must be zero" value="0"/> 904 </field> 905 <field name="Width" start="102" end="114" type="uint"/> 906 <field name="LOD" start="98" end="101" type="uint"/> 907 <field name="MIP Map Layout Mode" start="97" end="97" type="uint"> 908 <value name="MIPLAYOUT_BELOW" value="0"/> 909 <value name="MIPLAYOUT_RIGHT" value="1"/> 910 </field> 911 <field name="Depth" start="149" end="159" type="uint"> 912 <value name="SURFTYPE_CUBE: must be zero" value="0"/> 913 </field> 914 <field name="Minimum Array Element" start="138" end="148" type="uint"/> 915 <field name="Render Target View Extent" start="129" end="137" type="uint"/> 916 </instruction> 917 918 <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4"> 919 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 920 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 921 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 922 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 923 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 924 <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/> 925 <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/> 926 <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/> 927 <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/> 928 <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/> 929 <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/> 930 </instruction> 931 932 <instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2"> 933 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 934 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 935 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 936 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/> 937 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 938 <field name="Global Depth Offset Clamp" start="32" end="63" type="float"/> 939 </instruction> 940 941 <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3"> 942 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 943 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 944 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 945 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/> 946 <field name="Cut Index Enable" start="10" end="10" type="bool"/> 947 <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX"> 948 <value name="BYTE" value="0"/> 949 <value name="WORD" value="1"/> 950 <value name="DWORD" value="2"/> 951 </field> 952 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 953 <field name="Buffer Starting Address" start="32" end="63" type="address"/> 954 <field name="Buffer Ending Address" start="64" end="95" type="address"/> 955 </instruction> 956 957 <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3"> 958 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 959 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 960 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 961 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/> 962 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 963 <field name="Modify Enable" start="63" end="63" type="bool"/> 964 <field name="Current Repeat Counter" start="53" end="61" type="uint"/> 965 <field name="Current Stipple Index" start="48" end="51" type="uint"/> 966 <field name="Line Stipple Pattern" start="32" end="47" type="uint"/> 967 <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/> 968 <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/> 969 </instruction> 970 971 <instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7"> 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="0"/> 976 <field name="DWord Length" start="0" end="7" type="uint" default="5"/> 977 <field name="Pointer to VS State" start="37" end="63" type="address"/> 978 <field name="Pointer to GS State" start="69" end="95" type="address"/> 979 <field name="GS Enable" start="64" end="64" type="bool"/> 980 <field name="Pointer to CLIP State" start="101" end="127" type="address"/> 981 <field name="Clip Enable" start="96" end="96" type="bool"/> 982 <field name="Pointer to SF State" start="133" end="159" type="address"/> 983 <field name="Pointer to WM State" start="165" end="191" type="address"/> 984 <field name="Pointer to Color Calc State" start="197" end="223" type="address"/> 985 </instruction> 986 987 <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2"> 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="6"/> 992 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 993 <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/> 994 <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/> 995 </instruction> 996 997 <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33"> 998 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 999 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1000 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1001 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/> 1002 <field name="DWord Length" start="0" end="7" type="uint" default="31"/> 1003 <group count="32" start="32" size="32"> 1004 <field name="Pattern Row" start="0" end="31" type="uint"/> 1005 </group> 1006 </instruction> 1007 1008 <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2"> 1009 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1010 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1011 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1012 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/> 1013 <field name="DWord Length" start="0" end="7" type="uint" default="3"/> 1014 <group count="0" start="32" size="128"> 1015 <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/> 1016 </group> 1017 </instruction> 1018 1019 <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2"> 1020 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1021 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1022 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1023 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/> 1024 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1025 <group count="0" start="32" size="64"> 1026 <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/> 1027 </group> 1028 </instruction> 1029 1030 <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1"> 1031 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1032 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1033 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1034 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/> 1035 <field name="Statistics Enable" start="0" end="0" type="bool"/> 1036 </instruction> 1037 1038 <instruction name="CS_URB_STATE" bias="2" length="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="0"/> 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="1"/> 1043 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1044 <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/> 1045 <field name="Number of URB Entries" start="32" end="34" type="uint"/> 1046 </instruction> 1047 1048 <instruction name="CONSTANT_BUFFER" bias="2" length="2"> 1049 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1050 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1051 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1052 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/> 1053 <field name="Valid" start="8" end="8" type="bool" default="0"/> 1054 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1055 <field name="Buffer Starting Address" start="38" end="63" type="address"/> 1056 <field name="Buffer Length" start="32" end="37" type="uint"/> 1057 </instruction> 1058 1059 <instruction name="MI_FLUSH" bias="1" length="1"> 1060 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1061 <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/> 1062 <field name="Global Snapshot Count Reset" start="3" end="3" type="uint"> 1063 <value name="Don't Reset" value="0"/> 1064 <value name="Reset" value="1"/> 1065 </field> 1066 <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint"> 1067 <value name="Flush" value="0"/> 1068 <value name="Don't Flush" value="1"/> 1069 </field> 1070 <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint"> 1071 <value name="Don't Invalidate" value="0"/> 1072 <value name="Invalidate" value="1"/> 1073 </field> 1074 </instruction> 1075 1076 <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3"> 1077 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1078 <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/> 1079 <field name="Byte Write Disables" start="8" end="11" type="uint"/> 1080 <field name="DWord Length" start="0" end="5" type="uint" default="1"/> 1081 <field name="Register Offset" start="34" end="63" type="offset"/> 1082 <field name="Data DWord" start="64" end="95" type="uint"/> 1083 </instruction> 1084 1085 <instruction name="MI_STORE_DATA_IMM" bias="2" length="5"> 1086 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1087 <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/> 1088 <field name="Memory Address Type" start="22" end="22" type="bool"/> 1089 <field name="BitFieldName" start="21" end="21" type="uint"/> 1090 <field name="DWord Length" start="0" end="5" type="uint" default="2"/> 1091 <field name="Physical Start Address Extension" start="32" end="35" type="address"/> 1092 <field name="Address" start="66" end="95" type="address"/> 1093 <field name="Data DWord 0" start="96" end="127" type="uint"/> 1094 <field name="Data DWord 1" start="128" end="159" type="uint"/> 1095 </instruction> 1096 1097 <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3"> 1098 <field name="Command Type" start="29" end="31" type="uint" default="0"/> 1099 <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/> 1100 <field name="Use Global GTT" start="22" end="22" type="bool"/> 1101 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1102 <field name="Physical Start Address Extension" start="60" end="63" type="address"/> 1103 <field name="Register Address" start="34" end="54" type="offset"/> 1104 <field name="Memory Address" start="66" end="95" type="address"/> 1105 </instruction> 1106 1107 <instruction name="PIPE_CONTROL" bias="2" length="4"> 1108 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1109 <field name="Command SubType" start="27" end="28" type="uint" default="3"/> 1110 <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/> 1111 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 1112 <field name="DWord Length" start="0" end="7" type="uint" default="2"/> 1113 <field name="Post Sync Operation" start="14" end="15" type="uint"> 1114 <value name="No Write" value="0"/> 1115 <value name="Write Immediate Data" value="1"/> 1116 <value name="Write PS Depth Count" value="2"/> 1117 <value name="Write Timestamp" value="3"/> 1118 </field> 1119 <field name="Depth Stall Enable" start="13" end="13" type="bool"/> 1120 <field name="Write Cache Flush" start="12" end="12" type="bool"/> 1121 <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/> 1122 <field name="Notify Enable" start="8" end="8" type="bool"/> 1123 <field name="Address" start="35" end="63" type="address"/> 1124 <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT"> 1125 <value name="GGTT" value="1"/> 1126 </field> 1127 <field name="Immediate Data" start="64" end="127" type="uint"/> 1128 </instruction> 1129 1130 <instruction name="PIPELINE_SELECT" bias="1" length="1"> 1131 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1132 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1133 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1134 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/> 1135 <field name="Pipeline Selection" start="0" end="0" type="uint"> 1136 <value name="3D" value="0"/> 1137 <value name="Media" value="1"/> 1138 </field> 1139 </instruction> 1140 1141 <instruction name="STATE_BASE_ADDRESS" bias="2" length="6"> 1142 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1143 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1144 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1145 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/> 1146 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 1147 <field name="General State Base Address" start="44" end="63" type="address"/> 1148 <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/> 1149 <field name="Surface State Base Address" start="76" end="95" type="address"/> 1150 <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/> 1151 <field name="Indirect Object Base Address" start="108" end="127" type="address"/> 1152 <field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/> 1153 <field name="General State Access Upper Bound" start="140" end="159" type="address"/> 1154 <field name="General State Access Upper Bound Modify Enable" start="128" end="128" type="bool"/> 1155 <field name="Instruction Access Upper Bound" start="172" end="191" type="address"/> 1156 <field name="Instruction Access Upper Bound Modify Enable" start="160" end="160" type="bool"/> 1157 </instruction> 1158 1159 <instruction name="STATE_SIP" bias="2" length="2"> 1160 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1161 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1162 <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/> 1163 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/> 1164 <field name="DWord Length" start="0" end="7" type="uint" default="0"/> 1165 <field name="System Instruction Pointer" start="36" end="63" type="offset"/> 1166 </instruction> 1167 1168 <instruction name="URB_FENCE" bias="2" length="3"> 1169 <field name="Command Type" start="29" end="31" type="uint" default="3"/> 1170 <field name="Command SubType" start="27" end="28" type="uint" default="0"/> 1171 <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/> 1172 <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/> 1173 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1174 <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/> 1175 <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/> 1176 <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/> 1177 <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/> 1178 <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/> 1179 <field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/> 1180 <field name="CLIP Fence" start="52" end="61" type="bool"/> 1181 <field name="GS Fence" start="42" end="51" type="bool"/> 1182 <field name="VS Fence" start="32" end="41" type="bool"/> 1183 <field name="CS Fence" start="84" end="94" type="bool"/> 1184 <field name="VFE Fence" start="74" end="83" type="bool"/> 1185 <field name="SF Fence" start="64" end="73" type="bool"/> 1186 </instruction> 1187 1188 <instruction name="XY_COLOR_BLT" bias="2" length="6"> 1189 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1190 <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/> 1191 <field name="DWord Length" start="0" end="7" type="uint" default="4"/> 1192 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1193 <field name="Tiling Enable" start="11" end="11" type="bool"/> 1194 <field name="Clipping Enabled" start="62" end="62" type="bool"/> 1195 <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH"> 1196 <value name="8 bit" value="0"/> 1197 <value name="565" value="1"/> 1198 <value name="1555" value="2"/> 1199 <value name="32 bit" value="3"/> 1200 </field> 1201 <field name="Raster Operation" start="48" end="55" type="int"/> 1202 <field name="Destination Pitch" start="32" end="47" type="int"/> 1203 <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/> 1204 <field name="Destination X1 Coordinate" start="64" end="79" type="int"/> 1205 <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/> 1206 <field name="Destination X2 Coordinate" start="96" end="111" type="int"/> 1207 <field name="Destination Base Address" start="128" end="159" type="address"/> 1208 <field name="Solid Pattern Color" start="160" end="191" type="int"/> 1209 </instruction> 1210 1211 <instruction name="XY_SETUP_BLT" bias="2" length="8"> 1212 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1213 <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/> 1214 <field name="DWord Length" start="0" end="7" type="uint" default="6"/> 1215 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1216 <field name="Tiling Enable" start="11" end="11" type="bool"/> 1217 <field name="Clipping Enabled" start="62" end="62" type="bool"/> 1218 <field name="Mono Source Transparency Mode" start="61" end="61" type="bool"/> 1219 <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH"> 1220 <value name="8 bit" value="0"/> 1221 <value name="565" value="1"/> 1222 <value name="1555" value="2"/> 1223 <value name="32 bit" value="3"/> 1224 </field> 1225 <field name="Raster Operation" start="48" end="55" type="int"/> 1226 <field name="Destination Pitch" start="32" end="47" type="int"/> 1227 <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/> 1228 <field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/> 1229 <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/> 1230 <field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/> 1231 <field name="Destination Base Address" start="128" end="159" type="address"/> 1232 <field name="Background Color" start="160" end="191" type="uint"/> 1233 <field name="Foreground Color" start="192" end="223" type="uint"/> 1234 <field name="Pattern Base Address" start="224" end="255" type="uint"/> 1235 </instruction> 1236 1237 <instruction name="XY_SRC_COPY_BLT" bias="2" length="8"> 1238 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1239 <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/> 1240 <field name="DWord Length" start="0" end="7" type="uint" default="6"/> 1241 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1242 <field name="Source Tiling Enable" start="15" end="15" type="bool"/> 1243 <field name="Destination Tiling Enable" start="11" end="11" type="bool"/> 1244 <field name="Clipping Enabled" start="62" end="62" type="bool"/> 1245 <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH"> 1246 <value name="8 bit" value="0"/> 1247 <value name="565" value="1"/> 1248 <value name="1555" value="2"/> 1249 <value name="32 bit" value="3"/> 1250 </field> 1251 <field name="Raster Operation" start="48" end="55" type="int"/> 1252 <field name="Destination Pitch" start="32" end="47" type="int"/> 1253 <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/> 1254 <field name="Destination X1 Coordinate" start="64" end="79" type="int"/> 1255 <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/> 1256 <field name="Destination X2 Coordinate" start="96" end="111" type="int"/> 1257 <field name="Destination Base Address" start="128" end="159" type="address"/> 1258 <field name="Source Y1 Coordinate" start="176" end="191" type="int"/> 1259 <field name="Source X1 Coordinate" start="160" end="175" type="int"/> 1260 <field name="Source Pitch" start="192" end="207" type="int"/> 1261 <field name="Source Base Address" start="224" end="255" type="address"/> 1262 </instruction> 1263 1264 <instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3"> 1265 <field name="Command Type" start="29" end="31" type="uint" default="2"/> 1266 <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/> 1267 <field name="DWord Length" start="0" end="7" type="uint" default="1"/> 1268 <field name="32bpp Byte Mask" start="20" end="21" type="uint"/> 1269 <field name="Packing" start="16" end="16" type="uint"> 1270 <value name="Bit Packed" value="0"/> 1271 <value name="Byte Packed" value="1"/> 1272 </field> 1273 <field name="Tiling Enable" start="11" end="11" type="bool"/> 1274 <field name="Destination Pitch" start="32" end="47" type="int"/> 1275 <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/> 1276 <field name="Destination X1 Coordinate" start="32" end="47" type="int"/> 1277 <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/> 1278 <field name="Destination X2 Coordinate" start="64" end="79" type="int"/> 1279 </instruction> 1280</genxml> 1281