input mapping vec3 v3.xy = v2 will generate vec3 v3 = vec3(0.0); v3.xy = v2; As this statement can't be done in one line.