Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index c1ba97ad70c20316aba1685b11973a894f097854..491c34b79bbf6924d4e327f149189860551464f8 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -65,16 +65,16 @@ GrGLProgramBuilder::GrGLProgramBuilder(GrGLGpu* gpu, const DrawArgs& args) |
void GrGLProgramBuilder::addVarying(const char* name, |
GrGLVarying* varying, |
- GrSLPrecision fsPrecision) { |
+ GrSLPrecision precision) { |
SkASSERT(varying); |
if (varying->vsVarying()) { |
- fVS.addVarying(name, varying); |
+ fVS.addVarying(name, precision, varying); |
} |
if (this->primitiveProcessor().willUseGeoShader()) { |
- fGS.addVarying(name, varying); |
+ fGS.addVarying(name, precision, varying); |
} |
if (varying->fsVarying()) { |
- fFS.addVarying(varying, fsPrecision); |
+ fFS.addVarying(varying, precision); |
} |
} |