Nonfunctional: fix a typo.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28194 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
cf74ae1b2d
commit
55901efb0d
@ -68,7 +68,7 @@ bool InitProcess()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (! InitializePoolIndex()) {
|
if (! InitializePoolIndex()) {
|
||||||
assert(0 && "InitProcess(): Failed to initalize global pool");
|
assert(0 && "InitProcess(): Failed to initialize global pool");
|
||||||
|
|
||||||
glslang::ReleaseGlobalLock();
|
glslang::ReleaseGlobalLock();
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -4020,7 +4020,7 @@ TVariable* TParseContext::declareNonArray(TSourceLoc loc, TString& identifier, T
|
|||||||
// Handle all types of initializers from the grammar.
|
// Handle all types of initializers from the grammar.
|
||||||
//
|
//
|
||||||
// Returning 0 just means there is no code to execute to handle the
|
// Returning 0 just means there is no code to execute to handle the
|
||||||
// initializer, which will, for example, be the case for constant initalizers.
|
// initializer, which will, for example, be the case for constant initializers.
|
||||||
//
|
//
|
||||||
TIntermNode* TParseContext::executeInitializer(TSourceLoc loc, TString& identifier,
|
TIntermNode* TParseContext::executeInitializer(TSourceLoc loc, TString& identifier,
|
||||||
TIntermTyped* initializer, TVariable* variable)
|
TIntermTyped* initializer, TVariable* variable)
|
||||||
@ -4104,7 +4104,7 @@ TIntermNode* TParseContext::executeInitializer(TSourceLoc loc, TString& identifi
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Reprocess any initalizer-list { ... } parts of the initializer.
|
// Reprocess any initializer-list { ... } parts of the initializer.
|
||||||
// Need to heirarchically assign correct types and implicit
|
// Need to heirarchically assign correct types and implicit
|
||||||
// conversions. Will do this mimicking the same process used for
|
// conversions. Will do this mimicking the same process used for
|
||||||
// creating a constructor-style initializer, ensuring we get the
|
// creating a constructor-style initializer, ensuring we get the
|
||||||
|
|||||||
@ -172,7 +172,7 @@ void TIntermediate::merge(TInfoSink& infoSink, TIntermediate& unit)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Merge the function bodies and global-level initalizers from unitGlobals into globals.
|
// Merge the function bodies and global-level initializers from unitGlobals into globals.
|
||||||
// Will error check duplication of function bodies for the same signature.
|
// Will error check duplication of function bodies for the same signature.
|
||||||
//
|
//
|
||||||
void TIntermediate::mergeBodies(TInfoSink& infoSink, TIntermSequence& globals, const TIntermSequence& unitGlobals)
|
void TIntermediate::mergeBodies(TInfoSink& infoSink, TIntermSequence& globals, const TIntermSequence& unitGlobals)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user