Do uniform arrays work in Chrome or Firefox? A shader with a uniform array of floats, e.g.,
Works ok in both browsers, but a uniform array of vec2, e.g.,Code :uniform float u_float;
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.Code :uniform vec2 u_vec2;
After reading the OpenGL ES 2 and WebGL spec, I expect this to work.