function getGlslTypeFromType(type) {
  const size = getGlslSizeFromType(type);
  if (size > 1) {
    return /** @type {'vec2'|'vec3'|'vec4'} */ (`vec${size}`);
  }
  return 'float';
}
@param {number} type Value type
@return {'float'|'vec2'|'vec3'|'vec4'} The corresponding GLSL type for this value