Skip to content

Commit

Permalink
Do not clear spv_function_implementations on MSL.
Browse files Browse the repository at this point in the history
Will fail when recompiles are necessary.
  • Loading branch information
HansKristian-Work committed May 2, 2018
1 parent 9279750 commit 7b95168
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spirv_msl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ string CompilerMSL::compile(MSLConfiguration &msl_cfg, vector<MSLVertexAttr> *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<SPIRFunction>(entry_point), preproc);

Expand Down

0 comments on commit 7b95168

Please sign in to comment.