aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrRenderTargetContext.cpp')
-rw-r--r--src/gpu/GrRenderTargetContext.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp
index 8ad9a4e633..34812ddfbe 100644
--- a/src/gpu/GrRenderTargetContext.cpp
+++ b/src/gpu/GrRenderTargetContext.cpp
@@ -1675,7 +1675,10 @@ uint32_t GrRenderTargetContext::addLegacyMeshDrawOp(GrPipelineBuilder&& pipeline
}
}
op->initPipeline(args, analysis, overrideColor);
- // TODO: We need to add pipeline dependencies on textures, etc before recording this op.
+
+ // Add the pipeline dependencies on textures, etc before recording this op.
+ op->addDependenciesTo(fRenderTargetProxy.get());
+
op->setClippedBounds(bounds);
return this->getOpList()->addOp(std::move(op), this);
}