From 2c30d36c3df77d832443087f83940bf8f4f039f0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 4 Jun 2020 14:06:10 -0700 Subject: Remove aborting in emitLoopControlDecoration default case. --- source/slang/slang-emit-hlsl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/slang/slang-emit-hlsl.cpp b/source/slang/slang-emit-hlsl.cpp index b15680f29..83bfb8f2a 100644 --- a/source/slang/slang-emit-hlsl.cpp +++ b/source/slang/slang-emit-hlsl.cpp @@ -682,7 +682,7 @@ void HLSLSourceEmitter::emitLoopControlDecorationImpl(IRLoopControlDecoration* d m_writer->emit("[loop]\n"); break; default: - SLANG_UNREACHABLE("emit loop control decoration"); + break; } } -- cgit v1.2.3