diff options
author | 2016-08-11 14:17:59 -0700 | |
---|---|---|
committer | 2016-08-11 14:17:59 -0700 | |
commit | ee92063f9e1a28e301fe6cdc804dca0ccc837f67 (patch) | |
tree | 14498be020b15108253bcd8ebd1852eac4351950 /src/gpu | |
parent | 5bf60adaaf76a102514b420a4acff6083902dabc (diff) |
LightingShader and NormalSource comment and style fixes
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2237963002
Review-Url: https://codereview.chromium.org/2237963002
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/glsl/GrGLSLProgramBuilder.cpp | 2 |
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); } |