aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkDraw_vertices.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkDraw_vertices.cpp b/src/core/SkDraw_vertices.cpp
index 52d2a6cd48..69bcff41b2 100644
--- a/src/core/SkDraw_vertices.cpp
+++ b/src/core/SkDraw_vertices.cpp
@@ -89,12 +89,6 @@ protected:
bool onAppendStages(const StageRec& rec) const override {
rec.fPipeline->append_seed_shader();
rec.fPipeline->append(SkRasterPipeline::matrix_4x3, &fM43);
- // In theory we should never need to clamp. However, either due to imprecision in our
- // matrix43, or the scan converter passing us pixel centers that in fact are not within
- // the triangle, we do see occasional (slightly) out-of-range values, so we add these
- // clamp stages. It would be nice to find a way to detect when these are not needed.
- rec.fPipeline->append(SkRasterPipeline::clamp_0);
- rec.fPipeline->append(SkRasterPipeline::clamp_a);
return true;
}