| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index 792f3ed5ba63555bb4305c247531ba6790a571e3..132e9b217c9555a9757fad8b498c86dc84ba8e24 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -640,6 +640,19 @@ void GrGLCaps::initGLSL(const GrGLContextInfo& ctxInfo) {
|
| }
|
|
|
| if (kGL_GrGLStandard == standard) {
|
| + glslCaps->fMultisampleInterpolationSupport =
|
| + ctxInfo.glslGeneration() >= k400_GrGLSLGeneration;
|
| + } else {
|
| + if (ctxInfo.glslGeneration() >= k320es_GrGLSLGeneration) {
|
| + glslCaps->fMultisampleInterpolationSupport = true;
|
| + } else if (ctxInfo.hasExtension("GL_OES_shader_multisample_interpolation")) {
|
| + glslCaps->fMultisampleInterpolationSupport = true;
|
| + glslCaps->fMultisampleInterpolationExtensionString =
|
| + "GL_OES_shader_multisample_interpolation";
|
| + }
|
| + }
|
| +
|
| + if (kGL_GrGLStandard == standard) {
|
| glslCaps->fSampleVariablesSupport = ctxInfo.glslGeneration() >= k400_GrGLSLGeneration;
|
| } else {
|
| if (ctxInfo.glslGeneration() >= k320es_GrGLSLGeneration) {
|
|
|