Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index aee12d7cfbe3b628db02eb9983179678a1173d20..16d44fd9df1e852cce8cecae8b9e6c2a647f3968 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -298,7 +298,7 @@ |
} else { |
primProc = pathProc.get(); |
} |
- if (!this->setupDstReadIfNecessary(pipelineBuilder, &dstCopy, NULL)) { |
+ if (!this->setupDstReadIfNecessary(&pipelineBuilder, &dstCopy, NULL)) { |
SkDebugf("Couldn't setup dst read texture"); |
return false; |
} |
@@ -313,7 +313,7 @@ |
primProc->initBatchTracker(&bt, pipeline.getInitBatchTracker()); |
GrProgramDesc desc; |
- gpu->buildProgramDesc(&desc, *primProc, pipeline, bt); |
+ gpu->buildProgramDesc(&desc, *primProc, pipeline, pipeline.descInfo(), bt); |
GrGpu::DrawArgs args(primProc, &pipeline, &desc, &bt); |
SkAutoTUnref<GrGLProgram> program(GrGLProgramBuilder::CreateProgram(args, gpu)); |