the error is not related to any application state / condition, when i load simpler shaders ( without texture uniforms ) everything runs fine. The same code runs fine on windows. I get my problems with Mac OS 10.6.7
Anyone knows what is wrong with this shader?
Is it allowed to mix sampler2D / samplerRect on Mac OS X?
when i try to load this shader, i get “invalid operation”
BTW, when you load shaders, the compiler/linker will tell you when you have done something wrong. They have a message log. You don’t have to wait until render time to know that a shader is broken.