mesa/src/intel/genxml/gen45.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

507 lines
31 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<genxml name="CTG" gen="4.5">
<import name="gen40.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="address" />
<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="Clipper Statistics Enable" dword="4" bits="10:10" type="bool" />
<field name="GS Output Object 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="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="address" />
<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 Enable" dword="4" bits="8:8" 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="Discard Adjacency" dword="6" bits="29:29" type="bool" />
<field name="Reorder Enable" dword="6" bits="30:30" 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" />
<value name="PROGRESSIVE_FRAME" value="2" />
<value name="INTERLACED_FRAME" value="3" />
</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="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="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_STATE" length="4">
<field name="Shadow Function" dword="0" bits="2:0" type="uint" prefix="PREFILTEROP">
<value name="ALWAYS" value="0" />
<value name="NEVER" value="1" />
<value name="LESS" value="2" />
<value name="EQUAL" value="3" />
<value name="LEQUAL" value="4" />
<value name="GREATER" value="5" />
<value name="NOTEQUAL" value="6" />
<value name="GEQUAL" value="7" />
</field>
<field name="Texture LOD Bias" dword="0" bits="13:3" type="s4.6" />
<field name="Min Mode Filter" dword="0" bits="16:14" type="uint" prefix="MAPFILTER" />
<field name="Mag Mode Filter" dword="0" bits="19:17" type="uint" prefix="MAPFILTER">
<value name="NEAREST" value="0" />
<value name="LINEAR" value="1" />
<value name="ANISOTROPIC" value="2" />
<value name="MONO" value="6" />
</field>
<field name="Mip Mode Filter" dword="0" bits="21:20" type="uint" prefix="MIPFILTER">
<value name="NONE" value="0" />
<value name="NEAREST" value="1" />
<value name="LINEAR" value="3" />
</field>
<field name="Base Mip Level" dword="0" bits="26:22" type="u4.1" />
<field name="LOD PreClamp Enable" dword="0" bits="28:28" type="bool" />
<field name="Sampler Disable" dword="0" bits="31:31" type="bool" />
<field name="TCZ Address Control Mode" dword="1" bits="2:0" type="Texture Coordinate Mode" />
<field name="TCY Address Control Mode" dword="1" bits="5:3" type="Texture Coordinate Mode" />
<field name="TCX Address Control Mode" dword="1" bits="8:6" type="Texture Coordinate Mode" />
<field name="Cube Surface Control Mode" dword="1" bits="9:9" type="uint">
<value name="CUBECTRLMODE_PROGRAMMED" value="0" />
<value name="CUBECTRLMODE_OVERRIDE" value="1" />
</field>
<field name="Max LOD" dword="1" bits="21:12" type="u4.6" />
<field name="Min LOD" dword="1" bits="31:22" type="u4.6" />
<field name="Border Color Pointer" dword="2" bits="31:5" type="address" />
<field name="R Address Min Filter Rounding Enable" dword="3" bits="13:13" type="bool" />
<field name="R Address Mag Filter Rounding Enable" dword="3" bits="14:14" type="bool" />
<field name="V Address Min Filter Rounding Enable" dword="3" bits="15:15" type="bool" />
<field name="V Address Mag Filter Rounding Enable" dword="3" bits="16:16" type="bool" />
<field name="U Address Min Filter Rounding Enable" dword="3" bits="17:17" type="bool" />
<field name="U Address Mag Filter Rounding Enable" dword="3" bits="18:18" type="bool" />
<field name="Maximum Anisotropy" dword="3" bits="21:19" type="uint">
<value name="RATIO 2:1" value="0" />
<value name="RATIO 4:1" value="1" />
<value name="RATIO 6:1" value="2" />
<value name="RATIO 8:1" value="3" />
<value name="RATIO 10:1" value="4" />
<value name="RATIO 12:1" value="5" />
<value name="RATIO 14:1" value="6" />
<value name="RATIO 16:1" value="7" />
</field>
<field name="ChromaKey Mode" dword="3" bits="22:22" type="uint" prefix="KEYFILTER">
<value name="KILL_ON_ANY_MATCH" value="0" />
<value name="REPLACE_BLACK" value="1" />
</field>
<field name="ChromaKey Index" dword="3" bits="24:23" type="uint" />
<field name="ChromaKey Enable" dword="3" bits="25:25" type="bool" />
<field name="Monochrome Filter Width" dword="3" bits="28:26" type="uint" />
<field name="Monochrome Filter Height" dword="3" bits="31:29" type="uint" />
</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="address" />
<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="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="WM_STATE" length="8">
<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="address" />
<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="Normal" value="0" />
<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="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" />
</struct>
<instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="4" />
<field name="Indirect Vertex Count" dword="0" bits="9:9" type="uint" />
<field name="Primitive Topology Type" dword="0" bits="14:10" type="3D_Prim_Topo_Type" />
<field name="Vertex Access Type" dword="0" bits="15:15" type="uint">
<value name="SEQUENTIAL" value="0" />
<value name="RANDOM" value="1" />
</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="3" />
<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="Vertex Count Per Instance" dword="1" bits="31:0" type="uint" />
<field name="Start Vertex Location" dword="2" bits="31:0" type="uint" />
<field name="Instance Count" dword="3" bits="31:0" type="uint" />
<field name="Start Instance Location" dword="4" bits="31:0" type="uint" />
<field name="Base Vertex Location" dword="5" bits="31:0" type="int" />
</instruction>
<instruction name="3DSTATE_AA_LINE_PARAMETERS" 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="10" />
<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="AA Coverage Slope" dword="1" bits="7:0" type="u0.8" />
<field name="AA Coverage Bias" dword="1" bits="23:16" type="u0.8" />
<field name="AA Coverage EndCap Slope" dword="2" bits="7:0" type="u0.8" />
<field name="AA Coverage EndCap Bias" dword="2" bits="23:16" type="u0.8" />
</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="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="Depth Buffer Coordinate Offset Disable" dword="1" bits="25:25" type="bool" />
<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">
<value name="SURFTYPE_1D: must be zero" value="0" />
</field>
<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">
<value name="SURFTYPE_CUBE: must be zero" value="0" />
</field>
<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_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 (Current Repeat Counter, Current Stipple Index)" 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_VF_STATISTICS" bias="1" length="1" engine="render">
<field name="Statistics Enable" dword="0" bits="0:0" type="bool" />
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="11" />
<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="1" />
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
</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" />
</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="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="URB_FENCE" bias="2" length="3" engine="render">
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" />
<field name="VS Unit URB Reallocation Request" dword="0" bits="8:8" type="bool" />
<field name="GS Unit URB Reallocation Request" dword="0" bits="9:9" type="bool" />
<field name="CLIP Unit URB Reallocation Request" dword="0" bits="10:10" type="bool" />
<field name="SF Unit URB Reallocation Request" dword="0" bits="11:11" type="bool" />
<field name="VFE Unit URB Reallocation Request" dword="0" bits="12:12" type="bool" />
<field name="CS Unit URB Reallocation Request" dword="0" bits="13:13" type="bool" />
<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="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="VS Fence" dword="1" bits="9:0" type="uint" />
<field name="GS Fence" dword="1" bits="19:10" type="uint" />
<field name="CLIP Fence" dword="1" bits="29:20" type="uint" />
<field name="SF Fence" dword="2" bits="9:0" type="uint" />
<field name="VFE Fence" dword="2" bits="19:10" type="uint" />
<field name="CS Fence" dword="2" bits="30:20" type="uint" />
</instruction>
</genxml>