I have a GLSL shader that compiles without errors, but validation fails. When I try to render stuff, nothing gets rendered except for other objects that use other valid shaders. Calling glGetError after glDrawElements gives GL_INVALID_OPERATION.
How do I solve this?
I tried a RenderMonkey version, but I had to make a monor modification since texture coord 1 isn't present in the 3DS models.
It compiles and runs fine in RenderMonkey.
If I run the shader as written in RM, validation still fails so I don't understand what's bugging it.