Add -shaderdebug cmd line switch to Editor for shaders debugging
This commit is contained in:
@@ -133,6 +133,7 @@ bool CommandLine::Parse(const Char* cmdLine)
|
||||
PARSE_BOOL_SWITCH("-genprojectfiles ", GenProjectFiles);
|
||||
PARSE_ARG_SWITCH("-build ", Build);
|
||||
PARSE_BOOL_SWITCH("-skipcompile ", SkipCompile);
|
||||
PARSE_BOOL_SWITCH("-shaderdebug ", ShaderDebug);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -150,6 +150,11 @@ public:
|
||||
/// </summary>
|
||||
Nullable<bool> SkipCompile;
|
||||
|
||||
/// <summary>
|
||||
/// -shaderdebug (enables debugging data generation for shaders and disables shader compiler optimizations)
|
||||
/// </summary>
|
||||
Nullable<bool> ShaderDebug;
|
||||
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user