some minor revision for glsl for 1.30