PDA

View Full Version : forceware 8x.xx glsl linking problems...



Henrik Kuehn
02-07-2006, 08:28 AM
I have some GLSL shaders that worked with forceware 76.xx-79.xx on a QuadroFX 3400
(NV40-12?).

Now I'm testing 8x.xx. Some shaders compile, but there are linker errors that I can't understand:

error C9999: symbol "@TMP6" already in table

Fragment info
-------------
(0) : fatal error C9999: Bad scope in ConvertLocalReferences()

What does this mean? Any idea?

sqrt[-1]
02-07-2006, 02:32 PM
Nvidia have recently been making their compiler more strict to the GLSL spec.

What happens when you run your shaders through the 3DLabs shader validator?

Can you post some shader source that does not link?

spasi
02-07-2006, 10:01 PM
You're seeing internal errors of NV's GLSL implementation.


Originally posted by Henrik Kuehn:
error C9999: symbol "@TMP6" already in tableI'm also seeing this. It happens when I link a new shader program containing a shader object that is already linked with another program.

Henrik Kuehn
02-09-2006, 01:21 AM
Thank you all for the help. I downloaded GLSLvalidate and it found the wrong line, that
confused glLinkProgram().

It was a "static" qualifier in the fragment shader , that doesn't exist in GLSL.

I send a report to NVidia GLSL support,
hoping forceware is getting better and better
in finding (my) bugs. But from now on, every
line of shadercode I'll write will first be checked by GLSLvalidate ;-)