Jump to content
  • Advertisement
Sign in to follow this  
scrat81

HLSL vertex shader debugging

This topic is 3388 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 everyone! I'd like to debug a HLSL vertex shader. I'm using DX 9.0c and VS2005. At the moment I am working on an old ATI (but I am waiting for passing on a NVIDIA GTX 295 ;)). I know that I can't debug my vertex shader with VS2005 but I also know that I can use the DX SDK tool PIX for Windows. I tried to debug the shader using PIX: I succeed in capturing a single frame of my application but PIX crashes when I try to launch a vertex debugging either from the pixel history tab or from the mesh data view. Maybe it would be wrong the application building for use with PIX ... When I create the effect (with D3DXCreateEffectFromFile) I set the flag to D3DXSHADER_DEBUG | D3DXSHADER_SKIPOPTIMIZATION. I set the options /Zi and /Od in the configuration properties->C/C++ too ... I'll try also to use RenderMonkey (v1.81 and 1.80), but it crashes when I select or open rfx files! ... any idea or suggestions? Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Unfortunately crashing is just one of the things PIX is good at doing. Are you using the latest version of the SDK? (November 2008)

Share this post


Link to post
Share on other sites
Well a new SDK is due in a couple of weeks, so might be worth checking again then.

Unfortunately, as Matt said, PIX's new features tend to be "crashes less" rather than X360 that gets lots of shiny new toys [headshake]


hth
Jack

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!