freedreno/a6xx: Add stencilref register info
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 16 Jul 2020 13:48:41 +0000 (15:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 20:49:20 +0000 (20:49 +0000)
Found by guessing.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5936>

src/freedreno/registers/a6xx.xml

index 63e8e01058fa7b9e2b7b2555d8ac13a2e39ab67d..2124d8e3a2fec6eb212b4411171c7a6a07b49b9c 100644 (file)
@@ -2211,7 +2211,7 @@ to upconvert to 32b float internally?
                <bitfield name="DUAL_COLOR_IN_ENABLE" pos="0" type="boolean"/>
                <bitfield name="FRAG_WRITES_Z" pos="1" type="boolean"/>
                <bitfield name="FRAG_WRITES_SAMPMASK" pos="2" type="boolean"/>
-               <bitfield name="UNK3" pos="3" type="boolean"/>
+               <bitfield name="FRAG_WRITES_STENCILREF" pos="3" type="boolean"/>
        </reg32>
        <reg32 offset="0x880c" name="RB_FS_OUTPUT_CNTL1">
                <bitfield name="MRT" low="0" high="3" type="uint"/>
@@ -3203,6 +3203,7 @@ to upconvert to 32b float internally?
                <bitfield name="DUAL_COLOR_IN_ENABLE" pos="0" type="boolean"/>
                <bitfield name="DEPTH_REGID" low="8" high="15" type="a3xx_regid"/>
                <bitfield name="SAMPMASK_REGID" low="16" high="23" type="a3xx_regid"/>
+               <bitfield name="STENCILREF_REGID" low="24" high="31" type="a3xx_regid"/>
        </reg32>
        <reg32 offset="0xa98d" name="SP_FS_OUTPUT_CNTL1">
                <bitfield name="MRT" low="0" high="3" type="uint"/>