From 818f07558c44c3b7f5618460d20c1374df2f1262 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 7 Sep 2023 16:37:55 -0700 Subject: Fix GLSL output for `gl_ClipDistance` input builtin. (#3193) * Fix GLSL output for `gl_ClipDistance` input builtin. * Fix. --------- Co-authored-by: Yong He --- source/core/slang-signal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core') diff --git a/source/core/slang-signal.cpp b/source/core/slang-signal.cpp index cdf2a1179..d8218b379 100644 --- a/source/core/slang-signal.cpp +++ b/source/core/slang-signal.cpp @@ -52,7 +52,7 @@ SLANG_RETURN_NEVER void handleSignal(SignalType type, char const* message) switch (type) { case SignalType::InvalidOperation: throw InvalidOperationException(_getMessage(type, message)); - case SignalType::AbortCompilation: throw AbortCompilationException(); + case SignalType::AbortCompilation: throw AbortCompilationException(_getMessage(type, message)); default: throw InternalError(_getMessage(type, message)); } #else -- cgit v1.2.3