Add new convenience pool allocators for arbitrary types, and use them to keep all TSymbol content in the pool, so they don't have to be deleted.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24148 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
e1dba1b59f
commit
23bcc02a20
5 changed files with 24 additions and 13 deletions
|
|
@ -501,7 +501,7 @@ bool CompileDeferred(
|
|||
lengths[numStrings + 1] = strlen(strings[numStrings + 1]);
|
||||
TInputScanner fullInput(numStrings + 2, strings, lengths, 1, 1);
|
||||
|
||||
// Push a new symbol allocation scope that can for the shader's globals.
|
||||
// Push a new symbol allocation scope that will get used for the shader's globals.
|
||||
symbolTable.push();
|
||||
|
||||
// Parse the full shader.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue