Hi Martin, hmm, you're still seeing the "cannot change Uniform type" messages? The only time I see those messages is when loading that new-format glsl_array1.osg file into the older OSG v1.0, which is expected. Any chance there are old binaries being found? What OS are you running? Anyone else seeing the "cannot change Uniform type" message with a current CVS build?
Otherwise, I'm at a loss and those messages don't happen for me, so it's difficult for me to fix. Any other info or diagnosis most welcome. Cheers -- mew Martin Naylor wrote: > Hi Mike, > I was all update accept for the changes made to the CVS today ;-) > Still the same result. > > Regards > > Martin. > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike Weiblen > Sent: 21 May 2006 22:26 > To: osg users > Subject: Re: [osg-users] GLSL uniform arrays v. GPU drivers > > Martin Naylor wrote: > >>HI, >>Just out of curiosity I tried it with my Nvidia 7800 and got these errors? >>cannot change Uniform type >>cannot change Uniform type >>cannot change Uniform type >>cannot change Uniform type >>cannot change Uniform type > > > Are you using the latest OSG from CVS? That shouldn't happen. > > >>glLinkProgram "" FAILED >>Program "" infolog: >>Fragment info >>------------- >><stdlib>(3044) : error C5043: profile requires index expression to be >>compile-time constant > > > Ok, that is the kind of implementation variation we're looking for here, > thanks. > I'm wondering if we should start a wiki page to collect all the ways GPUs > might > constrain the use of arrays? > > Cheers > -- mew > > > _______________________________________________ > osg-users mailing list > osg-users@openscenegraph.net > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/