diff options
Diffstat (limited to 'source/slang/slang-api.cpp')
| -rw-r--r-- | source/slang/slang-api.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/slang-api.cpp b/source/slang/slang-api.cpp index 45c583060..a03aa9071 100644 --- a/source/slang/slang-api.cpp +++ b/source/slang/slang-api.cpp @@ -385,6 +385,14 @@ SLANG_API void spSetDebugInfoLevel( request->setDebugInfoLevel(level); } +SLANG_API void spSetDebugInfoFormat( + slang::ICompileRequest* request, + SlangDebugInfoFormat format) +{ + SLANG_ASSERT(request); + request->setDebugInfoFormat(format); +} + SLANG_API void spSetOptimizationLevel( slang::ICompileRequest* request, SlangOptimizationLevel level) |
