Validate the sampler uniform against the number of (combined) texture image units.

Issue=95
TRAC #16568
Signed-off-by: Daniel Koch
Author: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@642 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/Context.cpp b/src/libGLESv2/Context.cpp
index 42b5b07..26a9ff2 100644
--- a/src/libGLESv2/Context.cpp
+++ b/src/libGLESv2/Context.cpp
@@ -2604,7 +2604,7 @@
     applyShaders();
     applyTextures();
 
-    if (!getCurrentProgram()->validateSamplers())
+    if (!getCurrentProgram()->validateSamplers(false))
     {
         return error(GL_INVALID_OPERATION);
     }
@@ -2671,7 +2671,7 @@
     applyShaders();
     applyTextures();
 
-    if (!getCurrentProgram()->validateSamplers())
+    if (!getCurrentProgram()->validateSamplers(false))
     {
         return error(GL_INVALID_OPERATION);
     }