Index: src/gpu/GrDefaultGeoProcFactory.cpp |
diff --git a/src/gpu/GrDefaultGeoProcFactory.cpp b/src/gpu/GrDefaultGeoProcFactory.cpp |
index 25da4dcae92724485c12dda7587ce23f6fb3c034..99b72993a360a829abd9ba33f77e2ad481b2366d 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.cpp |
+++ b/src/gpu/GrDefaultGeoProcFactory.cpp |
@@ -129,12 +129,11 @@ public: |
fragBuilder->codeAppendf("%s = vec4(1);", args.fOutputCoverage); |
} else { |
const char* fragCoverage; |
- fCoverageUniform = uniformHandler->addUniform( |
- GrGLSLUniformHandler::kFragment_Visibility, |
- kFloat_GrSLType, |
- kDefault_GrSLPrecision, |
- "Coverage", |
- &fragCoverage); |
+ fCoverageUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, |
+ kFloat_GrSLType, |
+ kDefault_GrSLPrecision, |
+ "Coverage", |
+ &fragCoverage); |
fragBuilder->codeAppendf("%s = vec4(%s);", args.fOutputCoverage, fragCoverage); |
} |
} |