Browse files

MonoGame Effect processor can now generate debug shaders.

  • Loading branch information...
1 parent ba97275 commit f3d93120f168372639fc265b6e82754886f7c49c @tomspilman tomspilman committed Feb 13, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 MonoGame.ContentPipeline/ContentProcessors/Processors/MGEffectProcessor.cs
View
1 MonoGame.ContentPipeline/ContentProcessors/Processors/MGEffectProcessor.cs
@@ -27,6 +27,7 @@ public override CompiledEffectContent Process(EffectContent input, ContentProces
var options = new Options();
options.SourceFile = input.Identity.SourceFilename;
options.DX11Profile = platform == MonoGamePlatform.Windows8 ? true : false;
+ options.Debug = DebugMode == EffectProcessorDebugMode.Debug;
options.OutputFile = context.OutputFilename;
// Parse the MGFX file expanding includes, macros, and returning the techniques.

0 comments on commit f3d9312

Please sign in to comment.