| Index: src/gpu/batches/GrDrawVerticesBatch.cpp
|
| diff --git a/src/gpu/batches/GrDrawVerticesBatch.cpp b/src/gpu/batches/GrDrawVerticesBatch.cpp
|
| index 16c70e8513a0c49f837d532ce92cde132eb91c6b..563cfe2e150fb02e49a23b9d3e43f83e615e2ede 100644
|
| --- a/src/gpu/batches/GrDrawVerticesBatch.cpp
|
| +++ b/src/gpu/batches/GrDrawVerticesBatch.cpp
|
| @@ -65,17 +65,17 @@ GrDrawVerticesBatch::GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveTy
|
| this->setBounds(bounds);
|
| }
|
|
|
| -void GrDrawVerticesBatch::getInvariantOutputColor(GrInitInvariantOutput* out) const {
|
| +void GrDrawVerticesBatch::computeBatchToXPOverrides(GrInitInvariantOutput* color,
|
| + GrInitInvariantOutput* coverage,
|
| + bool* usePLSDstRead) const {
|
| // When this is called on a batch, there is only one geometry bundle
|
| if (fVariableColor) {
|
| - out->setUnknownFourComponents();
|
| + color->setUnknownFourComponents();
|
| } else {
|
| - out->setKnownFourComponents(fGeoData[0].fColor);
|
| + color->setKnownFourComponents(fGeoData[0].fColor);
|
| }
|
| -}
|
| -
|
| -void GrDrawVerticesBatch::getInvariantOutputCoverage(GrInitInvariantOutput* out) const {
|
| - out->setKnownSingleComponent(0xff);
|
| + coverage->setKnownSingleComponent(0xff);
|
| + *usePLSDstRead = false;
|
| }
|
|
|
| void GrDrawVerticesBatch::initBatchTracker(const GrPipelineOptimizations& opt) {
|
|
|