| Index: src/gpu/gl/GrGLGpuProgramCache.cpp
|
| diff --git a/src/gpu/gl/GrGLGpuProgramCache.cpp b/src/gpu/gl/GrGLGpuProgramCache.cpp
|
| index 8dd5d0c29d5d4f08ea7f5101ab12e32f770a18fb..260e256dbef6ea091c0fec8e62473a1fa7bc4c3d 100644
|
| --- a/src/gpu/gl/GrGLGpuProgramCache.cpp
|
| +++ b/src/gpu/gl/GrGLGpuProgramCache.cpp
|
| @@ -106,14 +106,15 @@ int GrGLGpu::ProgramCache::search(const GrProgramDesc& desc) const {
|
|
|
| GrGLProgram* GrGLGpu::ProgramCache::refProgram(const GrGLGpu* gpu,
|
| const GrPipeline& pipeline,
|
| - const GrPrimitiveProcessor& primProc) {
|
| + const GrPrimitiveProcessor& primProc,
|
| + bool isPoints) {
|
| #ifdef PROGRAM_CACHE_STATS
|
| ++fTotalRequests;
|
| #endif
|
|
|
| // Get GrGLProgramDesc
|
| GrProgramDesc desc;
|
| - if (!GrProgramDesc::Build(&desc, primProc, pipeline, *gpu->glCaps().glslCaps())) {
|
| + if (!GrProgramDesc::Build(&desc, primProc, isPoints, pipeline, *gpu->glCaps().glslCaps())) {
|
| GrCapsDebugf(gpu->caps(), "Failed to gl program descriptor!\n");
|
| return nullptr;
|
| }
|
|
|