Remove a mangled-name cache in the type that was sometimes stale.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22653 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-08-08 16:22:54 +00:00
parent 1b42f2a33d
commit 252b619066
4 changed files with 15 additions and 18 deletions

View file

@ -195,7 +195,7 @@ public:
void addParameter(TParameter& p)
{
parameters.push_back(p);
mangledName = mangledName + p.type->getMangledName();
p.type->appendMangledName(mangledName);
}
const TString& getMangledName() const { return mangledName; }