Index: src/gpu/gl/GrGLEffect.cpp |
=================================================================== |
--- src/gpu/gl/GrGLEffect.cpp (revision 8137) |
+++ src/gpu/gl/GrGLEffect.cpp (working copy) |
@@ -39,7 +39,7 @@ |
GrAssert(numAttributes <= 2); |
const int* attributeIndices = stage.getVertexAttribIndices(); |
for (int index = 0; index < numAttributes; ++index) { |
- EffectKey value = attributeIndices[index] << 2*index; |
+ EffectKey value = attributeIndices[index] << 3*index; |
GrAssert(0 == (value & key)); // keys for each attribute ought not to overlap |
key |= value; |
} |