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