mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 04:04:23 +08:00
isaspec: encode: Correct used regex
The current regex misses the = sign and therefore fails to match
DST:align=16.
Fixes: 9e56f69edf
("isaspec: encode: handle special fieldname properties")
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25451>
This commit is contained in:
parent
2c9a59dcfc
commit
ef602e77f6
@ -134,7 +134,7 @@ class Case(object):
|
||||
self.expr = None
|
||||
if case.expr is not None:
|
||||
self.expr = bitset.isa.expressions[case.expr]
|
||||
self.fieldnames = re.findall(r"{([a-zA-Z0-9_:]+)}", case.display)
|
||||
self.fieldnames = re.findall(r"{([a-zA-Z0-9_:=]+)}", case.display)
|
||||
self.append_forced(bitset)
|
||||
|
||||
# remove special fieldname properties e.g. :align=
|
||||
|
Loading…
Reference in New Issue
Block a user