Strange crash of glUseProgram

Hello, i have an strange crash into my program. With one vertex shader (only that), that are compiled and attached succesfully to the program object, when the program reachs to the glUseProgramObjectARB, i get an exception. Why only with this vp? maybe a bug in the drivers?
(the vp that crashes are this: http://www.clockworkcoders.com/oglsl/tutorial9.htm )
I think that is a bug because crashes too in the 3dlabs demo.

I tested this program on a ATI FireGL Z1, ATI 9600SE and 9700 and it works. (Catalyst 4.1)
I don’t think I tried that one on 3Dlabs hardware though.

Did you use provided C++ source or used your own source to load the program ?

–Martin

I had used my own C++ loading code and the 3dlabs glslang demo application, (i have a 3dlabs card) so i suppose that the problem are in the glslang driver, not in the shader. If anyone have a 3dlabs cards, please, try this shader and post the results
I posted in 3dlabs forums, but 3dlabs take much time in reply in the forums…

Edit: i compiled and execute the source code of the tutorial and crashes too. It will be a bug in the 3dlabs glslang compiler

[This message has been edited by Ffelagund (edited 01-29-2004).]

I will test it on a 3DLabs card tomorrow.

Version 3.01.0.713 of the 3DLabs driver at http://www.schneider-digital.de/html/download_3dlabs.html

On 3DLabs page there is still the one from December… (3.01.0.678)

–Martin

Incredible!, the 3dLabs web are outdated about their own drivers…
Thank you very much for this link

Edit: With the new driver the vp crashes at glUseProgramObjectARB too

[This message has been edited by Ffelagund (edited 01-29-2004).]

Try to change

P = (gl_ModelViewMatrix * gl_Vertex).xyz

to

P = vec3(gl_ModelViewMatrix * gl_Vertex);

Now the shader works correctly.
Thank you.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.