diff options
Diffstat (limited to 'source/slang/slang-emit.cpp')
| -rw-r--r-- | source/slang/slang-emit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 8ee641acc..8dc0d2983 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -899,6 +899,9 @@ Result linkAndOptimizeIR( eliminateMultiLevelBreak(irModule); + if (isKhronosTarget(targetRequest) && targetRequest->shouldEmitSPIRVDirectly()) + performIntrinsicFunctionFunctionInlining(irModule); + simplifyIR(irModule, sink); // As a late step, we need to take the SSA-form IR and move things *out* |
