From 55901efb0dc387e69d5bd30c577a9e6c32a4da0e Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Thu, 18 Sep 2014 13:12:00 +0000 Subject: [PATCH] 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 --- OGLCompilersDLL/InitializeDll.cpp | 2 +- glslang/MachineIndependent/ParseHelper.cpp | 4 ++-- glslang/MachineIndependent/linkValidate.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OGLCompilersDLL/InitializeDll.cpp b/OGLCompilersDLL/InitializeDll.cpp index 970cd96..9e8124b 100644 --- a/OGLCompilersDLL/InitializeDll.cpp +++ b/OGLCompilersDLL/InitializeDll.cpp @@ -68,7 +68,7 @@ bool InitProcess() } if (! InitializePoolIndex()) { - assert(0 && "InitProcess(): Failed to initalize global pool"); + assert(0 && "InitProcess(): Failed to initialize global pool"); glslang::ReleaseGlobalLock(); return false; diff --git a/glslang/MachineIndependent/ParseHelper.cpp b/glslang/MachineIndependent/ParseHelper.cpp index f25ea46..affef6c 100644 --- a/glslang/MachineIndependent/ParseHelper.cpp +++ b/glslang/MachineIndependent/ParseHelper.cpp @@ -4020,7 +4020,7 @@ TVariable* TParseContext::declareNonArray(TSourceLoc loc, TString& identifier, T // Handle all types of initializers from the grammar. // // 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, 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 // conversions. Will do this mimicking the same process used for // creating a constructor-style initializer, ensuring we get the diff --git a/glslang/MachineIndependent/linkValidate.cpp b/glslang/MachineIndependent/linkValidate.cpp index 72e2a83..d23d0bb 100644 --- a/glslang/MachineIndependent/linkValidate.cpp +++ b/glslang/MachineIndependent/linkValidate.cpp @@ -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. // void TIntermediate::mergeBodies(TInfoSink& infoSink, TIntermSequence& globals, const TIntermSequence& unitGlobals) -- 2.7.4