Update all "TODO", add some comments.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21137 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
0108aa1183
commit
b49a191532
8 changed files with 35 additions and 29 deletions
|
|
@ -81,7 +81,7 @@ const int VersionCount = 12;
|
|||
// Each has a different set of built-ins, and we want to preserve that from
|
||||
// compile to compile.
|
||||
//
|
||||
// TODO: thread safety: ensure the built-in symbol table levels are reado only.
|
||||
// TODO: quality: thread safety: ensure the built-in symbol table levels are reado only.
|
||||
TSymbolTable* SharedSymbolTables[VersionCount][EProfileCount][EShLangCount] = {};
|
||||
|
||||
TPoolAllocator* PerProcessGPA = 0;
|
||||
|
|
@ -278,7 +278,7 @@ void ScanVersion(const char* const shaderStrings[], int numStrings, int& version
|
|||
|
||||
const char* s = &shaderStrings[0][0];
|
||||
|
||||
// TODO: ES error check: #version must be on first line
|
||||
// TODO: semantics: ES error check: #version must be on first line
|
||||
|
||||
while (ConsumeWhitespaceComment(s))
|
||||
;
|
||||
|
|
@ -390,7 +390,7 @@ int ShInitialize()
|
|||
if (! InitProcess())
|
||||
return 0;
|
||||
|
||||
// TODO: Thread safety:
|
||||
// TODO: Quality: Thread safety:
|
||||
// This method should be called once per process. If it's called by multiple threads, then
|
||||
// we need to have thread synchronization code around the initialization of per process
|
||||
// global pool allocator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue