Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / angle / src / compiler / translator / ShaderLang.cpp
index 042bc9f..6082378 100644 (file)
@@ -91,6 +91,9 @@ void ShInitBuiltInResources(ShBuiltInResources* resources)
     resources->HashFunction = NULL;
 
     resources->ArrayIndexClampingStrategy = SH_CLAMP_WITH_CLAMP_INTRINSIC;
+
+    resources->MaxExpressionComplexity = 256;
+    resources->MaxCallStackDepth = 256;
 }
 
 //