aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar dvonbeck <dvonbeck@google.com>2016-08-11 14:17:59 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-11 14:17:59 -0700
commitee92063f9e1a28e301fe6cdc804dca0ccc837f67 (patch)
tree14498be020b15108253bcd8ebd1852eac4351950 /src/gpu
parent5bf60adaaf76a102514b420a4acff6083902dabc (diff)
LightingShader and NormalSource comment and style fixes
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/glsl/GrGLSLProgramBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.cpp b/src/gpu/glsl/GrGLSLProgramBuilder.cpp
index d0d813d4c2..37c20deeb9 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);
}