Debugger for ARB_fragment_program

Started by
0 comments, last by Jackis 18 years, 7 months ago
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
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 )))

This topic is closed to new replies.

Advertisement