(0) : fatal error C9999: Bad scope in ConvertLocal

Can someone tell me what this error is about? I get this when compiling a shader on my Geforce 8600 but can’t make any sense of this message, It doesn’t even contain a source line.

(0) : fatal error C9999: Bad scope in ConvertLocalReferences()


NVidia driver bug. Update your driver.

Updating the driver helped but I’m a bit puzzled now.

I was using an 185.xx version from April this year but the bug was supposed to be fixed in 175.xx more than a year ago. So was it accidentally reintroduced? Well, at least it’s gone in the latest 190.xx version.

The error may have been triggered through two different sets of circumstances, caused by different underlying bugs. Only the Shadow knows.