Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Has anyone had any luck debugging HLSL effects in C#? I have tried everything I can think of including:

1) set DeviceType.Reference for the device

2) set the ShaderFlags.Debug for the effect

3) Set the DirectX to use the debug version and enabled debuggin shaders

4) tried running the Debug/Direct3D/Start with Direct3D Debugging

 

Nothing seems to be working. In all cases when I set a break point in the .fx file, when the program runs the break point show a little warning symol and says something like "This break point will not currently be hit. No symbols have been loaded for this file."

 

Does anyone know how to do this and what I've done wrong? Thanks

  • 5 months later...
Posted

Same problem

 

Hi there, I was just wondering how the HLSL debugging went. Did you find some answers? I am also trying to debug my shaders in VS 2005 and am failing miserably. I have read that 2005 does not support shader debugging adn that the PIX profiler is meant to fill in this hole. Anyone knows that this is a fact?

 

Cheers,

Jp

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...