lib/genxml: Introduce Mesa genxml infrastructure to IGT
Subsystems (2)
Re: [PATCH 03/10] lib/intel/genxml: Import gen9-gen12.5 XML hardware definitions from Mesa
In reply to Jan MaslakQuoted 9 lines · Jan Maslak
Import gen90.xml, gen110.xml, gen120.xml, and gen125.xml from Mesa (MIT-licensed, Mesa commit
3a62dc0218d3) unchanged.These files define the hardware command, struct, and register layouts for Gen9 (SKL/KBL/CFL), Gen11 (ICL), Gen12 (TGL/RKL/DG1/ADL), and Gen12.5 (DG2/MTL/ARL) Intel graphics generations.
Signed-off-by Jan Maslak <[email protected]>
--
Zbigniew
---
Quoted 12,672 lines
lib/intel/genxml/gen110.xml | 3358 ++++++++++++++++++++++++++++ lib/intel/genxml/gen120.xml | 2432 ++++++++++++++++++++ lib/intel/genxml/gen125.xml | 2628 ++++++++++++++++++++++ lib/intel/genxml/gen90.xml | 4192 +++++++++++++++++++++++++++++++++++ lib/meson.build | 6 +- 5 files changed, 12615 insertions(+), 1 deletion(-) create mode 100644 lib/intel/genxml/gen110.xml create mode 100644 lib/intel/genxml/gen120.xml create mode 100644 lib/intel/genxml/gen125.xml create mode 100644 lib/intel/genxml/gen90.xmllib/intel/genxml/gen110.xml new file +3358
-0@@ -0,0 +1,3358 @@ +<?xml version='1.0' encoding='utf-8'?> +<genxml name="ICL" gen="11"> + <import name="gen90.xml"> + <exclude name="ACTHD_UDW" /> + <exclude name="BCS_ACTHD_UDW" /> + <exclude name="BCS_RING_BUFFER_CTL" /> + <exclude name="COMMON_SLICE_CHICKEN2" /> + <exclude name="FAULT_REG" /> + <exclude name="GFX_ARB_ERROR_RPT" /> + <exclude name="GPGPU_CSR_BASE_ADDRESS" /> + <exclude name="MFX_MPEG_TS_CONTROL command" /> + <exclude name="MI_LOAD_URB_MEM" /> + <exclude name="MI_STORE_URB_MEM" /> + <exclude name="MI_URB_ATOMIC_ALLOC" /> + <exclude name="RCS_RING_BUFFER_CTL" /> + <exclude name="STATE_PREFETCH" /> + <exclude name="VCS2_RING_BUFFER_CTL" /> + <exclude name="VCS_ACTHD_UDW" /> + <exclude name="VCS_RING_BUFFER_CTL" /> + <exclude name="VECS_ACTHD_UDW" /> + <exclude name="VECS_INSTDONE" /> + <exclude name="VECS_RING_BUFFER_CTL" /> + </import> + <enum name="Texture Coordinate Mode" prefix="TCM"> + <value name="WRAP" value="0" /> + <value name="MIRROR" value="1" /> + <value name="CLAMP" value="2" /> + <value name="CUBE" value="3" /> + <value name="CLAMP_BORDER" value="4" /> + <value name="MIRROR_ONCE" value="5" /> + <value name="HALF_BORDER" value="6" /> + <value name="MIRROR_101" value="7" /> + </enum> + <struct name="CHROMA_FILTER_COEFFICIENTS_ARRAY" length="2"> + <field name="Table 1X Filter Coefficient[[n],2]" dword="0" bits="7:0" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],2]" dword="0" bits="15:8" type="s1.6" /> + <field name="Table 1X Filter Coefficient[[n],3]" dword="0" bits="23:16" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],3]" dword="0" bits="31:24" type="s1.6" /> + <field name="Table 1X Filter Coefficient[[n],4]" dword="1" bits="7:0" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],4]" dword="1" bits="15:8" type="s1.6" /> + <field name="Table 1X Filter Coefficient[[n],5]" dword="1" bits="23:16" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],5]" dword="1" bits="31:24" type="s1.6" /> + </struct> + <struct name="CLEAR_COLOR" length="8"> + <field name="Raw Clear Color Red" dword="0" bits="31:0" type="int" /> + <field name="Raw Clear Color Green" dword="1" bits="31:0" type="int" /> + <field name="Raw Clear Color Blue" dword="2" bits="31:0" type="int" /> + <field name="Raw Clear Color Alpha" dword="3" bits="31:0" type="int" /> + <field name="Converted Clear Value Hi/Low" dword="4" bits="63:0" type="uint" /> + </struct> + <struct name="HCP_TILE_POSITION_IN_CTB_MSB" length="2"> + <group count="22" dword="0" size="2"> + <field name="Ctb Row Position of Tile Column" dword="0" bits="1:0" type="uint" /> + </group> + </struct> + <struct name="HCP_WEIGHTOFFSET_CHROMA_EXT_ENTRY" length="1"> + <field name="Chroma Offset LX[0] MSByte [i]" dword="0" bits="7:0" type="uint" /> + <field name="Chroma Offset LX[0] MSByte [i+1]" dword="0" bits="15:8" type="uint" /> + <field name="Chroma Offset LX[1] MSByte [i]" dword="0" bits="23:16" type="uint" /> + <field name="Chroma Offset LX[1] MSByte [i+1]" dword="0" bits="31:24" type="uint" /> + </struct> + <struct name="HCP_WEIGHTOFFSET_LUMA_ENTRY" length="1"> + <field name="Delta Luma Weight LX" dword="0" bits="7:0" type="uint" /> + <field name="Luma Offset LX" dword="0" bits="15:8" type="uint" /> + <field name="Luma Offset LX MSByte" dword="0" bits="31:24" type="uint" /> + </struct> + <struct name="IMAGE_STATE_COST" length="2"> + <field name="MV 0 Cost" dword="0" bits="7:0" type="uint" /> + <field name="MV 1 Cost" dword="0" bits="15:8" type="uint" /> + <field name="MV 2 Cost" dword="0" bits="23:16" type="uint" /> + <field name="MV 3 Cost" dword="0" bits="31:24" type="uint" /> + <field name="MV 4 Cost" dword="1" bits="7:0" type="uint" /> + <field name="MV 5 Cost" dword="1" bits="15:8" type="uint" /> + <field name="MV 6 Cost" dword="1" bits="23:16" type="uint" /> + <field name="MV 7 Cost" dword="1" bits="31:24" type="uint" /> + </struct> + <struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3"> + <field name="MB Error Concealment P Slice Weight Prediction Disable" dword="0" bits="0:0" type="bool" /> + <field name="MB Error Concealment P Slice Motion Vectors Override Disable" dword="0" bits="1:1" type="bool" /> + <field name="MB Error Concealment B Spatial Weight Prediction Disable" dword="0" bits="3:3" type="bool" /> + <field name="MB Error Concealment B Spatial Motion Vectors Override Disable" dword="0" bits="4:4" type="bool" /> + <field name="MB Error Concealment B Spatial Prediction Mode" dword="0" bits="7:6" type="uint" /> + <field name="MB Header Error Handling" dword="0" bits="8:8" type="bool" /> + <field name="Entropy Error Handling" dword="0" bits="10:10" type="bool" /> + <field name="MPR Error Handling" dword="0" bits="12:12" type="bool" /> + <field name="BSD Premature Complete Error Handling" dword="0" bits="14:14" type="bool" /> + <field name="Concealment Picture ID" dword="0" bits="21:16" type="uint" /> + <field name="MB Error Concealment B Temporal Weight Prediction Disable" dword="0" bits="24:24" type="bool" /> + <field name="MB Error Concealment B Temporal Motion Vectors Override Enable" dword="0" bits="25:25" type="bool" /> + <field name="MB Error Concealment B Temporal Prediction Mode" dword="0" bits="28:27" type="uint" /> + <field name="Intra PredMode (4x4/8x8 Luma) Error Control" dword="0" bits="29:29" type="bool" /> + <field name="Init Current MB Number" dword="0" bits="30:30" type="bool" /> + <field name="Concealment Method" dword="0" bits="31:31" type="uint" /> + <field name="First MB Bit Offset" dword="1" bits="2:0" type="uint" /> + <field name="Last Slice" dword="1" bits="3:3" type="bool" /> + <field name="Emulation Prevention Byte Present" dword="1" bits="4:4" type="bool" /> + <field name="Fix Prev MB Skipped" dword="1" bits="7:7" type="bool" /> + <field name="First MB Byte Offset of Slice Data or Slice Header" dword="1" bits="31:16" type="uint" /> + <field name="Intra Prediction Error Control" dword="2" bits="0:0" type="bool" /> + <field name="Intra 8x8/4x4 Prediction Error Concealment Control" dword="2" bits="1:1" type="bool" /> + <field name="B Slice Temporal Inter Concealment Mode" dword="2" bits="6:4" type="uint" /> + <field name="B Slice Spatial Inter Concealment Mode" dword="2" bits="10:8" type="uint" /> + <field name="B Slice Inter Direct Type Concealment Mode" dword="2" bits="13:12" type="uint" /> + <field name="B Slice Concealment Mode" dword="2" bits="15:15" type="uint"> + <value name="Intra Concealment" value="1" /> + <value name="Inter Concealment" value="0" /> + </field> + <field name="P Slice Inter Concealment Mode" dword="2" bits="18:16" type="uint" /> + <field name="P Slice Concealment Mode" dword="2" bits="23:23" type="uint"> + <value name="Intra Concealment" value="1" /> + <value name="Inter Concealment" value="0" /> + </field> + <field name="Concealment Reference Picture + Field Bit" dword="2" bits="29:24" type="uint" /> + <field name="I Slice Concealment Mode" dword="2" bits="31:31" type="uint"> + <value name="Intra Concealment" value="1" /> + <value name="Inter Concealment" value="0" /> + </field> + </struct> + <struct name="LUMA_FILTER_COEFFICIENTS_ARRAY" length="4"> + <field name="Table 0X Filter Coefficient[[n],0]" dword="0" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],0]" dword="0" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],1]" dword="0" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],1]" dword="0" bits="31:24" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],2]" dword="1" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],2]" dword="1" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],3]" dword="1" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],3]" dword="1" bits="31:24" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],4]" dword="2" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],4]" dword="2" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],5]" dword="2" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],5]" dword="2" bits="31:24" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],6]" dword="3" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],6]" dword="3" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],7]" dword="3" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],7]" dword="3" bits="31:24" type="s1.6" /> + </struct> + <struct name="RENDER_SURFACE_STATE" length="16"> + <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 Cache" value="0" /> + <value name="Read-Write Cache" value="1" /> + </field> + <field name="Sampler L2 Bypass Mode Disable" dword="0" bits="9:9" type="bool" /> + <field name="Vertical Line Stride Offset" dword="0" bits="10:10" type="uint" /> + <field name="Vertical Line Stride" dword="0" bits="11:11" type="uint" /> + <field name="Tile Mode" dword="0" bits="13:12" type="uint"> + <value name="LINEAR" value="0" /> + <value name="WMAJOR" value="1" /> + <value name="XMAJOR" value="2" /> + <value name="YMAJOR" value="3" /> + </field> + <field name="Surface Horizontal Alignment" dword="0" bits="15:14" type="uint"> + <value name="HALIGN_4" value="1" /> + <value name="HALIGN_8" value="2" /> + <value name="HALIGN_16" value="3" /> + </field> + <field name="Surface Vertical Alignment" dword="0" bits="17:16" type="uint"> + <value name="VALIGN_4" value="1" /> + <value name="VALIGN_8" value="2" /> + <value name="VALIGN_16" value="3" /> + </field> + <field name="Surface Format" dword="0" bits="27:18" type="uint" /> + <field name="Surface Array" dword="0" bits="28:28" type="bool" /> + <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_STRBUF" value="5" /> + <value name="SURFTYPE_NULL" value="7" /> + </field> + <field name="Surface QPitch" dword="1" bits="14:0" type="uint" /> + <field name="Base Mip Level" dword="1" bits="23:19" type="u4.1" /> + <field name="MOCS" dword="1" bits="30:24" type="uint" nonzero="true" /> + <field name="Enable Unorm Path In Color Pipe" dword="1" bits="31:31" type="bool" /> + <field name="Width" dword="2" bits="13:0" type="uint" /> + <field name="Height" dword="2" bits="29:16" type="uint" /> + <field name="Surface Pitch" dword="3" bits="17:0" type="uint" /> + <field name="Tile Address Mapping Mode" dword="3" bits="20:20" type="uint"> + <value name="Gfx9" value="0" /> + <value name="Gfx10+" value="1" /> + </field> + <field name="Depth" dword="3" bits="31:21" type="uint" /> + <field name="Multisample Position Palette Index" dword="4" bits="2:0" type="uint" /> + <field name="Number of Multisamples" dword="4" bits="5:3" type="uint"> + <value name="MULTISAMPLECOUNT_1" value="0" /> + <value name="MULTISAMPLECOUNT_2" value="1" /> + <value name="MULTISAMPLECOUNT_4" value="2" /> + <value name="MULTISAMPLECOUNT_8" value="3" /> + <value name="MULTISAMPLECOUNT_16" value="4" /> + </field> + <field name="Multisampled Surface Storage Format" dword="4" bits="6:6" type="uint"> + <value name="MSFMT_MSS" value="0" /> + <value name="MSFMT_DEPTH_STENCIL" value="1" /> + </field> + <field name="Render Target View Extent" dword="4" bits="17:7" type="uint" /> + <field name="Minimum Array Element" dword="4" bits="28:18" type="uint" /> + <field name="Render Target And Sample Unorm Rotation" dword="4" bits="30:29" type="uint"> + <value name="0DEG" value="0" /> + <value name="90DEG" value="1" /> + <value name="180DEG" value="2" /> + <value name="270DEG" value="3" /> + </field> + <field name="MIP Count / LOD" dword="5" bits="3:0" type="uint" /> + <field name="Surface Min LOD" dword="5" bits="7:4" type="uint" /> + <field name="Mip Tail Start LOD" dword="5" bits="11:8" type="uint" /> + <field name="Coherency Type" dword="5" bits="14:14" type="uint"> + <value name="GPU coherent" value="0" /> + <value name="IA coherent" value="1" /> + </field> + <field name="Tiled Resource Mode" dword="5" bits="19:18" type="uint"> + <value name="NONE" value="0" /> + <value name="4KB" value="1" /> + <value name="64KB" value="2" /> + <value name="TILEYF" value="1" /> + <value name="TILEYS" value="2" /> + </field> + <field name="EWA Disable For Cube" dword="5" bits="20:20" type="bool" /> + <field name="Y Offset" dword="5" bits="23:21" type="uint" /> + <field name="X Offset" dword="5" bits="31:25" type="uint" /> + <field name="Auxiliary Surface Mode" dword="6" bits="2:0" type="uint"> + <value name="AUX_NONE" value="0" /> + <value name="AUX_CCS_D" value="1" /> + <value name="AUX_APPEND" value="2" /> + <value name="AUX_HIZ" value="3" /> + <value name="AUX_CCS_E" value="5" /> + </field> + <field name="Y Offset for U or UV Plane" dword="6" bits="13:0" type="uint" /> + <field name="Auxiliary Surface Pitch" dword="6" bits="11:3" type="uint" /> + <field name="Auxiliary Surface QPitch" dword="6" bits="30:16" type="uint" /> + <field name="X Offset for U or UV Plane" dword="6" bits="29:16" type="uint" /> + <field name="Separate UV Plane Enable" dword="6" bits="31:31" type="bool" /> + <field name="Resource Min LOD" dword="7" bits="11:0" type="u4.8" /> + <field name="Shader Channel Select Alpha" dword="7" bits="18:16" type="Shader Channel Select" /> + <field name="Shader Channel Select Blue" dword="7" bits="21:19" type="Shader Channel Select" /> + <field name="Shader Channel Select Green" dword="7" bits="24:22" type="Shader Channel Select" /> + <field name="Shader Channel Select Red" dword="7" bits="27:25" type="Shader Channel Select" /> + <field name="Memory Compression Enable" dword="7" bits="30:30" type="bool" /> + <field name="Memory Compression Mode" dword="7" bits="31:31" type="uint"> + <value name="Horizontal" value="0" /> + <value name="Vertical" value="1" /> + </field> + <field name="Surface Base Address" dword="8" bits="63:0" type="address" /> + <field name="Quilt Width" dword="10" bits="4:0" type="uint" /> + <field name="Quilt Height" dword="10" bits="9:5" type="uint" /> + <field name="Clear Value Address Enable" dword="10" bits="10:10" type="bool" /> + <field name="Auxiliary Surface Base Address" dword="10" bits="63:12" type="address" /> + <field name="Auxiliary Table Index for Media Compressed Surface" dword="10" bits="31:21" type="uint" /> + <field name="Y Offset for V Plane" dword="11" bits="13:0" type="uint" /> + <field name="X Offset for V Plane" dword="11" bits="29:16" type="uint" /> + <field name="Red Clear Color" dword="12" bits="31:0" type="int" /> + <field name="Clear Color Conversion Enable" dword="12" bits="5:5" type="uint" /> + <field name="Clear Value Address" dword="12" bits="47:6" type="address" /> + <field name="Green Clear Color" dword="13" bits="31:0" type="int" /> + <field name="Blue Clear Color" dword="14" bits="31:0" type="int" /> + <field name="Alpha Clear Color" dword="15" bits="31:0" type="int" /> + </struct> + <struct name="SAMPLER_INDIRECT_STATE_BORDER_COLOR" length="4"> + <field name="Border Color Red As S31" dword="0" bits="31:0" type="int" /> + <field name="Border Color Red As U32" dword="0" bits="31:0" type="uint" /> + <field name="Border Color Red As Float" dword="0" bits="31:0" type="float" /> + <field name="Border Color Red As U8" dword="0" bits="7:0" type="uint" /> + <field name="Border Color Green As U8" dword="0" bits="15:8" type="uint" /> + <field name="Border Color Blue As U8" dword="0" bits="23:16" type="uint" /> + <field name="Border Color Alpha As U8" dword="0" bits="31:24" type="uint" /> + <field name="Border Color Green As S31" dword="1" bits="31:0" type="int" /> + <field name="Border Color Green As U32" dword="1" bits="31:0" type="uint" /> + <field name="Border Color Green As Float" dword="1" bits="31:0" type="float" /> + <field name="Border Color Blue As S31" dword="2" bits="31:0" type="int" /> + <field name="Border Color Blue As U32" dword="2" bits="31:0" type="uint" /> + <field name="Border Color Blue As Float" dword="2" bits="31:0" type="float" /> + <field name="Border Color Alpha As S31" dword="3" bits="31:0" type="int" /> + <field name="Border Color Alpha As U32" dword="3" bits="31:0" type="uint" /> + <field name="Border Color Alpha As Float" dword="3" bits="31:0" type="float" /> + </struct> + <struct name="SAMPLER_STATE" length="4"> + <field name="Anisotropic Algorithm" dword="0" bits="0:0" type="uint"> + <value name="LEGACY" value="0" /> + <value name="EWA Approximation" value="1" /> + </field> + <field name="Texture LOD Bias" dword="0" bits="13:1" type="s4.8" /> + <field name="Min Mode Filter" dword="0" bits="16:14" 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="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="Coarse LOD Quality Mode" dword="0" bits="26:22" type="uint" /> + <field name="LOD PreClamp Mode" dword="0" bits="28:27" type="uint" prefix="CLAMP_MODE"> + <value name="NONE" value="0" /> + <value name="OGL" value="2" /> + </field> + <field name="Texture Border Color Mode" dword="0" bits="29:29" type="uint"> + <value name="DX10/OGL" value="0" /> + <value name="DX9" value="1" /> + </field> + <field name="CPS LOD Compensation Enable" dword="0" bits="30:30" type="bool" /> + <field name="Sampler Disable" dword="0" bits="31:31" type="bool" /> + <field name="Cube Surface Control Mode" dword="1" bits="0:0" type="uint"> + <value name="PROGRAMMED" value="0" /> + <value name="OVERRIDE" value="1" /> + </field> + <field name="Shadow Function" dword="1" bits="3:1" 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="ChromaKey Mode" dword="1" bits="4:4" type="uint"> + <value name="KEYFILTER_KILL_ON_ANY_MATCH" value="0" /> + <value name="KEYFILTER_REPLACE_BLACK" value="1" /> + </field> + <field name="ChromaKey Index" dword="1" bits="6:5" type="uint" /> + <field name="ChromaKey Enable" dword="1" bits="7:7" type="bool" /> + <field name="Max LOD" dword="1" bits="19:8" type="u4.8" /> + <field name="Min LOD" dword="1" bits="31:20" type="u4.8" /> + <field name="LOD Clamp Magnification Mode" dword="2" bits="0:0" type="uint"> + <value name="MIPNONE" value="0" /> + <value name="MIPFILTER" value="1" /> + </field> + <field name="SRGB DECODE" dword="2" bits="1:1" type="uint"> + <value name="DECODE_EXT" value="0" /> + <value name="SKIP_DECODE_EXT" value="1" /> + </field> + <field name="Return Filter Weight for Null Texels" dword="2" bits="2:2" type="uint" /> + <field name="Return Filter Weight for Border Texels" dword="2" bits="3:3" type="uint" /> + <field name="Force gather4 Behavior" dword="2" bits="5:5" type="bool" /> + <field name="Border Color Pointer" dword="2" bits="23:6" type="offset" /> + <field name="TCZ Address Control Mode" dword="3" bits="2:0" type="Texture Coordinate Mode" /> + <field name="TCY Address Control Mode" dword="3" bits="5:3" type="Texture Coordinate Mode" /> + <field name="TCX Address Control Mode" dword="3" bits="8:6" type="Texture Coordinate Mode" /> + <field name="Reduction Type Enable" dword="3" bits="9:9" type="bool" /> + <field name="Non-normalized Coordinate Enable" dword="3" bits="10:10" type="bool" /> + <field name="Trilinear Filter Quality" dword="3" bits="12:11" type="uint"> + <value name="FULL" value="0" /> + <value name="HIGH" value="1" /> + <value name="MED" value="2" /> + <value name="LOW" value="3" /> + </field> + <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="Reduction Type" dword="3" bits="23:22" type="uint"> + <value name="STD_FILTER" value="0" /> + <value name="COMPARISON" value="1" /> + <value name="MINIMUM" value="2" /> + <value name="MAXIMUM" value="3" /> + </field> + <field name="Allow Low Quality LOD Calculation" dword="3" bits="24:24" type="bool" /> + </struct> + <struct name="SFC_AVS_CHROMA_COEFF_TABLE_BODY" length="64"> + <field name="Table 1X Filter Coefficient[[n],2]" dword="0" bits="7:0" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],2]" dword="0" bits="15:8" type="s1.6" /> + <field name="Table 1X Filter Coefficient[[n],3]" dword="0" bits="23:16" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],3]" dword="0" bits="31:24" type="s1.6" /> + <field name="Table 1X Filter Coefficient[[n],4]" dword="1" bits="7:0" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],4]" dword="1" bits="15:8" type="s1.6" /> + <field name="Table 1X Filter Coefficient[[n],5]" dword="1" bits="23:16" type="s1.6" /> + <field name="Table 1Y Filter Coefficient[[n],5]" dword="1" bits="31:24" type="s1.6" /> + <group count="31" dword="2" size="64"> + <field name="Filter Coefficients" dword="0" bits="63:0" type="CHROMA_FILTER_COEFFICIENTS_ARRAY" /> + </group> + </struct> + <struct name="SFC_AVS_LUMA_COEFF_TABLE_BODY" length="128"> + <field name="Table 0X Filter Coefficient[[n],0]" dword="0" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],0]" dword="0" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],1]" dword="0" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],1]" dword="0" bits="31:24" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],2]" dword="1" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],2]" dword="1" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],3]" dword="1" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],3]" dword="1" bits="31:24" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],4]" dword="2" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],4]" dword="2" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],5]" dword="2" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],5]" dword="2" bits="31:24" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],6]" dword="3" bits="7:0" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],6]" dword="3" bits="15:8" type="s1.6" /> + <field name="Table 0X Filter Coefficient[[n],7]" dword="3" bits="23:16" type="s1.6" /> + <field name="Table 0Y Filter Coefficient[[n],7]" dword="3" bits="31:24" type="s1.6" /> + <group count="31" dword="4" size="128"> + <field name="Filter Coefficients" dword="0" bits="127:0" type="LUMA_FILTER_COEFFICIENTS_ARRAY" /> + </group> + </struct> + <struct name="SFC_AVS_STATE_BODY" length="3"> + <field name="Transition Area with 8 Pixels" dword="0" bits="2:0" type="uint" /> + <field name="Transition Area with 4 Pixels" dword="0" bits="6:4" type="uint" /> + <field name="Sharpness Level" dword="0" bits="31:24" type="uint" /> + <field name="Max Derivative 8 Pixels" dword="1" bits="7:0" type="uint" /> + <field name="Max Derivative 4 Pixels" dword="1" bits="23:16" type="uint" /> + <field name="Input Vertical Siting" dword="2" bits="3:0" type="uint"> + <value name="1/8" value="1" /> + <value name="2/8" value="2" /> + <value name="3/8" value="3" /> + <value name="4/8" value="4" /> + <value name="5/8" value="5" /> + <value name="6/8" value="6" /> + <value name="7/8" value="7" /> + <value name="8/8" value="8" /> + </field> + </struct> + <struct name="SLICE_HASH_TABLE" length="32"> + <group count="16" dword="0" size="64"> + <group count="16" dword="0" size="4"> + <field name="Entry" dword="0" bits="3:0" type="uint" /> + </group> + </group> + </struct> + <struct name="VDENC_SURFACE_STATE_FIELDS" length="4"> + <field name="Cr(V)/Cb(U) Pixel Offset V Direction" dword="0" bits="1:0" type="u0.2" /> + <field name="Surface Format Byte Swizzle" dword="0" bits="2:2" type="bool" /> + <field name="Color space selection" dword="0" bits="3:3" type="uint" /> + <field name="Width" dword="0" bits="17:4" type="uint" /> + <field name="Height" dword="0" bits="31:18" type="uint" /> + <field name="Tile Walk" dword="1" bits="0:0" type="uint" prefix="TW"> + <value name="XMAJOR" value="0" /> + <value name="YMAJOR" value="1" /> + </field> + <field name="Tiled Surface" dword="1" bits="1:1" type="uint" /> + <field name="Half Pitch for Chroma" dword="1" bits="2:2" type="bool" /> + <field name="Surface Pitch" dword="1" bits="19:3" type="uint" /> + <field name="Chroma Downsample Filter Control" dword="1" bits="22:20" type="uint" /> + <field name="Surface Format" dword="1" bits="31:27" type="uint" prefix="VDENC"> + <value name="YUV 4:2:2" value="0" /> + <value name="RGBA 4:4:4:4" value="1" /> + <value name="YUV 4:4:4" value="2" /> + <value name="Y8_UNORM" value="3" /> + <value name="PLANAR_420_8" value="4" /> + </field> + <field name="Y Offset for U(Cb)" dword="2" bits="14:0" type="uint" /> + <field name="X Offset for U(Cb)" dword="2" bits="30:16" type="uint" /> + <field name="Y Offset for V(Cr)" dword="3" bits="15:0" type="uint" /> + <field name="X Offset for V(Cr)" dword="3" bits="28:16" type="uint" /> + </struct> + <instruction name="3DPRIMITIVE" bias="2" length="7" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="5" /> + <field name="Predicate Enable" dword="0" bits="8:8" type="bool" /> + <field name="UAV Coherency Required" dword="0" bits="9:9" type="bool" /> + <field name="Indirect Parameter Enable" dword="0" bits="10:10" type="bool" /> + <field name="Extended Parameters Present" dword="0" bits="11:11" 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="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="Primitive Topology Type" dword="1" bits="5:0" type="3D_Prim_Topo_Type" /> + <field name="Vertex Access Type" dword="1" bits="8:8" type="uint"> + <value name="SEQUENTIAL" value="0" /> + <value name="RANDOM" value="1" /> + </field> + <field name="End Offset Enable" dword="1" bits="9:9" type="bool" /> + <field name="Vertex Count Per Instance" dword="2" bits="31:0" type="uint" /> + <field name="Start Vertex Location" dword="3" bits="31:0" type="uint" /> + <field name="Instance Count" dword="4" bits="31:0" type="uint" /> + <field name="Start Instance Location" dword="5" bits="31:0" type="uint" /> + <field name="Base Vertex Location" dword="6" bits="31:0" type="int" /> + </instruction> + <instruction name="3DPRIMITIVE_EXTENDED" bias="2" length="10" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="8" /> + <field name="Predicate Enable" dword="0" bits="8:8" type="bool" /> + <field name="UAV Coherency Required" dword="0" bits="9:9" type="bool" /> + <field name="Indirect Parameter Enable" dword="0" bits="10:10" type="bool" /> + <field name="Extended Parameters Present" dword="0" bits="11:11" type="bool" default="1" /> + <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="Primitive Topology Type" dword="1" bits="5:0" type="3D_Prim_Topo_Type" /> + <field name="Vertex Access Type" dword="1" bits="8:8" type="uint"> + <value name="SEQUENTIAL" value="0" /> + <value name="RANDOM" value="1" /> + </field> + <field name="End Offset Enable" dword="1" bits="9:9" type="bool" /> + <field name="Vertex Count Per Instance" dword="2" bits="31:0" type="uint" /> + <field name="Start Vertex Location" dword="3" bits="31:0" type="uint" /> + <field name="Instance Count" dword="4" bits="31:0" type="uint" /> + <field name="Start Instance Location" dword="5" bits="31:0" type="uint" /> + <field name="Base Vertex Location" dword="6" bits="31:0" type="int" /> + <field name="Extended Parameter 0" dword="7" bits="31:0" type="uint" /> + <field name="Extended Parameter 1" dword="8" bits="31:0" type="uint" /> + <field name="Extended Parameter 2" dword="9" bits="31:0" type="uint" /> + </instruction> + <instruction name="3DSTATE_3D_MODE" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="30" /> + <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="Cross Slice Hashing Mode" dword="1" bits="1:0" type="uint"> + <value name="Normal Mode" value="0" /> + <value name="Disable" value="1" /> + <value name="hashing 32x32" value="3" /> + </field> + <field name="Subslice Hashing Mode" dword="1" bits="3:2" type="uint"> + <value name="hashing 8x8" value="0" /> + <value name="hashing 16x4" value="1" /> + <value name="hashing 8x4" value="2" /> + <value name="hashing 16x16" value="3" /> + </field> + <field name="Slice Hashing Table Enable" dword="1" bits="6:6" type="bool" /> + <field name="Mask" dword="1" bits="31:16" type="mbo" /> + </instruction> + <instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="9" /> + <field name="MOCS" dword="0" bits="14:8" type="uint" nonzero="true" /> + <field name="Disable Gather at Set Shader Hint" dword="0" bits="15:15" type="uint" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="23" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Constant Body" dword="1" bits="319:0" type="3DSTATE_CONSTANT_BODY" /> + </instruction> + <instruction name="3DSTATE_CPS" bias="2" length="9" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="7" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="34" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Min CP Size X" dword="1" bits="10:0" type="s3.7" /> + <field name="Statistics Enable" dword="1" bits="11:11" type="bool" /> + <field name="Coarse Pixel Shading Mode" dword="1" bits="13:12" type="uint"> + <value name="CPS_MODE_NONE" value="0" /> + <value name="CPS_MODE_CONSTANT" value="1" /> + <value name="CPS_MODE_RADIAL" value="2" /> + </field> + <field name="Scale Axis" dword="1" bits="14:14" type="uint"> + <value name="X axis" value="0" /> + <value name="Y axis" value="1" /> + </field> + <field name="Min CP Size Y" dword="1" bits="26:16" type="s3.7" /> + <field name="Max CP Size X " dword="2" bits="10:0" type="s3.7" /> + <field name="Max CP Size Y" dword="2" bits="26:16" type="s3.7" /> + <field name="Y Focal" dword="3" bits="15:0" type="int" /> + <field name="X Focal" dword="4" bits="15:0" type="int" /> + <field name="M y" dword="5" bits="31:0" type="float" /> + <field name="M x" dword="6" bits="31:0" type="float" /> + <field name="R min" dword="7" bits="31:0" type="float" /> + <field name="Aspect" dword="8" bits="31:0" type="float" /> + </instruction> + <instruction name="3DSTATE_DS" bias="2" length="11" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="9" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="29" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Kernel Start Pointer" dword="1" bits="63:6" type="offset" /> + <field name="Software Exception Enable" dword="3" bits="7:7" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="3" bits="13:13" type="bool" /> + <field name="Accesses UAV" dword="3" bits="14:14" type="bool" /> + <field name="Floating Point Mode" dword="3" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Thread Dispatch Priority" dword="3" bits="17:17" type="uint"> + <value name="High" value="1" /> + </field> + <field name="Binding Table Entry Count" dword="3" bits="25:18" type="uint" /> + <field name="Sampler Count" dword="3" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Vector Mask Enable" dword="3" bits="30:30" type="bool" /> + <field name="Per-Thread Scratch Space" dword="4" bits="3:0" type="uint" /> + <field name="Scratch Space Base Pointer" dword="4" bits="63:10" type="address" /> + <field name="Patch URB Entry Read Offset" dword="6" bits="9:4" type="uint" /> + <field name="Patch URB Entry Read Length" dword="6" bits="17:11" type="uint" /> + <field name="Dispatch GRF Start Register For URB Data" dword="6" bits="24:20" type="uint" /> + <field name="Enable" dword="7" bits="0:0" type="bool" /> + <field name="Cache Disable" dword="7" bits="1:1" type="bool" /> + <field name="Compute W Coordinate Enable" dword="7" bits="2:2" type="bool" /> + <field name="Dispatch Mode" dword="7" bits="4:3" type="uint" prefix="DISPATCH_MODE"> + <value name="SIMD8_SINGLE_PATCH" value="1" /> + <value name="SIMD8_SINGLE_OR_DUAL_PATCH" value="2" /> + </field> + <field name="Statistics Enable" dword="7" bits="10:10" type="bool" /> + <field name="Maximum Number of Threads" dword="7" bits="30:21" type="uint" /> + <field name="User Clip Distance Cull Test Enable Bitmask" dword="8" bits="7:0" type="uint" /> + <field name="User Clip Distance Clip Test Enable Bitmask" dword="8" bits="15:8" type="uint" /> + <field name="Vertex URB Entry Output Length" dword="8" bits="20:16" type="uint" /> + <field name="Vertex URB Entry Output Read Offset" dword="8" bits="26:21" type="uint" /> + <field name="DUAL_PATCH Kernel Start Pointer" dword="9" bits="63:6" type="offset" /> + </instruction> + <instruction name="3DSTATE_GS" bias="2" length="10" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="8" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="17" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Kernel Start Pointer" dword="1" bits="63:6" type="offset" /> + <field name="Expected Vertex Count" dword="3" bits="5:0" type="uint" /> + <field name="Software Exception Enable" dword="3" bits="7:7" type="bool" /> + <field name="Mask Stack Exception Enable" dword="3" bits="11:11" type="bool" /> + <field name="Accesses UAV" dword="3" bits="12:12" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="3" bits="13:13" type="bool" /> + <field name="Floating Point Mode" dword="3" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Thread Dispatch Priority" dword="3" bits="17:17" type="uint"> + <value name="High" value="1" /> + </field> + <field name="Binding Table Entry Count" dword="3" bits="25:18" type="uint" /> + <field name="Sampler Count" dword="3" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Vector Mask Enable" dword="3" bits="30:30" type="bool" /> + <field name="Single Program Flow" dword="3" bits="31:31" type="bool" /> + <field name="Per-Thread Scratch Space" dword="4" bits="3:0" type="uint" /> + <field name="Scratch Space Base Pointer" dword="4" bits="63:10" type="address" /> + <field name="Dispatch GRF Start Register For URB Data" dword="6" bits="3:0" type="uint" /> + <field name="Vertex URB Entry Read Offset" dword="6" bits="9:4" type="uint" /> + <field name="Include Vertex Handles" dword="6" bits="10:10" type="bool" /> + <field name="Vertex URB Entry Read Length" dword="6" bits="16:11" type="uint" /> + <field name="Output Topology" dword="6" bits="22:17" type="3D_Prim_Topo_Type" /> + <field name="Output Vertex Size" dword="6" bits="28:23" type="uint" /> + <field name="Dispatch GRF Start Register For URB Data [5:4]" dword="6" bits="30:29" type="uint" /> + <field name="Enable" dword="7" bits="0:0" type="bool" /> + <field name="Discard Adjacency" dword="7" bits="1:1" type="bool" /> + <field name="Reorder Mode" dword="7" bits="2:2" type="uint"> + <value name="LEADING" value="0" /> + <value name="TRAILING" value="1" /> + </field> + <field name="Hint" dword="7" bits="3:3" type="uint" /> + <field name="Include Primitive ID" dword="7" bits="4:4" type="bool" /> + <field name="Invocations Increment Value" dword="7" bits="9:5" type="uint" /> + <field name="Statistics Enable" dword="7" bits="10:10" type="bool" /> + <field name="Dispatch Mode" dword="7" bits="12:11" type="uint" prefix="DISPATCH_MODE"> + <value name="SIMD8" value="3" /> + </field> + <field name="Default Stream Id" dword="7" bits="14:13" type="uint" /> + <field name="Instance Control" dword="7" bits="19:15" type="uint" /> + <field name="Control Data Header Size" dword="7" bits="23:20" type="uint" /> + <field name="Maximum Number of Threads" dword="8" bits="8:0" type="uint" /> + <field name="Static Output Vertex Count" dword="8" bits="26:16" type="uint" /> + <field name="Static Output" dword="8" bits="30:30" type="bool" /> + <field name="Control Data Format" dword="8" bits="31:31" type="uint"> + <value name="CUT" value="0" /> + <value name="SID" value="1" /> + </field> + <field name="User Clip Distance Cull Test Enable Bitmask" dword="9" bits="7:0" type="uint" /> + <field name="User Clip Distance Clip Test Enable Bitmask" dword="9" bits="15:8" type="uint" /> + <field name="Vertex URB Entry Output Length" dword="9" bits="20:16" type="uint" /> + <field name="Vertex URB Entry Output Read Offset" dword="9" bits="26:21" type="uint" /> + </instruction> + <instruction name="3DSTATE_HS" bias="2" length="9" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="7" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="27" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Software Exception Enable" dword="1" bits="12:12" 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"> + <value name="IEEE-754" value="0" /> + <value name="alternate" value="1" /> + </field> + <field name="Thread Dispatch 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="Sampler Count" dword="1" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Instance Count" dword="2" bits="3:0" type="uint" /> + <field name="Maximum Number of Threads" dword="2" bits="16:8" type="uint" /> + <field name="Statistics Enable" dword="2" bits="29:29" type="bool" /> + <field name="Enable" dword="2" bits="31:31" type="bool" /> + <field name="Kernel Start Pointer" dword="3" bits="63:6" type="offset" /> + <field name="Per-Thread Scratch Space" dword="5" bits="3:0" type="uint" /> + <field name="Scratch Space Base Pointer" dword="5" bits="63:10" type="address" /> + <field name="Include Primitive ID" dword="7" bits="0:0" type="bool" /> + <field name="Vertex URB Entry Read Offset" dword="7" bits="9:4" type="uint" /> + <field name="Vertex URB Entry Read Length" dword="7" bits="16:11" type="uint" /> + <field name="Dispatch Mode" dword="7" bits="18:17" type="uint" prefix="DISPATCH_MODE"> + <value name="SINGLE_PATCH" value="0" /> + <value name="8_PATCH" value="2" /> + </field> + <field name="Dispatch GRF Start Register For URB Data" dword="7" bits="23:19" type="uint" /> + <field name="Include Vertex Handles" dword="7" bits="24:24" type="bool" /> + <field name="Accesses UAV" dword="7" bits="25:25" type="bool" /> + <field name="Vector Mask Enable" dword="7" bits="26:26" type="bool" /> + <field name="Single Program Flow" dword="7" bits="27:27" type="bool" /> + <field name="Dispatch GRF Start Register For URB Data [5]" dword="7" bits="28:28" type="uint" /> + </instruction> + <instruction name="3DSTATE_PS" bias="2" length="12" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="10" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="32" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Kernel Start Pointer 0" dword="1" bits="63:6" type="offset" /> + <field name="Software Exception Enable" dword="3" bits="7:7" type="bool" /> + <field name="Mask Stack Exception Enable" dword="3" bits="11:11" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="3" bits="13:13" type="bool" /> + <field name="Rounding Mode" dword="3" bits="15:14" type="uint"> + <value name="RTNE" value="0" /> + <value name="RU" value="1" /> + <value name="RD" value="2" /> + <value name="RTZ" value="3" /> + </field> + <field name="Floating Point Mode" dword="3" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Thread Dispatch Priority" dword="3" bits="17:17" type="uint"> + <value name="High" value="1" /> + </field> + <field name="Binding Table Entry Count" dword="3" bits="25:18" type="uint" /> + <field name="Single Precision Denormal Mode" dword="3" bits="26:26" type="uint"> + <value name="Flushed to Zero" value="0" /> + <value name="Retained" value="1" /> + </field> + <field name="Sampler Count" dword="3" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Vector Mask Enable" dword="3" bits="30:30" type="bool" /> + <field name="Single Program Flow" dword="3" bits="31:31" type="bool" /> + <field name="Per Thread Scratch Space" dword="4" bits="3:0" type="uint" /> + <field name="Scratch Space Base Pointer" dword="4" bits="63:10" type="address" /> + <field name="8 Pixel Dispatch Enable" dword="6" bits="0:0" type="bool" /> + <field name="16 Pixel Dispatch Enable" dword="6" bits="1:1" type="bool" /> + <field name="32 Pixel Dispatch Enable" dword="6" bits="2:2" type="bool" /> + <field name="Position XY Offset Select" dword="6" bits="4:3" type="uint"> + <value name="POSOFFSET_NONE" value="0" /> + <value name="POSOFFSET_CENTROID" value="2" /> + <value name="POSOFFSET_SAMPLE" value="3" /> + </field> + <field name="Render Target Resolve Type" dword="6" bits="7:6" type="uint"> + <value name="RESOLVE_DISABLED" value="0" /> + <value name="RESOLVE_PARTIAL" value="1" /> + <value name="FAST_CLEAR_0" value="2" /> + <value name="RESOLVE_FULL" value="3" /> + </field> + <field name="Render Target Fast Clear Enable" dword="6" bits="8:8" type="bool" /> + <field name="Push Constant Enable" dword="6" bits="11:11" type="bool" /> + <field name="Maximum Number of Threads Per PSD" dword="6" bits="31:23" type="uint" /> + <field name="Dispatch GRF Start Register For Constant/Setup Data 2" dword="7" bits="6:0" type="uint" /> + <field name="Dispatch GRF Start Register For Constant/Setup Data 1" dword="7" bits="14:8" type="uint" /> + <field name="Dispatch GRF Start Register For Constant/Setup Data 0" dword="7" bits="22:16" type="uint" /> + <field name="Kernel Start Pointer 1" dword="8" bits="63:6" type="offset" /> + <field name="Kernel Start Pointer 2" dword="10" bits="63:6" type="offset" /> + </instruction> + <instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="79" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Input Coverage Mask State" dword="1" bits="1:0" type="uint" prefix="ICMS"> + <value name="NONE" value="0" /> + <value name="NORMAL" value="1" /> + <value name="INNER_CONSERVATIVE" value="2" /> + <value name="DEPTH_COVERAGE" value="3" /> + </field> + <field name="Pixel Shader Has UAV" dword="1" bits="2:2" type="bool" /> + <field name="Pixel Shader Pulls Bary" dword="1" bits="3:3" type="bool" /> + <field name="Pixel Shader Is Per Coarse Pixel" dword="1" bits="4:4" type="bool" /> + <field name="Pixel Shader Computes Stencil" dword="1" bits="5:5" type="bool" /> + <field name="Pixel Shader Is Per Sample" dword="1" bits="6:6" type="bool" /> + <field name="Pixel Shader Disables Alpha To Coverage" dword="1" bits="7:7" type="bool" /> + <field name="Attribute Enable" dword="1" bits="8:8" type="bool" /> + <field name="Simple PS Hint" dword="1" bits="9:9" type="bool" /> + <field name="Pixel Shader Requires Subpixel Sample Offsets" dword="1" bits="18:18" type="bool" /> + <field name="Pixel Shader Requires Non-Perspective Bary Plane Coefficients" dword="1" bits="19:19" type="bool" /> + <field name="Pixel Shader Requires Perspective Bary Plane Coefficients" dword="1" bits="20:20" type="bool" /> + <field name="Pixel Shader Requires Source Depth and/or W Plane Coefficients" dword="1" bits="21:21" type="bool" /> + <field name="Pixel Shader Requires Requested Coarse Pixel Shading Size" dword="1" bits="22:22" type="bool" /> + <field name="Pixel Shader Uses Source W" dword="1" bits="23:23" type="bool" /> + <field name="Pixel Shader Uses Source Depth" dword="1" bits="24:24" type="bool" /> + <field name="Force Computed Depth" dword="1" bits="25:25" type="bool" /> + <field name="Pixel Shader Computed Depth Mode" dword="1" bits="27:26" type="uint"> + <value name="PSCDEPTH_OFF" value="0" /> + <value name="PSCDEPTH_ON" value="1" /> + <value name="PSCDEPTH_ON_GE" value="2" /> + <value name="PSCDEPTH_ON_LE" value="3" /> + </field> + <field name="Pixel Shader Kills Pixel" dword="1" bits="28:28" type="bool" /> + <field name="oMask Present to Render Target" dword="1" bits="29:29" type="bool" /> + <field name="Pixel Shader Does not write to RT" dword="1" bits="30:30" type="mbz" /> + <field name="Pixel Shader Valid" dword="1" bits="31:31" type="bool" /> + </instruction> + <instruction name="3DSTATE_SLICE_TABLE_STATE_POINTERS" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="32" /> + <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="Slice Hash State Pointer Valid" dword="1" bits="0:0" type="bool" /> + <field name="Slice Hash Table State Pointer" dword="1" bits="31:6" type="offset" /> + </instruction> + <instruction name="3DSTATE_VF" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="Indexed Draw Cut Index Enable" dword="0" bits="8:8" type="bool" /> + <field name="Component Packing Enable" dword="0" bits="9:9" type="bool" /> + <field name="Sequential Draw Cut Index Enable" dword="0" bits="10:10" type="bool" /> + <field name="VertexID Offset Enable" dword="0" bits="11:11" type="bool" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="12" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Cut Index" dword="1" bits="31:0" type="uint" /> + </instruction> + <instruction name="3DSTATE_VF_SGVS_2" 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="86" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="XP0 Element Offset" dword="1" bits="5:0" type="uint" /> + <field name="XP0 Source Select" dword="1" bits="12:12" type="uint"> + <value name="VERTEX_LOCATION" value="1" /> + <value name="XP0_PARAMETER" value="0" /> + </field> + <field name="XP0 Component Number" dword="1" bits="14:13" type="uint"> + <value name="COMP_0" value="0" /> + <value name="COMP_1" value="1" /> + <value name="COMP_2" value="2" /> + <value name="COMP_3" value="3" /> + </field> + <field name="XP0 Enable" dword="1" bits="15:15" type="bool" /> + <field name="XP1 Element Offset" dword="1" bits="21:16" type="uint" /> + <field name="XP1 Source Select" dword="1" bits="28:28" type="uint"> + <value name="Starting Instance Location" value="1" /> + <value name="XP1_PARAMETER" value="0" /> + </field> + <field name="XP1 Component Number" dword="1" bits="30:29" type="uint"> + <value name="COMP_0" value="0" /> + <value name="COMP_1" value="1" /> + <value name="COMP_2" value="2" /> + <value name="COMP_3" value="3" /> + </field> + <field name="XP1 Enable" dword="1" bits="31:31" type="bool" /> + <field name="XP2 Element Offset" dword="2" bits="5:0" type="uint" /> + <field name="XP2 Component Number" dword="2" bits="14:13" type="uint"> + <value name="COMP_0" value="0" /> + <value name="COMP_1" value="1" /> + <value name="COMP_2" value="2" /> + <value name="COMP_3" value="3" /> + </field> + <field name="XP2 Enable" dword="2" bits="15:15" type="bool" /> + </instruction> + <instruction name="3DSTATE_VS" bias="2" length="9" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="7" /> + <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="0" /> + <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="Kernel Start Pointer" dword="1" bits="63:6" type="offset" /> + <field name="Software Exception Enable" dword="3" bits="7:7" type="bool" /> + <field name="Accesses UAV" dword="3" bits="12:12" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="3" bits="13:13" type="bool" /> + <field name="Floating Point Mode" dword="3" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Thread Dispatch Priority" dword="3" bits="17:17" type="uint"> + <value name="High" value="1" /> + </field> + <field name="Binding Table Entry Count" dword="3" bits="25:18" type="uint" /> + <field name="Sampler Count" dword="3" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Vector Mask Enable" dword="3" bits="30:30" type="bool" /> + <field name="Per-Thread Scratch Space" dword="4" bits="3:0" type="uint" /> + <field name="Scratch Space Base Pointer" dword="4" bits="63:10" type="address" /> + <field name="Vertex URB Entry Read Offset" dword="6" bits="9:4" type="uint" /> + <field name="Vertex URB Entry Read Length" dword="6" bits="16:11" type="uint" /> + <field name="Dispatch GRF Start Register For URB Data" dword="6" bits="24:20" type="uint" /> + <field name="Enable" dword="7" bits="0:0" type="bool" /> + <field name="Vertex Cache Disable" dword="7" bits="1:1" type="bool" /> + <field name="SIMD8 Dispatch Enable" dword="7" bits="2:2" type="bool" /> + <field name="SIMD8 Single Instance Dispatch Enable" dword="7" bits="9:9" type="bool" /> + <field name="Statistics Enable" dword="7" bits="10:10" type="bool" /> + <field name="Maximum Number of Threads" dword="7" bits="31:22" type="uint" /> + <field name="User Clip Distance Cull Test Enable Bitmask" dword="8" bits="7:0" type="uint" /> + <field name="User Clip Distance Clip Test Enable Bitmask" dword="8" bits="15:8" type="uint" /> + <field name="Vertex URB Entry Output Length" dword="8" bits="20:16" type="uint" /> + <field name="Vertex URB Entry Output Read Offset" dword="8" bits="26:21" type="uint" /> + </instruction> + <instruction name="HCP_IND_OBJ_BASE_ADDR_STATE" bias="2" length="29" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="27" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="3" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="HCP Indirect Bitstream Object - Base Address" dword="1" bits="63:0" type="address" /> + <field name="HCP Indirect Bitstream Object - Memory Address Attributes" dword="3" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP Indirect Bitstream Object - Access Upper Bound" dword="4" bits="63:0" type="address" /> + <field name="HCP Indirect CU Object - Base Address" dword="6" bits="63:0" type="address" /> + <field name="HCP Indirect CU Object - Memory Address Attributes" dword="8" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP PAK-BSE Object - Base Address" dword="9" bits="63:0" type="address" /> + <field name="HCP PAK-BSE Object - Memory Address Attributes" dword="11" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP PAK-BSE Object - Access Upper Bound" dword="12" bits="63:0" type="address" /> + <field name="HCP VP9 PAK Compressed Header Syntax Stream-In - Base Address" dword="14" bits="63:0" type="address" /> + <field name="HCP VP9 PAK Compressed Header Syntax Stream-In - Memory Address Attributes" dword="16" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP VP9 PAK Probability Counter Stream-Out - Base Address" dword="17" bits="63:0" type="address" /> + <field name="HCP VP9 PAK Probability Counter Stream-Out - Memory Address Attributes" dword="19" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP VP9 PAK Probability Deltas Stream-In - Base Address" dword="20" bits="63:0" type="address" /> + <field name="HCP VP9 PAK Probability Deltas Stream-In - Memory Address Attributes" dword="22" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP VP9 PAK Tile Record Stream-Out - Base Address" dword="23" bits="63:0" type="address" /> + <field name="HCP VP9 PAK Tile Record Stream-Out - Memory Address Attributes" dword="25" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP VP9 PAK CU Level Statistic Stream-Out - Base Address" dword="26" bits="63:0" type="address" /> + <field name="HCP VP9 PAK CU Level Statistic Stream-Out - Memory Address Attributes" dword="28" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + </instruction> + <instruction name="HCP_PAK_INSERT_OBJECT" bias="2" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="0" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="34" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="End of Slice" dword="1" bits="1:1" type="bool" /> + <field name="Last Header" dword="1" bits="2:2" type="bool" /> + <field name="Emulation Byte Bits Insert Enable" dword="1" bits="3:3" type="bool" /> + <field name="Skip Emulation Byte Count" dword="1" bits="7:4" type="uint" /> + <field name="Data Bits In Last DW" dword="1" bits="13:8" type="uint" /> + <field name="Slice Header Indicator" dword="1" bits="14:14" type="bool" /> + <field name="Header Length Excluded From Size" dword="1" bits="15:15" type="uint"> + <value name="ACCUMULATE" value="0" /> + <value name="NO_ACCUMULATION" value="1" /> + </field> + <field name="Data Byte Offset" dword="1" bits="17:16" type="uint" /> + <field name="Indirect Payload Enable" dword="1" bits="31:31" type="bool" /> + <group count="0" dword="2" size="128"> + <field name="Indirect Payload" dword="0" bits="127:0" type="HCP_PAK_INSERT_OBJECT_INDIRECT_PAYLOAD" /> + <field name="Inline PayLoad" dword="0" bits="31:0" type="uint" /> + </group> + </instruction> + <instruction name="HCP_PAK_OBJECT" bias="2" length="2" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="33" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Split Level 2 Part 0" dword="1" bits="3:0" type="uint" /> + <field name="Split Level 2 Part 1" dword="1" bits="7:4" type="uint" /> + <field name="Split Level 2 Part 2" dword="1" bits="11:8" type="uint" /> + <field name="Split Level 2 Part 3" dword="1" bits="15:12" type="uint" /> + <field name="Split Level 1" dword="1" bits="19:16" type="uint" /> + <field name="Split Level 0" dword="1" bits="20:20" type="uint" /> + <field name="CU Count" dword="1" bits="29:24" type="uint" /> + <field name="Last LCU of Tile" dword="1" bits="30:30" type="bool" /> + <field name="Last LCU of Slice" dword="1" bits="31:31" type="bool" /> + <field name="Current LCU X Address" dword="2" bits="15:0" type="uint" /> + <field name="Current LCU Y Address" dword="2" bits="31:16" type="uint" /> + <field name="Estimated LCU Size" dword="3" bits="31:0" type="uint" /> + <field name="SSE ClassID 32x32_0" dword="4" bits="3:0" type="uint" /> + <field name="SSE ClassID 32x32_1" dword="4" bits="7:4" type="uint" /> + <field name="SSE ClassID 32x32_2" dword="4" bits="11:8" type="uint" /> + <field name="SSE ClassID 32x32_3" dword="4" bits="15:12" type="uint" /> + <field name="LCU Force Zero Coeff" dword="4" bits="16:16" type="bool" /> + </instruction> + <instruction name="HCP_PIC_STATE" bias="2" length="38" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="36" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="16" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Frame Width In Minimum Coding Block Size" dword="1" bits="10:0" type="uint" /> + <field name="PAK Transform Skip Enable" dword="1" bits="15:15" type="bool" /> + <field name="Frame Height In Minimum Coding Block Size" dword="1" bits="26:16" type="uint" /> + <field name="Min CU Size" dword="2" bits="1:0" type="uint" prefix="LCU"> + <value name="64x64" value="3" /> + <value name="32x32" value="2" /> + <value name="16x16" value="1" /> + <value name="8x8" value="0" /> + </field> + <field name="LCU Size" dword="2" bits="3:2" type="uint" prefix="LCU"> + <value name="64x64" value="3" /> + <value name="32x32" value="2" /> + <value name="16x16" value="1" /> + <value name="Illegal/reserved" value="0" /> + </field> + <field name="Min TU Size" dword="2" bits="5:4" type="uint" prefix="TU"> + <value name="32x32" value="3" /> + <value name="16x16" value="2" /> + <value name="8x8" value="1" /> + <value name="4x4" value="0" /> + </field> + <field name="Max TU Size" dword="2" bits="7:6" type="uint" prefix="TU"> + <value name="32x32" value="3" /> + <value name="16x16" value="2" /> + <value name="8x8" value="1" /> + <value name="4x4" value="0" /> + </field> + <field name="Min PCM Size" dword="2" bits="9:8" type="uint" prefix="PCM"> + <value name="32x32" value="2" /> + <value name="16x16" value="1" /> + <value name="8x8" value="0" /> + </field> + <field name="Max PCM Size" dword="2" bits="11:10" type="uint" prefix="PCM"> + <value name="32x32" value="2" /> + <value name="16x16" value="1" /> + <value name="8x8" value="0" /> + </field> + <field name="Log2 SAO Offset Scale Luma" dword="2" bits="14:12" type="uint" /> + <field name="Log2 SAO Offset Scale Chroma" dword="2" bits="18:16" type="uint" /> + <field name="Chroma QP Offset List Length" dword="2" bits="22:20" type="uint" /> + <field name="Diff CU Chroma QP Offset Depth" dword="2" bits="27:24" type="uint" /> + <field name="Chroma QP Offset List Enable" dword="2" bits="28:28" type="bool" /> + <field name="Chroma Subsampling" dword="2" bits="31:29" type="uint"> + <value name="4:2:0" value="1" /> + <value name="4:2:2" value="2" /> + <value name="4:4:4" value="3" /> + </field> + <field name="Collocated Picture Is I Slice" dword="3" bits="0:0" type="bool" /> + <field name="Current Picture Is I Slice" dword="3" bits="1:1" type="bool" /> + <field name="CABAC Zero Word Insertion Test Enable" dword="3" bits="2:2" type="bool" /> + <field name="High Precision Offsets Enable" dword="3" bits="19:19" type="bool" /> + <field name="Log2 Max Transform Skip Size" dword="3" bits="22:20" type="uint" /> + <field name="Cross Component Prediction Enable" dword="3" bits="23:23" type="bool" /> + <field name="CABAC Bypass Alignment Enable" dword="3" bits="24:24" type="bool" /> + <field name="Persistent Rice Adaptation Enable" dword="3" bits="25:25" type="bool" /> + <field name="Intra Smoothing Disable" dword="3" bits="26:26" type="bool" /> + <field name="Explicit RDPCM Enable" dword="3" bits="27:27" type="bool" /> + <field name="Implicit RDPCM Enable" dword="3" bits="28:28" type="bool" /> + <field name="Transform Skip Context Enable" dword="3" bits="29:29" type="bool" /> + <field name="Transform Skip Rotation Enable" dword="3" bits="30:30" type="bool" /> + <field name="SPS Range Extension Enable" dword="3" bits="31:31" type="bool" /> + <field name="Sample Adaptive Offset Enable" dword="4" bits="3:3" type="bool" /> + <field name="PCM Enable" dword="4" bits="4:4" type="bool" /> + <field name="CU QP Delta Enable" dword="4" bits="5:5" type="bool" /> + <field name="Max DQP Depth" dword="4" bits="7:6" type="uint" /> + <field name="PCM Loop Filter Disable" dword="4" bits="8:8" type="bool" /> + <field name="Constrained Intra Prediction" dword="4" bits="9:9" type="bool" /> + <field name="Log2 Parallel Merge Level" dword="4" bits="12:10" type="uint" /> + <field name="Sign Data Hiding" dword="4" bits="13:13" type="bool" /> + <field name="Loop Filter Enable" dword="4" bits="15:15" type="bool" /> + <field name="Entropy Coding Sync Enable" dword="4" bits="16:16" type="bool" /> + <field name="Tiling Enable" dword="4" bits="17:17" type="bool" /> + <field name="Weighted BiPredication Enable" dword="4" bits="18:18" type="bool" /> + <field name="Weighted Predication Enable" dword="4" bits="19:19" type="bool" /> + <field name="Field Pic" dword="4" bits="20:20" type="bool" /> + <field name="Top Field" dword="4" bits="21:21" type="bool" /> + <field name="Transform Skip Enable" dword="4" bits="22:22" type="bool" /> + <field name="AMP Enable" dword="4" bits="23:23" type="bool" /> + <field name="Transquant Bypass Enable" dword="4" bits="25:25" type="bool" /> + <field name="Strong Intra Smoothing Enable" dword="4" bits="26:26" type="bool" /> + <field name="CU Packet Structure" dword="4" bits="27:27" type="uint"> + <value name="VME" value="0" /> + <value name="ExtEnc" value="1" /> + </field> + <field name="Picture Cb QP Offset" dword="5" bits="4:0" type="int" /> + <field name="Picture Cr QP Offset" dword="5" bits="9:5" type="int" /> + <field name="Intra Max Transform Hierarchy Depth" dword="5" bits="12:10" type="uint" /> + <field name="Inter Max Transform Hierarchy Depth" dword="5" bits="15:13" type="uint" /> + <field name="Chroma PCM Sample Bit Depth" dword="5" bits="19:16" type="uint" /> + <field name="Luma PCM Sample Bit Depth" dword="5" bits="23:20" type="uint" /> + <field name="Chroma Bit Depth" dword="5" bits="26:24" type="uint"> + <value name="8-bit" value="0" /> + <value name="9-bit" value="1" /> + <value name="10-bit" value="2" /> + <value name="11-bit" value="3" /> + <value name="12-bit" value="4" /> + </field> + <field name="Luma Bit Depth" dword="5" bits="29:27" type="uint"> + <value name="8-bit" value="0" /> + <value name="9-bit" value="1" /> + <value name="10-bit" value="2" /> + <value name="11-bit" value="3" /> + <value name="12-bit" value="4" /> + </field> + <field name="LCU Max Bit Size Allowed" dword="6" bits="15:0" type="uint" /> + <field name="Non First Pass" dword="6" bits="16:16" type="bool" /> + <field name="LCU Max Size Report" dword="6" bits="24:24" type="bool" /> + <field name="Frame Bitrate Max Report" dword="6" bits="25:25" type="bool" /> + <field name="Frame Bitrate Min Report" dword="6" bits="26:26" type="bool" /> + <field name="Load Bitstream Pointer Per Slice" dword="6" bits="29:29" type="bool" /> + <field name="Frame Bitrate Max" dword="7" bits="13:0" type="uint" /> + <field name="Frame Bitrate Max Unit" dword="7" bits="31:31" type="uint" /> + <field name="Frame Bitrate Min" dword="8" bits="13:0" type="uint" /> + <field name="Frame Bitrate Min Unit" dword="8" bits="31:31" type="uint" /> + <field name="Frame Bitrate Min Delta" dword="9" bits="14:0" type="uint" /> + <field name="Frame Bitrate Max Delta" dword="9" bits="30:16" type="uint" /> + <field name="Frame Delta QP Max" dword="10" bits="63:0" type="FRAMEDELTAQP" /> + <field name="Frame Delta QP Min" dword="12" bits="63:0" type="FRAMEDELTAQP" /> + <field name="Frame Delta QP Max Range" dword="14" bits="63:0" type="FRAMEDELTAQPRANGE" /> + <field name="Frame Delta QP Min Range" dword="16" bits="63:0" type="FRAMEDELTAQPRANGE" /> + <field name="Minimum Frame Size" dword="18" bits="15:0" type="uint" /> + <field name="Minimum Frame Size Units" dword="18" bits="31:30" type="uint" prefix="HCP_MFSU"> + <value name="4Kb" value="0" /> + <value name="16Kb" value="1" /> + <value name="Compatibility mode" value="2" /> + <value name="16 bytes" value="3" /> + </field> + <field name="Fractional QP Input" dword="19" bits="2:0" type="uint" /> + <field name="Fractional QP Offset" dword="19" bits="5:3" type="uint" /> + <field name="Rho Domain Rate Control Enable" dword="19" bits="6:6" type="bool" /> + <field name="Fractional QP Adjustment Enable" dword="19" bits="7:7" type="bool" /> + <field name="Rho Domain Frame Level QP" dword="19" bits="13:8" type="uint" /> + <field name="PAK Dynamic Slice Mode Enable" dword="19" bits="14:14" type="bool" /> + <field name="No Output of Prior Pics" dword="19" bits="15:15" type="bool" /> + <field name="First Slice Segment In Pic" dword="19" bits="16:16" type="bool" /> + <field name="Nal Unit Type" dword="19" bits="17:17" type="uint" /> + <field name="Slice_pic_parameter_set_id" dword="19" bits="23:18" type="uint" /> + <field name="SSE Enable" dword="19" bits="24:24" type="bool" /> + <field name="RDOQ Enable" dword="19" bits="25:25" type="bool" /> + <field name="Number of LCUs InNormal Slice Size Conformance Mode" dword="19" bits="27:26" type="uint" /> + <field name="Intra TU Count Based RDOQ Disable" dword="20" bits="6:6" type="bool" /> + <field name="Slice Size Threshold" dword="21" bits="31:0" type="uint" /> + <field name="Target Slice Size" dword="22" bits="31:0" type="uint" /> + <field name="Class0_SSE_Threshold0" dword="23" bits="15:0" type="uint" /> + <field name="Class0_SSE_Threshold1" dword="23" bits="31:16" type="uint" /> + <field name="SSE Thresholds for Class1-8" dword="24" bits="255:0" type="uint" /> + <field name="Cb QP Offset List[0]" dword="32" bits="4:0" type="int" /> + <field name="Cb QP Offset List[1]" dword="32" bits="9:5" type="int" /> + <field name="Cb QP Offset List[2]" dword="32" bits="14:10" type="int" /> + <field name="Cb QP Offset List[3]" dword="32" bits="19:15" type="int" /> + <field name="Cb QP Offset List[4]" dword="32" bits="24:20" type="int" /> + <field name="Cb QP Offset List[5]" dword="32" bits="29:25" type="int" /> + <field name="Cr QP Offset List[0]" dword="33" bits="4:0" type="int" /> + <field name="Cr QP Offset List[1]" dword="33" bits="9:5" type="int" /> + <field name="Cr QP Offset List[2]" dword="33" bits="14:10" type="int" /> + <field name="Cr QP Offset List[3]" dword="33" bits="19:15" type="int" /> + <field name="Cr QP Offset List[4]" dword="33" bits="24:20" type="int" /> + <field name="Cr QP Offset List[5]" dword="33" bits="29:25" type="int" /> + <field name="RDOQ Intra TU Threshold" dword="37" bits="15:0" type="uint" /> + </instruction> + <instruction name="HCP_PIPE_BUF_ADDR_STATE" bias="2" length="121" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="119" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="2" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Decoded Picture - Address" dword="1" bits="63:0" type="address" /> + <field name="Decoded Picture - Memory Address Attributes" dword="3" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocking Filter Line Buffer - Address" dword="4" bits="63:0" type="address" /> + <field name="Deblocking Filter Line Buffer - Memory Address Attributes" dword="6" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocking Filter Tile Line Buffer - Address" dword="7" bits="63:0" type="address" /> + <field name="Deblocking Filter Tile Line Buffer - Memory Address Attributes" dword="9" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocking Filter Tile Column Buffer - Address" dword="10" bits="63:0" type="address" /> + <field name="Deblocking Filter Tile Column Buffer - Memory Address Attributes" dword="12" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Metadata Line Buffer - Address" dword="13" bits="63:0" type="address" /> + <field name="Metadata Line Buffer - Memory Address Attributes" dword="15" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Metadata Tile Line Buffer - Address" dword="16" bits="63:0" type="address" /> + <field name="Metadata Tile Line Buffer - Memory Address Attributes" dword="18" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Metadata Tile Column Buffer - Address" dword="19" bits="63:0" type="address" /> + <field name="Metadata Tile Column Buffer - Memory Address Attributes" dword="21" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="SAO Line Buffer - Address" dword="22" bits="63:0" type="address" /> + <field name="SAO Line Buffer - Memory Address Attributes" dword="24" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="SAO Tile Line Buffer - Address" dword="25" bits="63:0" type="address" /> + <field name="SAO Tile Line Buffer - Memory Address Attributes" dword="27" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="SAO Tile Column Buffer - Address" dword="28" bits="63:0" type="address" /> + <field name="SAO Tile Column Buffer - Memory Address Attributes" dword="30" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Current MV Temporal Buffer - Address" dword="31" bits="63:0" type="address" /> + <field name="Current MV Temporal Buffer - Memory Address Attributes" dword="33" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <group count="8" dword="37" size="64"> + <field name="Reference Picture - Address" dword="0" bits="63:0" type="address" /> + </group> + <field name="Reference Picture - Memory Address Attributes" dword="53" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Original Uncompressed Picture Source - Address" dword="54" bits="63:0" type="address" /> + <field name="Original Uncompressed Picture Source - Memory Address Attributes" dword="56" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Stream-Out Data Destination - Address" dword="57" bits="63:0" type="address" /> + <field name="Stream-Out Data Destination - Memory Address Attributes" dword="59" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Decoded Picture Status Buffer - Address" dword="60" bits="63:0" type="address" /> + <field name="Decoded Picture Status Buffer - Memory Address Attributes" dword="62" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="LCU ILDB Stream-Out Buffer - Address" dword="63" bits="63:0" type="address" /> + <field name="LCU ILDB Stream-Out Buffer - Memory Address Attributes" dword="65" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <group count="8" dword="66" size="64"> + <field name="Collocated MV Temporal Buffer - Address" dword="0" bits="63:0" type="address" /> + </group> + <field name="Collocated MV Temporal Buffer - Memory Address Attributes" dword="82" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="VP9 Probability Buffer - Address" dword="83" bits="63:0" type="address" /> + <field name="VP9 Probability Buffer - Memory Address Attributes" dword="85" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="VP9 Segment ID Buffer - Address" dword="86" bits="63:0" type="address" /> + <field name="VP9 Segment ID Buffer - Memory Address Attributes" dword="88" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="VP9 HVD Line Row Store Buffer - Address" dword="89" bits="63:0" type="address" /> + <field name="VP9 HVD Line Row Store Buffer - Memory Address Attributes" dword="91" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="VP9 HVD Tile Row Store Buffer - Address" dword="92" bits="63:0" type="address" /> + <field name="VP9 HVD Tile Row Store Buffer - Memory Address Attributes" dword="94" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="SAO Stream-Out Data Destination Buffer - Base Address" dword="95" bits="63:0" type="address" /> + <field name="SAO Stream-Out Data Destination Buffer - Memory Address Attributes" dword="97" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Frame Statistics Stream-Out Data Destination Buffer - Base Address" dword="98" bits="63:0" type="address" /> + <field name="Frame Statistics Stream-Out Data Destination Buffer - Memory Address Attributes" dword="100" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="SSE Source Pixel Row Store Buffer - Base Address" dword="101" bits="63:0" type="address" /> + <field name="SSE Source Pixel Row Store Buffer - Memory Address Attributes Read/Write" dword="103" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP Scalability Slice State Buffer - Base Address" dword="104" bits="63:0" type="address" /> + <field name="HCP Scalability Slice State Buffer - Memory Address Attributes" dword="106" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP Scalability CABAC Decoded Syntax Elements Buffer - Base Address" dword="107" bits="63:0" type="address" /> + <field name="HCP Scalability CABAC Decoded Syntax Elements Buffer - Memory Address Attributes" dword="109" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="MV Upper Right Column Store Buffer - Base Address" dword="110" bits="63:0" type="address" /> + <field name="MV Upper Right Column Store Buffer - Memory Address Attributes" dword="112" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Intra Prediction Upper Right Column Store Buffer - Base Address" dword="113" bits="63:0" type="address" /> + <field name="Intra Prediction Upper Right Column Store Buffer - Memory Address Attributes" dword="115" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Intra Prediction Left Recon Column Store Buffer - Base Address" dword="116" bits="63:0" type="address" /> + <field name="Intra Prediction Left Recon Column Store Buffer - Memory Address Attributes" dword="118" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="HCP Scalability CABAC Decoded Syntax Elements Buffer Max Address" dword="119" bits="63:0" type="address" /> + </instruction> + <instruction name="HCP_PIPE_MODE_SELECT" bias="2" length="6" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="4" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Codec Select" dword="1" bits="0:0" type="uint"> + <value name="Decode" value="0" /> + <value name="Encode" value="1" /> + </field> + <field name="Deblocker Stream-Out Enable" dword="1" bits="1:1" type="bool" /> + <field name="PAK Pipeline Stream-Out Enable" dword="1" bits="2:2" type="bool" /> + <field name="Pic Status/Error Report Enable" dword="1" bits="3:3" type="bool" /> + <field name="Codec Standard Select" dword="1" bits="7:5" type="uint"> + <value name="HEVC" value="0" /> + <value name="VP9" value="1" /> + </field> + <field name="Advanced Rate Control Enable" dword="1" bits="9:9" type="bool" /> + <field name="VDEnc Mode" dword="1" bits="10:10" type="uint" prefix="VM"> + <value name="MBEnc Mode" value="0" /> + <value name="VDEnc Mode" value="1" /> + </field> + <field name="RDOQ Enable" dword="1" bits="11:11" type="bool" /> + <field name="PAK Frame Level Stream-Out Enable" dword="1" bits="12:12" type="bool" /> + <field name="Multi-Engine Mode" dword="1" bits="14:13" type="uint" /> + <field name="Pipe Working Mode" dword="1" bits="16:15" type="uint"> + <value name="Legacy Decoder/Encoder Mode" value="0" /> + <value name="CABAC FE Only Decode Mode" value="1" /> + <value name="Decoder BE Only or Encoder Mode" value="2" /> + </field> + <field name="Media Soft-Reset Counter" dword="2" bits="31:0" type="uint" /> + <field name="Pic Status/Error Report ID" dword="3" bits="31:0" type="uint" /> + </instruction> + <instruction name="HCP_QM_STATE" bias="2" length="18" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="16" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="4" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Prediction Type" dword="1" bits="0:0" type="uint"> + <value name="Intra" value="0" /> + <value name="Inter" value="1" /> + </field> + <field name="SizeID" dword="1" bits="2:1" type="uint"> + <value name="4x4" value="0" /> + <value name="8x8" value="1" /> + <value name="16x16" value="2" /> + <value name="32x32" value="3" /> + </field> + <field name="Color Component" dword="1" bits="4:3" type="uint"> + <value name="Luma" value="0" /> + <value name="Chroma Cb" value="1" /> + <value name="Chroma Cr" value="2" /> + </field> + <field name="DC Coefficient" dword="1" bits="12:5" type="uint" /> + <group count="64" dword="2" size="8"> + <field name="Quantizer Matrix 8x8" dword="0" bits="7:0" type="uint" /> + </group> + </instruction> + <instruction name="HCP_RDOQ_STATE" bias="2" length="9" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="21" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Intra RDOQ" dword="1" bits="0:0" type="bool" /> + <field name="Inter RDOQ" dword="1" bits="1:1" type="bool" /> + <group count="26" dword="2" size="16"> + <field name="Lambda Intra Luma" dword="0" bits="15:0" type="uint" /> + </group> + <group count="26" dword="15" size="16"> + <field name="Lambda Intra Chroma" dword="0" bits="15:0" type="uint" /> + </group> + <group count="26" dword="28" size="16"> + <field name="Lambda Inter Luma" dword="0" bits="15:0" type="uint" /> + </group> + <group count="26" dword="41" size="16"> + <field name="Lambda Inter Chroma" dword="0" bits="15:0" type="uint" /> + </group> + </instruction> + <instruction name="HCP_SLICE_STATE" bias="2" length="11" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="9" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="20" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Slice Horizontal Position" dword="1" bits="9:0" type="uint" /> + <field name="Slice Vertical Position" dword="1" bits="25:16" type="uint" /> + <field name="Next Slice Horizontal Position" dword="2" bits="9:0" type="uint" /> + <field name="Next Slice Vertical Position" dword="2" bits="26:16" type="uint" /> + <field name="Slice Type" dword="3" bits="1:0" type="uint" prefix="HCP_ST"> + <value name="B Slice" value="0" /> + <value name="P Slice" value="1" /> + <value name="I Slice" value="2" /> + </field> + <field name="Last Slice" dword="3" bits="2:2" type="bool" /> + <field name="Slice QP Sign" dword="3" bits="3:3" type="uint" /> + <field name="Dependent Slice" dword="3" bits="4:4" type="bool" /> + <field name="Slice Temporal MVP Enable" dword="3" bits="5:5" type="bool" /> + <field name="Slice QP" dword="3" bits="11:6" type="uint" /> + <field name="Slice Cb QP Offset" dword="3" bits="16:12" type="int"> + <value name="-12" value="20" /> + <value name="-11" value="21" /> + <value name="-10" value="22" /> + <value name="-9" value="23" /> + <value name="-8" value="24" /> + <value name="-7" value="25" /> + <value name="-6" value="26" /> + <value name="-5" value="27" /> + <value name="-4" value="28" /> + <value name="-3" value="29" /> + <value name="-2" value="30" /> + <value name="-1" value="31" /> + </field> + <field name="Slice Cr QP Offset" dword="3" bits="21:17" type="int"> + <value name="-12" value="20" /> + <value name="-11" value="21" /> + <value name="-10" value="22" /> + <value name="-9" value="23" /> + <value name="-8" value="24" /> + <value name="-7" value="25" /> + <value name="-6" value="26" /> + <value name="-5" value="27" /> + <value name="-4" value="28" /> + <value name="-3" value="29" /> + <value name="-2" value="30" /> + <value name="-1" value="31" /> + </field> + <field name="Intra Ref Fetch Disable" dword="3" bits="22:22" type="bool" /> + <field name="CU Chroma QP Offset Enable" dword="3" bits="23:23" type="bool" /> + <field name="Last Slice of Tile" dword="3" bits="24:24" type="uint" /> + <field name="Slice Header Disable Deblocking Filter" dword="4" bits="0:0" type="bool" /> + <field name="Slice TC Offset Div2" dword="4" bits="4:1" type="int" /> + <field name="Slice Beta Offset Div2" dword="4" bits="8:5" type="int" /> + <field name="Slice Loop Filter Enable" dword="4" bits="10:10" type="bool" /> + <field name="Slice SAO Chroma" dword="4" bits="11:11" type="bool" /> + <field name="Slice SAO Luma" dword="4" bits="12:12" type="bool" /> + <field name="MVD L1 Zero" dword="4" bits="13:13" type="bool" /> + <field name="Low Delay" dword="4" bits="14:14" type="bool" /> + <field name="Collocated From L0" dword="4" bits="15:15" type="bool" /> + <field name="Log2 Weight Denominator Chroma" dword="4" bits="18:16" type="uint" /> + <field name="Log2 Weight Denominator Luma" dword="4" bits="21:19" type="uint" /> + <field name="CABAC Init" dword="4" bits="22:22" type="bool" /> + <field name="Max Merge Index" dword="4" bits="25:23" type="uint" /> + <field name="Collocated MV Temporal Buffer Index" dword="4" bits="28:26" type="uint" /> + <field name="Slice Header Length" dword="5" bits="15:0" type="uint" /> + <field name="Round Intra" dword="6" bits="23:20" type="uint"> + <value name="+1/32" value="0" /> + <value name="+2/32" value="1" /> + <value name="+3/32" value="2" /> + <value name="+4/32" value="3" /> + <value name="+5/32" value="4" /> + <value name="+6/32" value="5" /> + <value name="+7/32" value="6" /> + <value name="+8/32" value="7" /> + <value name="+9/32" value="8" /> + <value name="+10/32" value="9" /> + <value name="+11/32" value="10" /> + <value name="+12/32" value="11" /> + <value name="+13/32" value="12" /> + <value name="+14/32" value="13" /> + <value name="+15/32" value="14" /> + <value name="+16/32" value="15" /> + </field> + <field name="Round Inter" dword="6" bits="29:26" type="uint"> + <value name="+1/32" value="0" /> + <value name="+2/32" value="1" /> + <value name="+3/32" value="2" /> + <value name="+4/32" value="3" /> + <value name="+5/32" value="4" /> + <value name="+6/32" value="5" /> + <value name="+7/32" value="6" /> + <value name="+8/32" value="7" /> + <value name="+9/32" value="8" /> + <value name="+10/32" value="9" /> + <value name="+11/32" value="10" /> + <value name="+12/32" value="11" /> + <value name="+13/32" value="12" /> + <value name="+14/32" value="13" /> + <value name="+15/32" value="14" /> + <value name="+16/32" value="15" /> + </field> + <field name="CABAC Zero Word Insertion Enable" dword="7" bits="1:1" type="bool" /> + <field name="Emulation Byte Slice Insert Enable" dword="7" bits="2:2" type="bool" /> + <field name="Tail Insertion Present" dword="7" bits="8:8" type="bool" /> + <field name="Slice Data Insertion Present" dword="7" bits="9:9" type="bool" /> + <field name="Header Insertion Present" dword="7" bits="10:10" type="bool" /> + <field name="Indirect PAK-BSE Data Start Offset" dword="8" bits="28:6" type="offset" /> + <field name="Transform Skip Lambda" dword="9" bits="15:0" type="uint" /> + <field name="Force SAO Parameters To Zero" dword="9" bits="31:31" type="bool" /> + <field name="Transform Skip Number of Zero Coeffs Factor0" dword="10" bits="7:0" type="uint" /> + <field name="Transform Skip Number of Non-Zero Coeffs Factor0" dword="10" bits="15:8" type="uint" /> + <field name="Transform Skip Number of Zero Coeffs Factor1" dword="10" bits="23:16" type="uint" /> + <field name="Transform Skip Number of Non-Zero Coeffs Factor1" dword="10" bits="31:24" type="uint" /> + </instruction> + <instruction name="HCP_SURFACE_STATE" bias="2" length="4" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="2" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="1" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <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 ID" dword="1" bits="31:28" type="uint" prefix="HCP"> + <value name="Current Decoded Picture" value="0" /> + <value name="Source Input Picture" value="1" /> + <value name="Prev Reference Picture" value="2" /> + <value name="Golden Reference Picture" value="3" /> + <value name="AltRef Reference Picture" value="4" /> + </field> + <field name="Y Offset for U(Cb)" dword="2" bits="14:0" type="uint" /> + <field name="Surface Format" dword="2" bits="31:27" type="uint"> + <value name="YUY2" value="0" /> + <value name="RGB_8" value="1" /> + <value name="AYUV4444" value="2" /> + <value name="P010Variant" value="3" /> + <value name="PLANAR_420_8" value="4" /> + <value name="YCRCB_SwapY" value="5" /> + <value name="YCRCB_SwapUV" value="6" /> + <value name="YCRCB_SwapUVY" value="7" /> + <value name="Y216/Y210" value="8" /> + <value name="RGB_10" value="9" /> + <value name="Y410" value="10" /> + <value name="NV21 Planar_420_8" value="11" /> + <value name="Y416" value="12" /> + <value name="P010" value="13" /> + <value name="P016" value="14" /> + <value name="Y216Variant" value="17" /> + <value name="Y416Variant" value="18" /> + <value name="YUY2Variant" value="19" /> + <value name="AYUV4444Variant" value="20" /> + </field> + <field name="Default Alpha Value" dword="3" bits="15:0" type="uint" /> + <field name="Y Offset for V(Cr)" dword="3" bits="31:16" type="uint" /> + </instruction> + <instruction name="HCP_TILE_CODING" bias="1" length="14" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="13" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="21" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Tile Column Position" dword="2" bits="9:0" type="uint" /> + <field name="Tile Row Position" dword="2" bits="25:16" type="uint" /> + <field name="Last Tile of Column" dword="2" bits="31:31" type="bool" /> + <field name="Tile Height In Minimum Coding Block Size" dword="3" bits="10:0" type="uint" /> + <field name="Tile Width In Minimum Coding Block Size" dword="3" bits="26:16" type="uint" /> + <field name="SAO Parameter Offset" dword="4" bits="31:0" type="uint" /> + <field name="Bitstream Byte Offset" dword="4" bits="31:6" type="uint" /> + <field name="PAK Frame Statistics Offset" dword="5" bits="31:6" type="uint" /> + <field name="CU Level Stream-Out Offset" dword="6" bits="31:6" type="uint" /> + <field name="Slice Size Stream-Out Offset" dword="7" bits="31:6" type="uint" /> + <field name="CU Record Offset" dword="8" bits="31:6" type="uint" /> + <field name="SSE Row Store Offset" dword="9" bits="31:6" type="uint" /> + <field name="SAO Row Store Offset" dword="10" bits="31:6" type="uint" /> + <field name="Tile Size Stream-Out Offset" dword="11" bits="31:6" type="uint" /> + <field name="VP9 Probability Counter Stream-Out Offset" dword="12" bits="31:6" type="uint" /> + <field name="HCP Scalability Synchronize Buffer - Base Address" dword="13" bits="63:0" type="address" /> + <field name="HCP Scalability Synchronize Buffer - Attributes" dword="15" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + </instruction> + <instruction name="HCP_TILE_STATE" bias="2" length="17" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="15" /> + <field name="Media Instruction Command" dword="0" bits="22:16" type="uint" default="17" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Number of Tile Rows" dword="1" bits="4:0" type="uint" /> + <field name="Number of Tile Columns" dword="1" bits="9:5" type="uint" /> + <group count="5" dword="2" size="32"> + <field name="Column Position" dword="0" bits="31:0" type="HCP_TILE_POSITION_IN_CTB" /> + </group> + <group count="6" dword="7" size="32"> + <field name="Row position" dword="0" bits="31:0" type="HCP_TILE_POSITION_IN_CTB" /> + </group> + <field name="Ctb Column Position MSB" dword="13" bits="63:0" type="HCP_TILE_POSITION_IN_CTB_MSB" /> + <field name="Ctb Row Position MSB" dword="15" bits="63:0" type="HCP_TILE_POSITION_IN_CTB_MSB" /> + </instruction> + <instruction name="HCP_VP9_PAK_OBJECT" bias="2" length="2" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="53" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Split_coding_unit_flag[x0][y0]" dword="1" bits="20:0" type="uint" /> + <field name="CU Count" dword="1" bits="29:24" type="uint" /> + <field name="Last SB of Tile" dword="1" bits="31:31" type="bool" /> + <field name="Current SB X Address" dword="2" bits="15:0" type="uint" /> + <field name="Current SB Y Address" dword="2" bits="31:16" type="uint" /> + <field name="SSE ClassID 32x32_0" dword="4" bits="3:0" type="uint" /> + <field name="SSE ClassID 32x32_1" dword="4" bits="7:4" type="uint" /> + <field name="SSE ClassID 32x32_2" dword="4" bits="11:8" type="uint" /> + <field name="SSE ClassID 32x32_3" dword="4" bits="15:12" type="uint" /> + <field name="LCU Force Zero Coeff" dword="4" bits="16:16" type="bool" /> + </instruction> + <instruction name="HCP_VP9_PIC_STATE" bias="2" length="42" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="40" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="48" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Frame Width" dword="1" bits="13:0" type="uint" /> + <field name="Frame Height" dword="1" bits="29:16" type="uint" /> + <field name="Frame Type" dword="2" bits="0:0" type="uint" prefix="VP9"> + <value name="Key Frame" value="0" /> + <value name="Inter Frame" value="1" /> + </field> + <field name="Adapt Probabilities" dword="2" bits="1:1" type="bool" /> + <field name="Intra Only" dword="2" bits="2:2" type="bool" /> + <field name="Allow Hi Precision MV" dword="2" bits="3:3" type="bool" /> + <field name="Motion Compensation Filter Type" dword="2" bits="6:4" type="uint"> + <value name="Eight-tap" value="0" /> + <value name="Eight-tap-Smooth" value="1" /> + <value name="Eight-tap-Sharp" value="2" /> + <value name="Bilinear" value="3" /> + <value name="Switchable" value="4" /> + </field> + <field name="Reference Frame Sign Bias" dword="2" bits="9:7" type="uint" /> + <field name="Use Prev in Find MV References" dword="2" bits="10:10" type="bool" /> + <field name="Hybrid Prediction Mode" dword="2" bits="11:11" type="uint" /> + <field name="Selectable TX Mode" dword="2" bits="12:12" type="uint" /> + <field name="Last Frame Type" dword="2" bits="13:13" type="uint" prefix="VP9"> + <value name="Key Frame" value="0" /> + <value name="Non Key Frame" value="1" /> + </field> + <field name="Refresh Frame Context Enable" dword="2" bits="14:14" type="bool" /> + <field name="Error Resilient Mode Enable" dword="2" bits="15:15" type="bool" /> + <field name="Frame Parallel Decoding Mode Enable" dword="2" bits="16:16" type="bool" /> + <field name="Filter Level" dword="2" bits="22:17" type="uint" /> + <field name="Sharpness Level" dword="2" bits="25:23" type="uint" /> + <field name="Segmentation Enable" dword="2" bits="26:26" type="bool" /> + <field name="Segmentation Update Map" dword="2" bits="27:27" type="bool" /> + <field name="Segmentation Temporal Update" dword="2" bits="28:28" type="bool" /> + <field name="Lossless Mode" dword="2" bits="29:29" type="bool" /> + <field name="Segment ID Stream-Out Enable" dword="2" bits="30:30" type="bool" /> + <field name="Segment ID Stream-In Enable" dword="2" bits="31:31" type="bool" /> + <field name="Log2 Tile Column" dword="3" bits="3:0" type="uint"> + <value name="1 Tile Column" value="0" /> + <value name="2 Tile Column" value="1" /> + <value name="4 Tile Column" value="2" /> + <value name="8 Tile Column" value="3" /> + <value name="16 Tile Column" value="4" /> + <value name="32 Tile Column" value="5" /> + <value name="64 Tile Column" value="6" /> + </field> + <field name="Log2 Tile Row" dword="3" bits="9:8" type="uint"> + <value name="1 Tile Row" value="0" /> + <value name="2 Tile Row" value="1" /> + <value name="4 Tile Row" value="2" /> + </field> + <field name="SSE Enable" dword="3" bits="21:21" type="bool" /> + <field name="Chroma Sampling Format" dword="3" bits="23:22" type="uint"> + <value name="Format_420" value="0" /> + <value name="Format_422" value="1" /> + <value name="Format_444" value="2" /> + </field> + <field name="Bit Depth" dword="3" bits="27:24" type="uint"> + <value name="8-bit" value="0" /> + <value name="10-bit" value="2" /> + <value name="12-bit" value="4" /> + </field> + <field name="Profile Level" dword="3" bits="31:28" type="uint"> + <value name="Profile_0" value="0" /> + <value name="Profile_1" value="1" /> + <value name="Profile_2" value="2" /> + <value name="Profile_3" value="3" /> + </field> + <field name="Vertical Scale Factor for LAST" dword="4" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor for LAST" dword="4" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor for GOLDEN" dword="5" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor for GOLDEN" dword="5" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor for ALTREF" dword="6" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor for ALTREF" dword="6" bits="31:16" type="uint" /> + <field name="Last Frame Width" dword="7" bits="13:0" type="uint" /> + <field name="Last Frame Height" dword="7" bits="29:16" type="uint" /> + <field name="Golden Frame Width" dword="8" bits="13:0" type="uint" /> + <field name="Golden Frame Height" dword="8" bits="29:16" type="uint" /> + <field name="Altref Frame Width" dword="9" bits="13:0" type="uint" /> + <field name="Altref Frame Height" dword="9" bits="29:16" type="uint" /> + <field name="Uncompressed Header Length" dword="10" bits="7:0" type="uint" /> + <field name="First Partition Size" dword="10" bits="31:16" type="uint" /> + <field name="Motion Comp Scaling Enable" dword="11" bits="1:1" type="bool" /> + <field name="Compressed Header BIN count" dword="13" bits="15:0" type="uint" /> + <field name="Luma AC Q Index Delta" dword="13" bits="23:16" type="uint" /> + <field name="Tail Insertion Enable" dword="13" bits="24:24" type="bool" /> + <field name="Header Insertion Enable" dword="13" bits="25:25" type="bool" /> + <field name="Chroma AC Q Index Delta" dword="14" bits="4:0" type="int" /> + <field name="Chroma DC Q Index Delta" dword="14" bits="12:8" type="int" /> + <field name="Luma DC Q Index Delta" dword="14" bits="20:16" type="int" /> + <field name="LF Ref Delta 0" dword="15" bits="6:0" type="int" /> + <field name="LF Ref Delta 1" dword="15" bits="14:8" type="int" /> + <field name="LF Ref Delta 2" dword="15" bits="22:16" type="int" /> + <field name="LF Ref Delta 3" dword="15" bits="30:24" type="int" /> + <field name="LF Mode Delta 0" dword="16" bits="6:0" type="int" /> + <field name="LF Mode Delta 1" dword="16" bits="14:8" type="int" /> + <field name="Bit Offset for LF Ref Delta" dword="17" bits="15:0" type="uint" /> + <field name="Bit Offset for LF Mode Delta" dword="17" bits="31:16" type="uint" /> + <field name="Bit Offset for QIndex" dword="18" bits="15:0" type="uint" /> + <field name="Bit Offset for LF Level" dword="18" bits="31:16" type="uint" /> + <field name="Non First Pass" dword="19" bits="16:16" type="bool" /> + <field name="VDENC PAK_ONLY PASS" dword="19" bits="17:17" type="bool" /> + <field name="Frame Bitrate Max Report" dword="19" bits="25:25" type="bool" /> + <field name="Frame Bitrate Min Report" dword="19" bits="26:26" type="bool" /> + <field name="Frame Bitrate Max" dword="20" bits="13:0" type="uint" /> + <field name="Frame Bitrate Max Unit" dword="20" bits="31:31" type="bool" /> + <field name="Frame Bitrate Min" dword="21" bits="13:0" type="uint" /> + <field name="Frame Bitrate Min Unit" dword="21" bits="31:31" type="bool" /> + <field name="Frame Delta QIndex Max" dword="22" bits="63:0" type="uint" /> + <field name="Frame Delta QIndex Min" dword="24" bits="31:0" type="uint" /> + <field name="Frame Delta LFMax" dword="25" bits="63:0" type="uint" /> + <field name="Frame Delta LFMin" dword="27" bits="31:0" type="uint" /> + <field name="Frame Delta QIndex LFMax Range" dword="28" bits="63:0" type="uint" /> + <field name="Frame Delta QIndex LFMin Range" dword="30" bits="31:0" type="uint" /> + <field name="Minimum Frame Size" dword="31" bits="15:0" type="uint" /> + <field name="Minimum Frame Size Units" dword="31" bits="31:30" type="uint" prefix="VP9_MFSU"> + <value name="4Kb" value="0" /> + <value name="16Kb" value="1" /> + <value name="Comaptibility mode" value="2" /> + <value name="16 bytes" value="3" /> + </field> + <field name="Bit Offset for First Partition Size" dword="32" bits="15:0" type="uint" /> + <field name="Class0_SSE_Threshold0" dword="33" bits="15:0" type="uint" /> + <field name="Class0_SSE_Threshold1" dword="33" bits="31:16" type="uint" /> + <group count="8" dword="34" size="32"> + <field name="SSE Threshold For Class1-8" dword="0" bits="31:0" type="uint" /> + </group> + </instruction> + <instruction name="HCP_VP9_SEGMENT_STATE" bias="2" length="8" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="6" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="50" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Segment ID" dword="1" bits="2:0" type="uint" /> + <field name="Segment Skipped" dword="2" bits="0:0" type="bool" /> + <field name="Segment Reference" dword="2" bits="2:1" type="uint" /> + <field name="Segment Reference Enable" dword="2" bits="3:3" type="bool" /> + <field name="Filter Level Ref0 Mode 0" dword="3" bits="5:0" type="uint" /> + <field name="Filter Level Ref0 Mode 1" dword="3" bits="13:8" type="uint" /> + <field name="Filter Level Ref1 Mode 0" dword="3" bits="21:16" type="uint" /> + <field name="Filter Level Ref1 Mode 1" dword="3" bits="29:24" type="uint" /> + <field name="Filter Level Ref2 Mode 0" dword="4" bits="5:0" type="uint" /> + <field name="Filter Level Ref2 Mode 1" dword="4" bits="13:8" type="uint" /> + <field name="Filter Level Ref3 Mode 0" dword="4" bits="21:16" type="uint" /> + <field name="Filter Level Ref3 Mode 1" dword="4" bits="29:24" type="uint" /> + <field name="Luma DC Quant Scale" dword="5" bits="14:0" type="uint" /> + <field name="Luma AC Quant Scale" dword="5" bits="30:16" type="uint" /> + <field name="Chroma DC Quant Scale" dword="6" bits="14:0" type="uint" /> + <field name="Chroma AC Quant Scale" dword="6" bits="30:16" type="uint" /> + <field name="Segment QIndex Delta" dword="7" bits="8:0" type="int" /> + <field name="Segment LF Level Delta" dword="7" bits="22:16" type="int" /> + </instruction> + <instruction name="HCP_WEIGHTOFFSET_STATE" bias="2" length="42" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="40" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="19" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="7" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Reference Picture List Select" dword="1" bits="0:0" type="uint" /> + <group count="16" dword="2" size="32"> + <field name="Luma Offsets" dword="0" bits="31:0" type="HCP_WEIGHTOFFSET_LUMA_ENTRY" /> + </group> + <group count="16" dword="18" size="32"> + <field name="Chroma Offsets" dword="0" bits="31:0" type="HCP_WEIGHTOFFSET_CHROMA_ENTRY" /> + </group> + <group count="8" dword="34" size="32"> + <field name="Chroma Offsets Ext" dword="0" bits="31:0" type="HCP_WEIGHTOFFSET_CHROMA_EXT_ENTRY" /> + </group> + </instruction> + <instruction name="HUC_STREAM_OBJECT" bias="2" length="5" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="32" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="11" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Indirect Stream-In Data Length" dword="1" bits="31:0" type="uint" /> + <field name="Indirect Stream-In - Address" dword="2" bits="28:0" type="address" /> + <field name="HuC Processing" dword="2" bits="31:31" type="bool" /> + <field name="Indirect Stream-Out - Address" dword="3" bits="28:0" type="address" /> + <field name="Start Code Byte [0]" dword="4" bits="7:0" type="uint" /> + <field name="Start Code Byte [1]" dword="4" bits="15:8" type="uint" /> + <field name="Start Code Byte [2]" dword="4" bits="23:16" type="uint" /> + <field name="Start Code Search Engine" dword="4" bits="24:24" type="bool" /> + <field name="Emulation Prevention Byte Removal" dword="4" bits="25:25" type="bool" /> + <field name="Stream-Out" dword="4" bits="26:26" type="bool" /> + <field name="DRM Length Mode" dword="4" bits="28:27" type="uint"> + <value name="Start Code Mode" value="0" /> + <value name="Length Mode" value="1" /> + </field> + <field name="HUC Bitstream Enable" dword="4" bits="29:29" type="bool" /> + </instruction> + <instruction name="MEDIA_OBJECT" bias="2" engine="render"> + <field name="DWord Length" dword="0" bits="14:0" type="uint" default="4" /> + <field name="Media Command Sub-Opcode" dword="0" bits="23:16" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" /> + <field name="Media Command Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Interface Descriptor Offset" dword="1" bits="5:0" type="uint" /> + <field name="Indirect Data Length" dword="2" bits="16:0" type="uint" /> + <field name="SubSlice Destination Select" dword="2" bits="18:17" type="uint"> + <value name="Subslice 3" value="3" /> + <value name="SubSlice 2" value="2" /> + <value name="SubSlice 1" value="1" /> + <value name="SubSlice 0" value="0" /> + </field> + <field name="Slice Destination Select" dword="2" bits="20:19" type="uint"> + <value name="Slice 0" value="0" /> + <value name="Slice 1" value="1" /> + <value name="Slice 2" value="2" /> + </field> + <field name="Force Destination" dword="2" bits="22:22" type="uint" /> + <field name="Thread Synchronization" dword="2" bits="24:24" type="uint"> + <value name="No thread synchronization" value="0" /> + <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1" /> + </field> + <field name="Slice Destination Select MSBs" dword="2" bits="26:25" type="uint" /> + <field name="Children Present" dword="2" bits="31:31" type="bool" /> + <field name="Indirect Data Start Address" dword="3" bits="31:0" type="address" /> + <field name="X Position" dword="4" bits="8:0" type="uint" /> + <field name="Y Position" dword="4" bits="24:16" type="uint" /> + <field name="Block Color" dword="5" bits="23:16" type="uint" /> + <group count="0" dword="6" size="32"> + <field name="Inline Data" dword="0" bits="31:0" type="uint" /> + </group> + </instruction> + <instruction name="MEDIA_OBJECT_GRPID" bias="2" engine="render"> + <field name="DWord Length" dword="0" bits="15:0" type="uint" default="5" /> + <field name="Media Command Sub-Opcode" dword="0" bits="23:16" type="uint" default="6" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" /> + <field name="Media Command Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Interface Descriptor Offset" dword="1" bits="5:0" type="uint" /> + <field name="Indirect Data Length" dword="2" bits="16:0" type="uint" /> + <field name="End of Thread Group" dword="2" bits="23:23" type="uint" /> + <field name="Indirect Data Start Address" dword="3" bits="31:0" type="address" /> + <field name="X Position" dword="4" bits="8:0" type="uint" /> + <field name="Y Position" dword="4" bits="24:16" type="uint" /> + <field name="Block Color" dword="5" bits="23:16" type="uint" /> + <field name="GroupID" dword="6" bits="31:0" type="uint" /> + <group count="0" dword="7" size="32"> + <field name="Inline Data" dword="0" bits="31:0" type="uint" /> + </group> + </instruction> + <instruction name="MEDIA_OBJECT_PRT" bias="2" length="16" engine="render"> + <field name="DWord Length" dword="0" bits="14:0" type="uint" default="14" /> + <field name="SubOpcode" dword="0" bits="23:16" type="uint" default="2" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Interface Descriptor Offset" dword="1" bits="5:0" type="uint" /> + <field name="PRT_FenceType" dword="2" bits="22:22" type="uint"> + <value name="Root thread queue" value="0" /> + <value name="VFE state flush" value="1" /> + </field> + <field name="PRT_Fence Needed" dword="2" bits="23:23" type="bool" /> + <field name="Children Present" dword="2" bits="31:31" type="bool" /> + <group count="12" dword="4" size="32"> + <field name="Inline Data" dword="0" bits="31:0" type="uint" /> + </group> + </instruction> + <instruction name="MEDIA_OBJECT_WALKER" bias="2" engine="render"> + <field name="DWord Length" dword="0" bits="14:0" type="uint" default="15" /> + <field name="SubOpcode" dword="0" bits="23:16" type="uint" default="3" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Interface Descriptor Offset" dword="1" bits="5:0" type="uint" /> + <field name="Indirect Data Length" dword="2" bits="16:0" type="uint" /> + <field name="Masked Dispatch" dword="2" bits="23:22" type="uint" /> + <field name="Thread Synchronization" dword="2" bits="24:24" type="uint"> + <value name="No thread synchronization" value="0" /> + <value name="Thread dispatch is synchronized by the 'spawn root thread' message" value="1" /> + </field> + <field name="Indirect Data Start Address" dword="3" bits="31:0" type="uint" /> + <field name="Group ID Loop Select" dword="5" bits="31:8" type="uint"> + <value name="No_Groups" value="0" /> + <value name="Color_Groups" value="1" /> + <value name="InnerLocal_Groups" value="2" /> + <value name="MidLocal_Groups" value="3" /> + <value name="OuterLocal_Groups" value="4" /> + <value name="InnerGlobal_Groups" value="5" /> + </field> + <field name="Mid-Loop Unit X" dword="6" bits="9:8" type="int" /> + <field name="Local Mid-Loop Unit Y" dword="6" bits="13:12" type="int" /> + <field name="Middle Loop Extra Steps" dword="6" bits="20:16" type="uint" /> + <field name="Color Count Minus One" dword="6" bits="31:24" type="uint" /> + <field name="Local Loop Exec Count" dword="7" bits="11:0" type="uint" /> + <field name="Global Loop Exec Count" dword="7" bits="27:16" type="uint" /> + <field name="Block Resolution X" dword="8" bits="10:0" type="uint" /> + <field name="Block Resolution Y" dword="8" bits="26:16" type="uint" /> + <field name="Local Start X" dword="9" bits="10:0" type="uint" /> + <field name="Local Start Y" dword="9" bits="26:16" type="uint" /> + <field name="Local Outer Loop Stride X" dword="11" bits="11:0" type="int" /> + <field name="Local Outer Loop Stride Y" dword="11" bits="27:16" type="int" /> + <field name="Local Inner Loop Unit X" dword="12" bits="11:0" type="int" /> + <field name="Local Inner Loop Unit Y" dword="12" bits="27:16" type="int" /> + <field name="Global Resolution X" dword="13" bits="10:0" type="uint" /> + <field name="Global Resolution Y" dword="13" bits="26:16" type="uint" /> + <field name="Global Start X" dword="14" bits="11:0" type="int" /> + <field name="Global Start Y" dword="14" bits="27:16" type="int" /> + <field name="Global Outer Loop Stride X" dword="15" bits="11:0" type="int" /> + <field name="Global Outer Loop Stride Y" dword="15" bits="27:16" type="int" /> + <field name="Global Inner Loop Unit X" dword="16" bits="11:0" type="int" /> + <field name="Global Inner Loop Unit Y" dword="16" bits="27:16" type="int" /> + <group count="0" dword="17" size="32"> + <field name="Inline Data" dword="0" bits="31:0" type="uint" /> + </group> + </instruction> + <instruction name="MEDIA_STATE_FLUSH" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="15:0" type="uint" default="0" /> + <field name="SubOpcode" dword="0" bits="23:16" type="uint" default="4" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Interface Descriptor Offset" dword="1" bits="5:0" type="uint" /> + <field name="Flush to GO" dword="1" bits="7:7" type="bool" /> + </instruction> + <instruction name="MEDIA_VFE_STATE" bias="2" length="9" engine="render"> + <field name="DWord Length" dword="0" bits="15:0" type="uint" default="7" /> + <field name="SubOpcode" dword="0" bits="23:16" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Per Thread Scratch Space" dword="1" bits="3:0" type="uint" /> + <field name="Stack Size" dword="1" bits="7:4" type="uint" /> + <field name="Scratch Space Base Pointer" dword="1" bits="47:10" type="address" /> + <field name="Dispatch Load Balance" dword="3" bits="2:2" type="uint"> + <value name="Color LSB" value="1" /> + <value name="Least Loaded" value="0" /> + </field> + <field name="Number of URB Entries" dword="3" bits="15:8" type="uint" /> + <field name="Maximum Number of Threads" dword="3" bits="31:16" type="uint" /> + <field name="Maximum Number of Dual-Subslices" dword="4" bits="7:0" type="uint" /> + <field name="CURBE Allocation Size" dword="5" bits="15:0" type="uint" /> + <field name="URB Entry Allocation Size" dword="5" bits="31:16" type="uint" /> + </instruction> + <instruction name="MFD_AVC_BSD_OBJECT" bias="2" length="7" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="5" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="8" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="1" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Indirect BSD Data Length" dword="1" bits="31:0" type="uint" /> + <field name="Indirect BSD Data Start Address" dword="2" bits="28:0" type="offset" /> + <field name="Inline Data" dword="3" bits="95:0" type="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" /> + </instruction> + <instruction name="MFD_AVC_SLICEADDR" bias="2" length="4" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="2" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="7" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="1" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Indirect BSD Data Length" dword="1" bits="31:0" type="uint" /> + <field name="Indirect BSD Data Start Address" dword="2" bits="28:0" type="offset" /> + <field name="Driver Provided NAL Type Value" dword="3" bits="7:0" type="uint" /> + <field name="AVC NAL Type First Byte Override" dword="3" bits="8:8" type="uint"> + <value name="Use Bitstream Decoded NAL Type" value="0" /> + <value name="Use Driver Programmed NAL Type" value="1" /> + </field> + </instruction> + <instruction name="MFX_AVC_IMG_STATE" bias="2" length="21" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="19" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Frame Size" dword="1" bits="15:0" type="uint" /> + <field name="Frame Width" dword="2" bits="7:0" type="uint" /> + <field name="Frame Height" dword="2" bits="23:16" type="uint" /> + <field name="Image Structure" dword="3" bits="9:8" type="uint"> + <value name="Frame Picture" value="0" /> + <value name="Top Field Picture" value="1" /> + <value name="Bottom Field Picture" value="3" /> + <value name="Invalid, not allowed." value="2" /> + </field> + <field name="Weighted BiPrediction IDC" dword="3" bits="11:10" type="uint"> + <value name="DEFAULT" value="0" /> + <value name="EXPLICIT" value="1" /> + <value name="IMPLICIT" value="2" /> + </field> + <field name="Weighted Prediction Enable" dword="3" bits="12:12" type="bool" /> + <field name="Rho Domain Rate Control Enable" dword="3" bits="13:13" type="bool" /> + <field name="First Chroma QP Offset" dword="3" bits="20:16" type="int" /> + <field name="Second Chroma QP Offset" dword="3" bits="28:24" type="int" /> + <field name="Field Picture" dword="4" bits="0:0" type="bool" /> + <field name="MBAFF Mode" dword="4" bits="1:1" type="bool" /> + <field name="Frame MB Only" dword="4" bits="2:2" type="bool" /> + <field name="8x8 IDCT Transform Mode" dword="4" bits="3:3" type="bool" /> + <field name="Direct 8x8 Inference" dword="4" bits="4:4" type="bool" /> + <field name="Constrained Intra Prediction" dword="4" bits="5:5" type="bool" /> + <field name="Non-Reference Picture" dword="4" bits="6:6" type="bool" /> + <field name="Entropy Coding Sync Enable" dword="4" bits="7:7" type="bool" /> + <field name="MB MV Format" dword="4" bits="8:8" type="uint"> + <value name="IGNORE" value="0" /> + <value name="FOLLOW" value="1" /> + </field> + <field name="Chroma Format IDC" dword="4" bits="11:10" type="uint"> + <value name="Monochrome picture" value="0" /> + <value name="4:2:0 picture" value="1" /> + <value name="4:2:2 picture (not supported)" value="2" /> + <value name="4:4:4 picture (not supported)" value="3" /> + </field> + <field name="MV Unpacked Enable" dword="4" bits="12:12" type="bool" /> + <field name="Load Bitstream Pointer Per Slice" dword="4" bits="14:14" type="bool" /> + <field name="MB Status Read" dword="4" bits="15:15" type="bool" /> + <field name="Minimum Frame Size" dword="4" bits="31:16" type="uint" /> + <field name="Intra MB Max Bit Control" dword="5" bits="0:0" type="bool" /> + <field name="Inter MB Max Bit Control" dword="5" bits="1:1" type="bool" /> + <field name="Frame Bitrate Max Report" dword="5" bits="2:2" type="bool" /> + <field name="Frame Bitrate Min Report" dword="5" bits="3:3" type="bool" /> + <field name="Force IPCM Control" dword="5" bits="7:7" type="bool" /> + <field name="MB Level Rate Control" dword="5" bits="9:9" type="bool" /> + <field name="Minimum Frame Size Units" dword="5" bits="11:10" type="uint" prefix="AVC_MFSU"> + <value name="Compatibility mode" value="0" /> + <value name="16 bytes" value="1" /> + <value name="4Kb" value="2" /> + <value name="16Kb" value="3" /> + </field> + <field name="Non First Pass" dword="5" bits="16:16" type="uint" /> + <field name="Trellis Quantization Chroma Disable" dword="5" bits="27:27" type="bool" /> + <field name="Trellis Quantization Rounding" dword="5" bits="30:28" type="uint" /> + <field name="Trellis Quantization Enable" dword="5" bits="31:31" type="bool" /> + <field name="Intra MB Conformance Max Size" dword="6" bits="11:0" type="uint" /> + <field name="Inter MB Conformance Max Size" dword="6" bits="27:16" type="uint" /> + <field name="Slice Delta QP Max[0]" dword="8" bits="7:0" type="int" /> + <field name="Slice Delta QP Max[1]" dword="8" bits="15:8" type="int" /> + <field name="Slice Delta QP Max[2]" dword="8" bits="23:16" type="uint" /> + <field name="Slice Delta QP Max[3]" dword="8" bits="31:24" type="int" /> + <field name="Slice Delta QP Min[0]" dword="9" bits="7:0" type="int" /> + <field name="Slice Delta QP Min[1]" dword="9" bits="15:8" type="int" /> + <field name="Slice Delta QP Min[2]" dword="9" bits="23:16" type="int" /> + <field name="Slice Delta QP Min[3]" dword="9" bits="31:24" type="int" /> + <field name="Frame Bitrate Min" dword="10" bits="13:0" type="uint" /> + <field name="Frame Bitrate Min Unit Mode" dword="10" bits="14:14" type="uint"> + <value name="Compatibility mode" value="0" /> + <value name="New mode" value="1" /> + </field> + <field name="Frame Bitrate Min Unit" dword="10" bits="15:15" type="uint" /> + <field name="Frame Bitrate Max" dword="10" bits="29:16" type="uint" /> + <field name="Frame Bitrate Max Unit Mode" dword="10" bits="30:30" type="uint"> + <value name="Compatibility mode" value="0" /> + <value name="New mode" value="1" /> + </field> + <field name="Frame Bitrate Max Unit" dword="10" bits="31:31" type="uint" /> + <field name="Frame Bitrate Min Delta" dword="11" bits="14:0" type="uint" /> + <field name="Frame Bitrate Max Delta" dword="11" bits="30:16" type="uint" /> + <field name="Slice Stats Stream-Out Enable" dword="11" bits="31:31" type="bool" /> + <field name="Initial QP Value" dword="13" bits="7:0" type="int" /> + <field name="Number of Active Reference Pictures from L0" dword="13" bits="13:8" type="uint" /> + <field name="Number of Active Reference Pictures from L1" dword="13" bits="21:16" type="uint" /> + <field name="Number of Reference Frames" dword="13" bits="28:24" type="uint" /> + <field name="Current Picture Has Performed MMCO5" dword="13" bits="29:29" type="bool" /> + <field name="Pic Order Present" dword="14" bits="0:0" type="bool" /> + <field name="Delta Pic Order Always Zero" dword="14" bits="1:1" type="bool" /> + <field name="Pic Order Count Type" dword="14" bits="3:2" type="uint" /> + <field name="Slice Group Map Type" dword="14" bits="10:8" type="uint" /> + <field name="Redundant Pic Count Present" dword="14" bits="11:11" type="bool" /> + <field name="Number of Slice Groups" dword="14" bits="14:12" type="uint" /> + <field name="Deblocking Filter Control Present" dword="14" bits="15:15" type="bool" /> + <field name="Log2 Max Frame Number" dword="14" bits="23:16" type="uint" /> + <field name="Log2 Max Pic Order Count LSB" dword="14" bits="31:24" type="uint" /> + <field name="Slice Group Change Rate" dword="15" bits="15:0" type="uint" /> + <field name="Current Picture Frame Number" dword="15" bits="31:16" type="uint" /> + <field name="Current Frame View ID" dword="16" bits="9:0" type="uint" /> + <field name="Max View IDXL0" dword="16" bits="15:12" type="uint" /> + <field name="Max View IDXL1" dword="16" bits="21:18" type="uint" /> + <field name="Inter View Order Disable" dword="16" bits="31:31" type="bool" /> + <field name="Fractional QP Input" dword="17" bits="2:0" type="uint" /> + <field name="Fractional QP Offset" dword="17" bits="5:3" type="uint" /> + <field name="Extended Rho Domain Statistics Enable" dword="17" bits="8:8" type="bool" /> + <field name="Rho Domain Average MB QP" dword="17" bits="21:16" type="uint" /> + <field name="Threshold Size" dword="19" bits="31:0" type="uint" /> + <field name="Target Slice Size" dword="20" bits="31:0" type="uint" /> + </instruction> + <instruction name="MFX_MPEG2_PIC_STATE" bias="2" length="2" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="0" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="3" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Scan Order" dword="1" bits="6:6" type="uint"> + <value name="MPEG_ZIGZAG_SCAN" value="0" /> + <value name="MPEG_ALTERNATE_VERTICAL_SCAN" value="1" /> + </field> + <field name="Intra VLC Format" dword="1" bits="7:7" type="uint" /> + <field name="Quantizer Scale Type" dword="1" bits="8:8" type="uint"> + <value name="MPEG_QSCALE_LINEAR" value="0" /> + <value name="MPEG_QSCALE_NONLINEAR" value="1" /> + </field> + <field name="Concealment MV" dword="1" bits="9:9" type="bool" /> + <field name="Frame Prediction Frame DCT" dword="1" bits="10:10" type="uint" /> + <field name="Top Field First" dword="1" bits="11:11" type="bool" /> + <field name="Picture Structure" dword="1" bits="13:12" type="uint"> + <value name="MPEG_TOP_FIELD" value="1" /> + <value name="MPEG_BOTTOM_FIELD" value="2" /> + <value name="MPEG_FRAME" value="3" /> + </field> + <field name="Intra DC Precision" dword="1" bits="15:14" type="uint" /> + <field name="F_code[0][0]" dword="1" bits="19:16" type="uint" /> + <field name="F_code[0][1]" dword="1" bits="23:20" type="uint" /> + <field name="F_code[1][0]" dword="1" bits="27:24" type="uint" /> + <field name="F_code[1][1]" dword="1" bits="31:28" type="uint" /> + <field name="Disable Mismatch" dword="2" bits="0:0" type="bool" /> + <field name="Mismatch Control Disable" dword="2" bits="1:1" type="bool" /> + <field name="Picture Coding Type" dword="2" bits="10:9" type="uint"> + <value name="MPEG_I_PICTURE" value="1" /> + <value name="MPEG_P_PICTURE" value="2" /> + <value name="MPEG_B_PICTURE" value="3" /> + </field> + <field name="Load Bitstream Pointer Per Slice" dword="2" bits="14:14" type="bool" /> + <field name="P/B Slice Predicted MV Override" dword="2" bits="24:24" type="uint"> + <value name="Predicted" value="0" /> + <value name="ZERO" value="1" /> + </field> + <field name="P/B Slice Predicted Bi-direction MV Type Override" dword="2" bits="26:25" type="uint" prefix="MPEG2_MVTO"> + <value name="BID" value="0" /> + <value name="RESERVED" value="1" /> + <value name="FWD" value="2" /> + <value name="BWD" value="3" /> + </field> + <field name="P/B Slice Concealment Mode" dword="2" bits="29:28" type="uint" prefix="MPEG2_CM"> + <value name="INTER" value="0" /> + <value name="LEFT" value="1" /> + <value name="ZERO" value="2" /> + <value name="INTRA" value="3" /> + </field> + <field name="I Slice Concealment Mode" dword="2" bits="31:31" type="uint" prefix="MPEG2_CM"> + <value name="Intra Concealment" value="0" /> + <value name="Inter Concealment" value="1" /> + </field> + <field name="Frame Width In MBs" dword="3" bits="7:0" type="uint" /> + <field name="Frame Height In MBs" dword="3" bits="23:16" type="uint" /> + <field name="Slice Concealment Disable" dword="3" bits="31:31" type="bool" /> + <field name="Round Intra DC" dword="4" bits="2:1" type="uint" /> + <field name="Round Inter DC" dword="4" bits="6:4" type="uint" /> + <field name="Round Intra AC" dword="4" bits="10:8" type="uint" /> + <field name="Round Inter AC," dword="4" bits="14:12" type="uint" /> + <field name="Minimum Frame Size" dword="4" bits="31:16" type="uint" /> + <field name="Intra MB Max Bit Control" dword="5" bits="0:0" type="uint" /> + <field name="Inter MB Max Bit Control" dword="5" bits="1:1" type="uint" /> + <field name="Frame Bitrate Max Report" dword="5" bits="2:2" type="uint" /> + <field name="Frame Bitrate Min Report" dword="5" bits="3:3" type="uint" /> + <field name="MBRateControlMask" dword="5" bits="9:9" type="uint" /> + <field name="Minimum Frame Size Units" dword="5" bits="11:10" type="uint" prefix="MPEG2_MFSU"> + <value name="Compatibility mode" value="0" /> + <value name="16 bytes" value="1" /> + <value name="4Kb" value="2" /> + <value name="16Kb" value="3" /> + </field> + <field name="Inter MB Force CBP to Zero Control" dword="5" bits="12:12" type="uint" /> + <field name="Frame Size Control" dword="5" bits="16:16" type="uint" /> + <field name="Intra MB Conformance Max Size" dword="6" bits="11:0" type="uint" /> + <field name="Inter MB Conformance Max Size" dword="6" bits="27:16" type="uint" /> + <field name="Slice Delta QP Max[0]" dword="8" bits="7:0" type="int" /> + <field name="Slice Delta QP Max[1]" dword="8" bits="15:8" type="int" /> + <field name="Slice Delta QP Max[2]" dword="8" bits="23:16" type="int" /> + <field name="Slice Delta QP Max[3]" dword="8" bits="31:24" type="int" /> + <field name="Slice Delta QP Min[0]" dword="9" bits="7:0" type="int" /> + <field name="Slice Delta QP Min[1]" dword="9" bits="15:8" type="int" /> + <field name="Slice Delta QP Min[2]" dword="9" bits="23:16" type="int" /> + <field name="Slice Delta QP Min[3]" dword="9" bits="31:24" type="int" /> + <field name="Frame Bitrate Min" dword="10" bits="13:0" type="uint" /> + <field name="Frame Bitrate Min Unit Mode" dword="10" bits="14:14" type="uint"> + <value name="Compatibility mode" value="0" /> + <value name="New mode" value="1" /> + </field> + <field name="Frame Bitrate Min Unit" dword="10" bits="15:15" type="uint" /> + <field name="Frame Bitrate Max" dword="10" bits="29:16" type="uint" /> + <field name="Frame Bitrate Max Unit Mode" dword="10" bits="30:30" type="uint"> + <value name="Compatibility mode" value="0" /> + <value name="New mode" value="1" /> + </field> + <field name="Frame Bitrate Max Unit" dword="10" bits="31:31" type="uint" /> + <field name="Frame Bitrate Min Delta" dword="11" bits="14:0" type="uint" /> + <field name="Frame Bitrate Max Delta" dword="11" bits="30:16" type="uint" /> + </instruction> + <instruction name="MFX_PIPE_BUF_ADDR_STATE" bias="2" length="65" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="63" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="2" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Pre Deblocking Destination - Address" dword="1" bits="47:6" type="address" /> + <field name="Pre Deblocking Destination - Attributes" dword="3" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Post Deblocking Destination - Address" dword="4" bits="47:6" type="address" /> + <field name="Post Deblocking Destination - Attributes" dword="6" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Original Uncompressed Picture Source - Address" dword="7" bits="47:6" type="address" /> + <field name="Original Uncompressed Picture Source - Attributes" dword="9" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Stream-Out Data Destination - Address" dword="10" bits="47:6" type="address" /> + <field name="Stream-Out Data Destination - Attributes" dword="12" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Intra Row Store Scratch Buffer - Address" dword="13" bits="47:6" type="address" /> + <field name="Intra Row Store Scratch Buffer - Attributes" dword="15" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocking Filter Row Store Scratch - Address" dword="16" bits="47:6" type="address" /> + <field name="Deblocking Filter Row Store Scratch - Attributes" dword="18" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <group count="16" dword="19" size="64"> + <field name="Reference Picture - Address" dword="0" bits="63:0" type="address" /> + </group> + <field name="Reference Picture - Attributes" dword="51" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="MB Status Buffer - Address" dword="52" bits="47:6" type="address" /> + <field name="MB Status Buffer - Attributes" dword="54" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="MB ILDB Stream-Out Buffer - Address" dword="55" bits="47:6" type="address" /> + <field name="MB ILDB Stream-Out Buffer - Attributes" dword="57" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Second MB ILDB Stream-Out Buffer - Address" dword="58" bits="47:6" type="address" /> + <field name="Second MB ILDB Stream-Out Buffer - Attributes" dword="60" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <group count="16" dword="61" size="2"> + <field name="Reference Picture - Memory Compression Mode" dword="0" bits="1:1" type="uint" /> + <field name="Reference Picture - Memory Compression Enable" dword="0" bits="0:0" type="bool" /> + </group> + <field name="Scaled Reference Surface - Address" dword="62" bits="47:6" type="address" /> + <field name="Scaled Reference Surface - Attributes" dword="64" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + </instruction> + <instruction name="MFX_PIPE_MODE_SELECT" bias="2" length="5" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="3" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Standard Select" dword="1" bits="3:0" type="uint" prefix="SS"> + <value name="MPEG2" value="0" /> + <value name="VC1" value="1" /> + <value name="AVC" value="2" /> + <value name="JPEG" value="3" /> + <value name="VP8" value="5" /> + <value name="UVLD" value="15" /> + </field> + <field name="Codec Select" dword="1" bits="4:4" type="uint"> + <value name="Decode" value="0" /> + <value name="Encode" value="1" /> + </field> + <field name="Stitch Mode" dword="1" bits="5:5" type="bool" /> + <field name="Frame Statistics Stream-Out Enable" dword="1" bits="6:6" type="bool" /> + <field name="Scaled Surface Enable" dword="1" bits="7:7" type="bool" /> + <field name="Pre Deblocking Output Enable" dword="1" bits="8:8" type="bool" /> + <field name="Post Deblocking Output Enable" dword="1" bits="9:9" type="bool" /> + <field name="Stream-Out Enable" dword="1" bits="10:10" type="bool" /> + <field name="Pic Error/Status Report Enable" dword="1" bits="11:11" type="bool" /> + <field name="Deblocker Stream-Out Enable" dword="1" bits="12:12" type="bool" /> + <field name="VDEnc Mode" dword="1" bits="13:13" type="uint" prefix="VM"> + <value name="MBEnc Mode" value="0" /> + <value name="VDEnc Mode" value="1" /> + </field> + <field name="Standalone VDEnc Mode Enable" dword="1" bits="14:14" type="bool" /> + <field name="Decoder Mode Select" dword="1" bits="16:15" type="uint"> + <value name="VLD Mode" value="0" /> + <value name="IT Mode" value="1" /> + <value name="Deblocker Mode" value="2" /> + <value name="Interlayer Mode" value="3" /> + </field> + <field name="Decoder Short Format Mode" dword="1" bits="17:17" type="uint"> + <value name="Short Format Driver Interface" value="0" /> + <value name="Long Format Driver Interface" value="1" /> + </field> + <field name="Extended Stream-Out Enable" dword="1" bits="18:18" type="bool" /> + <field name="AES Control" dword="1" bits="31:24" type="uint" /> + <field name="Pic Status/Error Report ID" dword="3" bits="31:0" type="uint" /> + </instruction> + <instruction name="MFX_VP8_ENCODER_CFG" bias="2" length="2" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="0" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="1" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="2" /> + <field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="4" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Performance Counter Enable" dword="1" bits="0:0" type="bool" /> + <field name="Final Bitstream Output Disable" dword="1" bits="1:1" type="bool" /> + <field name="Token Statistics Output Enable" dword="1" bits="2:2" type="bool" /> + <field name="Bitstream Statistics Output Enable" dword="1" bits="3:3" type="bool" /> + <field name="Update Segment Feature Data Flag" dword="1" bits="4:4" type="bool" /> + <field name="Skip Final Bitstream when Over/Underflow" dword="1" bits="5:5" type="bool" /> + <field name="Rate Control Initial Pass" dword="1" bits="6:6" type="bool" /> + <field name="Per Segment Delta Qindex / LoopFilter Disable" dword="1" bits="7:7" type="bool" /> + <field name="Finer BRC Enable" dword="1" bits="8:8" type="bool" /> + <field name="Compressed Bitstream Output Disable" dword="1" bits="9:9" type="bool" /> + <field name="VBSP Unit Power Clock Gating Disable" dword="1" bits="10:10" type="bool" /> + <field name="Max Frame Bit count Rate Control Enable" dword="2" bits="0:0" type="bool" /> + <field name="Min Frame Bit Count Rate Control Enable" dword="2" bits="1:1" type="bool" /> + <field name="Max Inter MB Bit Count Check Enable" dword="2" bits="2:2" type="bool" /> + <field name="Max Intra MB Bit Count Check Enable" dword="2" bits="3:3" type="bool" /> + <field name="Intermediate Bit Buffer Overrun Enable" dword="2" bits="4:4" type="bool" /> + <field name="Final Bitstream Buffer Overrun Enable" dword="2" bits="5:5" type="bool" /> + <field name="QIndex Clamp High for Underflow" dword="2" bits="6:6" type="bool" /> + <field name="QIndex Clamp High for Overflow" dword="2" bits="7:7" type="bool" /> + <field name="Max Inter MB Bit Count" dword="3" bits="11:0" type="uint" /> + <field name="Max Intra MB Bit Count Limit" dword="3" bits="27:16" type="uint" /> + <field name="Frame Bitrate Max" dword="4" bits="13:0" type="uint" /> + <field name="Frame Bitrate Max Unit" dword="4" bits="14:14" type="uint" /> + <field name="Frame Bitrate Max Unit Mode" dword="4" bits="15:15" type="uint"> + <value name="Compatibility mode" value="0" /> + <value name="New mode" value="1" /> + </field> + <field name="Frame Bitrate Min" dword="4" bits="29:16" type="uint" /> + <field name="Frame Bitrate Min Unit" dword="4" bits="30:30" type="uint" /> + <field name="Frame Bitrate Min Unit Mode" dword="4" bits="31:31" type="uint"> + <value name="Compatibility mode" value="0" /> + <value name="New mode" value="1" /> + </field> + <field name="Frame Delta QIndex Max[0]" dword="5" bits="7:0" type="uint" /> + <field name="Frame Delta QIndex Max[1]" dword="5" bits="15:8" type="uint" /> + <field name="Frame Delta QIndex Max[2]" dword="5" bits="23:16" type="uint" /> + <field name="Frame Delta QIndex Max[3]" dword="5" bits="31:24" type="uint" /> + <field name="Frame Delta QIndex Min[0]" dword="6" bits="7:0" type="uint" /> + <field name="Frame Delta QIndex Min[1]" dword="6" bits="15:8" type="uint" /> + <field name="Frame Delta QIndex Min[2]" dword="6" bits="23:16" type="uint" /> + <field name="Frame Delta QIndex Min[3]" dword="6" bits="31:24" type="uint" /> + <field name="Per Segment Frame Delta QIndex Max[1]" dword="7" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta QIndex Min[1]" dword="8" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta QIndex Max[2]" dword="9" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta QIndex Min[2]" dword="10" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta QIndex Max[3]" dword="11" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta QIndex Min[3]" dword="12" bits="31:0" type="uint" /> + <field name="Frame Delta Loop Filter Max[0]" dword="13" bits="7:0" type="uint" /> + <field name="Frame Delta Loop Filter Max[1]" dword="13" bits="15:8" type="uint" /> + <field name="Frame Delta Loop Filter Max[2]" dword="13" bits="23:16" type="uint" /> + <field name="Frame Delta Loop Filter Max[3]" dword="13" bits="31:24" type="uint" /> + <field name="Frame Delta Loop Filter Min[0]" dword="14" bits="7:0" type="uint" /> + <field name="Frame Delta Loop Filter Min[1]" dword="14" bits="15:8" type="uint" /> + <field name="Frame Delta Loop Filter Min[2]" dword="14" bits="23:16" type="uint" /> + <field name="Frame Delta Loop Filter Min[3]" dword="14" bits="31:24" type="uint" /> + <field name="Per Segment Frame Delta Loop Filter Max[1]" dword="15" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta Loop Filter Min[1]" dword="16" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta Loop Filter Max[2]" dword="17" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta Loop Filter Min[2]" dword="18" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta Loop Filter Max[3]" dword="19" bits="31:0" type="uint" /> + <field name="Per Segment Frame Delta Loop Filter Min[3]" dword="20" bits="31:0" type="uint" /> + <field name="Frame Bitrate Max Delta" dword="21" bits="14:0" type="uint" /> + <field name="Frame Bitrate Min Delta" dword="21" bits="30:16" type="uint" /> + <field name="Minimum Frame Size" dword="22" bits="15:0" type="uint" /> + <field name="Minimum Frame Size Unit" dword="22" bits="17:16" type="uint"> + <value name="Compatibility mode" value="0" /> + <value name="New mode" value="1" /> + </field> + <field name="Bitstream Format Version" dword="22" bits="22:20" type="uint" /> + <field name="Show Frame" dword="22" bits="23:23" type="uint" /> + <field name="Horizontal_Size_Code" dword="23" bits="15:0" type="uint" /> + <field name="Vertical_Size_Code" dword="23" bits="31:16" type="uint" /> + <field name="Frame Header Bit Count" dword="24" bits="31:0" type="uint" /> + <field name="Frame Header Bin Buffer QIndex Update Pointer" dword="25" bits="31:0" type="uint" /> + <field name="Frame Header Bin Buffer Loop Filter Update Pointer" dword="26" bits="31:0" type="uint" /> + <field name="Frame Header Bin Buffer Token Update Pointer" dword="27" bits="31:0" type="uint" /> + <field name="Frame Header Bin Buffer MV Update Pointer" dword="28" bits="31:0" type="uint" /> + <field name="CV0" dword="29" bits="3:0" type="uint" /> + <field name="CV1" dword="29" bits="7:4" type="uint" /> + <field name="CV2" dword="29" bits="11:8" type="uint" /> + <field name="CV3" dword="29" bits="15:12" type="uint" /> + <field name="CV4" dword="29" bits="19:16" type="uint" /> + <field name="CV5" dword="29" bits="23:20" type="uint" /> + <field name="CV6" dword="29" bits="27:24" type="uint" /> + <field name="CV7" dword="29" bits="31:28" type="uint" /> + </instruction> + <instruction name="MFX_VP8_PIC_STATE" bias="2" length="2" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="0" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" /> + <field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" /> + <field name="Media Command OpCode" dword="0" bits="26:24" type="uint" default="4" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Frame Width" dword="1" bits="7:0" type="uint" /> + <field name="Frame Height" dword="1" bits="23:16" type="uint" /> + <field name="MC Filter Select" dword="2" bits="0:0" type="uint" /> + <field name="Chroma Full Pixel MC Filter Mode" dword="2" bits="1:1" type="uint" /> + <field name="DBLK Filter Type" dword="2" bits="4:4" type="uint" /> + <field name="Key Frame" dword="2" bits="5:5" type="bool" /> + <field name="Segmentation ID Stream-Out Enable" dword="2" bits="6:6" type="bool" /> + <field name="Segmentation ID Stream-In Enable" dword="2" bits="7:7" type="bool" /> + <field name="Segment Enable" dword="2" bits="8:8" type="bool" /> + <field name="Update MB Segment Map" dword="2" bits="9:9" type="bool" /> + <field name="MB NoCoeff Skip" dword="2" bits="10:10" type="bool" /> + <field name="Mode Reference Loop Filter Delta Enable" dword="2" bits="11:11" type="bool" /> + <field name="Golden Ref Picture MV Sign Bias" dword="2" bits="12:12" type="bool" /> + <field name="Alternate Ref Pic MV Sign Bias" dword="2" bits="13:13" type="bool" /> + <field name="Deblock Sharpness Level" dword="2" bits="18:16" type="uint" /> + <field name="Log2 Num of Partition" dword="2" bits="25:24" type="uint"> + <value name="1 Token partition" value="0" /> + <value name="2 Token partition" value="1" /> + <value name="4 Token partition" value="2" /> + <value name="8 Token partition" value="3" /> + </field> + <field name="DBLK Filter Level for Segment0" dword="3" bits="5:0" type="uint" /> + <field name="DBLK Filter Level for Segment1" dword="3" bits="13:8" type="uint" /> + <field name="DBLK Filter Level for Segment2" dword="3" bits="21:16" type="uint" /> + <field name="DBLK Filter Level for Segment3" dword="3" bits="29:24" type="uint" /> + <field name="Segment0 QIndex" dword="4" bits="6:0" type="uint" /> + <field name="Segment1 QIndex" dword="4" bits="14:8" type="uint" /> + <field name="Segment2 QIndex" dword="4" bits="22:16" type="uint" /> + <field name="Segment3 QIndex" dword="4" bits="30:24" type="uint" /> + <field name="Y2DC QIndex Delta" dword="5" bits="3:0" type="uint" /> + <field name="Y2AC QIndex Delta Sign" dword="5" bits="4:4" type="uint" /> + <field name="Y2AC QIndex Delta" dword="5" bits="11:8" type="uint" /> + <field name="Y2AC QIndex Sign" dword="5" bits="12:12" type="uint" /> + <field name="UVDC QIndex Delta" dword="5" bits="19:16" type="uint" /> + <field name="UVDC QIndex Delta Sign" dword="5" bits="20:20" type="uint" /> + <field name="UVAC QIndex Delta" dword="5" bits="27:24" type="uint" /> + <field name="UVAC QIndex Delta Sign" dword="5" bits="28:28" type="uint" /> + <field name="Y1DC QIndex Delta" dword="6" bits="3:0" type="uint" /> + <field name="Y1DC QIndex Delta Sign" dword="6" bits="4:4" type="uint" /> + <field name="Clamp QIndex Low" dword="7" bits="6:0" type="uint" /> + <field name="Clamp QIndex High" dword="7" bits="14:8" type="uint" /> + <field name="Quantizer Value [1][UVDC]" dword="8" bits="8:0" type="uint" /> + <field name="Quantizer Value [1][UVAC]" dword="8" bits="24:16" type="uint" /> + <field name="Quantizer Value [1][Y2DC]" dword="9" bits="8:0" type="uint" /> + <field name="Quantizer Value [1][Y2AC]" dword="9" bits="24:16" type="uint" /> + <field name="Quantizer Value [2][Y1DC]" dword="10" bits="8:0" type="uint" /> + <field name="Quantizer Value [2][Y1AC]" dword="10" bits="24:16" type="uint" /> + <field name="Quantizer Value [2][UVDC]" dword="11" bits="8:0" type="uint" /> + <field name="Quantizer Value [2][UVAC]" dword="11" bits="24:16" type="uint" /> + <field name="Quantizer Value [2][Y2DC]" dword="12" bits="8:0" type="uint" /> + <field name="Quantizer Value [2][Y2AC]" dword="12" bits="24:16" type="uint" /> + <field name="Quantizer Value [3][Y1DC]" dword="13" bits="8:0" type="uint" /> + <field name="Quantizer Value [3][Y1AC]" dword="13" bits="24:16" type="uint" /> + <field name="Quantizer Value [3][UVDC]" dword="14" bits="8:0" type="uint" /> + <field name="Quantizer Value [3][UVAC]" dword="14" bits="24:16" type="uint" /> + <field name="Quantizer Value [3][Y2DC]" dword="15" bits="8:0" type="uint" /> + <field name="Quantizer Value [3][Y2AC]" dword="15" bits="24:16" type="uint" /> + <field name="CoeffProbability Stream-In - Address" dword="16" bits="47:6" type="uint" /> + <field name="CoeffProbability Stream-In - MOCS (Encoder Only)" dword="18" bits="6:0" type="uint" nonzero="true" /> + <field name="CoeffProbability Stream-In - Arbitration Priority Control" dword="18" bits="8:7" type="uint"> + <value name="Highest priority" value="0" /> + <value name="Second highest priority" value="1" /> + <value name="Third highest priority" value="2" /> + <value name="Lowest priority" value="3" /> + </field> + <field name="CoeffProbability Stream-In - Memory Compression Enable" dword="18" bits="9:9" type="bool" /> + <field name="CoeffProbability Stream-In - Memory Compression Mode" dword="18" bits="10:10" type="uint" /> + <field name="CoeffProbability Stream-In - Tiled Resource Mode" dword="18" bits="14:13" type="uint"> + <value name="TRMODE_NONE" value="0" /> + <value name="TRMODE_TILEYF" value="1" /> + <value name="TRMODE_TILEYS" value="2" /> + </field> + <field name="MBSegmentIDTreeProbs[0]" dword="19" bits="7:0" type="uint" /> + <field name="MBSegmentIDTreeProbs[1]" dword="19" bits="15:8" type="uint" /> + <field name="MBSegmentIDTreeProbs[2]" dword="19" bits="23:16" type="uint" /> + <field name="InterPredFromGRefRefProb" dword="20" bits="7:0" type="uint" /> + <field name="InterPredFromLastRefProb" dword="20" bits="15:8" type="uint" /> + <field name="IntraMBProb" dword="20" bits="23:16" type="uint" /> + <field name="MBNoCoeffSkipFalseProb" dword="20" bits="31:24" type="uint" /> + <field name="YModeProb[0]" dword="21" bits="7:0" type="uint" /> + <field name="YModeProb[1]" dword="21" bits="15:8" type="uint" /> + <field name="YModeProb[2]" dword="21" bits="23:16" type="uint" /> + <field name="YModeProb[3]" dword="21" bits="31:24" type="uint" /> + <field name="UVModeProb[0]" dword="22" bits="7:0" type="uint" /> + <field name="UVModeProb[1]" dword="22" bits="15:8" type="uint" /> + <field name="UVModeProb[2]" dword="22" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[0][0]" dword="23" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[0][1]" dword="23" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[0][2]" dword="23" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[0][3]" dword="23" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[0][4]" dword="24" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[0][5]" dword="24" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[0][6]" dword="24" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[0][7]" dword="24" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[0][8]" dword="25" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[0][9]" dword="25" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[0][10]" dword="25" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[0][11]" dword="25" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[0][12]" dword="26" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[0][13]" dword="26" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[0][14]" dword="26" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[0][15]" dword="26" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[0][16]" dword="27" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[0][17]" dword="27" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[0][18]" dword="27" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[1][0]" dword="28" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[1][1]" dword="28" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[1][2]" dword="28" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[1][3]" dword="28" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[1][4]" dword="29" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[1][5]" dword="29" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[1][6]" dword="29" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[1][7]" dword="29" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[1][8]" dword="30" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[1][9]" dword="30" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[1][10]" dword="30" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[1][11]" dword="30" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[1][12]" dword="31" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[1][13]" dword="31" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[1][14]" dword="31" bits="23:16" type="uint" /> + <field name="MVUpdateProbs[1][15]" dword="31" bits="31:24" type="uint" /> + <field name="MVUpdateProbs[1][16]" dword="32" bits="7:0" type="uint" /> + <field name="MVUpdateProbs[1][17]" dword="32" bits="15:8" type="uint" /> + <field name="MVUpdateProbs[1][18]" dword="32" bits="23:16" type="uint" /> + <field name="RefLFDelta0" dword="33" bits="6:0" type="int" /> + <field name="RefLFDelta1" dword="33" bits="14:8" type="int" /> + <field name="RefLFDelta2" dword="33" bits="22:16" type="int" /> + <field name="RefLFDelta3" dword="33" bits="30:24" type="int" /> + <field name="ModeLFDelta0" dword="34" bits="6:0" type="int" /> + <field name="ModeLFDelta1" dword="34" bits="14:8" type="int" /> + <field name="ModeLFDelta2" dword="34" bits="22:16" type="int" /> + <field name="ModeLFDelta3" dword="34" bits="30:24" type="int" /> + <field name="Segmentation ID Stream - Address" dword="35" bits="47:0" type="uint" /> + <field name="CoeffProbability Stream-In - MOCS" dword="37" bits="6:0" type="uint" nonzero="true" /> + <field name="Segmentation ID Stream - Arbitration Priority Control" dword="37" bits="8:7" type="uint"> + <value name="Highest priority" value="0" /> + <value name="Second highest priority" value="1" /> + <value name="Third highest priority" value="2" /> + <value name="Lowest priority" value="3" /> + </field> + <field name="Segmentation ID Stream - Memory Compression Enable" dword="37" bits="9:9" type="bool" /> + <field name="Segmentation ID Stream - Memory Compression Mode" dword="37" bits="10:10" type="uint" /> + <field name="Segmentation ID Stream - Tiled Resource Mode" dword="37" bits="14:13" type="uint"> + <value name="TRMODE_NONE" value="0" /> + <value name="TRMODE_TILEYF" value="1" /> + <value name="TRMODE_TILEYS" value="2" /> + </field> + </instruction> + <instruction name="MI_ARB_ON_OFF" bias="1" length="1"> + <field name="Arbitration Enable" dword="0" bits="0:0" type="bool" default="1" /> + <field name="Allow Lite Restore" dword="0" bits="1:1" type="bool" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="8" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + </instruction> + <instruction name="MI_BATCH_BUFFER_END" bias="1" length="1"> + <field name="End Context" dword="0" bits="0:0" type="bool" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="10" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + </instruction> + <instruction name="MI_BATCH_BUFFER_START" bias="2" length="3"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" /> + <field name="Address Space Indicator" dword="0" bits="8:8" type="uint" prefix="ASI"> + <value name="GGTT" value="0" /> + <value name="PPGTT" value="1" /> + </field> + <field name="Resource Streamer Enable" dword="0" bits="10:10" type="bool" /> + <field name="Predication Enable" dword="0" bits="15:15" type="bool" /> + <field name="Second Level Batch Buffer" dword="0" bits="22:22" type="uint"> + <value name="First level batch" value="0" /> + <value name="Second level batch" value="1" /> + </field> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="49" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Batch Buffer Start Address" dword="1" bits="63:2" type="address" /> + </instruction> + <instruction name="MI_DISPLAY_FLIP" bias="2" length="3" engine="render|blitter"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" /> + <field name="Display Plane Select" dword="0" bits="13:8" type="uint"> + <value name="Display Plane 1" value="0" /> + <value name="Display Plane 2" value="1" /> + <value name="Display Plane 3" value="2" /> + <value name="Display Plane 4" value="4" /> + <value name="Display Plane 5" value="5" /> + <value name="Display Plane 6" value="6" /> + <value name="Display Plane 7" value="7" /> + <value name="Display Plane 8" value="8" /> + <value name="Display Plane 9" value="9" /> + <value name="Display Plane 10" value="10" /> + <value name="Display Plane 11" value="11" /> + <value name="Display Plane 12" value="12" /> + <value name="Display Plane 13" value="13" /> + <value name="Display Plane 14" value="14" /> + <value name="Display Plane 15" value="15" /> + <value name="Display Plane 16" value="16" /> + <value name="Display Plane 17" value="17" /> + <value name="Display Plane 18" value="18" /> + <value name="Display Plane 19" value="19" /> + <value name="Display Plane 20" value="20" /> + <value name="Display Plane 21" value="21" /> + <value name="Display Plane 22" value="22" /> + <value name="Display Plane 23" value="23" /> + <value name="Display Plane 24" value="24" /> + <value name="Display Plane 25" value="25" /> + <value name="Display Plane 26" value="26" /> + <value name="Display Plane 27" value="27" /> + <value name="Display Plane 28" value="28" /> + <value name="Display Plane 29" value="29" /> + <value name="Display Plane 30" value="30" /> + <value name="Display Plane 31" value="31" /> + <value name="Display Plane 32" value="32" /> + </field> + <field name="Async Flip Indicator" dword="0" bits="22:22" type="bool" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="20" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Tile Parameter" dword="1" bits="2:0" type="uint" /> + <field name="Display Buffer Pitch" dword="1" bits="15:6" type="uint" /> + <field name="Stereoscopic 3D Mode" dword="1" bits="31:31" type="bool" /> + <field name="Flip Type" dword="2" bits="1:0" type="uint"> + <value name="Sync Flip" value="0" /> + <value name="Async Flip" value="1" /> + <value name="Stereo 3D Flip" value="2" /> + </field> + <field name="VRR Master Flip" dword="2" bits="11:11" type="uint" /> + <field name="Display Buffer Base Address" dword="2" bits="31:12" type="address" /> + <field name="Left Eye Display Buffer Base Address" dword="3" bits="31:12" type="address" /> + </instruction> + <instruction name="MI_FLUSH_DW" bias="2" length="5" engine="blitter|video"> + <field name="DWord Length" dword="0" bits="5:0" type="uint" default="3" /> + <field name="Video Pipeline Cache Invalidate" dword="0" bits="7:7" type="bool" /> + <field name="Notify Enable" dword="0" bits="8:8" type="bool" /> + <field name="Flush LLC" dword="0" bits="9:9" 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 Timestamp" value="3" /> + </field> + <field name="TLB Invalidate" dword="0" bits="18:18" type="bool" /> + <field name="Store Data Index" dword="0" bits="21:21" type="uint" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="38" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Destination Address Type" dword="1" bits="2:2" type="uint" prefix="DAT"> + <value name="PPGTT" value="0" /> + <value name="GGTT" value="1" /> + </field> + <field name="Address" dword="1" bits="47:3" type="address" /> + <field name="Immediate Data" dword="3" bits="63:0" type="uint" /> + </instruction> + <instruction name="MI_FORCE_WAKEUP" bias="2" length="2"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="29" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Force Media-Slice0 Awake" dword="1" bits="0:0" type="uint" /> + <field name="Force Render Awake" dword="1" bits="1:1" type="uint" /> + <field name="Force Media-Slice1 Awake" dword="1" bits="2:2" type="uint" /> + <field name="Force Media-Slice2 Awake" dword="1" bits="3:3" type="uint" /> + <field name="Force Media-Slice3 Awake" dword="1" bits="4:4" type="uint" /> + <field name="Mask Bits" dword="1" bits="31:16" type="uint" /> + </instruction> + <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" /> + <field name="Byte Write Disables" dword="0" bits="11:8" type="uint" /> + <field name="Add CS MMIO Start Offset" dword="0" bits="19:19" type="uint" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="34" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Register Offset" dword="1" bits="22:2" type="offset" /> + <field name="Data DWord" dword="2" bits="31:0" type="uint" /> + <group count="0" dword="3" size="64"> + <field name="Register Offset" dword="0" bits="22:2" type="offset" /> + <field name="Data DWord" dword="1" bits="31:0" type="uint" /> + </group> + </instruction> + <instruction name="MI_LOAD_REGISTER_MEM" bias="2" length="4"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="2" /> + <field name="Add CS MMIO Start Offset" dword="0" bits="19:19" type="uint" /> + <field name="Add Loop Variable" dword="0" bits="20:20" type="uint" /> + <field name="Async Mode Enable" dword="0" bits="21:21" type="bool" /> + <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="41" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Register Address" dword="1" bits="22:2" type="offset" /> + <field name="Memory Address" dword="2" bits="63:2" type="address" /> + </instruction> + <instruction name="MI_LOAD_REGISTER_REG" bias="2" length="3"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" /> + <field name="Add CS MMIO Start Offset Source" dword="0" bits="18:18" type="uint" /> + <field name="Add CS MMIO Start Offset Destination" dword="0" bits="19:19" type="uint" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="42" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Source Register Address" dword="1" bits="22:2" type="offset" /> + <field name="Destination Register Address" dword="2" bits="22:2" type="offset" /> + </instruction> + <instruction name="MI_LOAD_SCAN_LINES_EXCL" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="5:0" type="uint" default="0" /> + <field name="Display (Plane) Select" dword="0" bits="21:19" type="uint"> + <value name="Display Plane A" value="0" /> + <value name="Display Plane B" value="1" /> + <value name="Display Plane C" value="4" /> + <value name="Display Plane D" value="5" /> + </field> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="19" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="End Scan Line Number" dword="1" bits="12:0" type="uint" /> + <field name="Start Scan Line Number" dword="1" bits="28:16" type="uint" /> + </instruction> + <instruction name="MI_LOAD_SCAN_LINES_INCL" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="5:0" type="uint" default="0" /> + <field name="Scan Line Event Done Forward" dword="0" bits="18:17" type="uint" /> + <field name="Display (Plane) Select" dword="0" bits="21:19" type="uint"> + <value name="Display Plane 1 A" value="0" /> + <value name="Display Plane 1 B" value="1" /> + <value name="Display Plane 1 C" value="4" /> + <value name="Display Plane 1 D" value="5" /> + </field> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="18" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="End Scan Line Number" dword="1" bits="12:0" type="uint" /> + <field name="Start Scan Line Number" dword="1" bits="28:16" type="uint" /> + </instruction> + <instruction name="MI_SEMAPHORE_SIGNAL" bias="2" length="2"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="Target Engine Select" dword="0" bits="18:15" type="uint"> + <value name="RCS" value="0" /> + <value name="VCS0" value="1" /> + <value name="BCS" value="2" /> + <value name="VECS" value="3" /> + <value name="VCS1" value="4" /> + <value name="VCS2" value="6" /> + <value name="VCS3" value="7" /> + <value name="VCS4" value="8" /> + <value name="VCS5" value="9" /> + <value name="VCS6" value="10" /> + <value name="VCS7" value="11" /> + <value name="VECS1" value="12" /> + <value name="VECS2" value="13" /> + <value name="VECS3" value="14" /> + </field> + <field name="Post-Sync Operation" dword="0" bits="21:21" type="bool" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="27" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Target Context ID" dword="1" bits="31:0" type="uint" /> + </instruction> + <instruction name="MI_SET_CONTEXT" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="24" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Restore Inhibit" dword="1" bits="0:0" type="uint" /> + <field name="Force Restore" dword="1" bits="1:1" type="uint" /> + <field name="Resource Streamer State Restore Enable" dword="1" bits="2:2" type="bool" /> + <field name="Resource Streamer State Save Enable" dword="1" bits="3:3" type="bool" /> + <field name="Core Mode Enable" dword="1" bits="4:4" type="bool" /> + <field name="Reserved, Must be 1" dword="1" bits="8:8" type="uint" /> + <field name="Logical Context Address" dword="1" bits="31:12" type="address" /> + </instruction> + <instruction name="MI_SET_PREDICATE" bias="1" length="1"> + <field name="Predicate Enable" dword="0" bits="3:0" type="uint"> + <value name="NOOP Never" value="0" /> + <value name="NOOP On Result2 Clear" value="1" /> + <value name="NOOP On Result2 Set" value="2" /> + <value name="NOOP On Result Clear" value="3" /> + <value name="NOOP On Result Set" value="4" /> + <value name="NOOP Always" value="15" /> + </field> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="1" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + </instruction> + <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="4"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="2" /> + <field name="Add CS MMIO Start Offset" dword="0" bits="19:19" type="uint" /> + <field name="Predicate Enable" dword="0" bits="21:21" type="bool" /> + <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="22:2" type="offset" /> + <field name="Memory Address" dword="2" bits="63:2" type="address" /> + </instruction> + <instruction name="MI_WAIT_FOR_EVENT_2" bias="1" length="1" engine="render|blitter"> + <field name="Display Plane Flip Pending Wait Enable" dword="0" bits="5:0" type="uint" /> + <field name="Display Pipe Vertical Blank Wait Enable" dword="0" bits="10:8" type="uint" /> + <field name="Display Pipe Scan Line Wait Enable" dword="0" bits="14:12" type="uint" /> + <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="PIPE_CONTROL" 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="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 Enable" dword="1" bits="0:0" type="bool" /> + <field name="Stall At Pixel Scoreboard" dword="1" bits="1:1" type="bool" /> + <field name="State Cache Invalidation Enable" dword="1" bits="2:2" type="bool" /> + <field name="Constant Cache Invalidation Enable" dword="1" bits="3:3" type="bool" /> + <field name="VF Cache Invalidation Enable" dword="1" bits="4:4" type="bool" /> + <field name="DC Flush Enable" dword="1" bits="5:5" type="bool" /> + <field name="Pipe Control Flush Enable" dword="1" bits="7:7" type="bool" /> + <field name="Notify Enable" dword="1" bits="8:8" type="bool" /> + <field name="Indirect State Pointers Disable" dword="1" bits="9:9" type="bool" /> + <field name="Texture Cache Invalidation Enable" dword="1" bits="10:10" type="bool" /> + <field name="Instruction Cache Invalidate Enable" dword="1" bits="11:11" type="bool" /> + <field name="Render Target Cache Flush Enable" dword="1" bits="12:12" type="bool" /> + <field name="Depth Stall Enable" dword="1" bits="13:13" type="bool" /> + <field name="Post Sync Operation" dword="1" 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="Generic Media State Clear" dword="1" bits="16:16" type="bool" /> + <field name="PSD Sync Enable" dword="1" bits="17:17" type="bool" /> + <field name="TLB Invalidate" dword="1" bits="18:18" type="bool" /> + <field name="Global Snapshot Count Reset" dword="1" bits="19:19" type="bool" /> + <field name="Command Streamer Stall Enable" dword="1" bits="20:20" type="bool" /> + <field name="Store Data Index" dword="1" bits="21:21" type="uint" /> + <field name="LRI Post Sync Operation" dword="1" bits="23:23" type="uint"> + <value name="No LRI Operation" value="0" /> + <value name="MMIO Write Immediate Data" value="1" /> + </field> + <field name="Destination Address Type" dword="1" bits="24:24" type="uint" prefix="DAT"> + <value name="PPGTT" value="0" /> + <value name="GGTT" value="1" /> + </field> + <field name="Flush LLC" dword="1" bits="26:26" type="bool" /> + <field name="Command Cache Invalidate Enable" dword="1" bits="29:29" type="bool" /> + <field name="Address" dword="2" bits="47:2" type="address" /> + <field name="Immediate Data" dword="4" bits="63:0" type="uint" /> + </instruction> + <instruction name="SFC_AVS_STATE" bias="2" length="4" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="2" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="2" /> + <field name="SubOpcode A" dword="0" bits="22:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="10" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="AVS State Body" dword="1" bits="1535:0" type="SFC_AVS_STATE_BODY" /> + </instruction> + <instruction name="SFC_STATE" bias="2" length="32" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="30" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="1" /> + <field name="SubOpcode A" dword="0" bits="22:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="10" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="SFC Pipe Mode" dword="1" bits="3:0" type="uint" /> + <field name="SFC Input Chroma Sub-Sampling" dword="1" bits="7:4" type="uint"> + <value name="4:0:0" value="0" /> + <value name="4:2:0" value="1" /> + <value name="4:2:2 Horizontal" value="2" /> + <value name="4:4:4 Progressive/Interleaved" value="4" /> + </field> + <field name="VD/VE Input Ordering Mode" dword="1" bits="10:8" type="uint" /> + <field name="Input Frame Resolution Width" dword="2" bits="11:0" type="uint" /> + <field name="Input Frame Resolution Height" dword="2" bits="27:16" type="uint" /> + <field name="Output Surface Format Type" dword="3" bits="3:0" type="uint" /> + <field name="RGBA Channel Swap Enable" dword="3" bits="5:5" type="bool" /> + <field name="Output Chroma Downsampling Co-siting position Vertical Direction" dword="3" bits="11:8" type="uint"> + <value name="0/8 (Left Full Pixel)" value="0" /> + <value name="1/8" value="1" /> + <value name="1/4 (2/8)" value="2" /> + <value name="3/8" value="3" /> + <value name="1/2 (4/8)" value="4" /> + <value name="5/8" value="5" /> + <value name="3/4 (6/8)" value="6" /> + <value name="7/8" value="7" /> + <value name="8/8" value="8" /> + </field> + <field name="Output Chroma Downsampling Co-siting position Horizontal Direction" dword="3" bits="15:12" type="uint"> + <value name="0/8 (Left Full Pixel)" value="0" /> + <value name="1/8" value="1" /> + <value name="1/4 (2/8)" value="2" /> + <value name="3/8" value="3" /> + <value name="1/2 (4/8)" value="4" /> + <value name="5/8" value="5" /> + <value name="3/4 (6/8)" value="6" /> + <value name="7/8" value="7" /> + <value name="8/8" value="8" /> + </field> + <field name="IEF Enable" dword="4" bits="0:0" type="bool" /> + <field name="Skin Tone Tuned IEF_Enable" dword="4" bits="1:1" type="bool" /> + <field name="IEF4 Smooth Enable" dword="4" bits="2:2" type="bool" /> + <field name="AVS Filter Mode" dword="4" bits="5:4" type="uint"> + <value name="5x5 Poly-phase filter + Bilinear" value="0" /> + <value name="8x8 poly-phase filter + Bilinear" value="1" /> + <value name="Bilinear filter only" value="2" /> + </field> + <field name="Adaptive Filter for all Channels" dword="4" bits="6:6" type="bool" /> + <field name="AVS Scaling Enable" dword="4" bits="7:7" type="bool" /> + <field name="Bypass Y Adaptive Filtering" dword="4" bits="8:8" type="bool" /> + <field name="Bypass X Adaptive Filtering" dword="4" bits="9:9" type="bool" /> + <field name="RGB Adaptive" dword="4" bits="10:10" type="bool" /> + <field name="Chroma Upsampling Enable" dword="4" bits="12:12" type="bool" /> + <field name="Mirror Type" dword="4" bits="13:13" type="uint"> + <value name="Horizontal Flip" value="0" /> + <value name="Vertical Flip" value="1" /> + </field> + <field name="Mirror Mode" dword="4" bits="14:14" type="bool" /> + <field name="Rotation Mode" dword="4" bits="17:16" type="uint"> + <value name="0" value="0" /> + <value name="90 CW" value="1" /> + <value name="180 CW" value="2" /> + <value name="270 CW" value="3" /> + </field> + <field name="Color Fill Enable" dword="4" bits="18:18" type="bool" /> + <field name="CSC Enable" dword="4" bits="19:19" type="bool" /> + <field name="Bit Depth" dword="4" bits="21:20" type="uint" prefix="SFC"> + <value name="10-bit" value="0" /> + <value name="16-bit" value="1" /> + </field> + <field name="Source Region Width" dword="5" bits="11:0" type="uint" /> + <field name="Source Region Height" dword="5" bits="27:16" type="uint" /> + <field name="Source Region Horizontal Offset" dword="6" bits="11:0" type="uint" /> + <field name="Source Region Vertical Offset" dword="6" bits="27:16" type="uint" /> + <field name="Output Frame Width" dword="7" bits="11:0" type="uint" /> + <field name="Output Frame Height" dword="7" bits="27:16" type="uint" /> + <field name="Scaled Region Size Width" dword="8" bits="11:0" type="uint" /> + <field name="Scaled Region Size Height" dword="8" bits="27:16" type="uint" /> + <field name="Scaled Region Horizontal Offset" dword="9" bits="12:0" type="int" /> + <field name="Scaled Region Vertical Offset" dword="9" bits="28:16" type="int" /> + <field name="Gray Bar Pixel - U/G" dword="10" bits="9:0" type="uint" /> + <field name="Gray Bar Pixel - Y/R" dword="10" bits="25:16" type="uint" /> + <field name="Gray Bar Pixel - A" dword="11" bits="9:0" type="uint" /> + <field name="Gray Bar Pixel - V/B" dword="11" bits="25:16" type="uint" /> + <field name="UV Default value for U channel" dword="12" bits="9:0" type="uint" /> + <field name="UV Default value for V channel" dword="12" bits="25:16" type="uint" /> + <field name="Alpha Default Value" dword="13" bits="9:0" type="uint" /> + <field name="Scaling Factor Height" dword="14" bits="20:0" type="u4.17" /> + <field name="Scaling Factor Width" dword="15" bits="20:0" type="u4.17" /> + <field name="Output Frame - Address" dword="17" bits="47:12" type="uint" /> + <field name="Output Frame - MOCS" dword="19" bits="6:0" type="uint" nonzero="true" /> + <field name="Output Frame - Arbitration Priority Control" dword="19" bits="8:7" type="HEVC_ARBITRATION_PRIORITY" /> + <field name="Output Frame - Memory Compression Enable" dword="19" bits="9:9" type="bool" /> + <field name="Output Frame - Memory Compression Mode" dword="19" bits="10:10" type="uint" /> + <field name="Output Frame - Cache Select" dword="19" bits="12:12" type="bool" /> + <field name="Output Frame - Tiled Mode" dword="19" bits="14:13" type="uint"> + <value name="TRMODE_NONE" value="0" /> + <value name="TRMODE_TILEYF" value="1" /> + <value name="TRMODE_TILEYS" value="2" /> + </field> + <field name="AVS Line Buffer - Address" dword="20" bits="47:12" type="uint" /> + <field name="AVS Line Buffer - MOCS" dword="22" bits="6:0" type="uint" nonzero="true" /> + <field name="AVS Line Buffer - Arbitration Priority Control" dword="22" bits="8:7" type="HEVC_ARBITRATION_PRIORITY" /> + <field name="AVS Line Buffer - Memory Compression Enable" dword="22" bits="9:9" type="bool" /> + <field name="AVS Line Buffer - Memory Compression Mode" dword="22" bits="10:10" type="uint"> + <value name="Horizontal Compression Mode" value="0" /> + </field> + <field name="AVS Line Buffer - Cache Select" dword="22" bits="12:12" type="uint"> + <value name="LLC" value="0" /> + </field> + <field name="AVS Line Buffer - Tiled Mode" dword="22" bits="14:13" type="uint"> + <value name="TRMODE_NONE" value="0" /> + <value name="TRMODE_TILEYF" value="1" /> + <value name="TRMODE_TILEYS" value="2" /> + </field> + <field name="IEF Line Buffer - Address" dword="23" bits="47:12" type="uint" /> + <field name="IEF Line Buffer - MOCS" dword="25" bits="6:0" type="uint" nonzero="true" /> + <field name="IEF Line Buffer - Arbitration Priority Control" dword="25" bits="8:7" type="HEVC_ARBITRATION_PRIORITY" /> + <field name="IEF Line Buffer - Memory Compression Enable" dword="25" bits="9:9" type="bool" /> + <field name="IEF Line Buffer - Memory Compression Mode" dword="25" bits="10:10" type="uint" /> + <field name="IEF Line Buffer - Cache Select" dword="25" bits="12:12" type="uint" /> + <field name="IEF Line Buffer - Tiled Mode" dword="25" bits="14:13" type="uint"> + <value name="TRMODE_NONE" value="0" /> + <value name="TRMODE_TILEYF" value="1" /> + <value name="TRMODE_TILEYS" value="2" /> + </field> + <field name="Output Surface Tile Walk" dword="29" bits="0:0" type="uint" prefix="TW"> + <value name="XMAJOR" value="0" /> + <value name="YMAJOR" value="1" /> + </field> + <field name="Output Surface Tiled" dword="29" bits="1:1" type="bool" /> + <field name="Output Surface Half Pitch for Chroma" dword="29" bits="2:2" type="bool" /> + <field name="Output Surface Pitch" dword="29" bits="19:3" type="uint" /> + <field name="Output Surface Interleave Chroma Enable" dword="29" bits="27:27" type="bool" /> + <field name="Output Surface Format" dword="29" bits="31:28" type="uint" /> + <field name="Output Surface Y Offset for U" dword="30" bits="13:0" type="uint" /> + <field name="Output Surface X Offset for U" dword="30" bits="29:16" type="uint" /> + <field name="Output Surface Y Offset for V" dword="31" bits="13:0" type="uint" /> + <field name="Output Surface X Offset for V" dword="31" bits="29:16" type="uint" /> + </instruction> + <instruction name="STATE_BASE_ADDRESS" bias="2" length="22" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="20" /> + <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 MOCS" dword="1" bits="10:4" type="uint" nonzero="true" /> + <field name="General State Base Address" dword="1" bits="63:12" type="address" /> + <field name="Stateless Data Port Access MOCS" dword="3" bits="22:16" type="uint" nonzero="true" /> + <field name="Surface State Base Address Modify Enable" dword="4" bits="0:0" type="bool" /> + <field name="Surface State MOCS" dword="4" bits="10:4" type="uint" nonzero="true" /> + <field name="Surface State Base Address" dword="4" bits="63:12" type="address" /> + <field name="Dynamic State Base Address Modify Enable" dword="6" bits="0:0" type="bool" /> + <field name="Dynamic State MOCS" dword="6" bits="10:4" type="uint" nonzero="true" /> + <field name="Dynamic State Base Address" dword="6" bits="63:12" type="address" /> + <field name="Indirect Object Base Address Modify Enable" dword="8" bits="0:0" type="bool" /> + <field name="Indirect Object MOCS" dword="8" bits="10:4" type="uint" nonzero="true" /> + <field name="Indirect Object Base Address" dword="8" bits="63:12" type="address" /> + <field name="Instruction Base Address Modify Enable" dword="10" bits="0:0" type="bool" /> + <field name="Instruction MOCS" dword="10" bits="10:4" type="uint" nonzero="true" /> + <field name="Instruction Base Address" dword="10" bits="63:12" type="address" /> + <field name="General State Buffer Size Modify Enable" dword="12" bits="0:0" type="bool" /> + <field name="General State Buffer Size" dword="12" bits="31:12" type="uint" /> + <field name="Dynamic State Buffer Size Modify Enable" dword="13" bits="0:0" type="bool" /> + <field name="Dynamic State Buffer Size" dword="13" bits="31:12" type="uint" /> + <field name="Indirect Object Buffer Size Modify Enable" dword="14" bits="0:0" type="bool" /> + <field name="Indirect Object Buffer Size" dword="14" bits="31:12" type="uint" /> + <field name="Instruction Buffer size Modify Enable" dword="15" bits="0:0" type="bool" /> + <field name="Instruction Buffer Size" dword="15" bits="31:12" type="uint" /> + <field name="Bindless Surface State Base Address Modify Enable" dword="16" bits="0:0" type="bool" /> + <field name="Bindless Surface State MOCS" dword="16" bits="10:4" type="uint" nonzero="true" /> + <field name="Bindless Surface State Base Address" dword="16" bits="63:12" type="address" /> + <field name="Bindless Surface State Size" dword="18" bits="31:12" type="uint" /> + <field name="Bindless Sampler State Base Address Modify Enable" dword="19" bits="0:0" type="bool" /> + <field name="Bindless Sampler State MOCS" dword="19" bits="10:4" type="uint" nonzero="true" /> + <field name="Bindless Sampler State Base Address" dword="19" bits="63:12" type="address" /> + <field name="Bindless Sampler State Buffer Size" dword="21" bits="31:12" type="uint" /> + </instruction> + <instruction name="VDENC_DS_REF_SURFACE_STATE" bias="2" length="10" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="8" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="3" /> + <field name="SubOpcode A" dword="0" bits="22:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="1" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="8X Surface State" dword="2" bits="127:0" type="VDENC_SURFACE_STATE_FIELDS" /> + <field name="4X Surface State" dword="6" bits="127:0" type="VDENC_SURFACE_STATE_FIELDS" /> + </instruction> + <instruction name="VDENC_IMG_STATE" bias="2" length="35" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="33" /> + <field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="5" /> + <field name="SubOpcode A" dword="0" bits="22:21" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="1" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Bidirectional Mix Disable" dword="1" bits="2:2" type="bool" /> + <field name="VDENC PerfMode" dword="1" bits="3:3" type="uint"> + <value name="Speed" value="1" /> + </field> + <field name="Time Budget Overflow Check" dword="1" bits="4:4" type="bool" /> + <field name="VDEnc Extended PAK_OBJ_CMD Enable" dword="1" bits="6:6" type="bool" /> + <field name="Transform 8x8" dword="1" bits="7:7" type="bool" /> + <field name="VDEnc L1 Cache Priority" dword="1" bits="9:8" type="uint" /> + <field name="Lambda Value for Trellis" dword="1" bits="31:16" type="uint" /> + <field name="Bidirectional Weight" dword="2" bits="21:16" type="uint" /> + <field name="Unidirectional Mix Disable" dword="2" bits="28:28" type="bool" /> + <field name="Picture Width" dword="3" bits="31:16" type="uint" /> + <field name="Sub-Pel Mode" dword="4" bits="13:12" type="uint" /> + <field name="Forward Transform Skip Check Enable" dword="4" bits="17:17" type="bool" /> + <field name="Bme Disable For Fbr Message" dword="4" bits="18:18" type="bool" /> + <field name="Block-Based Skip Enable" dword="4" bits="19:19" type="bool" /> + <field name="Inter SAD Measure Adjustment" dword="4" bits="21:20" type="uint" prefix="ISMA"> + <value name="None" value="0" /> + <value name="Haar Transform Adjusted" value="2" /> + </field> + <field name="Intra SAD Measure Adjustment" dword="4" bits="23:22" type="uint" prefix="ISMA"> + <value name="None" value="0" /> + <value name="Haar Transform Adjusted" value="2" /> + </field> + <field name="Sub-MB Sub-Partition Mask" dword="4" bits="30:24" type="uint" /> + <field name="Block-Based Skip Type" dword="4" bits="31:31" type="uint" /> + <field name="Picture Height" dword="5" bits="15:0" type="uint" /> + <field name="CRE Prefetch Enable" dword="5" bits="16:16" type="bool" /> + <field name="HME Ref1 Disable" dword="5" bits="17:17" type="bool" /> + <field name="MB Slice Threshold Value" dword="5" bits="21:18" type="uint" /> + <field name="Constrained Intra Prediction" dword="5" bits="26:26" type="bool" /> + <field name="Picture Type" dword="5" bits="30:29" type="uint" prefix="PI"> + <value name="I" value="0" /> + <value name="P" value="1" /> + </field> + <field name="Slice MB Height" dword="6" bits="15:0" type="uint" /> + <field name="HME0 X Offset" dword="7" bits="7:0" type="int" /> + <field name="HME0 Y Offset" dword="7" bits="15:8" type="int" /> + <field name="HME1 X Offset" dword="7" bits="23:16" type="int" /> + <field name="HME1 Y Offset" dword="7" bits="31:24" type="int" /> + <field name="Luma Intra Partition Mask" dword="8" bits="4:0" type="uint" /> + <field name="Non Skip Zero MV Cost Added" dword="8" bits="5:5" type="uint" /> + <field name="Non Skip MB Mode Cost Added" dword="8" bits="6:6" type="uint" /> + <field name="MV Cost Scaling Factor" dword="8" bits="17:16" type="uint"> + <value name="Qpel" value="0" /> + <value name="Hpel" value="1" /> + <value name="Pel" value="2" /> + <value name="2pel" value="3" /> + </field> + <field name="BiLinear Filter Enable" dword="8" bits="18:18" type="bool" /> + <field name="RefID Cost Mode Select" dword="8" bits="22:22" type="uint" /> + <field name="Mode 0 Cost" dword="9" bits="7:0" type="uint" /> + <field name="Mode 1 Cost" dword="9" bits="15:8" type="uint" /> + <field name="Mode 2 Cost" dword="9" bits="23:16" type="uint" /> + <field name="Mode 3 Cost" dword="9" bits="31:24" type="uint" /> + <field name="Mode 4 Cost" dword="10" bits="7:0" type="uint" /> + <field name="Mode 5 Cost" dword="10" bits="15:8" type="uint" /> + <field name="Mode 6 Cost" dword="10" bits="23:16" type="uint" /> + <field name="Mode 7 Cost" dword="10" bits="31:24" type="uint" /> + <field name="Mode 8 Cost" dword="11" bits="7:0" type="uint" /> + <field name="Mode 9 Cost" dword="11" bits="15:8" type="uint" /> + <field name="RefID Cost" dword="11" bits="23:16" type="uint" /> + <field name="Chroma Intra Mode Cost" dword="11" bits="31:24" type="uint" /> + <field name="MV Cost" dword="12" bits="63:0" type="IMAGE_STATE_COST" />Lines of this file are not shown. View the raw message.
lib/intel/genxml/gen120.xml new file +2432
-0Lines of this file are not shown. View the raw message.
lib/intel/genxml/gen125.xml new file +2628
-0Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.34.1
Part of the diff is not shown here. View the raw message.
PATCH 4/10 lib/intel/genxml: Import Xe2/Xe3/Xe3p XML hardware definitions from Mesa
In reply to Jan MaslakImport xe2.xml, xe3.xml, and xe3p.xml from Mesa (MIT-licensed, Mesa commit 3a62dc0218d3) unchanged.
These files define the hardware command, struct, and register layouts for Xe2 (LNL/BMG), Xe3 (PTL), and Xe3p (WHL) Intel graphics generations. xe3p.xml is a stub that imports xe3.xml; the Xe3p architecture shares its command encoding with Xe3.
--- lib/intel/genxml/xe2.xml | 1969 +++++++++++++++++++++++++++++++++++++ lib/intel/genxml/xe3.xml | 816 +++++++++++++++ lib/intel/genxml/xe3p.xml | 4 + lib/meson.build | 5 +- 4 files changed, 2793 insertions(+), 1 deletion(-) create mode 100644 lib/intel/genxml/xe2.xml create mode 100644 lib/intel/genxml/xe3.xml create mode 100644 lib/intel/genxml/xe3p.xml
lib/intel/genxml/xe2.xml new file +1969 -0
@@ -0,0 +1,1969 @@ +<?xml version='1.0' encoding='utf-8'?> +<genxml name="XE2" gen="20"> + <import name="gen125.xml"> + <exclude name="3DSTATE_CLEAR_PARAMS" /> + <exclude name="CLEAR_COLOR" /> + <exclude name="L3ALLOC" /> + </import> + <enum name="PREF_SLM_ALLOCATION_SIZE"> + <value name="SLM_ENCODES_0K" value="0" /> + <value name="SLM_ENCODES_16K" value="1" /> + <value name="SLM_ENCODES_32K" value="2" /> + <value name="SLM_ENCODES_64K" value="3" /> + <value name="SLM_ENCODES_96K" value="4" /> + <value name="SLM_ENCODES_128K" value="5" /> + <value name="SLM_ENCODES_160K" value="6" /> + <value name="SLM_ENCODES_192K" value="7" /> + <value name="SLM_ENCODES_224K" value="8" /> + <value name="SLM_ENCODES_256K" value="9" /> + <value name="SLM_ENCODES_384K" value="10" /> + </enum> + <enum name="RESOURCE_BARRIER_STAGE" prefix="RESOURCE_BARRIER_STAGE"> + <value name="None" value="0" /> + <value name="TOP" value="1" /> + <value name="Color" value="2" /> + <value name="Gpgpu" value="4" /> + <value name="Color and Compute" value="6" /> + <value name="Geom" value="16" /> + <value name="Geometry and Compute" value="20" /> + <value name="Raster" value="32" /> + <value name="Depth" value="64" /> + <value name="Pixel" value="128" /> + </enum> + <enum name="RESOURCE_BARRIER_TYPE" prefix="RESOURCE_BARRIER_TYPE"> + <value name="Immediate" value="0" /> + <value name="Signal" value="1" /> + <value name="Wait" value="2" /> + <value name="UAV" value="3" /> + </enum> + <enum name="UNIFIED_COMPRESSION_FORMAT"> + <value name="CMF_R8" value="0" /> + <value name="CMF_R8_G8" value="1" /> + <value name="CMF_R8_G8_B8_A8" value="2" /> + <value name="CMF_R10_G10_B10_A2" value="3" /> + <value name="CMF_R11_G11_B10" value="4" /> + <value name="CMF_R16" value="5" /> + <value name="CMF_R16_G16" value="6" /> + <value name="CMF_R16_G16_B16_A16" value="7" /> + <value name="CMF_R32" value="8" /> + <value name="CMF_R32_G32" value="9" /> + <value name="CMF_R32_G32_B32_A32" value="10" /> + <value name="CMF_Y16_U16_Y16_V16" value="11" /> + <value name="CMF_ML8" value="15" /> + </enum> + <struct name="INTERFACE_DESCRIPTOR_DATA" length="8"> + <field name="Kernel Start Pointer" dword="0" bits="31:6" type="offset" /> + <field name="Software Exception Enable" dword="2" bits="7:7" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="2" bits="13:13" type="bool" /> + <field name="Floating Point Mode" dword="2" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Single Program Flow" dword="2" bits="18:18" type="bool" /> + <field name="Denorm Mode" dword="2" bits="19:19" type="uint"> + <value name="Ftz" value="0" /> + <value name="SetByKernel" value="1" /> + </field> + <field name="Thread Preemption" dword="2" bits="20:20" type="bool" default="1" /> + <field name="Sampler Count" dword="3" bits="4:2" type="uint"> + <value name="No samplers used" value="0" /> + <value name="Between 1 and 4 samplers used" value="1" /> + <value name="Between 5 and 8 samplers used" value="2" /> + <value name="Between 9 and 12 samplers used" value="3" /> + <value name="Between 13 and 16 samplers used" value="4" /> + </field> + <field name="Sampler State Pointer" dword="3" bits="31:5" type="offset" /> + <field name="Binding Table Entry Count" dword="4" bits="4:0" type="uint" /> + <field name="Binding Table Pointer" dword="4" bits="20:5" type="offset" /> + <field name="Number of Threads in GPGPU Thread Group" dword="5" bits="9:0" type="uint" /> + <field name="Thread group forward progress guarantee" dword="5" bits="13:13" type="bool" /> + <field name="Shared Local Memory Size" dword="5" bits="20:16" type="uint"> + <value name="Encodes 0K" value="0" /> + <value name="Encodes 1K" value="1" /> + <value name="Encodes 2K" value="2" /> + <value name="Encodes 4K" value="3" /> + <value name="Encodes 8K" value="4" /> + <value name="Encodes 16K" value="5" /> + <value name="Encodes 32K" value="6" /> + <value name="Encodes 64K" value="7" /> + <value name="Encodes 96K" value="10" /> + <value name="Encodes 128K" value="11" /> + <value name="Encodes 192K" value="12" /> + <value name="Encodes 256K" value="13" /> + <value name="Encodes 384K" value="14" /> + </field> + <field name="Rounding Mode" dword="5" bits="23:22" type="uint"> + <value name="RTNE" value="0" /> + <value name="RU" value="1" /> + <value name="RD" value="2" /> + <value name="RTZ" value="3" /> + </field> + <field name="Thread Group Dispatch Size" dword="5" bits="27:26" type="uint"> + <value name="TG size 8" value="0" /> + <value name="TG size 4" value="1" /> + <value name="TG size 2" value="2" /> + <value name="TG size 1" value="3" /> + </field> + <field name="Number Of Barriers" dword="5" bits="30:28" type="uint" prefix="BARRIER_SIZE"> + <value name="NONE" value="0" /> + <value name="B1" value="1" /> + <value name="B2" value="2" /> + <value name="B4" value="3" /> + <value name="B8" value="4" /> + <value name="B16" value="5" /> + <value name="B24" value="6" /> + <value name="B32" value="7" /> + </field> + <field name="BTD Mode" dword="5" bits="31:31" type="uint" /> + <field name="Preferred SLM Allocation Size" dword="7" bits="3:0" type="PREF_SLM_ALLOCATION_SIZE" /> + </struct> + <struct name="POSTSYNC_DATA" length="5"> + <field name="Operation" dword="0" bits="1:0" type="uint" default="0"> + <value name="No Write" value="0" /> + <value name="Write Immediate Data" value="1" /> + <value name="Write Timestamp" value="3" /> + </field> + <field name="HDC Pipeline Flush" dword="0" bits="2:2" type="bool" /> + <field name="MOCS" dword="0" bits="10:4" type="uint" nonzero="true" /> + <field name="System Memory Fence Request" dword="0" bits="11:11" type="bool" /> + <field name="Dataport Subslice Cache Flush" dword="0" bits="12:12" type="bool" /> + <field name="Destination Address" dword="1" bits="63:0" type="address" /> + <field name="Immediate Data" dword="3" bits="63:0" type="uint" /> + </struct> + <struct name="COMPUTE_WALKER_BODY" length="39"> + <field name="Indirect Data Length" dword="1" bits="16:0" type="uint" /> + <field name="L3 prefetch disable" dword="1" bits="17:17" type="bool" /> + <field name="Partition Dispatch Parameter" dword="1" bits="29:18" type="uint" /> + <field name="Partition Type" dword="1" bits="31:30" type="uint"> + <value name="PartitionX" value="1" /> + <value name="PartitionY" value="2" /> + <value name="PartitionZ" value="3" /> + </field> + <field name="Indirect Data Start Address" dword="2" bits="31:6" type="offset" /> + <field name="Compute Dispatch All walker Enable" dword="3" bits="0:0" type="uint"> + <value name="Disabled" value="0" /> + <value name="Enabled" value="1" /> + </field> + <field name="Dispatch Walk Order" dword="3" bits="6:5" type="uint"> + <value name="Linear Walk" value="0" /> + <value name="Y order walk" value="1" /> + </field> + <field name="Message SIMD" dword="3" bits="18:17" type="uint"> + <value name="SIMT16" value="1" /> + <value name="SIMT32" value="2" /> + </field> + <field name="Tile Layout" dword="3" bits="21:19" type="uint"> + <value name="Linear" value="0" /> + <value name="TileY 32bpe" value="1" /> + <value name="TileY 64bpe" value="2" /> + <value name="TileY 128bpe" value="3" /> + </field> + <field name="Walk Order" dword="3" bits="24:22" type="uint"> + <value name="Walk 012" value="0" /> + <value name="Walk 021" value="1" /> + <value name="Walk 102" value="2" /> + <value name="Walk 120" value="3" /> + <value name="Walk 201" value="4" /> + <value name="Walk 210" value="5" /> + </field> + <field name="Emit Inline Parameter" dword="3" bits="25:25" type="bool" /> + <field name="Emit Local" dword="3" bits="28:26" type="uint"> + <value name="Emit None" value="0" /> + <value name="Emit X" value="1" /> + <value name="Emit XY" value="3" /> + <value name="Emit XYZ" value="7" /> + </field> + <field name="Generate Local ID" dword="3" bits="29:29" type="bool" /> + <field name="SIMD Size" dword="3" bits="31:30" type="uint"> + <value name="SIMT16" value="1" /> + <value name="SIMT32" value="2" /> + </field> + <field name="Execution Mask" dword="4" bits="31:0" type="uint" /> + <field name="Local X Maximum" dword="5" bits="9:0" type="uint" /> + <field name="Local Y Maximum" dword="5" bits="19:10" type="uint" /> + <field name="Local Z Maximum" dword="5" bits="29:20" type="uint" /> + <field name="Thread Group ID X Dimension" dword="6" bits="31:0" type="uint" /> + <field name="Thread Group ID Y Dimension" dword="7" bits="31:0" type="uint" /> + <field name="Thread Group ID Z Dimension" dword="8" bits="31:0" type="uint" /> + <field name="Thread Group ID Starting X" dword="9" bits="31:0" type="uint" /> + <field name="Thread Group ID Starting Y" dword="10" bits="31:0" type="uint" /> + <field name="Thread Group ID Starting Z" dword="11" bits="31:0" type="uint" /> + <field name="Partition ID" dword="12" bits="31:0" type="uint" /> + <field name="Partition Size" dword="13" bits="31:0" type="uint" /> + <field name="Preempt X" dword="14" bits="31:0" type="uint" /> + <field name="Preempt Y" dword="15" bits="31:0" type="uint" /> + <field name="Preempt Z" dword="16" bits="31:0" type="uint" /> + <field name="Walker ID" dword="17" bits="3:0" type="uint" /> + <field name="Over dispatch TG count" dword="17" bits="23:8" type="uint" /> + <field name="Interface Descriptor" dword="18" bits="255:0" type="INTERFACE_DESCRIPTOR_DATA" /> + <field name="Post Sync" dword="26" bits="159:0" type="POSTSYNC_DATA" /> + <group count="8" dword="31" size="32"> + <field name="Inline Data" dword="0" bits="31:0" type="uint" /> + </group> + </struct> + <struct name="RENDER_SURFACE_STATE" length="16"> + <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 Cache" value="0" /> + <value name="Read-Write Cache" value="1" /> + </field> + <field name="Enable Sampler Route to LSC" dword="0" bits="9:9" type="bool" /> + <field name="Vertical Line Stride Offset" dword="0" bits="10:10" type="uint" /> + <field name="Vertical Line Stride" dword="0" bits="11:11" type="uint" /> + <field name="Tile Mode" dword="0" bits="13:12" type="uint"> + <value name="LINEAR" value="0" /> + <value name="TILE64" value="1" /> + <value name="XMAJOR" value="2" /> + <value name="TILE4" value="3" /> + </field> + <field name="Surface Horizontal Alignment" dword="0" bits="15:14" type="uint"> + <value name="HALIGN_16" value="0" /> + <value name="HALIGN_32" value="1" /> + <value name="HALIGN_64" value="2" /> + <value name="HALIGN_128" value="3" /> + </field> + <field name="Surface Vertical Alignment" dword="0" bits="17:16" type="uint"> + <value name="VALIGN_4" value="1" /> + <value name="VALIGN_8" value="2" /> + <value name="VALIGN_16" value="3" /> + </field> + <field name="Surface Format" dword="0" bits="26:18" type="uint" /> + <field name="Surface Array" dword="0" bits="28:28" type="bool" /> + <field name="Surface Type" dword="0" bits="31:29" type="STATE_SURFACE_TYPE" /> + <field name="Surface QPitch" dword="1" bits="14:0" type="uint" /> + <field name="Sample Tap Discard Disable" dword="1" bits="15:15" type="bool" /> + <field name="Corner Texel Mode" dword="1" bits="18:18" type="bool" /> + <field name="Base Mip Level" dword="1" bits="23:19" type="uint" /> + <field name="MOCS" dword="1" bits="30:24" type="uint" nonzero="true" /> + <field name="Width" dword="2" bits="13:0" type="uint" /> + <field name="Height" dword="2" bits="29:16" type="uint" /> + <field name="Depth Stencil Resource" dword="2" bits="31:31" type="bool" /> + <field name="Surface Pitch" dword="3" bits="17:0" type="uint" /> + <field name="Depth" dword="3" bits="31:21" type="uint" /> + <field name="Multisample Position Palette Index" dword="4" bits="2:0" type="uint" /> + <field name="Number of Multisamples" dword="4" bits="5:3" type="uint"> + <value name="MULTISAMPLECOUNT_1" value="0" /> + <value name="MULTISAMPLECOUNT_2" value="1" /> + <value name="MULTISAMPLECOUNT_4" value="2" /> + <value name="MULTISAMPLECOUNT_8" value="3" /> + <value name="MULTISAMPLECOUNT_16" value="4" /> + </field> + <field name="Multisampled Surface Storage Format" dword="4" bits="6:6" type="uint"> + <value name="MSFMT_MSS" value="0" /> + <value name="MSFMT_DEPTH_STENCIL" value="1" /> + </field> + <field name="Render Target View Extent" dword="4" bits="17:7" type="uint" /> + <field name="Minimum Array Element" dword="4" bits="28:18" type="uint" /> + <field name="Render Target And Sample Unorm Rotation" dword="4" bits="30:29" type="uint"> + <value name="0DEG" value="0" /> + <value name="90DEG" value="1" /> + <value name="180DEG" value="2" /> + <value name="270DEG" value="3" /> + </field> + <field name="MIP Count / LOD" dword="5" bits="3:0" type="uint" /> + <field name="Surface Min LOD" dword="5" bits="7:4" type="uint" /> + <field name="Mip Tail Start LOD" dword="5" bits="11:8" type="uint" /> + <field name="L1 Cache Control" dword="5" bits="18:16" type="L1_CACHE_CONTROL" /> + <field name="EWA Disable For Cube" dword="5" bits="20:20" type="bool" /> + <field name="Y Offset" dword="5" bits="23:21" type="uint" /> + <field name="X Offset" dword="5" bits="31:25" type="uint" /> + <field name="Auxiliary Surface Mode" dword="6" bits="2:0" type="uint"> + <value name="AUX_NONE" value="0" /> + <value name="AUX_APPEND" value="1" /> + <value name="AUX_MCS" value="2" /> + </field> + <field name="Y Offset for U or UV Plane" dword="6" bits="13:0" type="uint" /> + <field name="Auxiliary Surface Pitch" dword="6" bits="12:3" type="uint" /> + <field name="YUV Interpolation Enable" dword="6" bits="15:15" type="bool" /> + <field name="X Offset for U or UV Plane" dword="6" bits="29:16" type="uint" /> + <field name="Auxiliary Surface QPitch" dword="6" bits="30:16" type="uint" /> + <field name="Resource Min LOD" dword="7" bits="11:0" type="u4.8" /> + <field name="Shader Channel Select Alpha" dword="7" bits="18:16" type="Shader Channel Select" /> + <field name="Shader Channel Select Blue" dword="7" bits="21:19" type="Shader Channel Select" /> + <field name="Shader Channel Select Green" dword="7" bits="24:22" type="Shader Channel Select" /> + <field name="Shader Channel Select Red" dword="7" bits="27:25" type="Shader Channel Select" /> + <field name="Surface Base Address" dword="8" bits="63:0" type="address" /> + <field name="Mip Region Width In Log2" dword="10" bits="3:0" type="uint" /> + <field name="Append Counter Address" dword="10" bits="63:2" type="address" /> + <field name="Mip Region Height In Log2" dword="10" bits="7:4" type="uint" /> + <field name="Procedural Texture" dword="10" bits="11:11" type="bool" /> + <field name="Auxiliary Surface Base Address" dword="10" bits="63:12" type="address" /> + <field name="Y Offset for V Plane" dword="11" bits="13:0" type="uint" /> + <field name="X Offset for V Plane" dword="11" bits="29:16" type="uint" /> + <field name="Compression Format" dword="12" bits="3:0" type="UNIFIED_COMPRESSION_FORMAT" /> + <field name="Mip Region Depth In Log2" dword="12" bits="7:4" type="uint" /> + <field name="Disallowlowqualityfiltering" dword="13" bits="31:31" type="bool" /> + </struct> + <struct name="RESOURCE_BARRIER_BODY" length="4"> + <field name="Wait Stage" dword="0" bits="11:0" type="RESOURCE_BARRIER_STAGE" /> + <field name="Signal Stage" dword="0" bits="23:12" type="RESOURCE_BARRIER_STAGE" /> + <field name="Barrier Type" dword="0" bits="31:30" type="RESOURCE_BARRIER_TYPE" /> + <field name="L1 Dataport Cache Invalidate" dword="1" bits="21:21" type="bool" /> + <field name="Depth Cache" dword="1" bits="22:22" type="bool" /> + <field name="Color Cache" dword="1" bits="23:23" type="bool" /> + <field name="L1 Dataport UAV Flush" dword="1" bits="24:24" type="bool" /> + <field name="Texture (RO)" dword="1" bits="25:25" type="bool" /> + <field name="State (RO)" dword="1" bits="26:26" type="bool" /> + <field name="VF (RO)" dword="1" bits="27:27" type="bool" /> + <field name="AMFS" dword="1" bits="28:28" type="bool" /> + <field name="Constant Cache" dword="1" bits="29:29" type="bool" /> + <field name="Barrier ID Address" dword="2" bits="63:3" type="address" /> + </struct> + <instruction name="3DSTATE_3D_MODE" bias="2" length="5" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="3" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="30" /> + <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="Cross Slice Hashing Mode" dword="1" bits="1:0" type="uint"> + <value name="Normal Mode" value="0" /> + <value name="Disable" value="1" /> + <value name="hashing 32x32" value="3" /> + </field> + <field name="3D Scoreboard Hashing Mode" dword="1" bits="4:4" type="bool" /> + <field name="Subslice Hashing Table Enable" dword="1" bits="5:5" type="bool" /> + <field name="Slice Hashing Table Enable" dword="1" bits="6:6" type="bool" /> + <field name="DX10 OGL Border Mode for YCRCB" dword="1" bits="10:10" type="bool" /> + <field name="Enable OOO reads in RCPB" dword="1" bits="11:11" type="bool" /> + <field name="Cross Slice Hashing Mode Mask" dword="1" bits="17:16" type="int" /> + <field name="3D Scoreboard Hashing Mode Mask" dword="1" bits="20:20" type="bool" /> + <field name="Subslice Hashing Table Enable Mask" dword="1" bits="21:21" type="bool" /> + <field name="Slice Hashing Table Enable Mask" dword="1" bits="22:22" type="bool" /> + <field name="DX10 OGL Border Mode for YCRCB Mask" dword="1" bits="26:26" type="bool" /> + <field name="Enable OOO reads in RCPB Mask" dword="1" bits="27:27" type="bool" /> + <field name="AMFS MOCS" dword="2" bits="6:0" type="uint" /> + <field name="State Cache redirect to CS section enable" dword="2" bits="9:9" type="bool" /> + <field name="AMFS MOCS Mask" dword="2" bits="22:16" type="uint" /> + <field name="State Cache redirect to CS section enable Mask" dword="2" bits="25:25" type="bool" /> + <field name="RCC RHWO Optimization Disable" dword="3" bits="15:15" type="bool" /> + <field name="RCC RHWO Optimization Disable Mask" dword="3" bits="31:31" type="bool" /> + </instruction> + <instruction name="3DSTATE_BTD" bias="2" length="6" engine="render|compute"> + <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="6" /> + <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="Dispatch Timeout Counter" dword="1" bits="2:0" type="uint"> + <value name="64 clocks" value="0" /> + <value name="128 clocks" value="1" /> + <value name="192 clocks" value="2" /> + <value name="256 clocks" value="3" /> + <value name="512 clocks" value="4" /> + <value name="1024 clocks" value="5" /> + <value name="2048 clocks" value="6" /> + <value name="4096 clocks" value="7" /> + </field> + <field name="Controls the maximum number of outstanding Ray Queries per SS" dword="1" bits="8:7" type="uint" prefix="RAYS_QUERIES_OUTSTANDING"> + <value name="128" value="0" /> + <value name="256" value="1" /> + <value name="512" value="2" /> + <value name="1024" value="3" /> + </field> + <field name="BTD Mid thread preemption" dword="1" bits="31:31" type="bool" default="1" /> + <field name="Per DSS Memory Backed Buffer Size" dword="2" bits="2:0" type="uint" default="6"> + <value name="2KB" value="0" /> + <value name="4KB" value="1" /> + <value name="8KB" value="2" /> + <value name="16KB" value="3" /> + <value name="32KB" value="4" /> + <value name="64KB" value="5" /> + <value name="128KB" value="6" /> + </field> + <field name="Memory Backed Buffer Base Pointer" dword="2" bits="63:10" type="address" /> + <field name="Scratch Space Buffer" dword="4" bits="31:10" type="uint" /> + </instruction> + <instruction name="3DSTATE_CLIP" bias="2" length="4" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="2" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="18" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="User Clip Distance Cull Test Enable Bitmask" dword="1" bits="7:0" type="uint" /> + <field name="Statistics Enable" dword="1" bits="10:10" type="bool" /> + <field name="Force Clip Mode" dword="1" bits="16:16" type="bool" /> + <field name="Force User Clip Distance Clip Test Enable Bitmask" dword="1" bits="17:17" type="bool" /> + <field name="Early Cull Enable" dword="1" bits="18:18" type="bool" /> + <field name="Vertex Sub Pixel Precision Select" dword="1" bits="19:19" type="uint"> + <value name="8 Bit" value="0" /> + <value name="4 Bit" value="1" /> + </field> + <field name="Force User Clip Distance Cull Test Enable Bitmask" dword="1" bits="20:20" type="bool" /> + <field name="Triangle Fan Provoking Vertex Select" dword="2" bits="1:0" type="uint" /> + <field name="Line Strip/List Provoking Vertex Select" dword="2" bits="3:2" type="uint" /> + <field name="Triangle Strip/List Provoking Vertex Select" dword="2" bits="5:4" type="uint" /> + <field name="Triangle Strip Odd Provoking Vertex Select" dword="2" bits="7:6" type="uint" /> + <field name="Non-Perspective Barycentric Enable" dword="2" bits="8:8" type="bool" /> + <field name="Perspective Divide Disable" dword="2" bits="9:9" type="bool" /> + <field name="Clip Mode" dword="2" bits="15:13" type="uint"> + <value name="CLIPMODE_NORMAL" value="0" /> + <value name="CLIPMODE_REJECT_ALL" value="3" /> + <value name="CLIPMODE_ACCEPT_ALL" value="4" /> + </field> + <field name="User Clip Distance Clip Test Enable Bitmask" dword="2" bits="23:16" type="uint" /> + <field name="Guardband Clip Test Enable" dword="2" bits="26:26" type="bool" /> + <field name="Viewport XY Clip Test Enable" dword="2" bits="28:28" type="bool" /> + <field name="API Mode" dword="2" bits="30:30" type="uint"> + <value name="APIMODE_OGL" value="0" /> + <value name="APIMODE_D3D" value="1" /> + </field> + <field name="Clip Enable" dword="2" bits="31:31" type="bool" /> + <field name="Maximum VP Index" dword="3" bits="3:0" type="uint" /> + <field name="Force Zero RTA Index Enable" dword="3" bits="5:5" type="bool" /> + <field name="Maximum Point Width" dword="3" bits="16:6" type="u8.3" /> + <field name="Minimum Point Width" dword="3" bits="27:17" type="u8.3" /> + </instruction> + <instruction name="3DSTATE_CPSIZE_CONTROL_BUFFER" 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="131" /> + <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="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 Type" dword="1" bits="31:29" type="uint" /> + <field name="Surface Base Address" dword="2" bits="63:0" type="address" /> + <field name="Width" dword="4" bits="14:1" type="uint" /> + <field name="Height" dword="4" bits="30:17" type="uint" /> + <field name="MOCS" dword="5" bits="6:0" type="uint" /> + <field name="Minimum Array Element" dword="5" bits="18:8" type="uint" /> + <field name="Depth" dword="5" bits="30:20" type="uint" /> + <field name="Compression Format" dword="6" bits="3:0" type="UNIFIED_COMPRESSION_FORMAT" /> + <field name="Mip Tail Start LOD" dword="6" bits="29:26" type="uint" /> + <field name="Tiled Mode" dword="6" bits="31:30" type="uint"> + <value name="TILE64" value="1" /> + <value name="TILE4" value="3" /> + </field> + <field name="Surface QPitch" dword="7" bits="14:0" type="uint" /> + <field name="Surf LOD" dword="7" bits="19:16" type="uint" /> + <field name="Render Target View Extent" dword="7" bits="31:21" type="uint" /> + </instruction> + <instruction name="3DSTATE_DEPTH_BUFFER" 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="5" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Surface Pitch" dword="1" bits="17:0" type="uint" /> + <field name="Hierarchical Depth Buffer Enable" dword="1" bits="22:22" type="bool" /> + <field name="Corner Texel Mode" dword="1" bits="23:23" type="bool" /> + <field name="Surface Format" dword="1" bits="26:24" type="uint"> + <value name="D32_FLOAT" value="1" /> + <value name="D24_UNORM_X8_UINT" value="3" /> + <value name="D16_UNORM" value="5" /> + </field> + <field name="Null Page Coherency Enable" dword="1" bits="27:27" type="bool" /> + <field name="Depth Write Enable" dword="1" bits="28:28" type="bool" /> + <field name="Surface Type" dword="1" bits="31:29" type="uint"> + <value name="SURFTYPE_2D" value="1" /> + <value name="SURFTYPE_CUBE" value="3" /> + <value name="SURFTYPE_NULL" value="7" /> + </field> + <field name="Surface Base Address" dword="2" bits="63:0" type="address" /> + <field name="Width" dword="4" bits="14:1" type="uint" /> + <field name="Height" dword="4" bits="30:17" type="uint" /> + <field name="MOCS" dword="5" bits="6:0" type="uint" nonzero="true" /> + <field name="Minimum Array Element" dword="5" bits="18:8" type="uint" /> + <field name="Depth" dword="5" bits="30:20" type="uint" /> + <field name="Render Compression Format" dword="6" bits="3:0" type="UNIFIED_COMPRESSION_FORMAT" /> + <field name="Mip Tail Start LOD" dword="6" bits="29:26" type="uint" /> + <field name="Tiled Mode" dword="6" bits="31:30" type="uint"> + <value name="TILE64" value="1" /> + <value name="TILE4" value="3" /> + </field> + <field name="Surface QPitch" dword="7" bits="14:0" type="uint" /> + <field name="LOD" dword="7" bits="19:16" type="uint" /> + <field name="Render Target View Extent" dword="7" bits="31:21" type="uint" /> + </instruction> + <instruction name="3DSTATE_DRAWING_RECTANGLE_FAST" bias="2" length="4" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="2" /> + <field name="Core Mode Select" dword="0" bits="15:14" type="uint"> + <value name="Legacy" value="0" /> + <value name="Core 0 Enabled" value="1" /> + <value name="Core 1 Enabled" value="2" /> + </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="0" /> + <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="Clipped Drawing Rectangle X Min" dword="1" bits="15:0" type="uint" /> + <field name="Clipped Drawing Rectangle Y Min" dword="1" bits="31:16" type="uint" /> + <field name="Clipped Drawing Rectangle X Max" dword="2" bits="15:0" type="uint" /> + <field name="Clipped Drawing Rectangle Y Max" dword="2" bits="31:16" type="uint" /> + <field name="Drawing Rectangle Origin X" dword="3" bits="15:0" type="int" /> + <field name="Drawing Rectangle Origin Y" dword="3" bits="31:16" type="int" /> + </instruction> + <instruction name="3DSTATE_GS" bias="2" length="10" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="8" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="17" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Kernel Start Pointer" dword="1" bits="63:6" type="offset" /> + <field name="Expected Vertex Count" dword="3" bits="5:0" type="uint" /> + <field name="Software Exception Enable" dword="3" bits="7:7" type="bool" /> + <field name="Mask Stack Exception Enable" dword="3" bits="11:11" type="bool" /> + <field name="Accesses UAV" dword="3" bits="12:12" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="3" bits="13:13" type="bool" /> + <field name="Floating Point Mode" dword="3" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Thread Dispatch Priority" dword="3" bits="17:17" type="uint"> + <value name="Normal" value="0" /> + <value name="High" value="1" /> + </field> + <field name="Binding Table Entry Count" dword="3" bits="25:18" type="uint" /> + <field name="Sampler Count" dword="3" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Vector Mask Enable" dword="3" bits="30:30" type="uint"> + <value name="Dmask" value="0" /> + </field> + <field name="Single Program Flow" dword="3" bits="31:31" type="bool" /> + <field name="Scratch Space Buffer" dword="4" bits="31:10" type="uint" /> + <field name="Dispatch GRF Start Register For URB Data" dword="6" bits="3:0" type="uint" /> + <field name="Vertex URB Entry Read Offset" dword="6" bits="9:4" type="uint" /> + <field name="Include Vertex Handles" dword="6" bits="10:10" type="bool" /> + <field name="Vertex URB Entry Read Length" dword="6" bits="16:11" type="uint" /> + <field name="Output Topology" dword="6" bits="22:17" type="3D_Prim_Topo_Type" /> + <field name="Output Vertex Size" dword="6" bits="28:23" type="uint" /> + <field name="Dispatch GRF Start Register For URB Data [5:4]" dword="6" bits="30:29" type="uint" /> + <field name="Enable" dword="7" bits="0:0" type="bool" /> + <field name="Discard Adjacency" dword="7" bits="1:1" type="bool" /> + <field name="Reorder Mode" dword="7" bits="2:2" type="uint"> + <value name="LEADING" value="0" /> + <value name="TRAILING" value="1" /> + </field> + <field name="Hint" dword="7" bits="3:3" type="bool" /> + <field name="Include Primitive ID" dword="7" bits="4:4" type="bool" /> + <field name="Invocations Increment Value" dword="7" bits="9:5" type="uint" /> + <field name="Statistics Enable" dword="7" bits="10:10" type="bool" /> + <field name="Default Stream Id" dword="7" bits="14:13" type="uint" /> + <field name="Instance Control" dword="7" bits="19:15" type="uint" /> + <field name="Control Data Header Size" dword="7" bits="23:20" type="uint" /> + <field name="Maximum Number of Threads" dword="8" bits="8:0" type="uint" /> + <field name="Static Output Vertex Count" dword="8" bits="26:16" type="uint" /> + <field name="Static Output" dword="8" bits="30:30" type="bool" /> + <field name="Control Data Format" dword="8" bits="31:31" type="uint"> + <value name="CUT" value="0" /> + <value name="SID" value="1" /> + </field> + <field name="User Clip Distance Cull Test Enable Bitmask" dword="9" bits="7:0" type="uint" /> + <field name="User Clip Distance Clip Test Enable Bitmask" dword="9" bits="15:8" type="uint" /> + <field name="Vertex URB Entry Output Length" dword="9" bits="20:16" type="uint" /> + <field name="Vertex URB Entry Output Read Offset" dword="9" bits="26:21" type="uint" /> + </instruction> + <instruction name="3DSTATE_HS" 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="27" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Patch Count Threshold" dword="1" bits="3:0" type="uint" /> + <field name="Software Exception Enable" dword="1" bits="12:12" 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"> + <value name="IEEE-754" value="0" /> + <value name="alternate" value="1" /> + </field> + <field name="Thread Dispatch 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="Sampler Count" dword="1" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Instance Count" dword="2" bits="4:0" type="uint" /> + <field name="Maximum Number of Threads" dword="2" bits="16:8" type="uint" /> + <field name="Statistics Enable" dword="2" bits="29:29" type="bool" /> + <field name="Enable" dword="2" bits="31:31" type="bool" /> + <field name="Kernel Start Pointer" dword="3" bits="63:6" type="offset" /> + <field name="Scratch Space Buffer" dword="5" bits="31:10" type="uint" /> + <field name="Include Primitive ID" dword="7" bits="0:0" type="bool" /> + <field name="Vertex URB Entry Read Offset" dword="7" bits="9:4" type="uint" /> + <field name="Vertex URB Entry Read Length" dword="7" bits="16:11" type="uint" /> + <field name="Dispatch GRF Start Register For URB Data" dword="7" bits="23:19" type="uint" /> + <field name="Include Vertex Handles" dword="7" bits="24:24" type="bool" /> + <field name="Accesses UAV" dword="7" bits="25:25" type="bool" /> + <field name="Vector Mask Enable" dword="7" bits="26:26" type="uint"> + <value name="Dmask" value="0" /> + </field> + <field name="Single Program Flow" dword="7" bits="27:27" type="bool" /> + <field name="Dispatch GRF Start Register For URB Data [5]" dword="7" bits="28:28" type="uint" /> + </instruction> + <instruction name="3DSTATE_MESH_CONTROL" 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="119" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Maximum Number of ThreadGroups" dword="1" bits="8:0" type="uint" /> + <field name="VP and RTA Index Autostrip Enable" dword="1" bits="27:27" type="bool" /> + <field name="Thread Dispatch Priority" dword="1" bits="28:28" type="uint"> + <value name="High" value="1" /> + </field> + <field name="Fused EU Dispatch" dword="1" bits="29:29" type="bool" /> + <field name="Statistics Enable" dword="1" bits="30:30" type="bool" /> + <field name="MeshShader Enable" dword="1" bits="31:31" type="uint" /> + <field name="Scratch Space Buffer" dword="2" bits="31:10" type="uint" /> + </instruction> + <instruction name="3DSTATE_PS" bias="2" length="12" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="10" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="32" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Kernel 0 Enable" dword="1" bits="0:0" type="bool" /> + <field name="Kernel[0] : SIMD Width" dword="1" bits="1:1" type="uint" prefix="PS"> + <value name="SIMD16" value="0" /> + <value name="SIMD32" value="1" /> + </field> + <field name="Kernel Start Pointer 0" dword="1" bits="63:6" type="offset" /> + <field name="Software Exception Enable" dword="3" bits="7:7" type="bool" /> + <field name="Mask Stack Exception Enable" dword="3" bits="11:11" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="3" bits="13:13" type="bool" /> + <field name="Rounding Mode" dword="3" bits="15:14" type="uint"> + <value name="RTNE" value="0" /> + <value name="RU" value="1" /> + <value name="RD" value="2" /> + <value name="RTZ" value="3" /> + </field> + <field name="Floating Point Mode" dword="3" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Thread Dispatch Priority" dword="3" bits="17:17" type="uint"> + <value name="Normal" value="0" /> + <value name="High" value="1" /> + </field> + <field name="Binding Table Entry Count" dword="3" bits="25:18" type="uint" /> + <field name="Single Precision Denormal Mode" dword="3" bits="26:26" type="uint"> + <value name="Flushed to Zero" value="0" /> + <value name="Retained" value="1" /> + </field> + <field name="Sampler Count" dword="3" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Vector Mask Enable" dword="3" bits="30:30" type="uint"> + <value name="Dmask" value="0" /> + <value name="Vmask" value="1" /> + </field> + <field name="Single Program Flow" dword="3" bits="31:31" type="uint"> + <value name="Multiple" value="0" /> + <value name="Single" value="1" /> + </field> + <field name="Scratch Space Buffer" dword="4" bits="31:10" type="uint" /> + <field name="Position XY Offset Select" dword="6" bits="4:3" type="uint"> + <value name="POSOFFSET_NONE" value="0" /> + <value name="POSOFFSET_CENTROID" value="2" /> + <value name="POSOFFSET_SAMPLE" value="3" /> + </field> + <field name="Render Target Resolve Type" dword="6" bits="7:6" type="uint"> + <value name="RESOLVE_DISABLED" value="0" /> + </field> + <field name="Render Target Fast Clear Enable" dword="6" bits="8:8" type="bool" /> + <field name="Overlapping Subspans Enable" dword="6" bits="9:9" type="bool" /> + <field name="3D Scoreboard Address Size select" dword="6" bits="10:10" type="uint"> + <value name="2x2" value="0" /> + <value name="4x2" value="1" /> + </field> + <field name="Clear/Resolve BTI for Render Target" dword="6" bits="19:12" type="uint" /> + <field name="Pixel Scoreboard Disable" dword="6" bits="21:21" type="bool" /> + <field name="Maximum Number of Threads Per PSD" dword="6" bits="31:23" type="uint" /> + <field name="Dispatch GRF Start Register For Constant/Setup Data 1" dword="7" bits="15:8" type="uint" /> + <field name="Dispatch GRF Start Register For Constant/Setup Data 0" dword="7" bits="23:16" type="uint" /> + <field name="Kernel[0] : Poly Packing Policy" dword="7" bits="26:24" type="uint"> + <value name="POLY_PACK4_DYNAMIC" value="0" /> + <value name="POLY_PACK8_DYNAMIC" value="1" /> + <value name="POLY_PACK16_DYNAMIC" value="2" /> + <value name="POLY_PACK16_FIXED" value="3" /> + <value name="POLY_PACK8_FIXED" value="4" /> + </field> + <field name="Kernel[0] : Maximum Polys per Thread" dword="7" bits="29:27" type="uint" /> + <field name="Kernel 1 Selection Priority" dword="7" bits="31:31" type="uint"> + <value name="PRI_SIMD" value="0" /> + <value name="PRI_POLY" value="1" /> + </field> + <field name="Kernel 1 Enable" dword="8" bits="0:0" type="bool" /> + <field name="Kernel[1] : SIMD Width" dword="8" bits="1:1" type="uint" prefix="PS"> + <value name="SIMD16" value="0" /> + <value name="SIMD32" value="1" /> + </field> + <field name="Kernel Start Pointer 1" dword="8" bits="63:6" type="offset" /> + </instruction> + <instruction name="3DSTATE_PS_EXTRA" bias="2" length="2" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="79" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Input Coverage Mask State" dword="1" bits="1:0" type="uint" prefix="ICMS"> + <value name="NONE" value="0" /> + <value name="NORMAL" value="1" /> + <value name="INNER_CONSERVATIVE" value="2" /> + <value name="DEPTH_COVERAGE" value="3" /> + </field> + <field name="Pixel Shader Has UAV" dword="1" bits="2:2" type="bool" /> + <field name="Pixel Shader Is Per Coarse Pixel" dword="1" bits="4:4" type="bool" /> + <field name="Pixel Shader Computes Stencil" dword="1" bits="5:5" type="bool" /> + <field name="Pixel Shader Is Per Sample" dword="1" bits="6:6" type="bool" /> + <field name="Pixel Shader Disables Alpha To Coverage" dword="1" bits="7:7" type="bool" /> + <field name="Simple PS Hint" dword="1" bits="9:9" type="bool" /> + <field name="Pixel Shader Requires Centroid Offsets" dword="1" bits="16:16" type="bool" /> + <field name="Enable PS Dependency On CPsize Change" dword="1" bits="17:17" type="bool" /> + <field name="Pixel Shader Requires Subpixel Sample Offsets" dword="1" bits="18:18" type="bool" /> + <field name="Pixel Shader Requires Non-Perspective Bary Plane Coefficients" dword="1" bits="19:19" type="bool" /> + <field name="Pixel Shader Requires Perspective Bary Plane Coefficients" dword="1" bits="20:20" type="bool" /> + <field name="Pixel Shader Requires Source Depth and/or W Plane Coefficients" dword="1" bits="21:21" type="bool" /> + <field name="Pixel Shader Requires Requested Coarse Pixel Shading Size" dword="1" bits="22:22" type="bool" /> + <field name="Pixel Shader Uses Source W" dword="1" bits="23:23" type="bool" /> + <field name="Pixel Shader Uses Source Depth" dword="1" bits="24:24" type="bool" /> + <field name="Force Computed Depth" dword="1" bits="25:25" type="bool" /> + <field name="Pixel Shader Computed Depth Mode" dword="1" bits="27:26" type="uint"> + <value name="PSCDEPTH_OFF" value="0" /> + <value name="PSCDEPTH_ON" value="1" /> + <value name="PSCDEPTH_ON_GE" value="2" /> + <value name="PSCDEPTH_ON_LE" value="3" /> + </field> + <field name="Pixel Shader Kills Pixel" dword="1" bits="28:28" type="bool" /> + <field name="oMask Present to Render Target" dword="1" bits="29:29" type="bool" /> + <field name="Pixel Shader Does not write to RT" dword="1" bits="30:30" type="mbz" /> + <field name="Pixel Shader Valid" dword="1" bits="31:31" type="bool" /> + </instruction> + <instruction name="3DSTATE_RASTER" bias="2" length="5" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="3" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="80" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Viewport Z Near Clip Test Enable" dword="1" bits="0:0" type="bool" /> + <field name="Scissor Rectangle Enable" dword="1" bits="1:1" type="bool" /> + <field name="Antialiasing Enable" dword="1" bits="2:2" type="bool" /> + <field name="Back Face Fill Mode" dword="1" bits="4:3" type="uint" prefix="FILL_MODE"> + <value name="SOLID" value="0" /> + <value name="WIREFRAME" value="1" /> + <value name="POINT" value="2" /> + </field> + <field name="Front Face Fill Mode" dword="1" bits="6:5" type="uint" prefix="FILL_MODE"> + <value name="SOLID" value="0" /> + <value name="WIREFRAME" value="1" /> + <value name="POINT" value="2" /> + </field> + <field name="Global Depth Offset Enable Point" dword="1" bits="7:7" type="bool" /> + <field name="Global Depth Offset Enable Wireframe" dword="1" bits="8:8" type="bool" /> + <field name="Global Depth Offset Enable Solid" dword="1" bits="9:9" type="bool" /> + <field name="DX Multisample Rasterization Mode" dword="1" bits="11:10" type="uint"> + <value name="MSRASTMODE_ OFF_PIXEL" value="0" /> + <value name="MSRASTMODE_ OFF_PATTERN" value="1" /> + <value name="MSRASTMODE_ ON_PIXEL" value="2" /> + <value name="MSRASTMODE_ ON_PATTERN" value="3" /> + </field> + <field name="DX Multisample Rasterization Enable" dword="1" bits="12:12" type="bool" /> + <field name="Smooth Point Enable" dword="1" bits="13:13" type="bool" /> + <field name="Force Multisampling" dword="1" bits="14:14" type="uint" /> + <field name="Cull Mode" dword="1" bits="17:16" 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="Forced Sample Count" dword="1" bits="20:18" type="uint" prefix="FSC"> + <value name="NUMRASTSAMPLES_0" value="0" /> + <value name="NUMRASTSAMPLES_1" value="1" /> + <value name="NUMRASTSAMPLES_2" value="2" /> + <value name="NUMRASTSAMPLES_4" value="3" /> + <value name="NUMRASTSAMPLES_8" value="4" /> + <value name="NUMRASTSAMPLES_16" value="5" /> + </field> + <field name="Front Winding" dword="1" bits="21:21" type="uint"> + <value name="Clockwise" value="0" /> + <value name="Counter Clockwise" value="1" /> + </field> + <field name="API Mode" dword="1" bits="23:22" type="uint"> + <value name="DX9/OGL" value="0" /> + <value name="DX10.0" value="1" /> + <value name="DX10.1+" value="2" /> + </field> + <field name="Conservative Rasterization Enable" dword="1" bits="24:24" type="bool" /> + <field name="Viewport Z Far Clip Test Enable" dword="1" bits="26:26" type="bool" /> + <field name="Legacy Bary Assignment Disable=" dword="1" bits="27:27" type="bool" /> + <field name="Global Depth Offset Constant" dword="2" bits="31:0" type="float" /> + <field name="Global Depth Offset Scale" dword="3" bits="31:0" type="float" /> + <field name="Global Depth Offset Clamp" dword="4" bits="31:0" type="float" /> + </instruction> + <instruction name="3DSTATE_SBE" 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="31" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Primitive ID Override Attribute Select" dword="1" bits="4:0" type="uint" /> + <field name="Vertex URB Entry Read Offset" dword="1" bits="10:5" type="uint" /> + <field name="Vertex URB Entry Read Length" dword="1" bits="15:11" type="uint" /> + <field name="Primitive ID Override Component X" dword="1" bits="16:16" type="bool" /> + <field name="Primitive ID Override Component Y" dword="1" bits="17:17" type="bool" /> + <field name="Primitive ID Override Component Z" dword="1" bits="18:18" type="bool" /> + <field name="Primitive ID Override Component W" dword="1" bits="19:19" type="bool" /> + <field name="Point Sprite Texture Coordinate Origin" dword="1" bits="20:20" type="uint"> + <value name="UPPERLEFT" value="0" /> + <value name="LOWERLEFT" value="1" /> + </field> + <field name="Attribute Swizzle Enable" dword="1" bits="21:21" type="bool" /> + <field name="Number of SF Output Attributes" dword="1" bits="27:22" type="uint" /> + <field name="Force Vertex URB Entry Read Offset" dword="1" bits="28:28" type="bool" /> + <field name="Force Vertex URB Entry Read Length" dword="1" bits="29:29" type="bool" /> + <field name="Vertex Attributes Bypass" dword="1" bits="31:31" type="bool" /> + <field name="Point Sprite Texture Coordinate Enable" dword="2" bits="31:0" type="uint" /> + <field name="Constant Interpolation Enable" dword="3" bits="31:0" type="uint" /> + <group count="32" dword="4" size="2"> + <field name="Attribute Active Component Format" dword="0" bits="1:0" type="uint" prefix="ACTIVE_COMPONENT"> + <value name="DISABLED" value="0" /> + <value name="XY" value="1" /> + <value name="XYZ" value="2" /> + <value name="XYZW" value="3" /> + </field> + </group> + </instruction> + <instruction name="3DSTATE_SF" bias="2" length="4" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="2" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="19" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Viewport Transform Enable" dword="1" bits="1:1" type="bool" /> + <field name="Statistics Enable" dword="1" bits="10:10" type="bool" /> + <field name="Legacy Global Depth Bias Enable" dword="1" bits="11:11" type="bool" /> + <field name="Line Width" dword="1" bits="29:12" type="u11.7" /> + <field name="Line End Cap Antialiasing Region Width" dword="2" 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="Deref Block Size" dword="2" bits="30:29" type="uint"> + <value name="Block Deref Size 32" value="0" /> + <value name="Per Poly Deref Mode" value="1" /> + <value name="Block Deref Size 8" value="2" /> + <value name="Mesh Shader EODB" value="3" /> + </field> + <field name="Point Width" dword="3" bits="10:0" type="u8.3" /> + <field name="Point Width Source" dword="3" bits="11:11" type="uint"> + <value name="Vertex" value="0" /> + <value name="State" value="1" /> + </field> + <field name="Vertex Sub Pixel Precision Select" dword="3" bits="12:12" type="uint"> + <value name="8 Bit" value="0" /> + <value name="4 Bit" value="1" /> + </field> + <field name="Smooth Point Enable" dword="3" bits="13:13" type="bool" /> + <field name="AA Line Distance Mode" dword="3" bits="14:14" type="uint"> + <value name="AALINEDISTANCE_TRUE" value="1" /> + </field> + <field name="Triangle Strip Odd Provoking Vertex Select" dword="3" bits="24:23" type="uint" /> + <field name="Triangle Fan Provoking Vertex Select" dword="3" bits="26:25" type="uint" /> + <field name="Line Strip/List Provoking Vertex Select" dword="3" bits="28:27" type="uint" /> + <field name="Triangle Strip/List Provoking Vertex Select" dword="3" bits="30:29" type="uint" /> + <field name="Last Pixel Enable" dword="3" bits="31:31" type="bool" /> + </instruction> + <instruction name="3DSTATE_STENCIL_BUFFER" 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="6" /> + <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="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="Corner Texel Mode" dword="1" bits="23:23" type="bool" /> + <field name="Null Page Coherency Enable" dword="1" bits="27:27" type="bool" /> + <field name="Stencil Write Enable" dword="1" bits="28:28" type="bool" /> + <field name="Surface Type" dword="1" bits="31:29" type="uint"> + <value name="SURFTYPE_2D" value="1" /> + <value name="SURFTYPE_CUBE" value="3" /> + <value name="SURFTYPE_NULL" value="7" /> + </field> + <field name="Surface Base Address" dword="2" bits="63:0" type="address" /> + <field name="Width" dword="4" bits="14:1" type="uint" /> + <field name="Height" dword="4" bits="30:17" type="uint" /> + <field name="MOCS" dword="5" bits="6:0" type="uint" nonzero="true" /> + <field name="Minimum Array Element" dword="5" bits="18:8" type="uint" /> + <field name="Depth" dword="5" bits="30:20" type="uint" /> + <field name="Compression Format" dword="6" bits="3:0" type="UNIFIED_COMPRESSION_FORMAT" /> + <field name="Mip Tail Start LOD" dword="6" bits="29:26" type="uint" /> + <field name="Tiled Mode" dword="6" bits="31:30" type="uint"> + <value name="TILE64" value="1" /> + <value name="TILE4" value="3" /> + </field> + <field name="Surface QPitch" dword="7" bits="14:0" type="uint" /> + <field name="Surf LOD" dword="7" bits="19:16" type="uint" /> + <field name="Render Target View Extent" dword="7" bits="31:21" type="uint" /> + </instruction> + <instruction name="3DSTATE_TE" bias="2" length="5" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="3" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="28" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="TE Enable" dword="1" bits="0:0" type="bool" /> + <field name="TE Mode" dword="1" bits="2:1" type="uint"> + <value name="HW_TESS" value="0" /> + <value name="FORCE_MIN" value="3" /> + </field> + <field name="TE Domain" dword="1" bits="5:4" type="uint"> + <value name="QUAD" value="0" /> + <value name="TRI" value="1" /> + <value name="ISOLINE" value="2" /> + </field> + <field name="Output Topology" dword="1" bits="9:8" type="uint" prefix="OUTPUT"> + <value name="POINT" value="0" /> + <value name="LINE" value="1" /> + <value name="TRI_CW" value="2" /> + <value name="TRI_CCW" value="3" /> + </field> + <field name="Number Of Regions Per Patch" dword="1" bits="11:10" type="uint" /> + <field name="Partitioning" dword="1" bits="13:12" type="uint"> + <value name="INTEGER" value="0" /> + <value name="ODD_FRACTIONAL" value="1" /> + <value name="EVEN_FRACTIONAL" value="2" /> + <value name="POW2" value="3" /> + </field> + <field name="Tessellation Distribution Mode" dword="1" bits="15:14" type="uint"> + <value name="TEDMODE_OFF" value="0" /> + <value name="TEDMODE_RR_STRICT" value="1" /> + <value name="TEDMODE_RR_FREE" value="2" /> + </field> + <field name="Tessellation Distribution Level" dword="1" bits="18:17" type="uint"> + <value name="TEDLEVEL_PATCH" value="0" /> + <value name="TEDLEVEL_REGION" value="1" /> + </field> + <field name="Tessellation Scale Factor Enable" dword="1" bits="19:19" type="bool" /> + <field name="Tessellation Factor Format" dword="1" bits="20:20" type="uint"> + <value name="FLOAT32" value="0" /> + <value name="FLOAT16" value="1" /> + </field> + <field name="Patch Header Layout" dword="1" bits="23:22" type="uint"> + <value name="LEGACY" value="0" /> + <value name="REVERSED" value="2" /> + <value name="REVERSED_TRI_INSIDE_SEPARATE" value="3" /> + </field> + <field name="Small Patch Threshold" dword="1" bits="25:24" type="uint" prefix="SPT"> + <value name="8_TRIANGLES" value="0" /> + <value name="16_TRIANGLES" value="1" /> + <value name="32_TRIANGLES" value="2" /> + <value name="64_TRIANGLES" value="3" /> + </field> + <field name="Target Block Size" dword="1" bits="29:26" type="uint"> + <value name="64_TRIANGLES" value="0" /> + <value name="96_TRIANGLES" value="1" /> + <value name="128_TRIANGLES" value="2" /> + <value name="192_TRIANGLES" value="3" /> + <value name="256_TRIANGLES" value="4" /> + <value name="384_TRIANGLES" value="5" /> + <value name="512_TRIANGLES" value="6" /> + <value name="768_TRIANGLES" value="7" /> + <value name="1K_TRIANGLES" value="8" /> + <value name="1.5K_TRIANGLES" value="9" /> + <value name="2K_TRIANGLES" value="10" /> + <value name="3K_TRIANGLES" value="11" /> + <value name="4K_TRIANGLES" value="12" /> + <value name="6K_TRIANGLES" value="13" /> + <value name="8K_TRIANGLES" value="14" /> + <value name="12K_TRIANGLES" value="15" /> + </field> + <field name="Local BOP Accumulator Threshold" dword="1" bits="31:30" type="uint"> + <value name="MULTIPLIER_0" value="0" /> + <value name="MULTIPLIER_1" value="1" /> + <value name="MULTIPLIER_2" value="2" /> + <value name="MULTIPLIER_4" value="3" /> + </field> + <field name="Maximum Tessellation Factor Odd" dword="2" bits="31:0" type="float" /> + <field name="Maximum Tessellation Factor Not Odd" dword="3" bits="31:0" type="float" /> + <field name="Tessellation Scale Factor" dword="4" bits="31:0" type="float" /> + </instruction> + <instruction name="3DSTATE_VS" bias="2" length="9" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="7" /> + <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="0" /> + <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="Kernel Start Pointer" dword="1" bits="63:6" type="offset" /> + <field name="Software Exception Enable" dword="3" bits="7:7" type="bool" /> + <field name="Accesses UAV" dword="3" bits="12:12" type="bool" /> + <field name="Illegal Opcode Exception Enable" dword="3" bits="13:13" type="bool" /> + <field name="Floating Point Mode" dword="3" bits="16:16" type="uint"> + <value name="IEEE-754" value="0" /> + <value name="Alternate" value="1" /> + </field> + <field name="Thread Dispatch Priority" dword="3" bits="17:17" type="uint"> + <value name="Normal" value="0" /> + <value name="High" value="1" /> + </field> + <field name="Binding Table Entry Count" dword="3" bits="25:18" type="uint" /> + <field name="Sampler Count" dword="3" bits="29:27" type="uint"> + <value name="No Samplers" value="0" /> + <value name="1-4 Samplers" value="1" /> + <value name="5-8 Samplers" value="2" /> + <value name="9-12 Samplers" value="3" /> + <value name="13-16 Samplers" value="4" /> + </field> + <field name="Vector Mask Enable" dword="3" bits="30:30" type="uint"> + <value name="Dmask" value="0" /> + </field> + <field name="Scratch Space Buffer" dword="4" bits="31:10" type="uint" /> + <field name="Vertex URB Entry Read Offset" dword="6" bits="9:4" type="uint" /> + <field name="Vertex URB Entry Read Length" dword="6" bits="16:11" type="uint" /> + <field name="Dispatch GRF Start Register For URB Data" dword="6" bits="24:20" type="uint" /> + <field name="Enable" dword="7" bits="0:0" type="bool" /> + <field name="Vertex Cache Disable" dword="7" bits="1:1" type="bool" /> + <field name="SIMD8 Single Instance Dispatch Enable" dword="7" bits="9:9" type="bool" /> + <field name="Statistics Enable" dword="7" bits="10:10" type="bool" /> + <field name="Maximum Number of Threads" dword="7" bits="31:22" type="uint" /> + <field name="User Clip Distance Cull Test Enable Bitmask" dword="8" bits="7:0" type="uint" /> + <field name="User Clip Distance Clip Test Enable Bitmask" dword="8" bits="15:8" type="uint" /> + <field name="Vertex URB Entry Output Length" dword="8" bits="20:16" type="uint" /> + <field name="Vertex URB Entry Output Read Offset" dword="8" bits="26:21" type="uint" /> + </instruction> + <instruction name="3DSTATE_WM_HZ_OP" bias="2" length="6" engine="render"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="4" /> + <field name="Predicate Enable" dword="0" bits="8:8" type="bool" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="82" /> + <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="3" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Depth Buffer Partial Resolve Enable" dword="1" bits="9:9" type="bool" /> + <field name="Number of Multisamples" dword="1" bits="15:13" type="uint" prefix="SAMPLES"> + <value name="1" value="0" /> + <value name="2" value="1" /> + <value name="4" value="2" /> + <value name="8" value="3" /> + <value name="16" value="4" /> + </field> + <field name="Stencil Clear Value" dword="1" bits="23:16" type="uint" /> + <field name="Stencil Buffer Resolve Enable" dword="1" bits="24:24" type="bool" /> + <field name="Full Surface Depth and Stencil Clear" dword="1" bits="25:25" type="bool" /> + <field name="Pixel Position Offset Enable" dword="1" bits="26:26" type="bool" /> + <field name="Hierarchical Depth Buffer Resolve Enable" dword="1" bits="27:27" type="bool" /> + <field name="Depth Buffer Resolve Enable" dword="1" bits="28:28" type="bool" /> + <field name="Scissor Rectangle Enable" dword="1" bits="29:29" type="bool" /> + <field name="Depth Buffer Clear Enable" dword="1" bits="30:30" type="bool" /> + <field name="Stencil Buffer Clear Enable" dword="1" bits="31:31" type="bool" /> + <field name="Clear Rectangle X Min" dword="2" bits="15:0" type="uint" /> + <field name="Clear Rectangle Y Min" dword="2" bits="31:16" type="uint" /> + <field name="Clear Rectangle X Max" dword="3" bits="15:0" type="uint" /> + <field name="Clear Rectangle Y Max" dword="3" bits="31:16" type="uint" /> + <field name="Sample Mask" dword="4" bits="15:0" type="uint" /> + <field name="Depth Clear Value" dword="5" bits="31:0" type="float" /> + </instruction> + <instruction name="AVP_FILM_GRAIN_STATE" bias="2" length="45" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="43" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="52" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="3" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Grain Random Seed" dword="1" bits="15:0" type="uint" /> + <field name="MC Identity Flag" dword="1" bits="16:16" type="bool" /> + <field name="Clip To Restricted Range Flag" dword="1" bits="17:17" type="bool" /> + <field name="Number of Luma Points" dword="1" bits="23:20" type="uint" /> + <field name="Number of Chroma Cb Points" dword="1" bits="27:24" type="uint" /> + <field name="Number of Chroma Cr Points" dword="1" bits="31:28" type="uint" /> + <field name="Grain Scaling Minus8" dword="2" bits="1:0" type="uint" /> + <field name="AR Coeff Lag" dword="2" bits="3:2" type="uint" /> + <field name="AR Coeff Shift Minus6" dword="2" bits="5:4" type="uint" /> + <field name="Grain Scale Shift" dword="2" bits="7:6" type="uint" /> + <field name="Grain Noise Overlap Flag" dword="2" bits="8:8" type="bool" /> + <field name="Chroma Scaling From Luma Flag" dword="2" bits="31:31" type="bool" /> + <group count="14" dword="3" size="8"> + <field name="Point Luma Value" dword="0" bits="7:0" type="uint" /> + </group> + <group count="14" dword="7" size="8"> + <field name="Point Luma Scaling" dword="0" bits="7:0" type="uint" /> + </group> + <group count="10" dword="11" size="8"> + <field name="Point CB Value" dword="0" bits="7:0" type="uint" /> + </group> + <group count="10" dword="14" size="8"> + <field name="Point CB Scaling" dword="0" bits="7:0" type="uint" /> + </group> + <group count="10" dword="17" size="8"> + <field name="Point CR Value" dword="0" bits="7:0" type="uint" /> + </group> + <group count="10" dword="20" size="8"> + <field name="Point CR Scaling" dword="0" bits="7:0" type="uint" /> + </group> + <group count="24" dword="23" size="8"> + <field name="AR Coeff Luma Plus128" dword="0" bits="7:0" type="uint" /> + </group> + <group count="25" dword="29" size="8"> + <field name="AR Coeff Chroma CB Plus128" dword="0" bits="7:0" type="uint" /> + </group> + <group count="25" dword="36" size="8"> + <field name="AR Coeff Chroma CR Plus128" dword="0" bits="7:0" type="uint" /> + </group> + <field name="CB Mult" dword="43" bits="7:0" type="uint" /> + <field name="CB Luma Mult" dword="43" bits="15:8" type="uint" /> + <field name="CB Offset" dword="43" bits="24:16" type="uint" /> + <field name="CR Mult" dword="44" bits="7:0" type="uint" /> + <field name="CR Luma Mult" dword="44" bits="15:8" type="uint" /> + <field name="CR Offset" dword="44" bits="24:16" type="uint" /> + </instruction> + <instruction name="AVP_PIC_STATE" bias="2" length="76" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="74" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="48" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="3" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Frame Width" dword="1" bits="13:0" type="uint" /> + <field name="Frame Height" dword="1" bits="29:16" type="uint" /> + <field name="Sequence Chroma SubSampling Format" dword="2" bits="1:0" type="uint" prefix="SS"> + <value name="Monochrome" value="0" /> + <value name="420" value="1" /> + <value name="422" value="2" /> + <value name="444" value="3" /> + </field> + <field name="Sequence Pixel Bit-Depth Idc" dword="2" bits="4:3" type="uint" prefix="SeqPix"> + <value name="8-bit" value="0" /> + <value name="10-bit" value="1" /> + <value name="12-bit" value="2" /> + </field> + <field name="Sequence Superblock Size Used" dword="2" bits="8:7" type="uint"> + <value name="64x64" value="0" /> + <value name="128x128" value="1" /> + </field> + <field name="Sequence Enable Order Hint Flag" dword="2" bits="9:9" type="bool" /> + <field name="Sequence Order Hint Bits Minus 1" dword="2" bits="12:10" type="uint" /> + <field name="Sequence Enable Filter Intra Flag" dword="2" bits="16:16" type="bool" /> + <field name="Sequence Enable Intra Edge Filter Flag" dword="2" bits="17:17" type="bool" /> + <field name="Sequence Enable Dual Filter Flag" dword="2" bits="18:18" type="bool" /> + <field name="Sequence Enable Inter Intra Compound Flag" dword="2" bits="19:19" type="bool" /> + <field name="Sequence Enable Masked Compound Flag" dword="2" bits="20:20" type="bool" /> + <field name="Sequence Enable Joint Compound Flag" dword="2" bits="21:21" type="bool" /> + <field name="Allow Screen Content Tools Flag" dword="3" bits="0:0" type="bool" /> + <field name="Force Integer MV Flag" dword="3" bits="1:1" type="bool" /> + <field name="Allow Warped Motion Flag" dword="3" bits="2:2" type="bool" /> + <field name="Use CDEF Filter Flag" dword="3" bits="4:4" type="bool" /> + <field name="Use Super-Res Flag" dword="3" bits="5:5" type="bool" /> + <field name="Frame Level Loop Restoration Filter Enable" dword="3" bits="6:6" type="bool" /> + <field name="Apply Film Grain Flag" dword="3" bits="7:7" type="bool" /> + <field name="Large Scale Tile Enable Flag" dword="3" bits="8:8" type="bool" /> + <field name="Post CDEF Filtered Recon Pixels Writeout En" dword="3" bits="14:14" type="bool" /> + <field name="Frame Type" dword="3" bits="17:16" type="uint" /> + <field name="Intra Only Flag" dword="3" bits="19:19" type="bool" /> + <field name="Error Resilient Mode Flag" dword="3" bits="22:22" type="bool" /> + <field name="Allow IntraBC Flag" dword="3" bits="23:23" type="bool" /> + <field name="Primary Reference Frame Idx" dword="3" bits="30:28" type="uint" /> + <field name="Segmentation Enable Flag" dword="4" bits="0:0" type="bool" /> + <field name="Segmentation Update Map Flag" dword="4" bits="1:1" type="bool" /> + <field name="Segmentation Temporal Update Flag" dword="4" bits="2:2" type="bool" /> + <field name="Pre Skip Segment ID Flag" dword="4" bits="3:3" type="bool" /> + <field name="Last Active Segment Segment ID" dword="4" bits="6:4" type="uint" /> + <field name="Delta Q Present Flag" dword="4" bits="7:7" type="bool" /> + <field name="Delta Q Res" dword="4" bits="9:8" type="uint" /> + <field name="Frame Coded Lossless Mode" dword="4" bits="10:10" type="bool" /> + <field name="Segment Map is Zero Flag" dword="4" bits="11:11" type="bool" /> + <field name="Segment ID Buffer Stream In Enable Flag" dword="4" bits="12:12" type="bool" /> + <field name="Segment ID Buffer Stream Out Enable Flag" dword="4" bits="13:13" type="bool" /> + <field name="Base Qindex" dword="4" bits="23:16" type="uint" /> + <field name="Y dc delta Q" dword="4" bits="30:24" type="int" /> + <field name="U dc delta Q" dword="5" bits="6:0" type="int" /> + <field name="U ac delta Q" dword="5" bits="14:8" type="int" /> + <field name="V dc delta Q" dword="5" bits="22:16" type="int" /> + <field name="V ac delta Q" dword="5" bits="30:24" type="int" /> + <field name="Allow High Precision MV" dword="6" bits="0:0" type="bool" /> + <field name="Frame Level Reference Mode Select" dword="6" bits="1:1" type="bool" /> + <field name="Mcomp Filter Type" dword="6" bits="4:2" type="uint"> + <value name="Eight Tap" value="0" /> + <value name="Eight Tap Smooth" value="1" /> + <value name="Eight Tap Sharp" value="2" /> + <value name="Bilinear" value="3" /> + <value name="Switchable" value="4" /> + </field> + <field name="Motion Mode Switchable Flag" dword="6" bits="6:6" type="bool" /> + <field name="Use Reference Frame MV Set Flag" dword="6" bits="7:7" type="bool" /> + <field name="Reference Frame Sign Bias" dword="6" bits="15:8" type="uint" /> + <field name="Current Frame Order Hint" dword="6" bits="23:16" type="uint" /> + <field name="Reduced Tx Set Used" dword="7" bits="0:0" type="bool" /> + <field name="Frame Transform Mode" dword="7" bits="2:1" type="uint" /> + <field name="Skip Mode Present Flag" dword="7" bits="4:4" type="bool" /> + <field name="Skip Mode Frame 0" dword="7" bits="7:5" type="uint" /> + <field name="Skip Mode Frame 1" dword="7" bits="11:9" type="uint" /> + <field name="Reference Frame Side" dword="7" bits="31:24" type="uint" /> + <field name="Global Motion Type 1" dword="8" bits="4:3" type="uint" /> + <field name="Global Motion Type 2" dword="8" bits="7:6" type="uint" /> + <field name="Global Motion Type 3" dword="8" bits="10:9" type="uint" /> + <field name="Global Motion Type 4" dword="8" bits="13:12" type="uint" /> + <field name="Global Motion Type 5" dword="8" bits="16:15" type="uint" /> + <field name="Global Motion Type 6" dword="8" bits="19:18" type="uint" /> + <field name="Global Motion Type 7" dword="8" bits="22:21" type="uint" /> + <field name="Frame Level Global Motion Invalid Flags" dword="8" bits="31:24" type="uint" /> + <group count="42" dword="9" size="16"> + <field name="Warp Parameters" dword="0" bits="15:0" type="uint" /> + </group> + <field name="Reference Frame Idx 0" dword="30" bits="2:0" type="uint" /> + <field name="Reference Frame Idx 1" dword="30" bits="6:4" type="uint" /> + <field name="Reference Frame Idx 2" dword="30" bits="10:8" type="uint" /> + <field name="Reference Frame Idx 3" dword="30" bits="14:12" type="uint" /> + <field name="Reference Frame Idx 4" dword="30" bits="18:16" type="uint" /> + <field name="Reference Frame Idx 5" dword="30" bits="22:20" type="uint" /> + <field name="Reference Frame Idx 6" dword="30" bits="26:24" type="uint" /> + <field name="Reference Frame Idx 7" dword="30" bits="30:28" type="uint" /> + <field name="Intra Frame Width in Pixel Minus 1" dword="31" bits="15:0" type="uint" /> + <field name="Intra Frame Height in Pixel Minus 1" dword="31" bits="31:16" type="uint" /> + <field name="Last Frame Width in Pixel Minus 1" dword="32" bits="15:0" type="uint" /> + <field name="Last Frame Height in Pixel Minus 1" dword="32" bits="31:16" type="uint" /> + <field name="Last2 Frame Width in Pixel Minus 1" dword="33" bits="15:0" type="uint" /> + <field name="Last2 Frame Height in Pixel Minus 1" dword="33" bits="31:16" type="uint" /> + <field name="Last3 Frame Width in Pixel Minus 1" dword="34" bits="15:0" type="uint" /> + <field name="Last3 Frame Height in Pixel Minus 1" dword="34" bits="31:16" type="uint" /> + <field name="Golden Frame Width in Pixel Minus 1" dword="35" bits="15:0" type="uint" /> + <field name="Golden Frame Height in Pixel Minus 1" dword="35" bits="31:16" type="uint" /> + <field name="BWDREF Frame Width in Pixel Minus 1" dword="36" bits="15:0" type="uint" /> + <field name="BWDREF Frame Height in Pixel Minus 1" dword="36" bits="31:16" type="uint" /> + <field name="ALTREF2 Frame Width in Pixel Minus 1" dword="37" bits="15:0" type="uint" /> + <field name="ALTREF2 Frame Height in Pixel Minus 1" dword="37" bits="31:16" type="uint" /> + <field name="ALTREF Frame Width in Pixel Minus 1" dword="38" bits="15:0" type="uint" /> + <field name="ALTREF Frame Height in Pixel Minus 1" dword="38" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For Intra" dword="39" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For Intra" dword="39" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For Last" dword="40" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For Last" dword="40" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For Last2" dword="41" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For Last2" dword="41" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For Last3" dword="42" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For Last3" dword="42" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For Golden" dword="43" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For Golden" dword="43" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For BWDREF" dword="44" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For BWDREF" dword="44" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For ALTREF2" dword="45" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For ALTREF2" dword="45" bits="31:16" type="uint" /> + <field name="Vertical Scale Factor For ALTREF" dword="46" bits="15:0" type="uint" /> + <field name="Horizontal Scale Factor For ALTREF" dword="46" bits="31:16" type="uint" /> + <group count="8" dword="47" size="8"> + <field name="Reference Frame Order Hint" dword="0" bits="7:0" type="uint" /> + </group> + <field name="NonFirstPassFlag" dword="51" bits="16:16" type="bool" /> + <field name="VdencPakOnlyPass" dword="51" bits="17:17" type="bool" /> + <field name="FrameSzOverStatusEn - FrameBitRateMaxReportMask" dword="51" bits="25:25" type="bool" /> + <field name="FrameSzUnderStatusEn - FrameBitRateMinReportMask" dword="51" bits="26:26" type="bool" /> + <field name="FrameBitRateMax" dword="52" bits="13:0" type="uint" /> + <field name="FrameBitrateMaxUnit" dword="52" bits="31:31" type="FRAME_BITRATE_UNITS" /> + <field name="FrameBitRateMin" dword="53" bits="13:0" type="uint" /> + <field name="FrameBitrateMinUnit" dword="53" bits="31:31" type="FRAME_BITRATE_UNITS" /> + <field name="FrameDeltaQindexMax" dword="54" bits="63:0" type="uint" /> + <field name="FrameDeltaQindexMin" dword="56" bits="31:0" type="uint" /> + <field name="FrameDeltaLFMax" dword="57" bits="63:0" type="uint" /> + <field name="FrameDeltaLFMin" dword="59" bits="31:0" type="uint" /> + <field name="FrameDeltaQindexLFMaxRange" dword="60" bits="63:0" type="uint" /> + <field name="FrameDeltaQindexLFMinRange" dword="62" bits="31:0" type="uint" /> + <field name="MinFrameSize" dword="63" bits="15:0" type="uint" /> + <field name="MinFrameSizeUnits" dword="63" bits="31:30" type="uint"> + <value name="4K Byte Units" value="0" /> + <value name="16K Byte Units" value="1" /> + <value name="Compatibility Mode" value="2" /> + <value name="6 Byte Units" value="3" /> + </field> + <field name="VDAQM enable" dword="64" bits="0:0" type="bool" /> + <field name="Class0 SSE Threshold0" dword="65" bits="15:0" type="uint" /> + <field name="Class0 SSE Threshold1" dword="65" bits="31:16" type="uint" /> + <group count="8" dword="66" size="8"> + <field name="SSE Thresholds For Class" dword="0" bits="7:0" type="uint" /> + </group> + <field name="rdmult" dword="74" bits="31:0" type="uint" /> + </instruction> + <instruction name="AVP_PIPE_BUF_ADDR_STATE" bias="2" length="215" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="213" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="2" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="3" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <group count="8" dword="1" size="64"> + <field name="Reference Picture - Address" dword="0" bits="63:0" type="address" /> + </group> + <field name="Reference Picture - Attributes" dword="17" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Decoded Output Frame Buffer Address" dword="18" bits="63:0" type="address" /> + <field name="Decoded Output Frame Buffer Address - Attributes" dword="20" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Film Grain Injected Output Frame Buffer Address" dword="21" bits="63:0" type="address" /> + <field name="Film Grain Injected Output Frame Buffer Address - Attributes" dword="23" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="IntraBC Decoded Output Frame Buffer Address" dword="24" bits="63:0" type="address" /> + <field name="IntraBC Decoded Output Frame Buffer Address - Attributes" dword="26" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDF Tables Initialization Buffer Address" dword="27" bits="63:0" type="address" /> + <field name="CDF Tables Initialization Buffer Address - Attributes" dword="29" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDF Tables Backward Adaptation Buffer Address" dword="30" bits="63:0" type="address" /> + <field name="CDF Tables Backward Adaptation Buffer Address - Attributes" dword="32" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="AV1 Segment ID Read Buffer Address" dword="33" bits="63:0" type="address" /> + <field name="AV1 Segment ID Read Buffer Address - Attributes" dword="35" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="AV1 Segment ID Write Buffer Address" dword="36" bits="63:0" type="address" /> + <field name="AV1 Segment ID Write Buffer Address - Attributes" dword="38" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <group count="8" dword="39" size="64"> + <field name="Collocated MV Temporal Buffer - Address" dword="0" bits="63:0" type="address" /> + </group> + <field name="Collocated MV Temporal Buffer - Attributes" dword="55" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Current Frame MV Write Buffer Address" dword="56" bits="63:0" type="address" /> + <field name="Current Frame MV Write Buffer Address - Attributes" dword="58" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Film Grain Sample Template Address" dword="59" bits="63:0" type="address" /> + <field name="Film Grain Sample Template Address - Attributes" dword="61" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Bitstream Line Rowstore Buffer Address" dword="62" bits="63:0" type="address" /> + <field name="Bitstream Line Rowstore Buffer Address - Attributes" dword="64" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Bitstream Tile Line Rowstore Buffer Address" dword="65" bits="63:0" type="address" /> + <field name="Bitstream Tile Line Rowstore Buffer Address - Attributes" dword="67" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Intra Prediction Line Rowstore Buffer Address" dword="68" bits="63:0" type="address" /> + <field name="Intra Prediction Line Rowstore Buffer Address - Attributes" dword="70" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Intra Prediction Tile Line Rowstore Buffer Address" dword="71" bits="63:0" type="address" /> + <field name="Intra Prediction Tile Line Rowstore Buffer Address - Attributes" dword="73" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Spatial Motion Vector Line Buffer Address" dword="74" bits="63:0" type="address" /> + <field name="Spatial Motion Vector Line Buffer Address - Attributes" dword="76" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Spatial Motion Vector Tile Line Buffer Address" dword="77" bits="63:0" type="address" /> + <field name="Spatial Motion Vector Tile Line Buffer Address - Attributes" dword="79" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Meta Tile Column Buffer Address" dword="80" bits="63:0" type="address" /> + <field name="Loop Restoration Meta Tile Column Buffer Address - Attributes" dword="82" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Filter Tile Line Y Buffer Address" dword="83" bits="63:0" type="address" /> + <field name="Loop Restoration Filter Tile Line Y Buffer Address - Attributes" dword="85" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Filter Tile Line U Buffer Address" dword="86" bits="63:0" type="address" /> + <field name="Loop Restoration Filter Tile Line U Buffer Address - Attributes" dword="88" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Filter Tile Line V Buffer Address" dword="89" bits="63:0" type="address" /> + <field name="Loop Restoration Filter Tile Line V Buffer Address - Attributes" dword="91" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Line Y Buffer Address" dword="92" bits="63:0" type="address" /> + <field name="Deblocker Filter Line Y Buffer Address - Attributes" dword="94" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Line U Buffer Address" dword="95" bits="63:0" type="address" /> + <field name="Deblocker Filter Line U Buffer Address - Attributes" dword="97" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Line V Buffer Address" dword="98" bits="63:0" type="address" /> + <field name="Deblocker Filter Line V Buffer Address - Attributes" dword="100" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Tile Line Y Buffer Address" dword="101" bits="63:0" type="address" /> + <field name="Deblocker Filter Tile Line Y Buffer Address - Attributes" dword="103" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Tile Line U Buffer Address" dword="104" bits="63:0" type="address" /> + <field name="Deblocker Filter Tile Line U Buffer Address - Attributes" dword="106" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Tile Line V Buffer Address" dword="107" bits="63:0" type="address" /> + <field name="Deblocker Filter Tile Line V Buffer Address - Attributes" dword="109" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Tile Column Y Buffer Address" dword="110" bits="63:0" type="address" /> + <field name="Deblocker Filter Tile Column Y Buffer Address - Attributes" dword="112" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Tile Column U Buffer Address" dword="113" bits="63:0" type="address" /> + <field name="Deblocker Filter Tile Column U Buffer Address - Attributes" dword="115" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Deblocker Filter Tile Column V Buffer Address" dword="116" bits="63:0" type="address" /> + <field name="Deblocker Filter Tile Column V Buffer Address - Attributes" dword="118" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDEF Filter Line Buffer Address" dword="119" bits="63:0" type="address" /> + <field name="CDEF Filter Line Buffer Address - Attributes" dword="121" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDEF Filter Tile Line Buffer Address" dword="128" bits="63:0" type="address" /> + <field name="CDEF Filter Tile Line Buffer Address - Attributes" dword="130" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDEF Filter Tile Column Buffer Address" dword="137" bits="63:0" type="address" /> + <field name="CDEF Filter Tile Column Buffer Address - Attributes" dword="139" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDEF Filter Meta Tile Line Buffer Address" dword="140" bits="63:0" type="address" /> + <field name="CDEF Filter Meta Tile Line Buffer Address - Attributes" dword="142" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDEF Filter Meta Tile Column Buffer Address" dword="143" bits="63:0" type="address" /> + <field name="CDEF Filter Meta Tile Column Buffer Address - Attributes" dword="145" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CDEF Filter Top Left Corner Buffer Address" dword="146" bits="63:0" type="address" /> + <field name="CDEF Filter Top Left Corner Buffer Address - Attributes" dword="148" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Super Res Tile Column Y Buffer Address" dword="149" bits="63:0" type="address" /> + <field name="Super Res Tile Column Y Buffer Address - Attributes" dword="151" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Super Res Tile Column U Buffer Address" dword="152" bits="63:0" type="address" /> + <field name="Super Res Tile Column U Buffer Address - Attributes" dword="154" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Super Res Tile Column V Buffer Address" dword="155" bits="63:0" type="address" /> + <field name="Super Res Tile Column V Buffer Address - Attributes" dword="157" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Filter Tile Column Y Buffer Address" dword="158" bits="63:0" type="address" /> + <field name="Loop Restoration Filter Tile Column Y Buffer Address - Attributes" dword="160" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Filter Tile Column U Buffer Address" dword="161" bits="63:0" type="address" /> + <field name="Loop Restoration Filter Tile Column U Buffer Address - Attributes" dword="163" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Filter Tile Column V Buffer Address" dword="164" bits="63:0" type="address" /> + <field name="Loop Restoration Filter Tile Column V Buffer Address - Attributes" dword="166" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Loop Restoration Filter Tile Column Alignment Read Write Buffer Address" dword="170" bits="63:0" type="address" /> + <field name="Loop Restoration Filter Tile Column Alignment Read Write Buffer Address - Attributes" dword="172" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Film Grain Tile Column Data Read Write Buffer Address" dword="173" bits="63:0" type="address" /> + <field name="Film Grain Tile Column Data Read Write Buffer Address - Attributes" dword="175" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Decoded Frame Status Error Buffer Address" dword="176" bits="63:0" type="address" /> + <field name="Decoded Frame Status Error Buffer Address - Attributes" dword="178" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Decoded Block Data Streamout Buffer Address" dword="179" bits="63:0" type="address" /> + <field name="Decoded Block Data Streamout Buffer Address - Attributes" dword="181" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Original Uncompressed Picture Source Buffer Address" dword="188" bits="63:0" type="address" /> + <field name="Original Uncompressed Picture Source Buffer Address - Attributes" dword="190" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Downscaled Uncompressed Picture Source Buffer Address" dword="191" bits="63:0" type="address" /> + <field name="Downscaled Uncompressed Picture Source Buffer Address - Attributes" dword="193" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Tile Size Streamout Buffer Address" dword="194" bits="63:0" type="address" /> + <field name="Tile Size Streamout Buffer Address - Attributes" dword="196" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="Tile Statistics Streamout Buffer Address" dword="197" bits="63:0" type="address" /> + <field name="Tile Statistics Streamout Buffer Address - Attributes" dword="199" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="CU Streamout Buffer Address" dword="200" bits="63:0" type="address" /> + <field name="CU Streamout Buffer Address - Attributes" dword="202" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="SSE Line Read/Write Buffer Address" dword="203" bits="63:0" type="address" /> + <field name="SSE Line Read/Write Buffer Address - Attributes" dword="205" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="SSE Tile Line Read/Write Buffer Address" dword="206" bits="63:0" type="address" /> + <field name="SSE Tile Line Read/Write Buffer Address - Attributes" dword="208" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + <field name="PostCDEF Pixels Buffer Address" dword="209" bits="63:0" type="address" /> + <field name="PostCDEF Pixels Buffer Address - Attributes" dword="211" bits="31:0" type="MEMORYADDRESSATTRIBUTES" /> + </instruction> + <instruction name="AVP_PIPE_MODE_SELECT" bias="2" length="7" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="5" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="0" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="3" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Codec Select" dword="1" bits="0:0" type="bool"> + <value name="Decode" value="0" /> + <value name="Encode" value="1" /> + </field> + <field name="Pic Status/Error Report Enable" dword="1" bits="3:3" type="bool" /> + <field name="Frame Reconstruction Disable" dword="1" bits="4:4" type="bool" /> + <field name="Codec Standard Select" dword="1" bits="7:5" type="uint" default="2" /> + <field name="VDENC Mode" dword="1" bits="10:10" type="bool" /> + <field name="Tile Statistics Streamout Enable" dword="1" bits="12:12" type="bool" /> + <field name="Multi Engine Mode" dword="1" bits="14:13" type="uint"> + <value name="Single Engine Mode" value="0" /> + <value name="Left Engine Mode" value="1" /> + <value name="Right Engine Mode" value="2" /> + <value name="Middle Engine Mode" value="3" /> + </field> + <field name="Pipe Working Mode" dword="1" bits="16:15" type="uint"> + <value name="Legacy Single Pipe" value="0" /> + <value name="Encode Mode" value="2" /> + <value name="Decode Scalable Mode" value="3" /> + </field> + <field name="Tile Based Engine" dword="1" bits="17:17" type="bool" /> + <field name="Motion Comp Memory Tracker Counter Enable" dword="1" bits="23:23" type="bool" /> + <field name="Pic Status/Error Report ID" dword="3" bits="31:0" type="uint" /> + <field name="AlcChickenbitRestrictSingleTileGroupInAFrame" dword="4" bits="4:4" type="bool" /> + <field name="Phase Indicator" dword="5" bits="1:0" type="uint"> + <value name="First Phase" value="0" /> + <value name="Middle Phase" value="1" /> + <value name="Last Phase" value="2" /> + </field> + <field name="Downscaled Source Pixel Prefetch Length" dword="6" bits="4:2" type="uint" /> + <field name="Downscaled Source Pixel Prefetch Enable" dword="6" bits="5:5" type="bool" /> + <field name="Original Source Pixel Prefetch Length" dword="6" bits="9:7" type="uint" /> + <field name="Original Source Pixel Prefetch Enable" dword="6" bits="10:10" type="bool" /> + </instruction> + <instruction name="AVP_TILE_CODING" bias="2" length="7" engine="video"> + <field name="DWord Length" dword="0" bits="11:0" type="uint" default="5" /> + <field name="SubOpcode" dword="0" bits="22:16" type="uint" default="21" /> + <field name="Media Command Opcode" dword="0" bits="26:23" type="uint" default="3" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Frame Tile ID" dword="1" bits="11:0" type="uint" /> + <field name="TG Tile Num" dword="1" bits="23:12" type="uint" /> + <field name="Tile Group ID" dword="1" bits="31:24" type="uint" /> + <field name="Tile Column Position in SB Unit" dword="2" bits="9:0" type="uint" /> + <field name="Tile Row Position in SB Unit" dword="2" bits="25:16" type="uint" /> + <field name="Tile Width in SB Minus 1" dword="3" bits="5:0" type="uint" /> + <field name="Tile Height in SB Minus 1" dword="3" bits="25:16" type="uint" /> + <field name="First Phase on Scalability Mode" dword="4" bits="0:0" type="bool" /> + <field name="Last Phase on Scalability Mode" dword="4" bits="1:1" type="bool" /> + <field name="AVP CRC Enable" dword="4" bits="2:2" type="bool" /> + <field name="First Tile in a Frame" dword="4" bits="23:23" type="bool" /> + <field name="Is Last Tile of Column Flag" dword="4" bits="25:25" type="bool" /> + <field name="Is Last Tile of Row Flag" dword="4" bits="26:26" type="bool" /> + <field name="Is Start Tile of Tile Group Flag" dword="4" bits="27:27" type="bool" /> + <field name="Is End Tile of Tile Group Flag" dword="4" bits="28:28" type="bool" /> + <field name="Is Last Tile of Frame Flag" dword="4" bits="29:29" type="bool" /> + <field name="Disable CDF Update Flag" dword="4" bits="30:30" type="bool" /> + <field name="Disable Frame Context Update Flag" dword="4" bits="31:31" type="bool" /> + <field name="Number of Active BE Pipes" dword="5" bits="7:0" type="uint" /> + <field name="Num of Tile Columns in Frame Minus 1" dword="5" bits="21:12" type="uint" /> + <field name="Num of Tile Rows in Frame Minus 1" dword="5" bits="31:22" type="uint" /> + <field name="Output Decoded Tile Column Position in SB Unit" dword="6" bits="9:0" type="uint" /> + <field name="Output Decoded Tile Row Position in SB Unit" dword="6" bits="25:16" type="uint" /> + </instruction> + <instruction name="CFE_STATE" bias="2" length="6" engine="render|compute"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="4" /> + <field name="CFE SubOpcode Variant" dword="0" bits="17:16" type="uint" default="0" /> + <field name="CFE SubOpcode" dword="0" bits="23:18" type="uint" default="0" /> + <field name="Compute Command Opcode" dword="0" bits="26:24" type="uint" default="2" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Scratch Space Buffer" dword="1" bits="31:10" type="uint" /> + <field name="Stack ID Control" dword="3" bits="1:0" type="uint"> + <value name="StackIDs 2048" value="0" /> + <value name="StackIDs 1024" value="1" /> + <value name="StackIDs 512" value="2" /> + <value name="StackIDs 256" value="3" /> + </field> + <field name="Compute Dispatch All walker Enable" dword="3" bits="12:12" type="bool" /> + <field name="Single Slice Dispatch CCS Mode" dword="3" bits="13:13" type="bool" /> + <field name="Over Dispatch Control" dword="3" bits="15:14" type="uint"> + <value name="Over Dispatch None" value="0" /> + <value name="Over Dispatch Low" value="1" /> + <value name="Over Dispatch Normal" value="2" /> + <value name="Over Dispatch High" value="3" /> + </field> + <field name="Maximum Number of Threads" dword="3" bits="31:16" type="uint" /> + </instruction> + <instruction name="COMPUTE_WALKER" bias="2" length="40" engine="render|compute"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="38" /> + <field name="Predicate Enable" dword="0" bits="8:8" type="bool" /> + <field name="Workload Partition Enable" dword="0" bits="9:9" type="bool" /> + <field name="Indirect Parameter Enable" dword="0" bits="10:10" type="bool" /> + <field name="Systolic Mode Enable" dword="0" bits="14:14" type="bool" /> + <field name="CFE SubOpcode Variant" dword="0" bits="17:15" type="uint" default="0" /> + <field name="CFE SubOpcode" dword="0" bits="23:18" type="uint" default="2" /> + <field name="Compute Command Opcode" dword="0" bits="26:24" type="uint" default="2" /> + <field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="body" dword="1" bits="1248:0" type="COMPUTE_WALKER_BODY" /> + </instruction> + <instruction name="EXECUTE_INDIRECT_DISPATCH" bias="2" length="45" engine="render|compute"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="43" /> + <field name="Predicate Enable" dword="0" bits="8:8" type="bool" /> + <field name="MOCS" dword="0" bits="15:12" type="uint" nonzero="true" /> + <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="4" /> + <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="Max Count" dword="1" bits="31:0" type="uint" /> + <field name="Count Buffer Indirect Enable" dword="2" bits="0:0" type="bool" /> + <field name="Count Buffer Address" dword="2" bits="63:2" type="address" /> + <field name="Argument Buffer Start Address" dword="4" bits="63:2" type="address" /> + <field name="body" dword="6" bits="1247:0" type="COMPUTE_WALKER_BODY" /> + </instruction> + <instruction name="MI_MEM_FENCE" bias="1" length="1"> + <field name="Fence Type" dword="0" bits="1:0" type="uint" prefix="FENCE_TYPE"> + <value name="RELEASE" value="0" /> + <value name="ACQUIRE" value="1" /> + <value name="MI_WRITE" value="3" /> + </field> + <field name="MI Command Sub Opcode" dword="0" bits="22:17" type="uint" default="0" /> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="9" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + </instruction> + <instruction name="MI_SEMAPHORE_WAIT" bias="2" length="5"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="3" /> + <field name="Compare Operation" dword="0" bits="14:12" type="uint" prefix="COMPARE"> + <value name="SAD_GREATER_THAN_SDD" value="0" /> + <value name="SAD_GREATER_THAN_OR_EQUAL_SDD" value="1" /> + <value name="SAD_LESS_THAN_SDD" value="2" /> + <value name="SAD_LESS_THAN_OR_EQUAL_SDD" value="3" /> + <value name="SAD_EQUAL_SDD" value="4" /> + <value name="SAD_NOT_EQUAL_SDD" value="5" /> + </field> + <field name="Wait Mode" dword="0" bits="15:15" type="uint"> + <value name="Polling Mode" value="1" /> + <value name="Signal Mode" value="0" /> + </field> + <field name="Register Poll Mode" dword="0" bits="16:16" type="bool" /> + <field name="Indirect Semaphore Data Dword" dword="0" bits="17:17" type="bool" /> + <field name="Workload Partition ID Offset Enable" dword="0" bits="18:18" type="bool" /> + <field name="Memory Type" dword="0" bits="22:22" type="uint"> + <value name="Per Process Graphics Address" value="0" /> + <value name="Global Graphics Address" value="1" /> + </field> + <field name="MI Command Opcode" dword="0" bits="28:23" type="uint" default="28" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="0" /> + <field name="Semaphore Data Dword" dword="1" bits="31:0" type="uint" /> + <field name="Semaphore Address" dword="2" bits="63:2" type="address" /> + <field name="Wait Token Number" dword="4" bits="9:2" type="uint" /> + </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="Mask Bits" dword="0" bits="15:8" type="uint" /> + <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="6" engine="render|compute"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="4" /> + <field name="HDC Pipeline Flush Enable" dword="0" bits="9:9" type="bool" /> + <field name="L3 Read Only Cache Invalidation Enable" dword="0" bits="10:10" type="bool" /> + <field name="Untyped Data Port Cache Flush Enable" dword="0" bits="11:11" type="bool" /> + <field name="CCS Flush Enable" 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="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 Enable" dword="1" bits="0:0" type="bool" /> + <field name="Stall At Pixel Scoreboard" dword="1" bits="1:1" type="bool" /> + <field name="State Cache Invalidation Enable" dword="1" bits="2:2" type="bool" /> + <field name="Constant Cache Invalidation Enable" dword="1" bits="3:3" type="bool" /> + <field name="VF Cache Invalidation Enable" dword="1" bits="4:4" type="bool" /> + <field name="Force Device Coherency" dword="1" bits="5:5" type="bool" /> + <field name="Pipe Control Flush Enable" dword="1" bits="7:7" type="bool" /> + <field name="Notify Enable" dword="1" bits="8:8" type="bool" /> + <field name="Indirect State Pointers Disable" dword="1" bits="9:9" type="bool" /> + <field name="Texture Cache Invalidation Enable" dword="1" bits="10:10" type="bool" /> + <field name="Instruction Cache Invalidate Enable" dword="1" bits="11:11" type="bool" /> + <field name="Render Target Cache Flush Enable" dword="1" bits="12:12" type="bool" /> + <field name="Depth Stall Enable" dword="1" bits="13:13" type="bool" /> + <field name="Post Sync Operation" dword="1" 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="PSS Stall Sync Enable" dword="1" bits="17:17" type="bool" /> + <field name="TLB Invalidate" dword="1" bits="18:18" type="bool" /> + <field name="Depth Stall Sync Enable" dword="1" bits="19:19" type="bool" /> + <field name="Command Streamer Stall Enable" dword="1" bits="20:20" type="bool" /> + <field name="Store Data Index" dword="1" bits="21:21" type="uint" /> + <field name="Protected Memory Enable" dword="1" bits="22:22" type="bool" /> + <field name="LRI Post Sync Operation" dword="1" bits="23:23" type="uint"> + <value name="No LRI Operation" value="0" /> + <value name="MMIO Write Immediate Data" value="1" /> + </field> + <field name="Destination Address Type" dword="1" bits="24:24" type="uint" prefix="DAT"> + <value name="PPGTT" value="0" /> + <value name="GGTT" value="1" /> + </field> + <field name="Flush LLC" dword="1" bits="26:26" type="bool" /> + <field name="Protected Memory Disable" dword="1" bits="27:27" type="bool" /> + <field name="Command Cache Invalidate Enable" dword="1" bits="29:29" type="bool" /> + <field name="Address" dword="2" bits="47:2" type="address" /> + <field name="Immediate Data" dword="4" bits="63:0" type="uint" /> + </instruction> + <instruction name="RESOURCE_BARRIER" bias="2" length="5" engine="render|compute"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="3" /> + <field name="Predicate Enable" dword="0" bits="24:24" type="bool" /> + <field name="Opcode" dword="0" bits="28:26" type="uint" default="3"> + <value name="RESOURCE_BARRIER" value="3" /> + </field> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="5" /> + <field name="Resource Barrier Body" dword="1" bits="127:0" type="RESOURCE_BARRIER_BODY" /> + </instruction> + <instruction name="STATE_BYTE_STRIDE" bias="2" length="2" engine="render|compute"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="0" /> + <field name="Byte Stride Enable" dword="0" bits="8:8" type="bool" /> + <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="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="Byte Stride" dword="1" bits="31:2" type="uint" /> + </instruction> + <instruction name="STATE_COMPUTE_MODE" bias="2" length="3" engine="render|compute"> + <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="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="0" /> + <field name="Command Type" dword="0" bits="31:29" type="uint" default="3" /> + <field name="Z Pass Async Compute Thread Limit" dword="1" bits="2:0" type="uint" prefix="ZPACTL"> + <value name="Max 60" value="0" /> + <value name="Max 64" value="1" /> + <value name="Max 56" value="2" /> + <value name="Max 48" value="3" /> + <value name="Max 40" value="4" /> + <value name="Max 32" value="5" /> + </field> + <field name="Z Async Throttle settings" dword="1" bits="4:3" type="uint" prefix="ZATS"> + <value name="Defer to Async Compute Thread Limit" value="0" /> + <value name="Max 32" value="1" /> + <value name="Max 40" value="2" /> + <value name="Max 48" value="3" /> + </field> + <field name="Async Compute Thread Limit" dword="1" bits="9:7" type="uint" prefix="ACTL"> + <value name="Disabled" value="0" /> + <value name="Max 2" value="1" /> + <value name="Max 8" value="2" /> + <value name="Max 16" value="3" /> + <value name="Max 24" value="4" /> + <value name="Max 32" value="5" /> + <value name="Max 40" value="6" /> + <value name="Max 48" value="7" /> + </field> + <field name="EU Thread Scheduling Mode Override" dword="1" bits="14:13" type="uint" /> + <field name="Large GRF Mode" dword="1" bits="15:15" type="bool" /> + <field name="Z Pass Async Compute Thread Limit Mask" dword="1" bits="18:16" type="uint" /> + <field name="Mask1" dword="1" bits="31:16" type="uint" /> + <field name="Z Async Throttle settings Mask" dword="1" bits="20:19" type="uint" /> + <field name="Async Compute Thread Limit Mask" dword="1" bits="25:23" type="uint" /> + <field name="EU Thread Scheduling Mode Override Mask" dword="1" bits="30:29" type="uint" /> + <field name="Large GRF Mode Mask" dword="1" bits="31:31" type="bool" /> + <field name="Midthread Preemption Delay Timer" dword="2" bits="2:0" type="uint"> + <value name="MTP_TIMER_VAL_0" value="0" /> + <value name="MTP_TIMER_VAL_50" value="1" /> + <value name="MTP_TIMER_VAL_100" value="2" /> + <value name="MTP_TIMER_VAL_150" value="3" /> + </field> + <field name="Midthread Preemption Overdispatch Thread group count" dword="2" bits="4:3" type="uint"> + <value name="OD_TG_M2" value="0" /> + <value name="OD_TG_M4" value="1" /> + <value name="OD_TG_M8" value="2" /> + <value name="OD_TG_M16" value="3" /> + </field> + <field name="Midthread Preemption Overdispatch Test mode" dword="2" bits="5:5" type="uint"> + <value name="Regular" value="0" /> + <value name="Test mode" value="1" /> + </field> + <field name="UAV Coherency Mode" dword="2" bits="6:6" type="uint"> + <value name="Drain DataPort Mode" value="0" /> + <value name="Flush Dataport L1" value="1" /> + </field> + <field name="Memory allocation for Scratch and Midthread Preemption buffers" dword="2" bits="11:11" type="uint"> + <value name="Full" value="0" /> + <value name="Min" value="1" /> + </field> + <field name="Midthread Preemption Delay Timer Mask" dword="2" bits="18:16" type="uint" /> + <field name="Mask2" dword="2" bits="31:16" type="uint" /> + <field name="Midthread Preemption Overdispatch Thread group count Mask" dword="2" bits="20:19" type="uint" /> + <field name="Midthread Preemption Overdispatch Test mode Mask" dword="2" bits="21:21" type="uint" /> + <field name="UAV Coherency Mode Mask" dword="2" bits="22:22" type="uint" /> + <field name="Memory allocation for Scratch and Midthread Preemption buffers Mask" dword="2" bits="27:27" type="uint" /> + </instruction> + <instruction name="STATE_SYSTEM_MEM_FENCE_ADDRESS" bias="2" length="3"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="1" /> + <field name="Context Restore Invalid" dword="0" bits="15:15" type="bool" default="0" /> + <field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="9" /> + <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="System Memory Fence Address" dword="1" bits="63:12" type="address" /> + </instruction> + <instruction name="XY_BLOCK_COPY_BLT" bias="2" length="22" engine="blitter"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="20" /> + <field name="Special Mode of Operation" dword="0" bits="13:12" type="uint"> + <value name="NONE" value="0" /> + <value name="FULL_RESOLVE" value="1" /> + <value name="PARTIAL_RESOLVE" value="2" /> + </field> + <field name="Color Depth" dword="0" bits="21:19" type="uint" prefix="XY_BPP"> + <value name="8_BIT" value="0" /> + <value name="16_BIT" value="1" /> + <value name="32_BIT" value="2" /> + <value name="64_BIT" value="3" /> + <value name="96_BIT" value="4" /> + <value name="128_BIT" value="5" /> + </field> + <field name="Opcode" dword="0" bits="28:22" type="uint" default="0x41" /> + <field name="Client" dword="0" bits="31:29" type="uint" default="2" /> + <field name="Destination Pitch" dword="1" bits="17:0" type="uint" /> + <field name="Destination Encrypt En" dword="1" bits="21:21" type="uint" /> + <field name="Destination MOCS index" dword="1" bits="27:24" type="uint" nonzero="true" /> + <field name="Destination Tiling" dword="1" bits="31:30" type="uint" prefix="XY_TILE"> + <value name="LINEAR" value="0" /> + <value name="X" value="1" /> + <value name="4" value="2" /> + <value name="64" value="3" /> + </field> + <field name="Destination X1" dword="2" bits="15:0" type="int" /> + <field name="Destination Y1" dword="2" bits="31:16" type="int" /> + <field name="Destination X2" dword="3" bits="15:0" type="int" /> + <field name="Destination Y2" dword="3" bits="31:16" type="int" /> + <field name="Destination Base Address" dword="4" bits="63:0" type="address" /> + <field name="Destination X Offset" dword="6" bits="13:0" type="uint" /> + <field name="Destination Y Offset" dword="6" bits="29:16" type="uint" /> + <field name="Destination Target Memory" dword="6" bits="31:31" type="uint" prefix="XY_MEM"> + <value name="LOCAL" value="0" /> + <value name="SYSTEM" value="1" /> + </field> + <field name="Source X1" dword="7" bits="15:0" type="int" /> + <field name="Source Y1" dword="7" bits="31:16" type="int" /> + <field name="Source Pitch" dword="8" bits="17:0" type="uint" /> + <field name="Source Encrypt En" dword="8" bits="21:21" type="bool" /> + <field name="Source MOCS index" dword="8" bits="27:24" type="uint" /> + <field name="Source Tiling" dword="8" bits="31:30" type="uint" prefix="XY_TILE"> + <value name="LINEAR" value="0" /> + <value name="X" value="1" /> + <value name="4" value="2" /> + <value name="64" value="3" /> + </field> + <field name="Source Base Address" dword="9" bits="63:0" type="address" /> + <field name="Source X Offset" dword="11" bits="13:0" type="uint" /> + <field name="Source Y Offset" dword="11" bits="29:16" type="uint" /> + <field name="Source Target Memory" dword="11" bits="31:31" type="uint" prefix="XY_MEM"> + <value name="LOCAL" value="0" /> + <value name="SYSTEM" value="1" /> + </field> + <field name="Source Compression Format" dword="12" bits="4:0" type="uint" /> + <field name="Source Clear Value Enable" dword="12" bits="5:5" type="bool" /> + <field name="Source Clear Address" dword="12" bits="47:6" type="address" /> + <field name="Destination Compression Format" dword="14" bits="4:0" type="uint" /> + <field name="Destination Clear Value Enable" dword="14" bits="5:5" type="bool" /> + <field name="Destination Clear Address" dword="14" bits="47:6" type="address" /> + <field name="Destination Surface Height" dword="16" bits="13:0" type="uint" /> + <field name="Destination Surface Width" dword="16" bits="27:14" type="uint" /> + <field name="Destination Surface Type" dword="16" bits="31:29" type="uint" prefix="XY_SURFTYPE"> + <value name="1D" value="0" /> + <value name="2D" value="1" /> + <value name="3D" value="2" /> + <value name="CUBE" value="3" /> + </field> + <field name="Destination LOD" dword="17" bits="3:0" type="uint" /> + <field name="Destination Surface QPitch" dword="17" bits="18:4" type="uint" /> + <field name="Destination Surface Depth" dword="17" bits="31:21" type="uint" /> + <field name="Destination Horizontal Align" dword="18" bits="1:0" type="uint"> + <value name="HALIGN_16" value="0" /> + <value name="HALIGN_32" value="1" /> + <value name="HALIGN_64" value="2" /> + <value name="HALIGN_128" value="3" /> + </field> + <field name="Destination Vertical Align" dword="18" bits="4:3" type="uint"> + <value name="VALIGN_4" value="1" /> + <value name="VALIGN_8" value="2" /> + <value name="VALIGN_16" value="3" /> + </field> + <field name="Destination Mip Tail Start LOD" dword="18" bits="11:8" type="uint" /> + <field name="Destination Array Index" dword="18" bits="31:21" type="uint" /> + <field name="Source Surface Height" dword="19" bits="13:0" type="uint" /> + <field name="Source Surface Width" dword="19" bits="27:14" type="uint" /> + <field name="Source Surface Type" dword="19" bits="31:29" type="uint" prefix="XY_SURFTYPE"> + <value name="1D" value="0" /> + <value name="2D" value="1" /> + <value name="3D" value="2" /> + <value name="CUBE" value="3" /> + </field> + <field name="Source LOD" dword="20" bits="3:0" type="uint" /> + <field name="Source Surface QPitch" dword="20" bits="18:4" type="uint" /> + <field name="Source Surface Depth" dword="20" bits="31:21" type="uint" /> + <field name="Source Horizontal Align" dword="21" bits="1:0" type="uint"> + <value name="HALIGN_16" value="0" /> + <value name="HALIGN_32" value="1" /> + <value name="HALIGN_64" value="2" /> + <value name="HALIGN_128" value="3" /> + </field> + <field name="Source Vertical Align" dword="21" bits="4:3" type="uint"> + <value name="VALIGN_4" value="1" /> + <value name="VALIGN_8" value="2" /> + <value name="VALIGN_16" value="3" /> + </field> + <field name="Source Mip Tail Start LOD" dword="21" bits="11:8" type="uint" /> + <field name="Source Array Index" dword="21" bits="31:21" type="uint" /> + </instruction> + <instruction name="XY_FAST_COLOR_BLT" bias="2" length="16" engine="blitter"> + <field name="DWord Length" dword="0" bits="7:0" type="uint" default="14" /> + <field name="Number of Multisamples" dword="0" bits="11:9" type="uint"> + <value name="MULTISAMPLECOUNT_1" value="0" /> + <value name="MULTISAMPLECOUNT_2" value="1" /> + <value name="MULTISAMPLECOUNT_4" value="2" /> + <value name="MULTISAMPLECOUNT_8" value="3" /> + <value name="MULTISAMPLECOUNT_16" value="4" /> + </field> + <field name="Special Mode of Operation" dword="0" bits="13:12" type="uint"> + <value name="NONE" value="0" /> + <value name="USE_AUX_SPECIAL_OPERATIONS_MODE" value="1" /> + </field> + <field name="Color Depth" dword="0" bits="21:19" type="uint" prefix="XY_BPP"> + <value name="8_BIT" value="0" /> + <value name="16_BIT" value="1" /> + <value name="32_BIT" value="2" /> + <value name="64_BIT" value="3" /> + <value name="96_BIT" value="4" /> + <value name="128_BIT" value="5" /> + </field> + <field name="Instruction Target(Opcode)" dword="0" bits="28:22" type="uint" default="68"> + <value name="XY_FAST_COLOR_BLT" value="68" /> + </field> + <field name="Client" dword="0" bits="31:29" type="uint" default="2"> + <value name="2D Processor" value="2" /> + </field> + <field name="Destination Pitch" dword="1" bits="17:0" type="uint" /> + <field name="Destination Encrypt En" dword="1" bits="21:21" type="bool" /> + <field name="Destination MOCS index" dword="1" bits="27:24" type="uint" /> + <field name="Destination Tiling" dword="1" bits="31:30" type="uint" prefix="XY_TILE"> + <value name="LINEAR" value="0" /> + <value name="X" value="1" /> + <value name="4" value="2" /> + <value name="64" value="3" /> + </field> + <field name="Destination X1" dword="2" bits="15:0" type="int" /> + <field name="Destination Y1" dword="2" bits="31:16" type="int" /> + <field name="Destination X2" dword="3" bits="15:0" type="int" /> + <field name="Destination Y2" dword="3" bits="31:16" type="int" /> + <field name="Destination Base Address" dword="4" bits="63:0" type="address" /> + <field name="Destination X Offset" dword="6" bits="13:0" type="uint" /> + <field name="Destination Y Offset" dword="6" bits="29:16" type="uint" /> + <field name="Destination Target Memory" dword="6" bits="31:31" type="uint"> + <value name="LOCAL_MEM" value="0" /> + <value name="SYSTEM_MEM" value="1" /> + </field> + <group count="4" dword="7" size="32"> + <field name="Fill Color" dword="0" bits="31:0" type="uint" /> + </group> + <field name="Destination Compression Format" dword="11" bits="3:0" type="uint" /> + <field name="Surface Format" dword="12" bits="8:0" type="uint" /> + <field name="AUX_SPECIAL_OPERATIONS_MODE" dword="12" bits="31:29" type="uint"> + <value name="FAST_CLEAR_HW_FORMAT_CONVERSION" value="0" /> + <value name="FAST_CLEAR_BYPASS_HW_FORMAT_CONVERSION" value="1" /> + <value name="FORCE_UNCOMPRESS" value="2" /> + </field> + <field name="Destination Surface Height" dword="13" bits="13:0" type="uint" /> + <field name="Destination Surface Width" dword="13" bits="27:14" type="uint" /> + <field name="Destination Surface Type" dword="13" bits="31:29" type="uint" prefix="XY_SURFTYPE"> + <value name="1D" value="0" /> + <value name="2D" value="1" /> + <value name="3D" value="2" /> + <value name="CUBE" value="3" /> + </field> + <field name="Destination LOD" dword="14" bits="3:0" type="uint" /> + <field name="Destination Surface QPitch" dword="14" bits="18:4" type="uint" /> + <field name="Destination Surface Depth" dword="14" bits="31:21" type="uint" /> + <field name="Destination Horizontal Align" dword="15" bits="1:0" type="uint"> + <value name="HALIGN_16" value="0" /> + <value name="HALIGN_32" value="1" /> + <value name="HALIGN_64" value="2" /> + <value name="HALIGN_128" value="3" /> + </field> + <field name="Destination Vertical Align" dword="15" bits="4:3" type="uint"> + <value name="VALIGN_4" value="1" /> + <value name="VALIGN_8" value="2" /> + <value name="VALIGN_16" value="3" /> + </field> + <field name="Destination Mip Tail Start LOD" dword="15" bits="11:8" type="uint" /> + <field name="Destination Depth/Stencil Resource" dword="15" bits="18:18" type="bool" /> + <field name="Destination Array Index" dword="15" bits="31:21" type="uint" /> + </instruction> + <register name="BLT_TRTT_VA_RANGE" length="1" num="0x4484"> + <field name="TR-VA Base" dword="0" bits="12:0" type="uint" /> + </register> + <register name="CACHE_MODE_0" length="1" num="0x7000"> + <field name="Hierarchical Z RAW Stall Optimization Disable" dword="0" bits="2:2" type="bool" /> + <field name="Hierarchical Z Disable" dword="0" bits="3:3" type="bool" /> + <field name="Late Z Alloc Disable" dword="0" bits="4:4" type="bool" /> + <field name="Msaa Fast Clear Enabled" dword="0" bits="5:5" type="bool" /> + <field name="Depth Related Cache Pipelined Flush Disable" dword="0" bits="8:8" type="bool" /> + <field name="Sampler L2 TLB Prefetch Enable" dword="0" bits="9:9" type="bool" /> + <field name="RCZ PMA Not-Promoted Allocation stall optimization Disable due to change in depth parameters" dword="0" bits="10:10" type="uint" /> + <field name="Disable Repacking for Compression" dword="0" bits="15:15" type="bool" /> + <field name="Hierarchical Z RAW Stall Optimization Disable Mask" dword="0" bits="18:18" type="bool" /> + <field name="Hierarchical Z Disable Mask" dword="0" bits="19:19" type="bool" /> + <field name="Late Z Alloc Disable Mask" dword="0" bits="20:20" type="bool" /> + <field name="Msaa Fast Clear Enabled Mask" dword="0" bits="21:21" type="bool" /> + <field name="Depth Related Cache Pipelined Flush Disable Mask" dword="0" bits="24:24" type="bool" /> + <field name="Sampler L2 TLB Prefetch Enable Mask" dword="0" bits="25:25" type="bool" /> + <field name="RCZ PMA Not-Promoted Allocation stall optimization Disable due to change in depth parameters Mask" dword="0" bits="26:26" type="bool" /> + <field name="Disable Repacking for Compression Mask" dword="0" bits="31:31" type="bool" /> + </register> + <register name="COMP_CTX0_TRTT_VA_RANGE" length="1" num="0x4584"> + <field name="TR-VA Base" dword="0" bits="12:0" type="uint" /> + </register> + <register name="CS_CHICKEN1" length="1" num="0x2580"> + <field name="Media And GPGPU Pre-emption Control" dword="0" bits="2:1" type="uint"> + <value name="Mid-thread Pre-emption" value="0" /> + <value name="Thread Group Pre-emption" value="1" /> + <value name="Command Level Pre-emption" value="2" /> + </field> + <field name="Disable Preemption and High Priority Pausing due to 3DPRIMITIVE Command" dword="0" bits="10:10" type="bool" /> + <field name="Media And GPGPU Pre-emption Control Mask" dword="0" bits="18:17" type="uint" /> + <field name="Disable Preemption and High Priority Pausing due to 3DPRIMITIVE Command Mask" dword="0" bits="26:26" type="bool" /> + </register> + <register name="FF_MODE" length="1" num="0x6210"> + <field name="Mesh Shader Autostrip Disable" dword="0" bits="15:15" type="bool" /> + <field name="Mesh Shader Partial Autostrip Disable" dword="0" bits="16:16" type="bool" /> + <field name="TE Autostrip Disable" dword="0" bits="31:31" type="bool" /> + </register> + <register name="GFX_TRTT_VA_RANGE" length="1" num="0x4404"> + <field name="TR-VA Base" dword="0" bits="12:0" type="uint" /> + </register> + <register name="VFL_SCRATCH_PAD" length="1" num="0x62a8"> + <field name="Autostrip Disable" dword="0" bits="6:6" type="uint" /> + <field name="Partial Autostrip Disable" dword="0" bits="9:9" type="uint" /> + <field name="Autostrip Disable Mask" dword="0" bits="22:22" type="bool" /> + <field name="Partial Autostrip Disable Mask" dword="0" bits="25:25" type="bool" /> + </register> +</genxml>
lib/intel/genxml/xe3.xml new file +816 -0
816 lines not on this page · raw message
lib/intel/genxml/xe3p.xml new file +4 -0
@@ -0,0 +1,4 @@ +<?xml version='1.0' encoding='utf-8'?> +<genxml name="XE3P" gen="35"> + <import name="xe3.xml" /> +</genxml>
lib/meson.build +4 -1
@@ -307,6 +307,9 @@ genxml_gen_deps = files( 'intel/genxml/gen110.xml', 'intel/genxml/gen120.xml', 'intel/genxml/gen125.xml', + 'intel/genxml/xe2.xml', + 'intel/genxml/xe3.xml', + 'intel/genxml/xe3p.xml', ) # Ordered list of all gens, oldest first. Each gen's baselines are all
@@ -314,7 +317,7 @@ genxml_gen_deps = files( # omitted from the generated header; the comment points directly to the # oldest gen that defined that layout so that a developer can find the # real struct in one grep. -genxml_gens = ['gen90', 'gen110', 'gen120', 'gen125'] +genxml_gens = ['gen90', 'gen110', 'gen120', 'gen125', 'xe2', 'xe3', 'xe3p'] genxml_pack_headers = [] genxml_decode_headers = []
Signature · 1 line
2.34.1