Jump to content
  • Advertisement
Sign in to follow this  

OpenGL Problems with Cg shaders on ATI cards

This topic is 2557 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Being terrorized by an annoying "bug": how to get an OpenGL program with Cg shaders working on an ATI(or AMD) card?

I never used an ATI card, so I happily developed all my shaders in Cg without worries the last years. But now when trying to test it on a (modern) ATI card, it comes up with all kinds of errors. Loops not supported, tex2Darray problems, can't do vertex-texture-fetch, no geometry shaders, et cetera. And yes, that card can do all of that.

I think Cg picked a wrong/old profile. When using "cgGLGetLatestProfile", it comes with CG_PROFILE_ARBVP1 and CG_PROFILE_ARBFP1. Probably these profiles don't support the functions I mentioned, but what to pick else? I saw there is also a GLSL profile, but that requires to rewrite all shaders in GLSL right?

* I know there is a Cg forum as well on nVidia, but since answers are slow or not coming at all there, I thought let's ask here as well :)


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!