PDA

View Full Version : Can one use both GLslang and ARB_vp/ARB_fp?



Ostsol
12-27-2003, 08: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.

PeteBernert
12-27-2003, 10: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.

Cab
12-28-2003, 08:01 AM
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.

Ostsol
12-28-2003, 09:57 AM
Odd. . . I'm not sure what I'm missing. . .

To release a GLslang shader object it's just glUseProgramObjectARB (0), right?