Index: src/effects/GrCircleBlurFragmentProcessor.cpp |
diff --git a/src/effects/GrCircleBlurFragmentProcessor.cpp b/src/effects/GrCircleBlurFragmentProcessor.cpp |
index 50fbbac601464688255eae3d166f9ee0e7bde25f..afab4b48913186154ae2396883687b6e025952c1 100644 |
--- a/src/effects/GrCircleBlurFragmentProcessor.cpp |
+++ b/src/effects/GrCircleBlurFragmentProcessor.cpp |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2015 Google Inc. |
* |
@@ -57,7 +56,7 @@ void GrGLCircleBlurFragmentProcessor::emitCode(EmitArgs& args) { |
// We just want to compute "length(vec) - %s.z + 0.5) * %s.w" but need to rearrange |
// for precision |
- fragBuilder->codeAppendf("vec2 vec = vec2( (%s.x - %s.x) * %s.w , (%s.y - %s.y) * %s.w );", |
+ fragBuilder->codeAppendf("vec2 vec = vec2( (%s.x - %s.x) * %s.w , (%s.y - %s.y) * %s.w );", |
fragmentPos, dataName, dataName, |
fragmentPos, dataName, dataName); |
fragBuilder->codeAppendf("float dist = length(vec) + ( 0.5 - %s.z ) * %s.w;", |
@@ -88,7 +87,7 @@ void GrGLCircleBlurFragmentProcessor::onSetData(const GrGLSLProgramDataManager& |
GrCircleBlurFragmentProcessor::GrCircleBlurFragmentProcessor(const SkRect& circle, |
float sigma, |
float offset, |
- GrTexture* blurProfile) |
+ GrTexture* blurProfile) |
: fCircle(circle) |
, fSigma(sigma) |
, fOffset(offset) |