Mesa (main): pan/va: Fill in missing src_flat16 enum

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 30 22:27:58 UTC 2022


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Mon May 30 15:28:09 2022 -0400

pan/va: Fill in missing src_flat16 enum

Valhall gains(?) the ability to flatshade 16-bit varyings, this is indicated by
a particular source format.

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

---

 src/panfrost/bifrost/valhall/ISA.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/panfrost/bifrost/valhall/ISA.xml b/src/panfrost/bifrost/valhall/ISA.xml
index cc138971a6e..71677fe6ce1 100644
--- a/src/panfrost/bifrost/valhall/ISA.xml
+++ b/src/panfrost/bifrost/valhall/ISA.xml
@@ -735,9 +735,12 @@
   <enum name="Source format">
     <desc>
       In-memory format of varyings.
+
+      Note: src_flat32 is only valid with 32-bit varying instructions and
+      src_flat16 is only valid with 16-bit varying instructions.
     </desc>
     <value desc="Uninterpreted 32-bit values">src_flat32</value>
-    <reserved/>
+    <value desc="Uninterpreted 16-bit values">src_flat16</value>
     <value desc="Interpolated 32-bit floats">src_f32</value>
     <value desc="Interpolated 16-bit floats">src_f16</value>
   </enum>



More information about the mesa-commit mailing list