Hi Martin, Your original port mentioned _two_ separate behaviors:
1) several "cannot change Uniform type" messages. 2) a glLinkProgram failure infolog about the GPU having GLSL restrictions. Which one or other or both are you seeing on ATI? about #1: Do you continue to see the "cannot change Uniform type" on either GPU with the latest CVS? That message should only occur when running a new-format .osg with an old OSG v1.0 binary. That message, if it occurs, has nothing to do with the type of GPU. If you continue to see it with current CVS, something is wrong in the OSG code that needs to be fixed. about #2: The infolog is describing limitations of the GPU, there's nothing OSG can do about that. My ATI laptop's GPU also goes to software mode trying to run that example, that's just the way it goes; not all GPUs (especially older ones) are capable of using all the features of GLSL in hardware mode. I'd really like to fix #1 if you are continuing to see it. Are you? Thanks -- mew Martin Naylor wrote: > Hi Mike, > I have just tried in on my ATI laptop and it does work although at <1fps, > maybe it's only me with problem with an Nvidia 7800 card? > I am running the latest nvidia drivers on Windows, will setting the debug > level to higher and then run again and post the dump help you out? > Or if you can think of any other way to identify this one, I am more then > willing to help out in whatever way I can. Just don't expect me to wade > through the code as I am m that skill with OpenGL at the moment, certainly > when it comes to GLSL and errr uniform arrays ;-). > I will be back home in a few hours so can try it on the NVidia then? > > Regards > > Martin. > > > > > >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:osg-users- >>[EMAIL PROTECTED] On Behalf Of Mike Weiblen >>Sent: 23 May 2006 05:19 >>To: osg users >>Subject: Re: [osg-users] GLSL uniform arrays v. GPU drivers >> >>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 [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
