mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-16 00:40:08 +00:00
Do not clear spv_function_implementations on MSL.
Will fail when recompiles are necessary.
This commit is contained in:
parent
9279750a1d
commit
7b95168c3d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user