Shaders debugging in Visual Studio

Started by
1 comment, last by born49 9 years, 6 months ago

Hello guys,

I am using Visual Studio 2012 integrated 'PIX' to debug my shaders. Shaders are compiled

with D3DCOMPILE_SKIP_OPTIMIZATION and D3DCOMPILE_DEBUG flags.

Everything seems to work fine (stepping through code,...), except that all variables values

are reported zeros or NANs.

Do you please have any idea what may be wrong ?

Many thanks !

Cheers

P.

Advertisement

By "integrated 'PIX' " do you mean the built-in graphics diagnostics, or the application PIX?

There are situations (platforms, SDKs, VS version, etc.) mentioned in this link for which diagnostic support is not provided. How does your setup apply?

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

I meant built-in graphics diagnostics. I phrased it inappropriatelly, sorry.

Rendering API is D3D 11, shader model 5.0, VS 2012 Professional, Windows 7 Professional x64.

I found, that NVidia NSight 4.1 with latest drivers works fine, so I can live without VS graphics diagonstics for now :)

Thanks !
P.

This topic is closed to new replies.

Advertisement