aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrPipeline.cpp')
-rw-r--r--src/gpu/GrPipeline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp
index c77dfeacc0..551882f971 100644
--- a/src/gpu/GrPipeline.cpp
+++ b/src/gpu/GrPipeline.cpp
@@ -64,6 +64,9 @@ GrPipeline::GrPipeline(const GrPipelineBuilder& pipelineBuilder,
if (pipelineBuilder.isDither()) {
fFlags |= kDither_Flag;
}
+ if (pipelineBuilder.snapVerticesToPixelCenters()) {
+ fFlags |= kSnapVertices_Flag;
+ }
int firstColorStageIdx = colorPOI.firstEffectiveStageIndex();