I have the following Elm type for uniforms:
type alias Uniforms = { cellColors : List Vec3 }
In a vertex shader I have the following declaration for an array of vec3 uniform:
uniform vec3 cellColors[9];
The GLSL parser, however, is inferring/parsing the type of the cellColors variable to be Vec3, and not Array Vec3.
It seems as if this is a bug in the underlying GLSL parsing library: noteed/language-glsl#19
Is there a way to work around this bug?