Skip to main content
gamedev.net
🔒 Locked

Shader debugging

Started by brekehan 1 reply 1.3k views
Original Post
brekehan
brekehan
So I search msdn for how to debug my shaders and come to this page: http://msdn.microsoft.com/en-us/library/bb147364(VS.85).aspx which says, Microsoft Visual Studio .NET supports debugging assembly-level and high-level language vertex and pixel shaders and effects using the DirectX Extensions for Visual Studio .NET (the shader debugger)." I then look for where to download "DirectX Extensions for Visual Studio .NET" and come up with nothing. There doesn't appear to be any such thing. So, how exactly do I go about setting a breakpoint in my shader code and examining the value of a shader variable? Why is MSDN so friggin out of date/lacking with all information as it pertains to DX 10? It keeps referring to DX9 documents, some of which list interfaces or files that aren't in dx 10. I assume this is one of those cases with deprecated information. Does MS just plain not care about thier C++ API anymore? Why bother making a graphics API with such poor documentation?
Sc4Freak
Sc4Freak
That functionality was removed from Visual Studio a while ago, IIRC. You're supposed to be using PIX to debug shaders now.

Besides, the page you linked to is listed under the "Direct3D9" section, which is why there's no mention of Direct3D10.
Billr17
Billr17
NVidia's FX Composer now has the ability to debug shaders via a plug-in. The plug-in is not free for commercial use. However, they do provide a free license for non commerical use. It may be worth checking out too.

FX Composer
NV Shader Debugger

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.