Jump to content
  • Advertisement
Sign in to follow this  
lipsryme

PIX and shader model 5.0

This topic is 2180 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

Ok so I've been searching the web for an answer on this one but I can't find anything.

Is it possible to debug my shader (5.0) with PIX by HLSL code ? or at least anything that tells me what register is what ?
if I click on debug pixel it just gives me the assembly code without any explanation.
Is there some secret option I'm missing ? tongue.png

If not can anyone hint me to a readme or something that e.g. tells me what r0 or cb1[1] or v1 in the assembly code mean ?

Share this post


Link to post
Share on other sites
Advertisement
When you compiled you shaders, did you use the comand-line options / API flags to enable debugging? (D3DXSHADER_DEBUG / D3DCOMPILE_DEBUG / etc) Edited by Hodgman

Share this post


Link to post
Share on other sites

When you compiled you shaders, did you use the comand-line options / API flags to enable debugging? (D3DXSHADER_DEBUG / D3DCOMPILE_DEBUG / etc)


Thanks a lot, that did it :)

Share this post


Link to post
Share on other sites
FYI PIX will debug vertex, geometry, and pixel shaders, but it won't debug hull, domain, or compute shaders. You can use vendor-specific tools to do that if you need to, although I'll warn you that Parallel Nsight requires a remote debugging target to debug shaders.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!