Topic Options
Rate This Topic
#273925 - 03/14/10 02:46 PM glProgramParameteri entry point missing?
Stephen A Offline
Regular Contributor
***

Registered: 10/19/06
Posts: 332
Loc: Greece
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?

Top
#273931 - 03/14/10 03:50 PM Re: glProgramParameteri entry point missing? [Re: Stephen A]
Iliak Offline
Newbie

Registered: 07/23/04
Posts: 4
Same problem here on a 8800GTS, Win7 64b using driver 196.21
_________________________

www.mimicprod.net
A 2D .Net Arcade framework dedicated to retro gaming.

Top
#273940 - 03/14/10 04:23 PM Re: glProgramParameteri entry point missing? [Re: Iliak]
Alfonse Reinheart Offline
OpenGL Pro
***

Registered: 05/03/09
Posts: 1252
Quote:
glProgramParameteri


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?

Top
#273944 - 03/14/10 04:57 PM Re: glProgramParameteri entry point missing? [Re: Alfonse Reinheart]
Stephen A Offline
Regular Contributor
***

Registered: 10/19/06
Posts: 332
Loc: Greece
This is from ARB_geometry_shader4.

It is listed in both gl.spec and glext.h as a core 3.2 function.

Top
#273947 - 03/14/10 05:27 PM Re: glProgramParameteri entry point missing? [Re: Stephen A]
Alfonse Reinheart Offline
OpenGL Pro
***

Registered: 05/03/09
Posts: 1252
Quote:
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).

Top
#273948 - 03/14/10 05:44 PM Re: glProgramParameteri entry point missing? [Re: Alfonse Reinheart]
Stephen A Offline
Regular Contributor
***

Registered: 10/19/06
Posts: 332
Loc: Greece
Thanks, filed as bug #277.

Top


Moderator:  barthold, dorbie, Tom Nuydens, Zengar 
Search

Who's Online
3 registered (Savail, Pierre Boudier, ugluk), 36 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
pixelita, Fabixel, Kim Roberts, Giselle, SionFly
25985 Registered Users
Top Posters (30 Days)
Alfonse Reinheart 87
Dark Photon 86
ZbuffeR 77
DmitryM 48
ugluk 39
Rosario Leonardi 35
nickels 33
Aleksandar 29
david_f_knight 28
Groovounet 28
mhagain 27
BionicBytes 25
Schnulla 24
Mr.Byteside 23
Ilian Dinev 20
hound 19
NeXEkho 18
kRogue 17
kyle_ 16
ei05tbe 16
Forum Stats
25986 Members
13 Forums
54413 Topics
282163 Posts

Max Online: 482 @ 08/11/08 06:19 PM