Mesa (main): panfrost: Fix Depth Source enum

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 8 20:35:40 UTC 2022


Module: Mesa
Branch: main
Commit: 12446491c18ced292f663dd2eab9d964d7afbd2e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12446491c18ced292f663dd2eab9d964d7afbd2e

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Feb  2 18:52:42 2022 -0500

panfrost: Fix Depth Source enum

As I suspected... sigh.

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14935>

---

 src/panfrost/lib/genxml/v9.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/panfrost/lib/genxml/v9.xml b/src/panfrost/lib/genxml/v9.xml
index 3bceb4adb11..49376cea8ec 100644
--- a/src/panfrost/lib/genxml/v9.xml
+++ b/src/panfrost/lib/genxml/v9.xml
@@ -16,8 +16,8 @@
   </enum>
 
   <enum name="Depth Source">
-    <!-- TODO: check if min/max supported -->
-    <value name="None" value="0"/>
+    <value name="Minimum" value="0"/>
+    <value name="Maximum" value="1"/>
     <value name="Fixed function" value="2"/>
     <value name="Shader" value="3"/>
   </enum>



More information about the mesa-commit mailing list