
ProgramParameter
Posted Sunday, 14 March, 2010 - 19:14 by iliak| Project: | The Open Toolkit library |
| Version: | 1.0-beta-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
I have an entry point not found with the following command :
GL.ProgramParameter(ProgramID, Version32.GeometryInputType, (int)GeometryInput);
Is it my code or a bug in OpenTK ?
Windows 7 32b
Renderer : Quadro FX 570M/PCI/SSE2
Version : 3.2.0
Shading Language Version : 1.50 NVIDIA via Cg compiler


Comments
#1
My Nvidia drivers (Win7 64bit, 195.62, Quadro NVS 135M) do not seem to expose this function, either. However, they do expose
GL.Arb.ProgramParameter()andGL.Ext.ProgramParameter(). I do not know if this is expected or not, but both gl.spec and glext.h list all three versions explicitly (core, ARB and EXT), which might indicate that this is a driver bug.Anyone with an AMD card willing to say whether this method is exposed there?
Edit: I've posted a question at opengl.org, let's see what comes out of it.
#2
Same problem on a 8800GTS, Win7 64b using driver 196.21
#3
This seems to be an upstream bug, ProgramParameteri is not supposed to exist (its functionality was folded into GLSL 1.5 geometry shaders). Reported as bug #277.
Leaving the issue open to decide how to best handle this in OpenTK. I think we should remove it completely through gloverrides.xml (will take some work, good thing you reported this before the 1.0 release!)
#4
To make matters more complicated, it seems that Ati drivers actually expose this function. This means we cannot remove it on our own.
This is up to Khronos, now.