HLSL shader debugging in PIX

Anybody tried out HLSL shader debugging in PIX (December 2006 SDK) I'm trying on the C++/DX9 Samples that ships with the SDK but cant get PIX to go into debug mode for vertex shader debugging. My repro case:
- Compile any sample in debug mode with DEBUG_VS defined for the preprocessor (I tried Anitalias, BasicHLSL, and HDRLighting)
- Start PIX
- Load the debug executable in PIX experiment (F12 mode)
- Frame capture of the app
- Go to any draw call in PIX
- Select a vertex and choose debug vertex (you can also go via pixel debugging path)
- I get "An error occurred while preparing to debug the shader"
Anything wrong here
Thanks.



Answer this question

HLSL shader debugging in PIX

  • Jkumar

    I am trying out the DX9 samples. I reposted this in the main DirectX forum since that forum seems more appropriate.

    Thanks.



  • TechedRonan

    Can you please explain the UI steps for Shader Debugging. I would just like to know if the order of my steps were okay.

    Thanks.



  • Kevin L. Kingma

    i dont think pix supposrts dx10 yet, you need to link against dx9 libs to get pix functionaility

  • HLSL shader debugging in PIX