aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrOvalOpFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrOvalOpFactory.cpp')
-rw-r--r--src/gpu/ops/GrOvalOpFactory.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gpu/ops/GrOvalOpFactory.cpp b/src/gpu/ops/GrOvalOpFactory.cpp
index a3256602af..3c4898f848 100644
--- a/src/gpu/ops/GrOvalOpFactory.cpp
+++ b/src/gpu/ops/GrOvalOpFactory.cpp
@@ -144,8 +144,7 @@ private:
this->emitTransforms(vertBuilder,
varyingHandler,
uniformHandler,
- gpArgs->fPositionVar,
- cgp.fInPosition->fName,
+ cgp.fInPosition->asShaderVar(),
cgp.fLocalMatrix,
args.fFPCoordTransformHandler);
@@ -293,8 +292,7 @@ private:
this->emitTransforms(vertBuilder,
varyingHandler,
uniformHandler,
- gpArgs->fPositionVar,
- egp.fInPosition->fName,
+ egp.fInPosition->asShaderVar(),
egp.fLocalMatrix,
args.fFPCoordTransformHandler);
@@ -437,8 +435,7 @@ private:
this->emitTransforms(vertBuilder,
varyingHandler,
uniformHandler,
- gpArgs->fPositionVar,
- diegp.fInPosition->fName,
+ diegp.fInPosition->asShaderVar(),
args.fFPCoordTransformHandler);
// for outer curve