From e3fafcf7d1e236a55f9589697a4598e11749405e Mon Sep 17 00:00:00 2001 From: cdalton Date: Wed, 3 Feb 2016 14:02:49 -0800 Subject: [PATCH] Increase max vertex attrib count in GrPrimitiveProcessor Increases the max vertex attrib count in GrPrimitiveProcessor from 6 to 8. This is the required minimum by ES 2.0 for GL_MAX_VERTEX_ATTRIBS. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1663513004 Review URL: https://codereview.chromium.org/1663513004 --- src/gpu/GrPrimitiveProcessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/GrPrimitiveProcessor.h b/src/gpu/GrPrimitiveProcessor.h index c1e946d..e5c8517 100644 --- a/src/gpu/GrPrimitiveProcessor.h +++ b/src/gpu/GrPrimitiveProcessor.h @@ -155,7 +155,7 @@ public: * This is a safeguard to prevent GrPrimitiveProcessor's from going beyond platform specific * attribute limits. This number can almost certainly be raised if required. */ - static const int kMaxVertexAttribs = 6; + static const int kMaxVertexAttribs = 8; struct Attribute { Attribute() -- 2.7.4