diff --git a/spirv_msl.cpp b/spirv_msl.cpp index 8ee5f24a..b90fcd47 100644 --- a/spirv_msl.cpp +++ b/spirv_msl.cpp @@ -364,8 +364,6 @@ string CompilerMSL::compile(MSLConfiguration &msl_cfg, vector *p_ // Register the need to output any custom functions. void CompilerMSL::preprocess_op_codes() { - spv_function_implementations.clear(); - OpCodePreprocessor preproc(*this); traverse_all_reachable_opcodes(get(entry_point), preproc);