Thanks for the replies. You've given me sufficient info to take the
discussion to the next level with the VTK developers closer to the
feature than I am... I'm just trying to get our tests to pass everywhere!
Thanks again,
David Cole
Brian Paul wrote:
> Michal Krol wrote:
>
>> On 06/10/06, David Cole <david.cole@...> wrote:
>>
>>> First post to mesa lists... hopefully this is the right place for this
>>> question:
>>>
>>> The ability to icorporate custom GLSL shaders was recently added to
>>> VTK.
>>> However, our tests of this fail when VTK is linked using mesa
>>> apparently
>>> because there is no glIsProgram symbol. We use an OpenGL extensions
>>> manager object to query for it and it's not there. Are we doing
>>> something wrong or is there something missing from mesa??
>>>
>>
>>
>> GL_ARB_shader_objects extension does not define glIsProgram function.
>> To check if a given program handle is valid, simply test it against 0.
>
>
> David, are you clear on the difference between "programs" and
> "shaders" and the various extensions for them?
>
> OpenGL 2.0 defines both glIsProgram() and glIsShader(). But neither
> is in Mesa since Mesa isn't at the 2.0 level yet.
>
> -Brian
>
|