GrGLStandard standard = ctxInfo.standard();
GrGLVersion version = ctxInfo.version();
- this->initGLSL(ctxInfo);
- GrGLSLCaps* glslCaps = static_cast<GrGLSLCaps*>(fShaderCaps.get());
-
/**************************************************************************
* Caps specific to GrGLCaps
**************************************************************************/
* GrShaderCaps fields
**************************************************************************/
+ // This must be called after fCoreProfile is set on the GrGLCaps
+ this->initGLSL(ctxInfo);
+ GrGLSLCaps* glslCaps = static_cast<GrGLSLCaps*>(fShaderCaps.get());
+
glslCaps->fPathRenderingSupport = this->hasPathRenderingSupport(ctxInfo, gli);
// For now these two are equivalent but we could have dst read in shader via some other method.