Sign in to follow this  
fms

Debugger for ARB_fragment_program

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this