Fix recursion detection (it was detecting cycles in the call graph that were not directed cycles).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23761 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-10-30 01:22:04 +00:00
parent d492aafad7
commit 8cbd18ecaa
4 changed files with 153 additions and 20 deletions

View file

@ -164,7 +164,7 @@ protected:
TString caller;
TString callee;
bool visited;
bool subGraph;
bool currentPath;
bool errorGiven;
};
typedef std::list<TCall> TGraph;