mesa/src/intel/genxml/gen50.xml
Caio Oliveira c418cb85f7 intel/genxml: Convert field format from start/end to dword/bits
And change the gen_sort_xml.py script to default to the new format.

Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36138>
2025-07-23 16:02:14 +00:00

648 lines
41 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<genxml name="ILK" gen="5">
<import name="gen45.xml" />
<struct name="CLIP_STATE" length="11">
<field name="GRF Register Count" dword="0" bits="3:1" type="uint" />
<field name="Kernel Start Pointer" dword="0" bits="31:6" type="offset" />
<field name="Software Exception Enable" dword="1" bits="7:7" type="bool" />
<field name="Mask Stack Exception Enable" dword="1" bits="11:11" type="bool" />
<field name="Illegal Opcode Exception Enable" dword="1" bits="13:13" type="bool" />
<field name="Floating Point Mode" dword="1" bits="16:16" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0" />
<value name="Alternate" value="1" />
</field>
<field name="Thread Priority" dword="1" bits="17:17" type="uint">
<value name="Normal Priority" value="0" />
<value name="High Priority" value="1" />
</field>
<field name="Binding Table Entry Count" dword="1" bits="25:18" type="uint" />
<field name="Single Program Flow" dword="1" bits="31:31" type="bool" />
<field name="Per-Thread Scratch Space" dword="2" bits="3:0" type="uint" />
<field name="Scratch Space Base Pointer" dword="2" bits="31:10" type="address" />
<field name="Dispatch GRF Start Register For URB Data" dword="3" bits="3:0" type="uint" />
<field name="Vertex URB Entry Read Offset" dword="3" bits="9:4" type="uint" />
<field name="Vertex URB Entry Read Length" dword="3" bits="16:11" type="uint" />
<field name="Constant URB Entry Read Offset" dword="3" bits="23:18" type="uint" />
<field name="Constant URB Entry Read Length" dword="3" bits="30:25" type="uint" />
<field name="Number of URB Entries" dword="4" bits="18:11" type="uint" />
<field name="URB Entry Allocation Size" dword="4" bits="23:19" type="uint" />
<field name="Maximum Number of Threads" dword="4" bits="30:25" type="uint" />
<field name="Clip Mode" dword="5" bits="15:13" type="uint" prefix="CLIPMODE">
<value name="NORMAL" value="0" />
<value name="ALL" value="1" />
<value name="CLIP_NON_REJECTED" value="2" />
<value name="REJECT_ALL" value="3" />
<value name="ACCEPT_ALL" value="4" />
</field>
<field name="UserClipDistance ClipTest Enable Bitmask" dword="5" bits="23:16" type="uint" />
<field name="UserClipFlags MustClip Enable" dword="5" bits="24:24" type="bool" />
<field name="Negative W ClipTest Enable" dword="5" bits="25:25" type="bool" />
<field name="Guardband ClipTest Enable" dword="5" bits="26:26" type="bool" />
<field name="Viewport Z ClipTest Enable" dword="5" bits="27:27" type="bool" />
<field name="Viewport XY ClipTest Enable" dword="5" bits="28:28" type="bool" />
<field name="Vertex Position Space" dword="5" bits="29:29" type="uint" prefix="VPOS">
<value name="NDCSPACE" value="0" />
<value name="SCREENSPACE" value="1" />
</field>
<field name="API Mode" dword="5" bits="30:30" type="uint" prefix="APIMODE">
<value name="OGL" value="0" />
<value name="D3D" value="1" />
</field>
<field name="Clipper Viewport State Pointer" dword="6" bits="31:5" type="address" />
<field name="Screen Space Viewport X Min" dword="7" bits="31:0" type="float" />
<field name="Screen Space Viewport X Max" dword="8" bits="31:0" type="float" />
<field name="Screen Space Viewport Y Min" dword="9" bits="31:0" type="float" />
<field name="Screen Space Viewport Y Max" dword="10" bits="31:0" type="float" />
</struct>
<struct name="GS_STATE" length="7">
<field name="GRF Register Count" dword="0" bits="3:1" type="uint" />
<field name="Kernel Start Pointer" dword="0" bits="31:6" type="offset" />
<field name="Software Exception Enable" dword="1" bits="7:7" type="bool" />
<field name="Mask Stack Exception Enable" dword="1" bits="11:11" type="bool" />
<field name="Illegal Opcode Exception Enable" dword="1" bits="13:13" type="bool" />
<field name="Floating Point Mode" dword="1" bits="16:16" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0" />
<value name="Alternate" value="1" />
</field>
<field name="Binding Table Entry Count" dword="1" bits="25:18" type="uint" />
<field name="Single Program Flow" dword="1" bits="31:31" type="bool" />
<field name="Per-Thread Scratch Space" dword="2" bits="3:0" type="uint" />
<field name="Scratch Space Base Pointer" dword="2" bits="31:10" type="address" />
<field name="Dispatch GRF Start Register For URB Data" dword="3" bits="3:0" type="uint" />
<field name="Vertex URB Entry Read Offset" dword="3" bits="9:4" type="uint" />
<field name="Vertex URB Entry Read Length" dword="3" bits="16:11" type="uint" />
<field name="Constant URB Entry Read Offset" dword="3" bits="23:18" type="uint" />
<field name="Constant URB Entry Read Length" dword="3" bits="30:25" type="uint" />
<field name="Rendering Enabled" dword="4" bits="8:8" type="bool" />
<field name="SO Statistics Enable" dword="4" bits="9:9" type="bool" />
<field name="GS Statistics Enable" dword="4" bits="10:10" type="bool" />
<field name="Number of URB Entries" dword="4" bits="18:11" type="uint" />
<field name="URB Entry Allocation Size" dword="4" bits="23:19" type="uint" />
<field name="Maximum Number of Threads" dword="4" bits="30:25" type="uint" />
<field name="Sampler Count" dword="5" bits="2:0" type="uint" />
<field name="Sampler State Pointer" dword="5" bits="31:5" type="address" />
<field name="Maximum VPIndex" dword="6" bits="3:0" type="uint" />
<field name="Reorder Enable" dword="6" bits="30:30" type="bool" />
</struct>
<struct name="MEMORY_OBJECT_CONTROL_STATE" length="1">
<field name="Cacheability Control" dword="0" bits="1:0" type="uint" />
<field name="Graphics Data Type (GFDT)" dword="0" bits="2:2" type="uint" />
<field name="Encrypted Data" dword="0" bits="3:3" type="bool" />
</struct>
<struct name="RENDER_SURFACE_STATE" length="6">
<field name="Cube Face Enable - Positive Z" dword="0" bits="0:0" type="bool" />
<field name="Cube Face Enable - Negative Z" dword="0" bits="1:1" type="bool" />
<field name="Cube Face Enable - Positive Y" dword="0" bits="2:2" type="bool" />
<field name="Cube Face Enable - Negative Y" dword="0" bits="3:3" type="bool" />
<field name="Cube Face Enable - Positive X" dword="0" bits="4:4" type="bool" />
<field name="Cube Face Enable - Negative X" dword="0" bits="5:5" type="bool" />
<field name="Media Boundary Pixel Mode" dword="0" bits="7:6" type="uint">
<value name="NORMAL_MODE" value="0" />
</field>
<field name="Render Cache Read Write Mode" dword="0" bits="8:8" type="uint">
<value name="WRITE_ONLY" value="0" />
<value name="READ_WRITE" value="1" />
</field>
<field name="Cube Map Corner Mode" dword="0" bits="9:9" type="uint">
<value name="CUBE_REPLICATE" value="0" />
<value name="CUBE_AVERAGE" value="1" />
</field>
<field name="MIP Map Layout Mode" dword="0" bits="10:10" type="uint">
<value name="MIPLAYOUT_BELOW" value="0" />
<value name="MIPLAYOUT_RIGHT" value="1" />
</field>
<field name="Vertical Line Stride Offset" dword="0" bits="11:11" type="uint" />
<field name="Vertical Line Stride" dword="0" bits="12:12" type="uint" />
<field name="Color Blend Enable" dword="0" bits="13:13" type="bool" />
<field name="Color Buffer Component Write Disables" dword="0" bits="17:14" type="uint">
<value name="WRITEDISABLE_ALPHA" value="8" />
<value name="WRITEDISABLE_RED" value="4" />
<value name="WRITEDISABLE_GREEN" value="2" />
<value name="WRITEDISABLE_BLUE" value="1" />
</field>
<field name="Surface Format" dword="0" bits="26:18" type="uint" />
<field name="Data Return Format" dword="0" bits="27:27" type="uint">
<value name="DATA_RETURN_FLOAT32" value="0" />
<value name="DATA_RETURN_S1.14" value="1" />
</field>
<field name="Surface Type" dword="0" bits="31:29" type="uint">
<value name="SURFTYPE_1D" value="0" />
<value name="SURFTYPE_2D" value="1" />
<value name="SURFTYPE_3D" value="2" />
<value name="SURFTYPE_CUBE" value="3" />
<value name="SURFTYPE_BUFFER" value="4" />
<value name="SURFTYPE_NULL" value="7" />
</field>
<field name="Surface Base Address" dword="1" bits="31:0" type="address" />
<field name="Render Target Rotation" dword="2" bits="1:0" type="uint">
<value name="RTROTATE_0DEG" value="0" />
<value name="RTROTATE_90DEG" value="1" />
<value name="RTROTATE_270DEG" value="3" />
</field>
<field name="MIP Count / LOD" dword="2" bits="5:2" type="uint" />
<field name="Width" dword="2" bits="18:6" type="uint" />
<field name="Height" dword="2" bits="31:19" type="uint" />
<field name="Tile Walk" dword="3" bits="0:0" type="uint">
<value name="TILEWALK_XMAJOR" value="0" />
<value name="TILEWALK_YMAJOR" value="1" />
</field>
<field name="Tiled Surface" dword="3" bits="1:1" type="uint" />
<field name="Surface Pitch" dword="3" bits="19:3" type="uint" />
<field name="Depth" dword="3" bits="31:21" type="uint" />
<field name="Render Target View Extent" dword="4" bits="16:8" type="uint" />
<field name="Minimum Array Element" dword="4" bits="27:17" type="uint" />
<field name="Surface Min LOD" dword="4" bits="31:28" type="uint" />
<field name="Y Offset" dword="5" bits="23:20" type="uint" />
<field name="X Offset" dword="5" bits="31:25" type="uint" />
</struct>
<struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
<field name="Border Color Unorm Red" dword="0" bits="7:0" type="uint" />
<field name="Border Color Unorm Green" dword="0" bits="15:8" type="uint" />
<field name="Border Color Unorm Blue" dword="0" bits="23:16" type="uint" />
<field name="Border Color Unorm Alpha" dword="0" bits="31:24" type="uint" />
<field name="Border Color Float Red" dword="1" bits="31:0" type="float" />
<field name="Border Color Float Green" dword="2" bits="31:0" type="float" />
<field name="Border Color Float Blue" dword="3" bits="31:0" type="float" />
<field name="Border Color Float Alpha" dword="4" bits="31:0" type="float" />
<field name="Border Color Float16 Red" dword="5" bits="15:0" type="uint" />
<field name="Border Color Float16 Green" dword="5" bits="31:16" type="uint" />
<field name="Border Color Float16 Blue" dword="6" bits="15:0" type="uint" />
<field name="Border Color Float16 Alpha" dword="6" bits="31:16" type="uint" />
<field name="Border Color Unorm16 Red" dword="7" bits="15:0" type="uint" />
<field name="Border Color Unorm16 Green" dword="7" bits="31:16" type="uint" />
<field name="Border Color Unorm16 Blue" dword="8" bits="15:0" type="uint" />
<field name="Border Color Unorm16 Alpha" dword="8" bits="31:16" type="uint" />
<field name="Border Color Snorm16 Red" dword="9" bits="15:0" type="int" />
<field name="Border Color Snorm16 Green" dword="9" bits="31:16" type="int" />
<field name="Border Color Snorm16 Blue" dword="10" bits="15:0" type="int" />
<field name="Border Color Snorm16 Alpha" dword="10" bits="31:16" type="int" />
<field name="Border Color Snorm8 Red" dword="11" bits="7:0" type="int" />
<field name="Border Color Snorm8 Green" dword="11" bits="15:8" type="int" />
<field name="Border Color Snorm8 Blue" dword="11" bits="23:16" type="int" />
<field name="Border Color Snorm8 Alpha" dword="11" bits="31:24" type="int" />
</struct>
<struct name="SF_STATE" length="8">
<field name="GRF Register Count" dword="0" bits="3:1" type="uint" />
<field name="Kernel Start Pointer" dword="0" bits="31:6" type="offset" />
<field name="Software Exception Enable" dword="1" bits="7:7" type="bool" />
<field name="Mask Stack Exception Enable" dword="1" bits="11:11" type="bool" />
<field name="Illegal Opcode Exception Enable" dword="1" bits="13:13" type="bool" />
<field name="Floating Point Mode" dword="1" bits="16:16" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0" />
<value name="Alternate" value="1" />
</field>
<field name="Thread Priority" dword="1" bits="17:17" type="uint">
<value name="Normal Priority" value="0" />
<value name="High Priority" value="1" />
</field>
<field name="Binding Table Entry Count" dword="1" bits="25:18" type="uint" />
<field name="Single Program Flow" dword="1" bits="31:31" type="bool" />
<field name="Per-Thread Scratch Space" dword="2" bits="3:0" type="uint" />
<field name="Scratch Space Base Pointer" dword="2" bits="31:10" type="address" />
<field name="Dispatch GRF Start Register For URB Data" dword="3" bits="3:0" type="uint" />
<field name="Vertex URB Entry Read Offset" dword="3" bits="9:4" type="uint" />
<field name="Vertex URB Entry Read Length" dword="3" bits="16:11" type="uint" />
<field name="Constant URB Entry Read Offset" dword="3" bits="23:18" type="uint" />
<field name="Constant URB Entry Read Length" dword="3" bits="30:25" type="uint" />
<field name="Number of URB Entries" dword="4" bits="18:11" type="uint" />
<field name="URB Entry Allocation Size" dword="4" bits="23:19" type="uint" />
<field name="Maximum Number of Threads" dword="4" bits="30:25" type="uint" />
<field name="Front Winding" dword="5" bits="0:0" type="uint">
<value name="FRONTWINDING_CW" value="0" />
<value name="FRONTWINDING_CCW" value="1" />
</field>
<field name="Viewport Transform Enable" dword="5" bits="1:1" type="bool" />
<field name="Setup Viewport State Offset" dword="5" bits="31:5" type="address" />
<field name="Destination Origin Vertical Bias" dword="6" bits="12:9" type="u0.4" />
<field name="Destination Origin Horizontal Bias" dword="6" bits="16:13" type="u0.4" />
<field name="Scissor Rectangle Enable" dword="6" bits="17:17" type="bool" />
<field name="2x2 Pixel Triangle Filter Disable" dword="6" bits="18:18" type="bool" />
<field name="Zero Pixel Triangle Filter Disable" dword="6" bits="19:19" type="bool" />
<field name="Point Rasterization Rule" dword="6" bits="21:20" type="uint">
<value name="RASTRULE_UPPER_LEFT" value="0" />
<value name="RASTRULE_UPPER_RIGHT" value="1" />
</field>
<field name="Line End Cap Antialiasing Region Width" dword="6" bits="23:22" type="uint">
<value name="0.5 pixels" value="0" />
<value name="1.0 pixels" value="1" />
<value name="2.0 pixels" value="2" />
<value name="4.0 pixels" value="3" />
</field>
<field name="Line Width" dword="6" bits="27:24" type="u3.1" />
<field name="Fast Scissor Clip Disable" dword="6" bits="28:28" type="bool" />
<field name="Cull Mode" dword="6" bits="30:29" type="uint" prefix="CULLMODE">
<value name="BOTH" value="0" />
<value name="NONE" value="1" />
<value name="FRONT" value="2" />
<value name="BACK" value="3" />
</field>
<field name="Antialiasing Enable" dword="6" bits="31:31" type="bool" />
<field name="Point Width" dword="7" bits="10:0" type="u8.3" />
<field name="Point Width Source" dword="7" bits="11:11" type="uint">
<value name="Vertex" value="0" />
<value name="State" value="1" />
</field>
<field name="Vertex Sub Pixel Precision Select" dword="7" bits="12:12" type="uint">
<value name="8 Sub-Pixel Precision Bits" value="0" />
<value name="4 Sub-Pixel Precision Bits" value="1" />
</field>
<field name="Sprite Point Enable" dword="7" bits="13:13" type="bool" />
<field name="AA Line Distance Mode" dword="7" bits="14:14" type="uint" prefix="AALINEDISTANCE">
<value name="MANHATTAN" value="0" />
<value name="TRUE" value="1" />
</field>
<field name="Triangle Fan Provoking Vertex Select" dword="7" bits="26:25" type="uint">
<value name="Vertex 0" value="0" />
<value name="Vertex 1" value="1" />
<value name="Vertex 2" value="2" />
</field>
<field name="Line Strip/List Provoking Vertex Select" dword="7" bits="28:27" type="uint">
<value name="Vertex 0" value="0" />
<value name="Vertex 1" value="1" />
</field>
<field name="Triangle Strip/List Provoking Vertex Select" dword="7" bits="30:29" type="uint">
<value name="Vertex 0" value="0" />
<value name="Vertex 1" value="1" />
<value name="Vertex 2" value="2" />
</field>
<field name="Last Pixel Enable" dword="7" bits="31:31" type="bool" />
</struct>
<struct name="VERTEX_BUFFER_STATE" length="4">
<field name="Buffer Pitch" dword="0" bits="11:0" type="uint" />
<field name="Null Vertex Buffer" dword="0" bits="13:13" type="bool" />
<field name="Buffer Access Type" dword="0" bits="26:26" type="uint">
<value name="VERTEXDATA" value="0" />
<value name="INSTANCEDATA" value="1" />
</field>
<field name="Vertex Buffer Index" dword="0" bits="31:27" type="uint" />
<field name="Buffer Starting Address" dword="1" bits="31:0" type="address" />
<field name="End Address" dword="2" bits="31:0" type="address" />
<field name="Instance Data Step Rate" dword="3" bits="31:0" type="uint" />
</struct>
<struct name="VS_STATE" length="7">
<field name="GRF Register Count" dword="0" bits="3:1" type="uint" />
<field name="Kernel Start Pointer" dword="0" bits="31:6" type="offset" />
<field name="Software Exception Enable" dword="1" bits="7:7" type="bool" />
<field name="Mask Stack Exception Enable" dword="1" bits="11:11" type="bool" />
<field name="Illegal Opcode Exception Enable" dword="1" bits="13:13" type="bool" />
<field name="Floating Point Mode" dword="1" bits="16:16" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0" />
<value name="Alternate" value="1" />
</field>
<field name="Thread Priority" dword="1" bits="17:17" type="uint">
<value name="Normal Priority" value="0" />
<value name="High Priority" value="1" />
</field>
<field name="Binding Table Entry Count" dword="1" bits="25:18" type="uint" />
<field name="Single Program Flow" dword="1" bits="31:31" type="bool" />
<field name="Per-Thread Scratch Space" dword="2" bits="3:0" type="uint" />
<field name="Scratch Space Base Pointer" dword="2" bits="31:10" type="address" />
<field name="Dispatch GRF Start Register For URB Data" dword="3" bits="3:0" type="uint" />
<field name="Vertex URB Entry Read Offset" dword="3" bits="9:4" type="uint" />
<field name="Vertex URB Entry Read Length" dword="3" bits="16:11" type="uint" />
<field name="Constant URB Entry Read Offset" dword="3" bits="23:18" type="uint" />
<field name="Constant URB Entry Read Length" dword="3" bits="30:25" type="uint" />
<field name="Statistics Enable" dword="4" bits="10:10" type="bool" />
<field name="Number of URB Entries" dword="4" bits="18:11" type="uint" />
<field name="URB Entry Allocation Size" dword="4" bits="23:19" type="uint" />
<field name="Maximum Number of Threads" dword="4" bits="30:25" type="uint" />
<field name="Sampler Count" dword="5" bits="2:0" type="uint" />
<field name="Sampler State Pointer" dword="5" bits="31:5" type="address" />
<field name="Enable" dword="6" bits="0:0" type="bool" />
<field name="Vertex Cache Disable" dword="6" bits="1:1" type="bool" />
</struct>
<struct name="WM_STATE" length="11">
<field name="GRF Register Count 0" dword="0" bits="3:1" type="uint" />
<field name="Kernel Start Pointer 0" dword="0" bits="31:6" type="offset" />
<field name="Software Exception Enable" dword="1" bits="1:1" type="bool" />
<field name="Mask Stack Exception Enable" dword="1" bits="2:2" type="bool" />
<field name="Illegal Opcode Exception Enable" dword="1" bits="4:4" type="bool" />
<field name="Depth Coefficient URB Read Offset" dword="1" bits="13:8" type="uint" />
<field name="Floating Point Mode" dword="1" bits="16:16" type="uint" prefix="FLOATING_POINT_MODE">
<value name="IEEE-754" value="0" />
<value name="Alternate" value="1" />
</field>
<field name="Thread Priority" dword="1" bits="17:17" type="uint">
<value name="High" value="1" />
</field>
<field name="Binding Table Entry Count" dword="1" bits="25:18" type="uint" />
<field name="Single Program Flow" dword="1" bits="31:31" type="bool" />
<field name="Per-Thread Scratch Space" dword="2" bits="3:0" type="uint" />
<field name="Scratch Space Base Pointer" dword="2" bits="31:10" type="address" />
<field name="Dispatch GRF Start Register For Constant/Setup Data 0" dword="3" bits="3:0" type="uint" />
<field name="Setup URB Entry Read Offset" dword="3" bits="9:4" type="uint" />
<field name="Setup URB Entry Read Length" dword="3" bits="16:11" type="uint" />
<field name="Constant URB Entry Read Offset" dword="3" bits="23:18" type="uint" />
<field name="Constant URB Entry Read Length" dword="3" bits="30:25" type="uint" />
<field name="Statistics Enable" dword="4" bits="0:0" type="bool" />
<field name="Sampler Count" dword="4" bits="4:2" type="uint" />
<field name="Sampler State Pointer" dword="4" bits="31:5" type="address" />
<field name="8 Pixel Dispatch Enable" dword="5" bits="0:0" type="bool" />
<field name="16 Pixel Dispatch Enable" dword="5" bits="1:1" type="bool" />
<field name="32 Pixel Dispatch Enable" dword="5" bits="2:2" type="bool" />
<field name="Contiguous 32 Pixel Dispatch Enable" dword="5" bits="3:3" type="bool" />
<field name="Contiguous 64 Pixel Dispatch Enable" dword="5" bits="4:4" type="bool" />
<field name="Fast Span Coverage Enable" dword="5" bits="6:6" type="bool" />
<field name="Depth Buffer Clear" dword="5" bits="7:7" type="bool" />
<field name="Depth Buffer Resolve Enable" dword="5" bits="8:8" type="bool" />
<field name="Hierarchical Depth Buffer Resolve Enable" dword="5" bits="9:9" type="bool" />
<field name="Legacy Global Depth Bias Enable" dword="5" bits="10:10" type="bool" />
<field name="Line Stipple Enable" dword="5" bits="11:11" type="bool" />
<field name="Global Depth Offset Enable" dword="5" bits="12:12" type="bool" />
<field name="Polygon Stipple Enable" dword="5" bits="13:13" type="bool" />
<field name="Line Antialiasing Region Width" dword="5" bits="15:14" type="uint">
<value name="0.5 pixels" value="0" />
<value name="1.0 pixels" value="1" />
<value name="2.0 pixels" value="2" />
<value name="4.0 pixels" value="3" />
</field>
<field name="Line End Cap Antialiasing Region Width" dword="5" bits="17:16" type="uint">
<value name="0.5 pixels" value="0" />
<value name="1.0 pixels" value="1" />
<value name="2.0 pixels" value="2" />
<value name="4.0 pixels" value="3" />
</field>
<field name="Early Depth Test Enable" dword="5" bits="18:18" type="bool" />
<field name="Thread Dispatch Enable" dword="5" bits="19:19" type="bool" />
<field name="Pixel Shader Uses Source Depth" dword="5" bits="20:20" type="bool" />
<field name="Pixel Shader Computed Depth" dword="5" bits="21:21" type="bool" />
<field name="Pixel Shader Kills Pixel" dword="5" bits="22:22" type="bool" />
<field name="Legacy Diamond Line Rasterization" dword="5" bits="23:23" type="bool" />
<field name="Maximum Number of Threads" dword="5" bits="31:25" type="uint" />
<field name="Global Depth Offset Constant" dword="6" bits="31:0" type="float" />
<field name="Global Depth Offset Scale" dword="7" bits="31:0" type="float" />
<field name="GRF Register Count 1" dword="8" bits="3:1" type="uint" />
<field name="Kernel Start Pointer 1" dword="8" bits="31:6" type="offset" />
<field name="GRF Register Count 2" dword="9" bits="3:1" type="uint" />
<field name="Kernel Start Pointer 2" dword="9" bits="31:6" type="offset" />
<field name="GRF Register Count 3" dword="10" bits="3:1" type="uint" />
<field name="Kernel Start Pointer 3" dword="10" bits="31:6" type="offset" />
</struct>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="2" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" />
<field name="Depth Clear Value Valid" dword="0" bits="15:15" type="bool" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="16" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="3" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="Depth Clear Value" dword="1" bits="31:0" type="uint" />
</instruction>
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="6" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="4" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="5" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="3" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="Surface Pitch" dword="1" bits="16:0" type="uint" />
<field name="Surface Format" dword="1" bits="20:18" type="uint">
<value name="D32_FLOAT_S8X24_UINT" value="0" />
<value name="D32_FLOAT" value="1" />
<value name="D24_UNORM_S8_UINT" value="2" />
<value name="D24_UNORM_X8_UINT" value="3" />
<value name="D16_UNORM" value="5" />
</field>
<field name="Separate Stencil Buffer Enable" dword="1" bits="21:21" type="bool" />
<field name="Hierarchical Depth Buffer Enable" dword="1" bits="22:22" type="bool" />
<field name="Software Tiled Rendering Mode" dword="1" bits="24:23" type="uint">
<value name="NORMAL" value="0" />
<value name="STR1" value="1" />
<value name="STR2" value="3" />
</field>
<field name="Tile Walk" dword="1" bits="26:26" type="uint">
<value name="TILEWALK_YMAJOR" value="1" />
</field>
<field name="Tiled Surface" dword="1" bits="27:27" type="bool" />
<field name="Surface Type" dword="1" bits="31:29" type="uint">
<value name="SURFTYPE_1D" value="0" />
<value name="SURFTYPE_2D" value="1" />
<value name="SURFTYPE_3D" value="2" />
<value name="SURFTYPE_CUBE" value="3" />
<value name="SURFTYPE_NULL" value="7" />
</field>
<field name="Surface Base Address" dword="2" bits="31:0" type="address" />
<field name="MIP Map Layout Mode" dword="3" bits="1:1" type="uint">
<value name="MIPLAYOUT_BELOW" value="0" />
<value name="MIPLAYOUT_RIGHT" value="1" />
</field>
<field name="LOD" dword="3" bits="5:2" type="uint" />
<field name="Width" dword="3" bits="18:6" type="uint" />
<field name="Height" dword="3" bits="31:19" type="uint" />
<field name="Render Target View Extent" dword="4" bits="9:1" type="uint" />
<field name="Minimum Array Element" dword="4" bits="20:10" type="uint" />
<field name="Depth" dword="4" bits="31:21" type="uint" />
<field name="Depth Coordinate Offset X" dword="5" bits="15:0" type="int" />
<field name="Depth Coordinate Offset Y" dword="5" bits="31:16" type="int" />
</instruction>
<instruction name="3DSTATE_HIER_DEPTH_BUFFER" bias="2" length="3" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="15" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="3" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="Surface Pitch" dword="1" bits="16:0" type="uint" />
<field name="Surface Base Address" dword="2" bits="31:0" type="address" />
</instruction>
<instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="8" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="3" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="Line Stipple Pattern" dword="1" bits="15:0" type="uint" />
<field name="Current Stipple Index" dword="1" bits="19:16" type="uint" />
<field name="Current Repeat Counter" dword="1" bits="29:21" type="uint" />
<field name="Modify Enable" dword="1" bits="31:31" type="bool" />
<field name="Line Stipple Repeat Count" dword="2" bits="8:0" type="uint" />
<field name="Line Stipple Inverse Repeat Count" dword="2" bits="31:16" type="u1.13" />
</instruction>
<instruction name="3DSTATE_STENCIL_BUFFER" bias="2" length="3" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="14" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="3" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="Surface Pitch" dword="1" bits="16:0" type="uint" />
<field name="Surface Base Address" dword="2" bits="31:0" type="address" />
</instruction>
<instruction name="CONSTANT_BUFFER" bias="2" length="2" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" />
<field name="Valid" dword="0" bits="8:8" type="bool" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="2" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="0" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="0" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="Buffer Length" dword="1" bits="5:0" type="uint" />
<field name="Buffer Starting Address" dword="1" bits="31:6" type="address" />
</instruction>
<instruction name="MI_FLUSH" bias="1" length="1" engine="render">
<field name="State/Instruction Cache Invalidate" dword="0" bits="1:1" type="uint">
<value name="Don't Invalidate" value="0" />
<value name="Invalidate" value="1" />
</field>
<field name="Render Cache Flush Inhibit" dword="0" bits="2:2" type="uint">
<value name="Flush" value="0" />
<value name="Don't Flush" value="1" />
</field>
<field name="Global Snapshot Count Reset" dword="0" bits="3:3" type="uint">
<value name="Don't Reset" value="0" />
<value name="Reset" value="1" />
</field>
<field name="Generic Media State Clear" dword="0" bits="4:4" type="bool" />
<field name="Indirect State Pointers Disable" dword="0" bits="5:5" type="bool" />
<field name="Protected Memory Enable" dword="0" bits="6:6" type="bool" />
<field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="4" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="0" />
</instruction>
<instruction name="MI_STORE_DATA_IMM" bias="2" length="5">
<field name="DWord Length" dword="0" bits="5:0" type="uint" default="2" />
<field name="Memory Address Type" dword="0" bits="22:22" type="bool" />
<field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="32" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="0" />
<field name="Physical Start Address Extension" dword="1" bits="3:0" type="address" />
<field name="Address" dword="2" bits="31:2" type="address" />
<field name="Immediate Data" dword="3" bits="63:0" type="uint" />
</instruction>
<instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" />
<field name="Use Global GTT" dword="0" bits="22:22" type="bool" />
<field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="36" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="0" />
<field name="Register Address" dword="1" bits="25:2" type="offset" />
<field name="Memory Address" dword="2" bits="31:2" type="address" />
</instruction>
<instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
<field name="Pipeline Selection" dword="0" bits="1:0" type="uint">
<value name="3D" value="0" />
<value name="Media" value="1" />
<value name="GPGPU" value="2" />
</field>
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="4" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="1" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
</instruction>
<instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="2" />
<field name="Notify Enable" dword="0" bits="8:8" type="bool" />
<field name="Indirect State Pointers Disable" dword="0" bits="9:9" type="bool" />
<field name="Texture Cache Flush Enable" dword="0" bits="10:10" type="bool" />
<field name="Instruction Cache Invalidate Enable" dword="0" bits="11:11" type="bool" />
<field name="Write Cache Flush" dword="0" bits="12:12" type="bool" />
<field name="Depth Stall Enable" dword="0" bits="13:13" type="bool" />
<field name="Post Sync Operation" dword="0" bits="15:14" type="uint">
<value name="No Write" value="0" />
<value name="Write Immediate Data" value="1" />
<value name="Write PS Depth Count" value="2" />
<value name="Write Timestamp" value="3" />
</field>
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="0" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="2" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="3" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="Depth Cache Flush Inhibit" dword="1" bits="0:0" type="uint">
<value name="Flushed" value="0" />
<value name="Not Flushed" value="1" />
</field>
<field name="Stall At Pixel Scoreboard" dword="1" bits="1:1" type="bool" />
<field name="Destination Address Type" dword="1" bits="2:2" type="uint" prefix="DAT">
<value name="PGTT" value="0" />
<value name="GGTT" value="1" />
</field>
<field name="Address" dword="1" bits="31:3" type="address" />
<field name="Immediate Data" dword="2" bits="63:0" type="uint" />
</instruction>
<instruction name="STATE_BASE_ADDRESS" bias="2" length="8" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="6" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="1" />
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="0" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
<field name="General State Base Address Modify Enable" dword="1" bits="0:0" type="bool" />
<field name="General State Base Address" dword="1" bits="31:12" type="address" />
<field name="Surface State Base Address Modify Enable" dword="2" bits="0:0" type="bool" />
<field name="Surface State Base Address" dword="2" bits="31:12" type="address" />
<field name="Indirect Object Base Address Modify Enable" dword="3" bits="0:0" type="bool" />
<field name="Indirect Object Base Address" dword="3" bits="31:12" type="address" />
<field name="Instruction Base Address Modify Enable" dword="4" bits="0:0" type="bool" />
<field name="Instruction Base Address" dword="4" bits="31:12" type="address" />
<field name="General State Access Upper Bound Modify Enable" dword="5" bits="0:0" type="bool" />
<field name="General State Access Upper Bound" dword="5" bits="31:12" type="address" />
<field name="Indirect Object Access Upper Bound Modify Enable" dword="6" bits="0:0" type="bool" />
<field name="Indirect Object Access Upper Bound" dword="6" bits="31:12" type="address" />
<field name="Instruction Access Upper Bound Modify Enable" dword="7" bits="0:0" type="bool" />
<field name="Instruction Access Upper Bound" dword="7" bits="31:12" type="address" />
</instruction>
<instruction name="XY_COLOR_BLT" bias="2" length="6" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="4" />
<field name="Tiling Enable" dword="0" bits="11:11" type="bool" />
<field name="32bpp Byte Mask" dword="0" bits="21:20" type="uint" />
<field name="2D Command Opcode" dword="0" bits="28:22" type="uint" default="80" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="2" />
<field name="Destination Pitch" dword="1" bits="15:0" type="int" />
<field name="Raster Operation" dword="1" bits="23:16" type="uint" />
<field name="Color Depth" dword="1" bits="26:24" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0" />
<value name="565" value="1" />
<value name="1555" value="2" />
<value name="32 bit" value="3" />
</field>
<field name="Clipping Enabled" dword="1" bits="30:30" type="bool" />
<field name="Destination X1 Coordinate" dword="2" bits="15:0" type="int" />
<field name="Destination Y1 Coordinate" dword="2" bits="31:16" type="int" />
<field name="Destination X2 Coordinate" dword="3" bits="15:0" type="int" />
<field name="Destination Y2 Coordinate" dword="3" bits="31:16" type="int" />
<field name="Destination Base Address" dword="4" bits="31:0" type="address" />
<field name="Solid Pattern Color" dword="5" bits="31:0" type="int" />
</instruction>
<instruction name="XY_SETUP_BLT" bias="2" length="8" engine="blitter">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="6" />
<field name="Tiling Enable" dword="0" bits="11:11" type="bool" />
<field name="32bpp Byte Mask" dword="0" bits="21:20" type="uint" />
<field name="2D Command Opcode" dword="0" bits="28:22" type="uint" default="1" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="2" />
<field name="Destination Pitch" dword="1" bits="15:0" type="int" />
<field name="Raster Operation" dword="1" bits="23:16" type="uint" />
<field name="Color Depth" dword="1" bits="25:24" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0" />
<value name="565" value="1" />
<value name="1555" value="2" />
<value name="32 bit" value="3" />
</field>
<field name="Mono Source Transparency Mode" dword="1" bits="28:28" type="bool" />
<field name="Clipping Enabled" dword="1" bits="30:30" type="bool" />
<field name="ClipRect X1 Coordinate" dword="2" bits="15:0" type="int" />
<field name="ClipRect Y1 Coordinate" dword="2" bits="31:16" type="int" />
<field name="ClipRect X2 Coordinate" dword="3" bits="15:0" type="int" />
<field name="ClipRect Y2 Coordinate" dword="3" bits="31:16" type="int" />
<field name="Destination Base Address" dword="4" bits="31:0" type="address" />
<field name="Background Color" dword="5" bits="31:0" type="uint" />
<field name="Foreground Color" dword="6" bits="31:0" type="uint" />
<field name="Pattern Base Address" dword="7" bits="31:0" type="uint" />
</instruction>
<instruction name="XY_SRC_COPY_BLT" bias="2" length="8" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="6" />
<field name="Destination Tiling Enable" dword="0" bits="11:11" type="bool" />
<field name="Source Tiling Enable" dword="0" bits="15:15" type="bool" />
<field name="32bpp Byte Mask" dword="0" bits="21:20" type="uint" />
<field name="2D Command Opcode" dword="0" bits="28:22" type="uint" default="83" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="2" />
<field name="Destination Pitch" dword="1" bits="15:0" type="int" />
<field name="Raster Operation" dword="1" bits="23:16" type="uint" />
<field name="Color Depth" dword="1" bits="26:24" type="uint" prefix="COLOR_DEPTH">
<value name="8 bit" value="0" />
<value name="565" value="1" />
<value name="1555" value="2" />
<value name="32 bit" value="3" />
</field>
<field name="Clipping Enabled" dword="1" bits="30:30" type="bool" />
<field name="Destination X1 Coordinate" dword="2" bits="15:0" type="int" />
<field name="Destination Y1 Coordinate" dword="2" bits="31:16" type="int" />
<field name="Destination X2 Coordinate" dword="3" bits="15:0" type="int" />
<field name="Destination Y2 Coordinate" dword="3" bits="31:16" type="int" />
<field name="Destination Base Address" dword="4" bits="31:0" type="address" />
<field name="Source X1 Coordinate" dword="5" bits="15:0" type="int" />
<field name="Source Y1 Coordinate" dword="5" bits="31:16" type="int" />
<field name="Source Pitch" dword="6" bits="15:0" type="int" />
<field name="Source Base Address" dword="7" bits="31:0" type="address" />
</instruction>
</genxml>