panfrost: Add v7-specific depth formats
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 28 Oct 2020 12:24:51 +0000 (08:24 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 31 Oct 2020 14:09:19 +0000 (14:09 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7352>

src/panfrost/lib/midgard.xml

index c0bdc24..d0fb6f9 100644 (file)
     <value name="RG32 FIXED" value="82"/>
     <value name="RGB32 FIXED" value="83"/>
     <value name="RGBA32 FIXED" value="84"/>
+    <!--- On v7, X24S8 -->
     <value name="Tilebuffer Native" value="85"/>
+    <value name="S8X24" value="86"/>
+    <value name="Z32 X32" value="87"/>
+    <value name="X32 Z32" value="88"/>
     <value name="R11F G11F B10F" value="89"/>
     <value name="B10F G11F R11F" value="90"/>
     <value name="R9F G9F B9F E5F" value="91"/>
     <value name="E5F B9F G9F R9F" value="92"/>
+    <!--- Format 93 avaible v7+. On Midgard, acts as a RG16F + snap -->
+    <value name="S8" value="93"/>
     <value name="VARYING POS" value="94"/>
     <value name="VARYING DISCARD" value="95"/>
     <value name="R8 SNORM" value="99"/>