Thanks for the correction; I looked closer at the spec for this, and found the solution:
const vec3 MyArray[4]=vec3[4](
vec3(1.5,34.4,3.2),
vec3(1.6,34.1,1.2),
vec3(18.981777,6.258294,-27.141813),
vec3(1.0,3.0,1.0)
);
No curly brackets.
Edit:
And OUCH. Replacing one of my uniform-arrays with such a const vec4[] dropped framerate from 93fps to 2fps :S.
Removing the “const” makes it run at 8fps.
Replacing the “const” with “uniform” (again, no curly brackets) restores it to 93fps.
GTX275, 196.34 (beta), winxp.