View Full Version : Bugs in NV's GLSL implementation
04-29-2004, 08:03 AM
I recently noticed that calling glGetHandleARB(GL_PROGRAM_OBJECT_ARB) when no program object has made current before crashes my application. This is with the 56.72 drivers. Can anyone confirm this?
Also, I'm getting an GL error each time I try to set a uniform. But when I ignore these errors, my program seems to work perfectly.
BTW: The whole stuff works out-of-the-box on ATI cards.
04-29-2004, 08:51 AM
Are you doing something like setting a vec3 uniform with glUniform4f?
I'll look into the glGetHandle crash you are seeing and make sure it gets fixed.
04-29-2004, 09:36 AM
Originally posted by jra101:
Are you doing something like setting a vec3 uniform with glUniform4f?No, I'm mainly using glUniform3f to initialize vec3s, but the GL errors also appear when initializing floats with glUniform1f etc.
I'll look into the glGetHandle crash you are seeing and make sure it gets fixed.Thanks, it would be nice to hear whether you can reproduce it.
04-30-2004, 11:38 AM
I've been told that the glGetHandle crash has been fixed and the fix will be available in a future driver release.
Can't see any reason why you would be getting a GL error. Can you send me a copy of your shader a long with the app source where you are getting the GL error?
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.