Index: src/gpu/batches/GrPLSPathRenderer.cpp |
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp |
index b4f6ce42105a2328fd4fc4e71a472235737af7fa..faadd6d49b7623482e4732484d9b88b4d3bcb41a 100644 |
--- a/src/gpu/batches/GrPLSPathRenderer.cpp |
+++ b/src/gpu/batches/GrPLSPathRenderer.cpp |
@@ -328,7 +328,7 @@ public: |
delta3.vsOut(), v3.vsOut(), v1.vsOut(), v1.vsOut(), v3.vsOut()); |
GrGLSLVertToFrag windings(kInt_GrSLType); |
- varyingHandler->addVarying("windings", &windings, kLow_GrSLPrecision); |
+ varyingHandler->addFlatVarying("windings", &windings, kLow_GrSLPrecision); |
vsBuilder->codeAppendf("%s = %s;", |
windings.vsOut(), te.inWindings()->fName); |
@@ -513,7 +513,7 @@ public: |
ep1.vsOut()); |
GrGLSLVertToFrag windings(kInt_GrSLType); |
- varyingHandler->addVarying("windings", &windings, kLow_GrSLPrecision); |
+ varyingHandler->addFlatVarying("windings", &windings, kLow_GrSLPrecision); |
vsBuilder->codeAppendf("%s = %s;", |
windings.vsOut(), qe.inWindings()->fName); |