summaryrefslogtreecommitdiff
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 22f6feac3..d516d0cb2 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -1209,6 +1209,14 @@ SLANG_API SlangResult spSessionCheckCompileTargetSupport(
return Slang::checkCompileTargetSupport(s, Slang::CodeGenTarget(target));
}
+SLANG_API SlangResult spSessionCheckPassThroughSupport(
+ SlangSession* session,
+ SlangPassThrough passThrough)
+{
+ auto s = SESSION(session);
+ return Slang::checkExternalCompilerSupport(s, Slang::PassThroughMode(passThrough));
+}
+
SLANG_API SlangCompileRequest* spCreateCompileRequest(
SlangSession* session)
{