mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01: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:
|
||||
self.gen_max = int(gen.attrib['max'])
|
||||
|
||||
if xml.find('meta') is not None:
|
||||
self.meta = xml.find('meta').attrib
|
||||
for meta in xml.findall('meta'):
|
||||
self.meta.update(meta.attrib)
|
||||
|
||||
# Collect up the match/dontcare/mask bitmasks for
|
||||
# this bitset case:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue