View Full Version : Can one use both GLslang and ARB_vp/ARB_fp?
12-27-2003, 07:36 PM
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.
12-27-2003, 09:43 PM
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.
12-28-2003, 08:57 AM
Odd. . . I'm not sure what I'm missing. . .
To release a GLslang shader object it's just glUseProgramObjectARB (0), right?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.