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