freedreno/rnn: schema updates for dynamic/irregular offsets

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>
This commit is contained in:
Rob Clark 2020-07-28 11:56:32 -07:00 committed by Marge Bot
parent c537947145
commit 3169b8c645
1 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,10 @@
<group ref="rng:regarrayGroup" />
</choice>
<attribute name="name" type="NMTOKEN" use="optional" />
<attribute name="offset" type="rng:HexOrNumber" use="required" />
<attribute name="offset" type="rng:HexOrNumber" use="optional" />
<attribute name="offsets" type="string" use="optional"/>
<attribute name="doffsets" type="string" use="optional"/>
<attribute name="index" type="NMTOKENS" use="optional"/>
<attribute name="stride" type="rng:HexOrNumber" use="required" />
<attribute name="length" type="rng:HexOrNumber" use="required" />
<attribute name="varset" type="NMTOKEN" use="optional" />