Revert fix for #31806, needs a better solution, can hang compiling some shaders.

This commit is contained in:
Brecht Van Lommel
2012-10-07 14:15:50 +00:00
parent ccd9f1491a
commit e3ab85a3f5

View File

@@ -274,17 +274,6 @@ void SVMCompiler::stack_clear_users(ShaderNode *node, set<ShaderNode*>& done)
foreach(ShaderInput *in, output->links)
in->stack_offset = SVM_STACK_INVALID;
/* unmark any nodes that have no more valid outputs, see [#31806] */
if(done.find(output->parent) != done.end()) {
all_done = true;
foreach(ShaderOutput *pout, output->parent->outputs)
if(pout->stack_offset != SVM_STACK_INVALID)
all_done = false;
if(all_done)
done.erase(output->parent);
}
}
}
}