Index: src/effects/SkArithmeticMode_gpu.cpp |
diff --git a/src/effects/SkArithmeticMode_gpu.cpp b/src/effects/SkArithmeticMode_gpu.cpp |
index d3fb6097f8559187fa84be783dd89152710ec56c..c5172c8b09ba2629a516b9e8150702e2b7cab9dd 100644 |
--- a/src/effects/SkArithmeticMode_gpu.cpp |
+++ b/src/effects/SkArithmeticMode_gpu.cpp |
@@ -62,7 +62,7 @@ public: |
SkString dstColor("dstColor"); |
this->emitChild(0, nullptr, &dstColor, args); |
- fKUni = args.fUniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fKUni = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec4f_GrSLType, kDefault_GrSLPrecision, |
"k"); |
const char* kUni = args.fUniformHandler->getUniformCStr(fKUni); |
@@ -213,7 +213,7 @@ private: |
const char* outColor, |
const char* outColorSecondary, |
const GrXferProcessor& proc) override { |
- fKUni = uniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, |
+ fKUni = uniformHandler->addUniform(kFragment_GrShaderFlag, |
kVec4f_GrSLType, kDefault_GrSLPrecision, |
"k"); |
const char* kUni = uniformHandler->getUniformCStr(fKUni); |