Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index 6926c2d2ec040a628769fa6208bef87976795653..5e0c4b892b472f67e81b3685a2d0099bb531ffe5 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -499,9 +499,9 @@ void GrGLConical2Gradient::emitCode(GrGLShaderBuilder* builder, |
// 2 copies of uniform array, 1 for each of vertex & fragment shader, |
// to work around Xoom bug. Doesn't seem to cause performance decrease |
// in test apps, but need to keep an eye on it. |
- fVSParamUni = builder->addUniformArray(GrGLShaderBuilder::kVertex_ShaderType, |
+ fVSParamUni = builder->addUniformArray(GrGLShaderBuilder::kVertex_Visibility, |
kFloat_GrSLType, "Conical2VSParams", 6); |
- fFSParamUni = builder->addUniformArray(GrGLShaderBuilder::kFragment_ShaderType, |
+ fFSParamUni = builder->addUniformArray(GrGLShaderBuilder::kFragment_Visibility, |
kFloat_GrSLType, "Conical2FSParams", 6); |
// For radial gradients without perspective we can pass the linear |