Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index a33d604668912cf6b5588671400a336e800006c9..0b84c2cffb33cd3959523a1c12373ce6369a0ba4 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -645,11 +645,8 @@ void GLDashingCircleEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { |
// Setup pass through color |
this->setupColorPassThrough(pb, local.fInputColorType, args.fOutputColor, NULL, &fColorUniform); |
- // setup uniform viewMatrix |
- this->addUniformViewMatrix(pb); |
- |
// Setup position |
- SetupPosition(vsBuilder, gpArgs, dce.inPosition()->fName, dce.viewMatrix(), this->uViewM()); |
+ this->setupPosition(pb, gpArgs, dce.inPosition()->fName, dce.viewMatrix()); |
// emit transforms |
this->emitTransforms(args.fPB, gpArgs->fPositionVar, dce.inPosition()->fName, dce.localMatrix(), |
@@ -892,11 +889,8 @@ void GLDashingLineEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { |
// Setup pass through color |
this->setupColorPassThrough(pb, local.fInputColorType, args.fOutputColor, NULL, &fColorUniform); |
- // setup uniform viewMatrix |
- this->addUniformViewMatrix(pb); |
- |
// Setup position |
- SetupPosition(vsBuilder, gpArgs, de.inPosition()->fName, de.viewMatrix(), this->uViewM()); |
+ this->setupPosition(pb, gpArgs, de.inPosition()->fName, de.viewMatrix()); |
// emit transforms |
this->emitTransforms(args.fPB, gpArgs->fPositionVar, de.inPosition()->fName, de.localMatrix(), |