Index: src/gpu/gl/GrGLGpuProgramCache.cpp |
diff --git a/src/gpu/gl/GrGLGpuProgramCache.cpp b/src/gpu/gl/GrGLGpuProgramCache.cpp |
index f6e0eaa9409277a54849c4a944954743788552d8..4ba0d23ae5fb6d9b0957f5cb30529f155c01a884 100644 |
--- a/src/gpu/gl/GrGLGpuProgramCache.cpp |
+++ b/src/gpu/gl/GrGLGpuProgramCache.cpp |
@@ -12,6 +12,7 @@ |
#include "GrGLPathRendering.h" |
#include "glsl/GrGLSLFragmentProcessor.h" |
#include "glsl/GrGLSLProgramDataManager.h" |
+#include "glsl/GrGLSLProgramDesc.h" |
#include "SkRTConf.h" |
#include "SkTSearch.h" |
@@ -112,8 +113,8 @@ GrGLProgram* GrGLGpu::ProgramCache::refProgram(const GrGLGpu* gpu, |
#endif |
// Get GrGLProgramDesc |
- GrGLProgramDesc desc; |
- if (!GrGLProgramDescBuilder::Build(&desc, primProc, pipeline, *gpu->glCaps().glslCaps())) { |
+ GrGLSLProgramDesc desc; |
+ if (!GrGLSLProgramDescBuilder::Build(&desc, primProc, pipeline, *gpu->glCaps().glslCaps())) { |
GrCapsDebugf(gpu->caps(), "Failed to gl program descriptor!\n"); |
return nullptr; |
} |