Index: src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
diff --git a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
index db420c8439fb0069fa3bb6bbc43fc55b8a9538e8..a9493b81dc5c6b9068221e233ac732d8be34b683 100644 |
--- a/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
+++ b/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp |
@@ -357,7 +357,7 @@ void GrGLSLFragmentShaderBuilder::defineSampleOffsetArray(const char* name, cons |
SkASSERT(fProgramBuilder->caps()->sampleLocationsSupport()); |
const GrPipeline& pipeline = fProgramBuilder->pipeline(); |
const GrRenderTargetPriv& rtp = pipeline.getRenderTarget()->renderTargetPriv(); |
- const GrGpu::MultisampleSpecs& specs = rtp.getMultisampleSpecs(pipeline.getStencil()); |
+ const GrGpu::MultisampleSpecs& specs = rtp.getMultisampleSpecs(pipeline); |
SkSTArray<16, SkPoint, true> offsets; |
offsets.push_back_n(specs.fEffectiveSampleCnt); |
m.mapPoints(offsets.begin(), specs.fSampleLocations, specs.fEffectiveSampleCnt); |