freedreno/rnn: schema updates for dynamic/irregular offsets
authorRob Clark <robdclark@chromium.org>
Tue, 28 Jul 2020 18:56:32 +0000 (11:56 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 14:30:35 +0000 (14:30 +0000)
Really we want to require one-of offset/offsets/doffsets.

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

src/freedreno/registers/rules-ng.xsd

index 3a8094f91b1b9888379a5ef8878489da97047594..009cdf745a5f5606349dc1c6420e1b05ca5835cf 100644 (file)
                        <group ref="rng:regarrayGroup" />\r
                </choice>\r
                <attribute name="name" type="NMTOKEN" use="optional" />\r
-               <attribute name="offset" type="rng:HexOrNumber" use="required" />\r
+               <attribute name="offset" type="rng:HexOrNumber" use="optional" />\r
+               <attribute name="offsets" type="string" use="optional"/>\r
+               <attribute name="doffsets" type="string" use="optional"/>\r
+               <attribute name="index" type="NMTOKENS" use="optional"/>\r
                <attribute name="stride" type="rng:HexOrNumber" use="required" />\r
                <attribute name="length" type="rng:HexOrNumber" use="required" />\r
                <attribute name="varset" type="NMTOKEN" use="optional" />\r