Sign in to follow this  
Crafter

i have a question about DirectX Debug

Recommended Posts

I used to develop DirectX App with VS.NET 2003, and it can debug shader well. now I install vc++ 2008 and then install the DirectX August 2007 SDK, but vc++2008 can't debug shader and the "*.fx" files have not been read any more... how to make it work as before??

Share this post


Link to post
Share on other sites
I believe the only way to debug shaders in the latest SDK is to use PIX.

You could also use something like RenderMonkey to develop the shaders, but I don't think it'll do much by way of debugging. I usually just output values as colours when I want to find out what's going on.

Share this post


Link to post
Share on other sites
Yeah Adam_42 is right, PIX is now the only way to handle shader debugging. However this isn't as much of a problem as it sounds, as PIX is far better equipped to handle shader debugging than Visual Studio ever was. I highly suggest going through the PIX tutorial in the SDK docs and getting intimately familar with how PIX works, it's one of the most powerful tools at your disposal as a D3D graphics programmer.

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