Add support to the GLSL to HLSL translator for interface blocks with instance names.
TRAC #22930
Signed-off-by: Nicolas Capens
Signed-off-by: Geoff Lang
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2345 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/OutputHLSL.h b/src/compiler/OutputHLSL.h
index a4f8be9..20660ae 100644
--- a/src/compiler/OutputHLSL.h
+++ b/src/compiler/OutputHLSL.h
@@ -173,6 +173,8 @@
int uniformRegister(TIntermSymbol *uniform);
void declareUniformToList(const TType &type, const TString &name, int index, ActiveUniforms& output);
void declareUniform(const TType &type, const TString &name, int index);
+
+ TString interfaceBlockUniformName(const TType &interfaceBlockType, const TType &uniformType);
static GLenum glVariableType(const TType &type);
static GLenum glVariablePrecision(const TType &type);