Skip to content

svga: workaround for unexpected double swizzle

Charmaine Lee requested to merge charmainel/mesa:svga-workaround-swizzle into main

SM5 requires swizzles for 64 bits alu source to be either .xyzw, .xyxy, .zwxy, or .zwzw. If the swizzles are not in the valid pattern, move the source according to the specified swizzle to a temporary register first.

/cc @bhenden

Merge request reports