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@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Plamena Manolova 2019-10-23 21:39:02 +01:00
parent 8818e0df74
commit 1ecd37eac6

View file

@ -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"/>