Refactored outputTriplet to allow complex string expressions
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@202 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/OutputHLSL.h b/src/compiler/OutputHLSL.h
index bfc81de..3f22234 100644
--- a/src/compiler/OutputHLSL.h
+++ b/src/compiler/OutputHLSL.h
@@ -46,11 +46,11 @@
bool isSingleStatement(TIntermNode *node);
bool handleExcessiveLoop(TIntermLoop *node);
- void outputTriplet(Visit visit, const char *preString, const char *inString, const char *postString);
+ void outputTriplet(Visit visit, const TString &preString, const TString &inString, const TString &postString);
TString argumentString(const TIntermSymbol *symbol);
int vectorSize(const TType &type) const;
- void addConstructor(const TType &type, const TString &name, const TIntermSequence ¶meters);
+ void addConstructor(const TType &type, const TString &name, const TIntermSequence *parameters);
TParseContext &mContext;
UnfoldSelect *mUnfoldSelect;