Hi all -- I'm running into an odd error using NVIDIA drivers on Mac OS X Snow Leopard. The app actually exits during compile, with the following error text:
This same shader code compiles and executes fine with NVIDIA's Windows driver, not even a warning. Only the OS X Snow Leopard drivers are the issue.(0) : fatal error C9999: Nested functions, aborting!
Cg compiler terminated due to fatal error
A little web search reveals the VTK project is encountering the same issue:
Any ideas how I might work around this? It doesn't appear that Apple intends to provide a fix anytime soon.
My driver version appears to be 1.6.26 (as reported by GLView).