GLSL: Promote HLSL entry-point renaming code to be used by GLSL as well.
Fixes #1045.
diff --git a/hlsl/hlslParseHelper.h b/hlsl/hlslParseHelper.h
index a276d6e..3f654e0 100755
--- a/hlsl/hlslParseHelper.h
+++ b/hlsl/hlslParseHelper.h
@@ -182,7 +182,7 @@
void pushNamespace(const TString& name);
void popNamespace();
- void getFullNamespaceName(const TString*&) const;
+ void getFullNamespaceName(TString*&) const;
void addScopeMangler(TString&);
void pushSwitchSequence(TIntermSequence* sequence) { switchSequenceStack.push_back(sequence); }
@@ -207,9 +207,6 @@
// Determine loop control from attributes
TLoopControl handleLoopControl(const TAttributeMap& attributes) const;
- // Potentially rename shader entry point function
- void renameShaderFunction(const TString*& name) const;
-
// Share struct buffer deep types
void shareStructBufferType(TType&);
@@ -423,7 +420,6 @@
unsigned int nextInLocation;
unsigned int nextOutLocation;
- TString sourceEntryPointName;
TFunction* entryPointFunction;
TIntermNode* entryPointFunctionBody;