Mesa (wip/tgl-depth-bounds-test): genxml: Add 3DSTATE_DEPTH_BOUNDS instruction.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Oct 25 18:52:09 UTC 2019
Module: Mesa
Branch: wip/tgl-depth-bounds-test
Commit: 58c679659f0ba2df096d5acb9a13b64e3a04e8ad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58c679659f0ba2df096d5acb9a13b64e3a04e8ad
Author: Plamena Manolova <plamena.manolova at intel.com>
Date: Wed Oct 23 21:39:02 2019 +0100
genxml: Add 3DSTATE_DEPTH_BOUNDS instruction.
In gen12 we add the 3DSTATE_DEPTH_BOUNDS instruction
which enables support for depth bounds testing.
Signed-off-by: Plamena Manolova <plamena.manolova at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/intel/genxml/gen12.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/intel/genxml/gen12.xml b/src/intel/genxml/gen12.xml
index 05d70551aa4..7bb47f0da07 100644
--- a/src/intel/genxml/gen12.xml
+++ b/src/intel/genxml/gen12.xml
@@ -1563,6 +1563,19 @@
<field name="Constant Body" start="32" end="351" type="3DSTATE_CONSTANT_BODY"/>
</instruction>
+ <instruction name="3DSTATE_DEPTH_BOUNDS" bias="1" length="4">
+ <field name="Length" start="0" end="7" type="uint" default="2"/>
+ <field name="Depth Bounds Test Value Modify Disable" start="14" end="14" type="bool"/>
+ <field name="Depth Bounds Test Enable Modify Disable" start="15" end="15" type="bool"/>
+ <field name="3DSTATE Command Sub Opcode" start="16" end="23" type="uint" default="113"/>
+ <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"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="Depth Bounds Test Enable" start="32" end="32" type="uint"/>
+ <field name="Depth Bounds Test Min Value" start="64" end="95" type="float"/>
+ <field name="Depth Bounds Test Max Value" start="96" end="127" type="float"/>
+ </instruction>
+
<instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="8" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="6"/>
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
More information about the mesa-commit
mailing list