Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
index 63cd352dd21f13594a482181b318983cc7f7145a..5f66420eda04ee4a3abc3994ad0ecc9d9e896965 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
@@ -29,7 +29,7 @@ void GrGLVertexBuilder::addVarying(const char* name, GrGLVarying* v) { |
void GrGLVertexBuilder::setupUniformViewMatrix() { |
fProgramBuilder->fUniformHandles.fViewMatrixUni = |
fProgramBuilder->addUniform(GrGLProgramBuilder::kVertex_Visibility, |
- kMat33f_GrSLType, |
+ kMat33f_GrSLType, kDefault_GrSLPrecision, |
this->uViewM()); |
} |
@@ -46,7 +46,7 @@ void GrGLVertexBuilder::transformToNormalizedDeviceSpace() { |
// setup RT Uniform |
fProgramBuilder->fUniformHandles.fRTAdjustmentUni = |
fProgramBuilder->addUniform(GrGLProgramBuilder::kVertex_Visibility, |
- kVec4f_GrSLType, |
+ kVec4f_GrSLType, kDefault_GrSLPrecision, |
fProgramBuilder->rtAdjustment(), |
&fRtAdjustName); |
// Wire transforms |