| Index: src/gpu/GrBatchTarget.cpp
|
| diff --git a/src/gpu/GrBatchTarget.cpp b/src/gpu/GrBatchTarget.cpp
|
| index 1b68923472e97ccc09b01f9e83c9c135933d640d..9d96e612c3fa547d14a229b3264da3977af509a0 100644
|
| --- a/src/gpu/GrBatchTarget.cpp
|
| +++ b/src/gpu/GrBatchTarget.cpp
|
| @@ -21,8 +21,7 @@ void GrBatchTarget::flush() {
|
| BufferedFlush* bf = iter.get();
|
| const GrPipeline* pipeline = bf->fPipeline;
|
| const GrPrimitiveProcessor* primProc = bf->fPrimitiveProcessor.get();
|
| - fGpu->buildProgramDesc(&desc, *primProc, *pipeline, pipeline->descInfo(),
|
| - bf->fBatchTracker);
|
| + fGpu->buildProgramDesc(&desc, *primProc, *pipeline, bf->fBatchTracker);
|
|
|
| GrGpu::DrawArgs args(primProc, pipeline, &desc, &bf->fBatchTracker);
|
| for (int i = 0; i < bf->fDraws.count(); i++) {
|
| @@ -40,8 +39,7 @@ void GrBatchTarget::flushNext(int n) {
|
| BufferedFlush* bf = fIter.get();
|
| const GrPipeline* pipeline = bf->fPipeline;
|
| const GrPrimitiveProcessor* primProc = bf->fPrimitiveProcessor.get();
|
| - fGpu->buildProgramDesc(&desc, *primProc, *pipeline, pipeline->descInfo(),
|
| - bf->fBatchTracker);
|
| + fGpu->buildProgramDesc(&desc, *primProc, *pipeline, bf->fBatchTracker);
|
|
|
| GrGpu::DrawArgs args(primProc, pipeline, &desc, &bf->fBatchTracker);
|
| for (int i = 0; i < bf->fDraws.count(); i++) {
|
|
|