Sign in to follow this  
lipsryme

PIX and shader model 5.0

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 ? [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img]

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
[quote name='Hodgman' timestamp='1343837397' post='4965232']
When you compiled you shaders, did you use the comand-line options / API flags to enable debugging? (D3DXSHADER_DEBUG / D3DCOMPILE_DEBUG / etc)
[/quote]

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this