I have a varying variable declared as an array in the vertex shader, I attach this vertex shader and any geometry shader (doesn’t even have to read the varying) in a progam and try to link, but something goes wrong during the glLinkProgram call. Visual Studio reports that it is likely a heap corruption, the call stack shows just ntdll.dll.
I just tried the Catalyst 11.5b hotfix and the program can be now linked without problems.
Looks like there’s a lot of good stuff in this patch release.
Where you using the debug flag to create the context? AMD drivers has a big issue on that regard where GLSL errors crash the GLSL compiler but only in debug mode…
Yes I was using the debug flag. However I don’t think it was a GLSL error as 11.5b doesn’t report any errors from compiling the shaders or linking the program.