Is there any standard way to init const arrays that works on all cards?
Well, the specification just says what is supposed to happen. All you can do is avoid using arrays of length 1 for now and file a bug report to NVIDIA for not allowing 1-length arrays.
Try removing the const. NVidia drivers are pretty smart about seeing that things are const without you telling it and performing the appropriate optimizations. Not sure about ATI.
removing const doesn´t work, i have “solved” it making a 2 sized array when I need a 1 sized, it works in my program beacause of how it is made, but can be a bad solution for other programs, so I expect nvidia solve this issue…