GLSL samplerBuffer, syntax errror

Hi,

I tried to compile the following glsl fragment program:

#version 120
#extension GL_EXT_gpu_shader4 : enable
uniform samplerBuffer samp;
void main() {
gl_FragColor = texelFetchBuffer(samp, 0);
}

…but the info log says:
Fragment info

(3) : error C0000: syntax error, unexpected identifier at token “samplerBuffer”
(3) : error C0501: type name expected at token “samplerBuffer”

The same error occurs for “texelFetchBuffer” if the samplerBuffer declaration is removed.
It seems that samplerBuffers are not supported at the moment. (?)

> cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 1.0-9742 Tue Nov 7 09:45:02 PST 2006
GCC version: gcc version 4.1.0 (SUSE Linux)

> cat /proc/driver/nvidia/cards/0
Model: G80-100
IRQ: 169
Video BIOS: 60.80.06.00.17
Card Type: PCI-E
DMA Size: 40 bits
DMA Mask: 0xffffffffff

Maybe try this:

#extension EXT_gpu_shader4 : enable

That is a bug. The driver is not recognizing the right keyword. It has already been found and resolved, so when the GeForce 8800 level GLSL support comes out of beta, that will be supported.

-Evan