(0) : fatal error C9999: Unexpected branch instruction

Hi All,

We’ve got an error with our GLSL shader running with specific card only. The log is:

**> OpenGL Vendor: NVIDIA Corporation

OpenGL Renderer: NVIDIA GeForce 7300 GT OpenGL Engine
OpenGL Version: 2.1 NVIDIA-1.6.36

[OK] OpenGL Shading Language is available!

***GLSL Compiler Log (Vertex Shader):
[e06] Compiler log is not available!
***GLSL Compiler Log (Fragment Shader):
[e06] Compiler log is not available!
***GLSL Linker Log:
[e05] Linker log is not available!
maxLights = 8, maxTextures = 8

(0) : fatal error C9999: Unexpected branch instruction
Cg compiler terminated due to fatal errorAbort trap
logout

[Process completed]**

Any advice (what to check and where to find) is highly appreciated.

Thanks

Tom

(0) : fatal error C9999: Unexpected branch instruction

You must have some construct your card doesn’t support. 7300 is an old card, so it could be a bunch a stuff. Post your shader?