diff options
author | Plamena Manolova <[email protected]> | 2019-10-23 21:39:02 +0100 |
---|---|---|
committer | Plamena Manolova <[email protected]> | 2019-10-28 13:45:24 +0000 |
commit | 1ecd37eac68709c3f55d352a2852d19dcb58cf46 (patch) | |
tree | ed5430136ca5f56bb01d83c807f16914b7b22716 /src/intel/genxml/gen12.xml | |
parent | 8818e0df742120858b2460a2208fac57d242473a (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/genxml/gen12.xml')
-rw-r--r-- | src/intel/genxml/gen12.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/intel/genxml/gen12.xml b/src/intel/genxml/gen12.xml index f21d9432900..41957adacf9 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"/> |