void main() { vec2 v; v.xy = 1.2; // swizzle needs two values, v.xy = vec2(1.2) is correct }