Jump to content
  • Advertisement
Sign in to follow this  
AvengerDr

Debugging a shader in PIX with include files

This topic is 3594 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
Advertisement
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!