Skip to content

Commit 7b95168

Browse files
Do not clear spv_function_implementations on MSL.
Will fail when recompiles are necessary.
1 parent 9279750 commit 7b95168

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spirv_msl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,6 @@ string CompilerMSL::compile(MSLConfiguration &msl_cfg, vector<MSLVertexAttr> *p_
364364
// Register the need to output any custom functions.
365365
void CompilerMSL::preprocess_op_codes()
366366
{
367-
spv_function_implementations.clear();
368-
369367
OpCodePreprocessor preproc(*this);
370368
traverse_all_reachable_opcodes(get<SPIRFunction>(entry_point), preproc);
371369

0 commit comments

Comments
 (0)