I’m not talking about for a single shader program, but GLslang for one object and vp/fp for another object. I’ve been getting exceptions tossed back at me at glDrawArray (I’m using VBOs) for a vp/fp object that’s being drawn after a GLslang object. Anyone have any similar problems? I’ll be switching over to GLslang entirely, so this problem won’t last for long, but I don’t see how the problem should be there in the first place.
I’ve used both (GLslang and ARB_vp/ARB_fp) in one of my projects without problems. But I didn’t use VBOs there, so maybe that’s the reason, who knows.
In the same program, I’m using glslang to render some objects and arb_fp to render others with no problem.
In this program, I’m using VBO for everything.
Hope this helps.
Odd. . . I’m not sure what I’m missing. . .
To release a GLslang shader object it’s just glUseProgramObjectARB (0), right?