Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
index 7f7471d42209de9911683ca73f5a6f66ad82f521..f684189f7881b593b25aeb3392aa224a1b5a425e 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
@@ -23,7 +23,9 @@ public: |
void addAttribute(const GrGeometryProcessor::Attribute* attr) { |
this->addAttribute(GrShaderVar(attr->fName, |
GrVertexAttribTypeToSLType(attr->fType), |
- GrShaderVar::kAttribute_TypeModifier)); |
+ GrShaderVar::kAttribute_TypeModifier, |
+ GrShaderVar::kNonArray, |
+ attr->fPrecision)); |
} |
private: |