cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

jwwalker
Journeyman III

GLSL vertex shader compile sometimes fails

I've been getting intermittent errors compiling a vertex shader, preparing for the first render of a newly created OpenGL context. It's the same vertex shader that usually works, on the same hardware. After glGetShaderiv detects the failure, the info log usually shows this:


Vertex shader failed to compile with the following errors:


Yes, that's the whole thing.  The video card is ATI FireGL V7700, and the GL_VERSION string is 3.3.11554 Compatibility Profile Context FireGL.  Any clues?


More info here: http://stackoverflow.com/questions/22109033/intermittent-glsl-vertex-shader-compile-errors

0 Likes
1 Reply
jwwalker
Journeyman III

Additional information:

The problem also occurs on an ATI Radeon 3000 with the latest available driver.

If you don't enable GL_VERTEX_PROGRAM_TWO_SIDE, the problem does not occur.

A Visual C++ project to test the problem is attached.  It has a Read Me with steps to reproduce, including the use of Application Verifier to make the problem happen reliably.

0 Likes