Since I'm now precompiling my shaders using the fxc.exe I'm wondering which parameters I should set when compiling for debug / release.
I'm also not sure what enum translates to which parameter. Using D3DX11CompileFromFile I'd use flags like D3D10_SHADER_DEBUG | D3D10_SHADER_SKIP_OPTIMIZATION | D3D10_SHADER_WARNINGS_ARE_ERRORS for the DEBUG build.
The msdn page tells me it should be /Od /Zi for debug, and just leaving it away for release build. Something tells me though that there's more to it...any secrets I should know ? xD
Edited by lipsryme, 18 March 2013 - 01:46 PM.