aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPrimitiveProcessor.h
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2016-02-03 14:02:49 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-03 14:02:50 -0800
commite3fafcf7d1e236a55f9589697a4598e11749405e (patch)
tree9d5d8682f8f0d856a0b30ab26af7e5d25afc56df /src/gpu/GrPrimitiveProcessor.h
parent72002f28d5dc5c52df47393280154d3b446b7107 (diff)
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
Diffstat (limited to 'src/gpu/GrPrimitiveProcessor.h')
-rw-r--r--src/gpu/GrPrimitiveProcessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrPrimitiveProcessor.h b/src/gpu/GrPrimitiveProcessor.h
index c1e946db20..e5c8517250 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()