Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
index 0189932cacf74e3f3c5842b040d730302206a922..cde827939219dd9e3c7a1a7adef3f69009bf4e53 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
@@ -18,10 +18,11 @@ GrGLVertexBuilder::GrGLVertexBuilder(GrGLProgramBuilder* program) |
, fRtAdjustName(nullptr) { |
} |
-void GrGLVertexBuilder::addVarying(const char* name, GrGLVarying* v) { |
+void GrGLVertexBuilder::addVarying(const char* name, GrSLPrecision precision, GrGLVarying* v) { |
fOutputs.push_back(); |
fOutputs.back().setType(v->fType); |
fOutputs.back().setTypeModifier(GrGLShaderVar::kVaryingOut_TypeModifier); |
+ fOutputs.back().setPrecision(precision); |
fProgramBuilder->nameVariable(fOutputs.back().accessName(), 'v', name); |
v->fVsOut = fOutputs.back().getName().c_str(); |
} |