Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

When I compile DirectX shaders (.fx files), I dont see any compiler warnings unless there was an error in the effect.

This happens both when using the offline FXC compiler, as well as calling SlimDx's CompileEffect (which is what we normally do).

I could force warnings as errors (/WX), but if you enable that, you get an error that compilation failed, without the warning that caused the problem.

So how can I output warnings for shaders that compile properly?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.