Fix bug with nested struct uniforms.

TRAC #22875

Change-Id: I204cea18a710f6b9206a578a69f1dbc1e13fbd71
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
diff --git a/src/libGLESv2/Uniform.cpp b/src/libGLESv2/Uniform.cpp
index 77c6083..e85f2d0 100644
--- a/src/libGLESv2/Uniform.cpp
+++ b/src/libGLESv2/Uniform.cpp
@@ -69,6 +69,7 @@
 
 size_t Uniform::dataSize() const
 {
+    ASSERT(type != GL_STRUCT_ANGLEX);
     return UniformInternalSize(type) * elementCount();
 }