| Index: src/gpu/GrPipeline.cpp
|
| diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp
|
| index e1c733a676114dd559795fcaee1eb7b19181221e..a0cd7dc61b76dd4f03e27948e8cf339c21ff9ad7 100644
|
| --- a/src/gpu/GrPipeline.cpp
|
| +++ b/src/gpu/GrPipeline.cpp
|
| @@ -81,6 +81,11 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args,
|
| if (builder.snapVerticesToPixelCenters()) {
|
| pipeline->fFlags |= kSnapVertices_Flag;
|
| }
|
| + if (builder.hasSampleLocations()) {
|
| + SkASSERT(pipeline->isHWAntialiasState());
|
| + SkASSERT(args.fCaps->sampleLocationsSupport());
|
| + pipeline->fFlags |= kSampleLocations_Flag;
|
| + }
|
|
|
| int firstColorProcessorIdx = args.fOpts.fColorPOI.firstEffectiveProcessorIndex();
|
|
|
|
|