Jump to content
  • Advertisement
Sign in to follow this  
fms

Debugger for ARB_fragment_program

This topic is 4730 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

Hi, I am writing my shader in ARB_fragment_program on Linux. Is there a debugger or something like code tracker that exist for shaders written in ARB_fragment_program. Any help or comments are highly appreciated. Thanks. - FMS

Share this post


Link to post
Share on other sites
Advertisement
As far, as I know, there are some "modified" developers drivers, which can give you a broadcast analysis on how your application uses GPU (what is the bottleneck, how many cycles are in specified shader, how does it load GPU, efficiently or not, and so on).
But what about debugging fragment shaders... I don't think so. Just imagine: rasterization hardware works in parallel mode, all the units work step-by-step, everything is done by whole blocks of pixels... I even can't imagine such a debugger. That is too hard even to include such a debugger support into rasterisation pipeline, too many special cases for a driver.
As for me, when I need to debug some fragment shader, I just write debug values to color draw buffer, and analyse them by my eyes ))) I think, I'm not a unique person )))

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!