freedreno/rnn: allow name to be optional in arrays
authorRob Clark <robdclark@chromium.org>
Tue, 28 Jul 2020 18:01:02 +0000 (11:01 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 14:30:35 +0000 (14:30 +0000)
commit14a7ca577f4f8c655ca06cd7668a6fe33b4a7efc
tree8f8907c9fea8a49a4d77a07f234f330dfac0bd3f
parente801069c1e41d0248d28778614940b50aa868f08
freedreno/rnn: allow name to be optional in arrays

We are using unnamed arrays to describe repeating portions of a pm4
packet.  So allow the name to be optional.  Instead of just using
the empty-string hack, drop the attribute.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6107>
src/freedreno/registers/adreno/adreno_pm4.xml
src/freedreno/registers/gen_header.py
src/freedreno/registers/rules-ng.xsd
src/freedreno/rnn/rnn.c