diff options
Diffstat (limited to 'Source/ThirdParty/ANGLE/src/compiler/VariableInfo.h')
-rw-r--r-- | Source/ThirdParty/ANGLE/src/compiler/VariableInfo.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/ThirdParty/ANGLE/src/compiler/VariableInfo.h b/Source/ThirdParty/ANGLE/src/compiler/VariableInfo.h index 15a5c57..45ac9ea 100644 --- a/Source/ThirdParty/ANGLE/src/compiler/VariableInfo.h +++ b/Source/ThirdParty/ANGLE/src/compiler/VariableInfo.h @@ -1,9 +1,12 @@ // -// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. +// Copyright (c) 2002-2011 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // +#ifndef COMPILER_VARIABLE_INFO_H_ +#define COMPILER_VARIABLE_INFO_H_ + #include "GLSLANG/ShaderLang.h" #include "compiler/intermediate.h" @@ -11,6 +14,7 @@ // It is currently being used to store info about active attribs and uniforms. struct TVariableInfo { TPersistString name; + TPersistString mappedName; ShDataType type; int size; }; @@ -22,6 +26,8 @@ public: CollectAttribsUniforms(TVariableInfoList& attribs, TVariableInfoList& uniforms); + virtual ~CollectAttribsUniforms() {} + virtual void visitSymbol(TIntermSymbol*); virtual void visitConstantUnion(TIntermConstantUnion*); virtual bool visitBinary(Visit, TIntermBinary*); @@ -36,3 +42,4 @@ private: TVariableInfoList& mUniforms; }; +#endif // COMPILER_VARIABLE_INFO_H_ |