| Index: src/gpu/glsl/GrGLSLProgramBuilder.cpp
|
| diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.cpp b/src/gpu/glsl/GrGLSLProgramBuilder.cpp
|
| index d0d813d4c2a3fbb61013ebdea5d2d0763d08cda9..37c20deeb9c522ef73faa1e4b68aed927bd5ca51 100644
|
| --- a/src/gpu/glsl/GrGLSLProgramBuilder.cpp
|
| +++ b/src/gpu/glsl/GrGLSLProgramBuilder.cpp
|
| @@ -90,7 +90,7 @@ void GrGLSLProgramBuilder::emitAndInstallPrimProc(const GrPrimitiveProcessor& pr
|
| const char* distanceVectorName = nullptr;
|
| if (this->fPipeline.usesDistanceVectorField() && proc.implementsDistanceVector()) {
|
| distanceVectorName = fFS.distanceVectorName();
|
| - fFS.codeAppend( "// Normalized vector to the closest geometric edge (in source space)\n");
|
| + fFS.codeAppend( "// Normalized vector to the closest geometric edge (in device space)\n");
|
| fFS.codeAppend( "// Distance to the edge encoded in the z-component\n");
|
| fFS.codeAppendf("vec3 %s;", distanceVectorName);
|
| }
|
|
|