iliak's picture

ProgramParameter

Project:The Open Toolkit library
Version:1.0-beta-3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
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

the Fiddler's picture

#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() and GL.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.

iliak's picture

#2

Same problem on a 8800GTS, Win7 64b using driver 196.21

the Fiddler's picture

#3

Version:1.x-dev» 1.0-beta-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!)

the Fiddler's picture

#4

Status:open» won't fix

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.