summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2017-08-16 16:45:47 -0700
committerJordan Justen <[email protected]>2019-10-17 14:47:22 -0700
commitd2a490d1d9bdb4de211215fe132e29ea5993ac47 (patch)
tree4cf14843c66009c00430c89996f49b8ba20785c1 /src/intel/genxml
parent6c9f9a82d784701c9508fafa56182642cbfa544e (diff)
intel/genxml,isl: Add gen12 depth buffer changes
Reworks: * Fix 3DSTATE_DEPTH_BUFFER "Surface Format" end in xml (Jason) * Remove WM_HZ_OP changes (Nanley) Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel/genxml')
-rw-r--r--src/intel/genxml/gen12.xml22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/intel/genxml/gen12.xml b/src/intel/genxml/gen12.xml
index 2eab85a2ceb..77fc67098a0 100644
--- a/src/intel/genxml/gen12.xml
+++ b/src/intel/genxml/gen12.xml
@@ -1571,13 +1571,15 @@
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
<field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="49" type="uint"/>
- <field name="Surface Format" start="50" end="52" type="uint">
+ <field name="Depth Buffer Compression Enable" start="53" end="53" type="bool"/>
+ <field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
+ <field name="Corner Texel Mode" start="55" end="55" type="bool"/>
+ <field name="Surface Format" start="56" end="58" 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="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
- <field name="Stencil Write Enable" start="59" end="59" type="bool"/>
+ <field name="Null Page Coherency Enable" start="59" end="59" type="bool"/>
<field name="Depth Write Enable" start="60" end="60" type="bool"/>
<field name="Surface Type" start="61" end="63" type="uint">
<value name="SURFTYPE_2D" value="1"/>
@@ -1585,12 +1587,11 @@
<value name="SURFTYPE_NULL" value="7"/>
</field>
<field name="Surface Base Address" start="64" end="127" type="address"/>
- <field name="LOD" start="128" end="131" type="uint"/>
- <field name="Width" start="132" end="145" type="uint"/>
- <field name="Height" start="146" end="159" type="uint"/>
+ <field name="Width" start="129" end="142" type="uint"/>
+ <field name="Height" start="145" end="158" type="uint"/>
<field name="MOCS" start="160" end="166" type="uint"/>
- <field name="Minimum Array Element" start="170" end="180" type="uint"/>
- <field name="Depth" start="181" end="191" type="uint"/>
+ <field name="Minimum Array Element" start="168" end="178" type="uint"/>
+ <field name="Depth" start="180" end="190" type="uint"/>
<field name="Mip Tail Start LOD" start="218" end="221" type="uint"/>
<field name="Tiled Resource Mode" start="222" end="223" type="uint">
<value name="NONE" value="0"/>
@@ -1598,6 +1599,7 @@
<value name="TILEYS" value="2"/>
</field>
<field name="Surface QPitch" start="224" end="238" type="uint"/>
+ <field name="LOD" start="240" end="243" type="uint"/>
<field name="Render Target View Extent" start="245" end="255" type="uint"/>
</instruction>
@@ -1877,12 +1879,13 @@
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
<field name="Command Type" start="29" end="31" type="uint" default="3"/>
<field name="Surface Pitch" start="32" end="48" type="uint"/>
- <field name="Tiled Resource Mode" start="55" end="56" type="uint">
+ <field name="Tiled Resource Mode" start="54" end="55" type="uint">
<value name="NONE" value="0"/>
<value name="TILEYF" value="1"/>
<value name="TILEYS" value="2"/>
</field>
<field name="MOCS" start="57" end="63" type="uint"/>
+ <field name="Hierarchical Depth Buffer MOCS" start="57" end="63" type="uint"/>
<field name="Surface Base Address" start="64" end="127" type="address"/>
<field name="Surface QPitch" start="128" end="142" type="uint"/>
</instruction>
@@ -2966,6 +2969,7 @@
<instruction name="3DSTATE_WM_DEPTH_STENCIL" bias="2" length="4" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Depth State Modify Disable" start="12" end="12" type="bool"/>
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="78"/>
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>