Commit ef26f3bb by Nicolas Capens

Fix initializing the MaxExpressionComplexity and MaxCallStackDepth compiler limits.

BUG=339860 Change-Id: Ia34304247f0aebaf00878c28f658f35a773b8061 Reviewed-on: https://chromium-review.googlesource.com/184581Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarShannon Woods <shannonwoods@chromium.org> Tested-by: 's avatarNicolas Capens <nicolascapens@chromium.org>
parent b227fe0b
......@@ -91,6 +91,9 @@ void ShInitBuiltInResources(ShBuiltInResources* resources)
resources->HashFunction = NULL;
resources->ArrayIndexClampingStrategy = SH_CLAMP_WITH_CLAMP_INTRINSIC;
resources->MaxExpressionComplexity = 256;
resources->MaxCallStackDepth = 256;
}
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment