Mesa (main): panfrost: Strip % in GenXML names

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


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

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

panfrost: Strip % in GenXML names

A new Valhall enum will represent percentages, so allow that.

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

---

 src/panfrost/lib/genxml/gen_pack.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/panfrost/lib/genxml/gen_pack.py b/src/panfrost/lib/genxml/gen_pack.py
index 2a729f64ae0..f6b1a0f691c 100644
--- a/src/panfrost/lib/genxml/gen_pack.py
+++ b/src/panfrost/lib/genxml/gen_pack.py
@@ -236,6 +236,7 @@ def to_alphanum(name):
         '>': '',
         '#': '',
         '&': '',
+        '%': '',
         '*': '',
         '"': '',
         '+': '',



More information about the mesa-commit mailing list