Added glsl translator for primitives types.