4abd75c7d1
Primary reason to do this is to make codegen using the swizzle names in bifrost/ISA.xml simpler. A secondary benefit is that dependent code can now use the swizzle name that matches the context, making things a little more readable. We may want to consider giving widens separate values later, so that va_lower_constants and bi_opt_constant_fold can fold them correctly, but I don't know of current bugs caused by this. Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33416>