Index: src/gpu/GrBatchTarget.cpp |
diff --git a/src/gpu/GrBatchTarget.cpp b/src/gpu/GrBatchTarget.cpp |
index d5d8d8f28508a386f9e35e4df85fbea5e7a801a9..6a3135310a7c611f1742f44497bfba71fbc8ca60 100644 |
--- a/src/gpu/GrBatchTarget.cpp |
+++ b/src/gpu/GrBatchTarget.cpp |
@@ -21,7 +21,8 @@ |
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++) { |
@@ -37,7 +38,8 @@ |
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++) { |