View Full Version : glProgramParameteri entry point missing?
03-14-2010, 01:46 PM
Both gl.spec and glext.h list three versions of this method: glProgramParameteri, glProgramParameteriARB and glProgramParameteriEXT. However, my driver (Nvidia) only exposes the last two. The first one is missing.
This issue can be reproduced on two different video cards (Quadro FX 570 and Quadro NVS 135M), using driver 195.62 on Windows 7 (both 32- and 64-bit). The driver claims 3.2 support, so I would expect the core version to be available.
Is this expected or are we dealing with a driver bug? Can anyone with an AMD video card say if this function is exposed there?
03-14-2010, 02:50 PM
Same problem here on a 8800GTS, Win7 64b using driver 196.21
03-14-2010, 03:23 PM
Where does this come from? glProgramParameteriARB is from ARB_vertex_program, which was never brought into core. So why would there be a core version of this function?
03-14-2010, 03:57 PM
This is from ARB_geometry_shader4 (http://www.opengl.org/registry/specs/ARB/geometry_shader4.txt).
It is listed in both gl.spec (http://www.opengl.org/registry/api/gl.spec) and glext.h (http://www.opengl.org/registry/api/glext.h) as a core 3.2 function.
03-14-2010, 04:27 PM
This is from ARB_geometry_shader4.
Then this is likely a bug. The 3.2 and 3.3 core GL specifications list no such function. It is a part of ARB_geometry_shader4, but ARB_geometry_shader4 is not a core extension. Thus, its extension functions end in ARB.
This is probably a copy&paste bug in the gl.spec file. They copied the entries from ARB_geometry_shader4 without realizing that glProgramParameteri isn't a part of the core 3.2 geometry shader code (3.2 geometry shaders, with 1.50 shader support, have the equivalent as part of the geometry shader itself).
03-14-2010, 04:44 PM
Thanks, filed as bug #277 (http://www.khronos.org/bugzilla/show_bug.cgi?id=277).
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.