PDA

View Full Version : Bad scope in ConvertLocalReferences()



apapaxionga
12-21-2011, 07:24 AM
i encounter this error:fatal error C9999: Bad scope in ConvertLocalReferences()

i have updated video card driver using 267.24 which is the lastest driver, but i still get that error.Do someone know how to solve that problem?
ps:i use cg.

overlay
12-21-2011, 09:32 AM
Last time I saw that was with a driver bug (around 2008):

ref: google this "C9999: Bad scope in ConvertLocalReferences()".

It sounds it's back. Maybe some other developers reported the same issue on http://forums.developer.nvidia.com/ . Give it a try.

mobeen
12-21-2011, 08:54 PM
To be of any help, we need some more information. Which shader produces this? What are you trying to do? Simply telling us
ps:i use cg is not helping us.

Nicolas Lelong
12-26-2011, 01:23 AM
I also saw this as a driver bug in 2007/2008, at that time, a workaround was possible :
http://www.stevestreeting.com/2007/12/27/nvidia-16921-driver-bug-in-glsl/

Don't know if the problem is now the same though.