summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit.cpp')
-rw-r--r--source/slang/slang-emit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp
index 044f79531..e91209108 100644
--- a/source/slang/slang-emit.cpp
+++ b/source/slang/slang-emit.cpp
@@ -1137,6 +1137,10 @@ Result linkAndOptimizeIR(
? as<GLSLExtensionTracker>(options.sourceEmitter->getExtensionTracker())
: &glslExtensionTracker;
+#if 0
+ dumpIRIfEnabled(codeGenContext, irModule, "PRE GLSL LEGALIZED");
+#endif
+
legalizeEntryPointsForGLSL(
session,
irModule,