Added support for unsigned integer uniforms. Depends on shader language support for the same.

TRAC #22842

Signed-off-by: Geoff Lang
Signed-off-by: Shanon Woods
Author: Jamie Madill

git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2143 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/ProgramBinary.cpp b/src/libGLESv2/ProgramBinary.cpp
index 53c75f1..7c37122 100644
--- a/src/libGLESv2/ProgramBinary.cpp
+++ b/src/libGLESv2/ProgramBinary.cpp
@@ -551,6 +551,26 @@
     return setUniform(location, count, v, GL_INT_VEC4);
 }
 
+bool ProgramBinary::setUniform1uiv(GLint location, GLsizei count, const GLuint *v)
+{
+    return setUniform(location, count, v, GL_UNSIGNED_INT);
+}
+
+bool ProgramBinary::setUniform2uiv(GLint location, GLsizei count, const GLuint *v)
+{
+    return setUniform(location, count, v, GL_UNSIGNED_INT_VEC2);
+}
+
+bool ProgramBinary::setUniform3uiv(GLint location, GLsizei count, const GLuint *v)
+{
+    return setUniform(location, count, v, GL_UNSIGNED_INT_VEC3);
+}
+
+bool ProgramBinary::setUniform4uiv(GLint location, GLsizei count, const GLuint *v)
+{
+    return setUniform(location, count, v, GL_UNSIGNED_INT_VEC4);
+}
+
 bool ProgramBinary::getUniformfv(GLint location, GLsizei *bufSize, GLfloat *params)
 {
     if (location < 0 || location >= (int)mUniformIndex.size())