summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 66ff9e429..6e57c104c 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -301,6 +301,11 @@ int CompileRequest::executeActionsInner()
if (mSink.GetErrorCount() != 0)
return 1;
}
+
+ // If command line specifies to skip codegen, we exit here.
+ // Note: this is a debugging option.
+// if (shouldSkipCodegen)
+// return 0;
// Generate output code, in whatever format was requested
generateOutput(this);