Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


(0) : fatal error C9999: Unexpected branch instruction


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Tommato   Members   -  Reputation: 160

Like
0Likes
Like

Posted 16 November 2011 - 03:28 PM

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



Sponsor:

#2 dpadam450   Members   -  Reputation: 1275

Like
0Likes
Like

Posted 16 November 2011 - 03:39 PM

And the shader code is? 7300 is a pretty old card with low specs. It could be anything.

#3 V-man   Members   -  Reputation: 805

Like
0Likes
Like

Posted 17 November 2011 - 10:27 AM

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


Start by looking at your shader. See if you can improve it.
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS