diff options
Diffstat (limited to 'src/gpu/gl/GrGLVaryingHandler.cpp')
-rw-r--r-- | src/gpu/gl/GrGLVaryingHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLVaryingHandler.cpp b/src/gpu/gl/GrGLVaryingHandler.cpp index eecc63e617..e426d46e14 100644 --- a/src/gpu/gl/GrGLVaryingHandler.cpp +++ b/src/gpu/gl/GrGLVaryingHandler.cpp @@ -20,7 +20,8 @@ GrGLSLVaryingHandler::VaryingHandle GrGLVaryingHandler::addPathProcessingVarying SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() && glPB->fPrimProc.isPathRendering() && !glPB->fPrimProc.willUseGeoShader() && - glPB->fPrimProc.numAttribs() == 0); + !glPB->fPrimProc.numVertexAttributes() && + !glPB->fPrimProc.numInstanceAttributes()); #endif this->addVarying(name, v); auto varyingInfo = fPathProcVaryingInfos.push_back(); |