nir/algebraic: support CL vector accessors
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19150>
This commit is contained in:
@@ -287,7 +287,7 @@ class Constant(Value):
|
||||
_var_name_re = re.compile(r"(?P<const>#)?(?P<name>\w+)"
|
||||
r"(?:@(?P<type>int|uint|bool|float)?(?P<bits>\d+)?)?"
|
||||
r"(?P<cond>\([^\)]+\))?"
|
||||
r"(?P<swiz>\.[xyzw]+)?"
|
||||
r"(?P<swiz>\.[xyzwabcdefghijklmnop]+)?"
|
||||
r"$")
|
||||
|
||||
class Variable(Value):
|
||||
|
||||
Reference in New Issue
Block a user