Index: src/effects/SkColorMatrixFilter.cpp |
diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp |
index 7bb9673d10a16ec80ad503aa914f505a4c8dc1b0..fa4ad5e2bc42257765ae09ce8e0f4f2775a2848a 100644 |
--- a/src/effects/SkColorMatrixFilter.cpp |
+++ b/src/effects/SkColorMatrixFilter.cpp |
@@ -400,10 +400,10 @@ public: |
const char* outputColor, |
const char* inputColor, |
const TextureSamplerArray&) SK_OVERRIDE { |
- fMatrixHandle = builder->addUniform(GrGLShaderBuilder::kFragment_ShaderType, |
+ fMatrixHandle = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, |
kMat44f_GrSLType, |
"ColorMatrix"); |
- fVectorHandle = builder->addUniform(GrGLShaderBuilder::kFragment_ShaderType, |
+ fVectorHandle = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, |
kVec4f_GrSLType, |
"ColorMatrixVector"); |