mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
isaspec: Improve 'meta' handling
As a meta line could become quite long, make it possible to have multiple meta tags. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Acked-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28920>
This commit is contained in:
parent
1747fed633
commit
33db56e784
1 changed files with 2 additions and 2 deletions
|
|
@ -288,8 +288,8 @@ class BitSet(object):
|
||||||
if 'max' in gen.attrib:
|
if 'max' in gen.attrib:
|
||||||
self.gen_max = int(gen.attrib['max'])
|
self.gen_max = int(gen.attrib['max'])
|
||||||
|
|
||||||
if xml.find('meta') is not None:
|
for meta in xml.findall('meta'):
|
||||||
self.meta = xml.find('meta').attrib
|
self.meta.update(meta.attrib)
|
||||||
|
|
||||||
# Collect up the match/dontcare/mask bitmasks for
|
# Collect up the match/dontcare/mask bitmasks for
|
||||||
# this bitset case:
|
# this bitset case:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue