glsl2: Set the type on cloned tex instructions.