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 4ce78ee96..b95b21bb5 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -5143,6 +5143,11 @@ void EndToEndCompileRequest::setReportPerfBenchmark(bool value)
m_reportPerfBenchmark = value;
}
+void EndToEndCompileRequest::setSkipSPIRVValidation(bool value)
+{
+ m_skipSPIRVValidation = value;
+}
+
void EndToEndCompileRequest::setDiagnosticCallback(SlangDiagnosticCallback callback, void const* userData)
{
ComPtr<ISlangWriter> writer(new CallbackWriter(callback, userData, WriterFlag::IsConsole));