Sign in to follow this  

Debugging a shader in PIX with include files

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

Hello there, I've noticed that even with september's SDK pix fails to show the code for shaders that have some parts of the code included in another file. I've this situation:
Phong.fx
The effect file, with technique declarations. This source includes another file in another directory:
Include/Lighting.fx
This contains lighting function formulas. The file is included by writing:
#include <Include/lighting.fx>
The phong.fx source shows up, while the lighting.fx file doesn't. It says right click to open but by right-clicking it doesn't do anything. And the debugging can then only be done via ASM. Is anyone able to debug shaders that have this kind of structure? Or is there some way that I can suggest a bugfix to the authors? Thanks!

Share this post


Link to post
Share on other sites

This topic is 3376 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.

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