Add the shader version of the compiled shaders to the program binary.

Also increment the binary version.

TRAC #23182

Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
Author: Jamie Madill

git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2368 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/ProgramBinary.h b/src/libGLESv2/ProgramBinary.h
index 2ea8489..14549fb 100644
--- a/src/libGLESv2/ProgramBinary.h
+++ b/src/libGLESv2/ProgramBinary.h
@@ -137,6 +137,7 @@
     bool isValidated() const;
 
     unsigned int getSerial() const;
+    int getShaderVersion() const;
 
     void sortAttributesByLayout(rx::TranslatedAttribute attributes[gl::MAX_VERTEX_ATTRIBS], int sortedSemanticIndices[MAX_VERTEX_ATTRIBS]) const;
 
@@ -196,6 +197,7 @@
     GLuint mUsedVertexSamplerRange;
     GLuint mUsedPixelSamplerRange;
     bool mUsesPointSize;
+    int mShaderVersion;
 
     UniformArray mUniforms;
     UniformBlockArray mUniformBlocks;