panfrost: Strip % in GenXML names
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 2 Feb 2022 23:21:19 +0000 (18:21 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Feb 2022 20:27:09 +0000 (20:27 +0000)
A new Valhall enum will represent percentages, so allow that.

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

src/panfrost/lib/genxml/gen_pack.py

index 2a729f6..f6b1a0f 100644 (file)
@@ -236,6 +236,7 @@ def to_alphanum(name):
         '>': '',
         '#': '',
         '&': '',
+        '%': '',
         '*': '',
         '"': '',
         '+': '',