Do not clear spv_function_implementations on MSL.
Will fail when recompiles are necessary.
This commit is contained in:
Родитель
9279750a1d
Коммит
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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче