freedreno/registers: Allow varset to be specified on enum
authorRob Clark <robdclark@chromium.org>
Sat, 23 Jul 2022 21:15:20 +0000 (14:15 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 2 Aug 2022 23:46:15 +0000 (23:46 +0000)
It gets a bit repetitive to specify the same varset on each value.  The
rnn decode already handles it when specified on the enum, we just need
to relax the schema to allow this.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17817>

src/freedreno/registers/rules-ng.xsd

index ed02c13..46d6a2d 100644 (file)
                <attribute name="inline" type="rng:Boolean" use="optional" />
                <attribute name="bare" type="rng:Boolean" use="optional" />
                <attribute name="prefix" type="NMTOKENS" use="optional" />
+               <attribute name="varset" type="NMTOKEN" use="optional" />
        </complexType>
 
        <complexType name="valueType">