ion mediump float;
struct info {
  vec4 pos;
  vec4 color;
};

uniform info uni;
void main()
{
    gl_Position = uni.pos;
}
</script>
<script id="fragmentShaderStructFieldName" type="text/something-not-javascript">
// Structures must have the same name, sequence of type names, and
// type definitions, and field names to be considered the same type.
// GLSL 1.017 4.2.4
precision mediump float;
struct info {
  vec4 pos1;
  vec4 color;
};

uniform info uni;
void main()
{
    gl_FragColor = uni.color;
}
</scrip