HI Mike,

There error:

<stdlib>(3044) : error C5043: profile requires index expression to be
compile-time constant

Looks to me like a NVidia GLSL compiler restriction, or perhaps its
down to a hardware issue.

I got something similar under Linux with the NVidia drivers (OpenGL
version string: 2.0.2 NVIDIA 87.56) and a 7800GT when running the
osgshaders example:


Fragment info
-------------
(41) : error C6013: Only arrays of texcoords may be indexed in this
profile, and only with a loop index variable
(41) : error C6013: Only arrays of texcoords may be indexed in this
profile, and only with a loop index variable

Changing the index value to a const allowed the compiler to get over
this hurdle, but breaks the functionality... so isn't of much value
other knowing the limits of the compiler.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to