[Solved] GLSL compiles but won’t link [closed]


Many GLSL implementations don’t actually compile the shaders until you call LinkProgram. When you call CompileShader it just does a basic syntax sanity check. That’s because to get reasonable performance on most GPUs, whole program optimization is needed. Thus, you might see what one would normally consider “compile” errors only when you link.

solved GLSL compiles but won’t link [closed]