Hi,

Do uniform arrays work in Chrome or Firefox? A shader with a uniform array of floats, e.g.,

Code :
uniform float u_float[2];
Works ok in both browsers, but a uniform array of vec2, e.g.,

Code :
uniform vec2 u_vec2[2];
Does not work in either browser. In Chrome, the shader fails to link with no message in the link log. In Firefox, it compiles and links but the uniform cannot be queried.

After reading the OpenGL ES 2 and WebGL spec, I expect this to work.

Regards,
Patrick