Commit 55901efb by John Kessenich

Nonfunctional: fix a typo.

parent cf74ae1b
...@@ -68,7 +68,7 @@ bool InitProcess() ...@@ -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 ...@@ -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 ...@@ -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) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment