Create unique names for unnamed parameters
TRAC #11873
HLSL requires parameter names in function prototypes
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@157 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/OutputHLSL.h b/src/compiler/OutputHLSL.h
index aa65611..70664a8 100644
--- a/src/compiler/OutputHLSL.h
+++ b/src/compiler/OutputHLSL.h
@@ -24,7 +24,6 @@
 
     TInfoSinkBase &getBodyStream();
 
-    static TString argumentString(const TIntermSymbol *symbol);
     static TString qualifierString(TQualifier qualifier);
     static TString typeString(const TType &type);
     static TString arrayString(const TType &type);
@@ -48,6 +47,7 @@
     bool isSingleStatement(TIntermNode *node);
     bool handleExcessiveLoop(TIntermLoop *node);
     void outputTriplet(Visit visit, const char *preString, const char *inString, const char *postString);
+    TString argumentString(const TIntermSymbol *symbol);
 
     TParseContext &mContext;
     UnfoldSelect *mUnfoldSelect;
@@ -70,6 +70,8 @@
     bool mUsesEqualBVec2;
     bool mUsesEqualBVec3;
     bool mUsesEqualBVec4;
+
+    int mArgumentIndex;   // For creating unique argument names
 };
 }