summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorYong He <yhe@nvidia.com>2020-06-04 14:06:10 -0700
committerYong He <yhe@nvidia.com>2020-06-04 14:06:10 -0700
commit2c30d36c3df77d832443087f83940bf8f4f039f0 (patch)
tree47ef4bccf017f8c39aca090fff284359bf358f35 /source
parent5e52b339f3e021cf8b68be56d1f3ff1d548a038f (diff)
Remove aborting in emitLoopControlDecoration default case.
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-emit-hlsl.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}